ERC-721
Overview
Max Total Supply
16 $Prjct
Holders
15
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 $PrjctLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PRJCTNFT
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-15 */ // File: contracts/Commission.sol pragma solidity ^0.8.15; contract Commission { enum TradeToken{ BLOCKCHAIN, BASE } uint256 public commissionRate = 250; //Percentage multiplied by 100. So, 250 = 2.5% address payable public owner; constructor() { owner = payable(msg.sender); } event CommissionRateUpdate ( uint256 commissionRate ); /* Update commission Rate*/ function updateOwner(address _newOwner) public { require(msg.sender == owner, "Only owner"); owner = payable(_newOwner); } /* Update commission Rate*/ function updateCommissonRate(uint256 rateBPS) public { require(msg.sender == owner, "Only owner"); require(rateBPS <= 1000, "Commission can't be 10 percent"); commissionRate = rateBPS; emit CommissionRateUpdate(rateBPS); } /* Returns the listing price of the contract */ function getListingPriceByItemPrice(uint256 _price) public view returns (uint256) { return (_price * commissionRate) / 10000; } } // 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: contracts/ERC2981Base.sol pragma solidity ^0.8.10; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165 { struct RoyaltyInfo { address recipient; uint24 amount; } event RoyaltyTransferred( address indexed nftContract, uint256 indexed tokenId, address receiver, uint256 amount, Commission.TradeToken tradeToken ); /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return super.supportsInterface(interfaceId); } } // File: contracts/ERC2981PerTokenRoyalties.sol pragma solidity ^0.8.15; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981PerTokenRoyalties is ERC2981Base { mapping(uint256 => RoyaltyInfo) public _royalties; /// @dev Sets token royalties /// @param tokenId the token id fir which we register the royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setTokenRoyalty( uint256 tokenId, address recipient, uint256 value ) internal { require(value < 10000, 'ERC2981Royalties: Too high'); _royalties[tokenId] = RoyaltyInfo(recipient, uint24(value)); } function royaltyInfo(uint256 tokenId) external view returns (RoyaltyInfo memory) { return _royalties[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // 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: contracts/PRJCTNFT.sol pragma solidity ^0.8.15; // import "./ERC2981PerTokenRoyalties.sol"; contract PRJCTNFT is ERC721URIStorage, ERC721Enumerable, ERC2981PerTokenRoyalties, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; Counters.Counter public totalWhitelisted; string public contractURI; string public baseURI; address public owner; address public passContract; address[] private _whitelistAddresses; uint256 public mintPrice; bool public paused; bool public publicMint; struct UnLockable { uint256 tokenId; string unlockedUri; bool locked; } mapping(address => bool) public whitelisted; mapping(uint256 => UnLockable) private unlockables; // string public baseURI = // "ipfs://QmdfRa8FoCmtoT6nLWhTfkA2oUCv49oTMiiQM4PcQgRuKk/"; event WhiteListAddressAdded(address indexed _address); event WhiteListAddressRemoved(address indexed _address); constructor( string memory _name, string memory _symbol, address _owner, string memory _contractURI, address[] memory whitelistAddresses, string memory _initialBaseURI, address _passContract, uint256 _mintPrice, bool _publicMint ) ERC721(_name, _symbol) { owner = _owner; contractURI = _contractURI; baseURI = _initialBaseURI; _whitelistAddresses = whitelistAddresses; mintPrice = _mintPrice; publicMint = _publicMint; if (_passContract != address(0)) { passContract = _passContract; } for (uint256 i = 0; i < whitelistAddresses.length; i++) { whitelisted[whitelistAddresses[i]] = true; totalWhitelisted.increment(); emit WhiteListAddressAdded(whitelistAddresses[i]); } } function batchMint( address to, uint256 _batchSize, address _recipient, uint256 _amount, bool _locked, string memory _unlockedUri ) public payable { require(!paused, "Paused"); if (msg.sender != owner) { require(msg.value >= mintPrice, "Send mint price"); if (!whitelisted[msg.sender] && !publicMint) { if (passContract != address(0)) { uint256 balance = IERC721(passContract).balanceOf( msg.sender ); require( balance > 0, "Only whitelisted or pass holders can mint" ); } else { require(false, "Only whitelisted or pass holders can mint"); } } } for (uint256 i = 0; i < _batchSize; i++) { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); if (_recipient != address(0) && _amount > 0) { _setTokenRoyalty(tokenId, _recipient, _amount); } if (_locked) { unlockables[tokenId] = UnLockable(tokenId, _unlockedUri, true); } else { unlockables[tokenId] = UnLockable(tokenId, _unlockedUri, false); } } payable(owner).transfer(msg.value); } function getUnlockedUri(uint256 tokenId) public view returns (string memory) { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not owner nor approved" ); return unlockables[tokenId].unlockedUri; } function isUnlockable(uint256 tokenId) public view returns (bool) { return unlockables[tokenId].locked; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setMintPrice(uint256 _mintPrice) external { require(owner == msg.sender, "only owner"); mintPrice = _mintPrice; } function setPublicMint(bool _publicMint) external { require(owner == msg.sender, "only owner"); publicMint = _publicMint; } function setPaused(bool _paused) external { require(owner == msg.sender, "only owner"); paused = _paused; } function setBaseURI(string calldata _uri) external { require(owner == msg.sender, "only owner"); baseURI = _uri; } function setContractURI(string calldata _uri) external { require(owner == msg.sender, "only owner"); contractURI = _uri; } function setPassContract(address _passContract) external { require(owner == msg.sender, "only owner"); passContract = _passContract; } function setOwner(address _owner) external { require(owner == msg.sender, "only owner"); owner = _owner; } function getWhitelistedAddresses() external view returns (address[] memory) { return _whitelistAddresses; } function addWhitelistedAddress(address _address) public returns (bool) { require(owner == msg.sender, "only owner"); require(whitelisted[_address] == false, "Already whitelisted"); whitelisted[_address] = true; totalWhitelisted.increment(); _whitelistAddresses.push(_address); emit WhiteListAddressAdded(_address); return true; } function removeWhitelistedAddress(address _addressToRemove) external { require(owner == msg.sender, "only owner"); require(whitelisted[_addressToRemove] == true, "Not whitelisted"); whitelisted[_addressToRemove] = false; delete whitelisted[_addressToRemove]; totalWhitelisted.decrement(); uint256 length = _whitelistAddresses.length; for (uint256 i = 0; i < length; i++) { if (_addressToRemove == _whitelistAddresses[i]) { if (1 < _whitelistAddresses.length && i < length - 1) { _whitelistAddresses[i] = _whitelistAddresses[length - 1]; } delete _whitelistAddresses[length - 1]; _whitelistAddresses.pop(); emit WhiteListAddressRemoved(_addressToRemove); break; } } } function isWhitelisted(address _address) public view returns (bool) { return whitelisted[_address]; } function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return super.tokenURI(tokenId); } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981Base, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId, uint256 _batchSize ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, _batchSize); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } }
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":"_owner","type":"address"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"address[]","name":"whitelistAddresses","type":"address[]"},{"internalType":"string","name":"_initialBaseURI","type":"string"},{"internalType":"address","name":"_passContract","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"bool","name":"_publicMint","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"enum Commission.TradeToken","name":"tradeToken","type":"uint8"}],"name":"RoyaltyTransferred","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"WhiteListAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"WhiteListAddressRemoved","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_royalties","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint24","name":"amount","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addWhitelistedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_batchSize","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_locked","type":"bool"},{"internalType":"string","name":"_unlockedUri","type":"string"}],"name":"batchMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getUnlockedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedAddresses","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isUnlockable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"passContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addressToRemove","type":"address"}],"name":"removeWhitelistedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"royaltyInfo","outputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint24","name":"amount","type":"uint24"}],"internalType":"struct ERC2981Base.RoyaltyInfo","name":"","type":"tuple"}],"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":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_passContract","type":"address"}],"name":"setPassContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicMint","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWhitelisted","outputs":[{"internalType":"uint256","name":"_value","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":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620035f5380380620035f583398101604081905262000034916200040a565b88886000620000448382620005bc565b506001620000538282620005bc565b50506001600c5550601180546001600160a01b0319166001600160a01b038916179055600f620000848782620005bc565b506010620000938582620005bc565b508451620000a9906013906020880190620001ec565b5060148290556015805461ff001916610100831515021790556001600160a01b03831615620000ee57601280546001600160a01b0319166001600160a01b0385161790555b60005b8551811015620001d35760016016600088848151811062000116576200011662000688565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506200016c600e620001e360201b620017bc1760201c565b85818151811062000181576200018162000688565b60200260200101516001600160a01b03167f8bf610b504c9ff6e30ce933966c1de06b4a80a01807f405382a1c76e1196183460405160405180910390a280620001ca816200069e565b915050620000f1565b50505050505050505050620006c6565b80546001019055565b82805482825590600052602060002090810192821562000244579160200282015b828111156200024457825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200020d565b506200025292915062000256565b5090565b5b8082111562000252576000815560010162000257565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002ae57620002ae6200026d565b604052919050565b600082601f830112620002c857600080fd5b81516001600160401b03811115620002e457620002e46200026d565b6020620002fa601f8301601f1916820162000283565b82815285828487010111156200030f57600080fd5b60005b838110156200032f57858101830151828201840152820162000312565b83811115620003415760008385840101525b5095945050505050565b80516001600160a01b03811681146200036357600080fd5b919050565b600082601f8301126200037a57600080fd5b815160206001600160401b038211156200039857620003986200026d565b8160051b620003a982820162000283565b9283528481018201928281019087851115620003c457600080fd5b83870192505b84831015620003ee57620003de836200034b565b82529183019190830190620003ca565b979650505050505050565b805180151581146200036357600080fd5b60008060008060008060008060006101208a8c0312156200042a57600080fd5b89516001600160401b03808211156200044257600080fd5b620004508d838e01620002b6565b9a5060208c01519150808211156200046757600080fd5b620004758d838e01620002b6565b99506200048560408d016200034b565b985060608c01519150808211156200049c57600080fd5b620004aa8d838e01620002b6565b975060808c0151915080821115620004c157600080fd5b620004cf8d838e0162000368565b965060a08c0151915080821115620004e657600080fd5b50620004f58c828d01620002b6565b9450506200050660c08b016200034b565b925060e08a015191506200051e6101008b01620003f9565b90509295985092959850929598565b600181811c908216806200054257607f821691505b6020821081036200056357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005b757600081815260208120601f850160051c81016020861015620005925750805b601f850160051c820191505b81811015620005b3578281556001016200059e565b5050505b505050565b81516001600160401b03811115620005d857620005d86200026d565b620005f081620005e984546200052d565b8462000569565b602080601f8311600181146200062857600084156200060f5750858301515b600019600386901b1c1916600185901b178555620005b3565b600085815260208120601f198616915b82811015620006595788860151825594840194600190910190840162000638565b5085821015620006785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060018201620006bf57634e487b7160e01b600052601160045260246000fd5b5060010190565b612f1f80620006d66000396000f3fe6080604052600436106102465760003560e01c80636817c76c11610139578063a6b9f2b9116100b6578063d936547e1161007a578063d936547e14610797578063e816f39c146107c7578063e8a3d485146107da578063e985e9c5146107ef578063f4a0a52814610838578063f56116fc1461085857600080fd5b8063a6b9f2b91461063d578063b88d4fde146106a4578063c87b56dd146106c4578063c9ca02fb146106e4578063cef6d3681461070457600080fd5b80638da5cb5b116100fd5780638da5cb5b14610595578063938e3d7b146105b557806395d89b41146105d5578063a22cb465146105ea578063a51270b41461060a57600080fd5b80636817c76c146105085780636c0360eb1461051e5780636d0280271461053357806370a082311461055557806384260df81461057557600080fd5b806326092b83116101c75780634f6ccce71161018b5780634f6ccce71461046e578063530cd5ab1461048e57806355f804b3146104ae5780635c975abb146104ce5780636352211e146104e857600080fd5b806326092b83146103b657806329975b43146103d55780632f745c59146103f55780633af32abf1461041557806342842e0e1461044e57600080fd5b80630e2d56cf1161020e5780630e2d56cf1461032157806313af40351461034157806316c38b3c1461036157806318160ddd1461038157806323b872dd1461039657600080fd5b806301ffc9a71461024b57806304072b201461028057806306fdde03146102a5578063081812fc146102c7578063095ea7b3146102ff575b600080fd5b34801561025757600080fd5b5061026b610266366004612642565b610878565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50600e546102979081565b604051908152602001610277565b3480156102b157600080fd5b506102ba610889565b60405161027791906126b7565b3480156102d357600080fd5b506102e76102e23660046126ca565b61091b565b6040516001600160a01b039091168152602001610277565b34801561030b57600080fd5b5061031f61031a3660046126ff565b610942565b005b34801561032d57600080fd5b5061031f61033c366004612739565b610a5c565b34801561034d57600080fd5b5061031f61035c366004612754565b610aa0565b34801561036d57600080fd5b5061031f61037c366004612739565b610aec565b34801561038d57600080fd5b50600954610297565b3480156103a257600080fd5b5061031f6103b136600461276f565b610b29565b3480156103c257600080fd5b5060155461026b90610100900460ff1681565b3480156103e157600080fd5b5061026b6103f0366004612754565b610b5a565b34801561040157600080fd5b506102976104103660046126ff565b610c94565b34801561042157600080fd5b5061026b610430366004612754565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561045a57600080fd5b5061031f61046936600461276f565b610d2a565b34801561047a57600080fd5b506102976104893660046126ca565b610d45565b34801561049a57600080fd5b5061031f6104a9366004612754565b610dd8565b3480156104ba57600080fd5b5061031f6104c93660046127ab565b611017565b3480156104da57600080fd5b5060155461026b9060ff1681565b3480156104f457600080fd5b506102e76105033660046126ca565b61104e565b34801561051457600080fd5b5061029760145481565b34801561052a57600080fd5b506102ba6110ae565b34801561053f57600080fd5b5061054861113c565b604051610277919061281d565b34801561056157600080fd5b50610297610570366004612754565b61119d565b34801561058157600080fd5b506102ba6105903660046126ca565b611223565b3480156105a157600080fd5b506011546102e7906001600160a01b031681565b3480156105c157600080fd5b5061031f6105d03660046127ab565b61132e565b3480156105e157600080fd5b506102ba611365565b3480156105f657600080fd5b5061031f61060536600461286a565b611374565b34801561061657600080fd5b5061026b6106253660046126ca565b60009081526017602052604090206002015460ff1690565b34801561064957600080fd5b506106816106583660046126ca565b600b602052600090815260409020546001600160a01b03811690600160a01b900462ffffff1682565b604080516001600160a01b03909316835262ffffff909116602083015201610277565b3480156106b057600080fd5b5061031f6106bf366004612929565b611383565b3480156106d057600080fd5b506102ba6106df3660046126ca565b6113ba565b3480156106f057600080fd5b5061031f6106ff366004612754565b611442565b34801561071057600080fd5b5061076e61071f3660046126ca565b6040805180820190915260008082526020820152506000908152600b60209081526040918290208251808401909352546001600160a01b0381168352600160a01b900462ffffff169082015290565b6040805182516001600160a01b0316815260209283015162ffffff169281019290925201610277565b3480156107a357600080fd5b5061026b6107b2366004612754565b60166020526000908152604090205460ff1681565b61031f6107d53660046129a5565b61148e565b3480156107e657600080fd5b506102ba611780565b3480156107fb57600080fd5b5061026b61080a366004612a3a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561084457600080fd5b5061031f6108533660046126ca565b61178d565b34801561086457600080fd5b506012546102e7906001600160a01b031681565b6000610883826117c5565b92915050565b60606000805461089890612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546108c490612a64565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b5050505050905090565b6000610926826117d0565b506000908152600460205260409020546001600160a01b031690565b600061094d8261104e565b9050806001600160a01b0316836001600160a01b0316036109bf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109db57506109db813361080a565b610a4d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109b6565b610a578383611832565b505050565b6011546001600160a01b03163314610a865760405162461bcd60e51b81526004016109b690612a9e565b601580549115156101000261ff0019909216919091179055565b6011546001600160a01b03163314610aca5760405162461bcd60e51b81526004016109b690612a9e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6011546001600160a01b03163314610b165760405162461bcd60e51b81526004016109b690612a9e565b6015805460ff1916911515919091179055565b610b3333826118a0565b610b4f5760405162461bcd60e51b81526004016109b690612ac2565b610a5783838361191f565b6011546000906001600160a01b03163314610b875760405162461bcd60e51b81526004016109b690612a9e565b6001600160a01b03821660009081526016602052604090205460ff1615610be65760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481dda1a5d195b1a5cdd1959606a1b60448201526064016109b6565b6001600160a01b0382166000908152601660205260409020805460ff19166001179055610c17600e80546001019055565b6013805460018101825560009182527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180546001600160a01b0319166001600160a01b03851690811790915560405190917f8bf610b504c9ff6e30ce933966c1de06b4a80a01807f405382a1c76e1196183491a2506001919050565b6000610c9f8361119d565b8210610d015760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109b6565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a5783838360405180602001604052806000815250611383565b6000610d5060095490565b8210610db35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109b6565b60098281548110610dc657610dc6612b0f565b90600052602060002001549050919050565b6011546001600160a01b03163314610e025760405162461bcd60e51b81526004016109b690612a9e565b6001600160a01b03811660009081526016602052604090205460ff161515600114610e615760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016109b6565b6001600160a01b0381166000908152601660205260409020805460ff19169055610e8b600e611a90565b60135460005b81811015610a575760138181548110610eac57610eac612b0f565b6000918252602090912001546001600160a01b0390811690841603611005576013546001108015610ee65750610ee3600183612b3b565b81105b15610f63576013610ef8600184612b3b565b81548110610f0857610f08612b0f565b600091825260209091200154601380546001600160a01b039092169183908110610f3457610f34612b0f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6013610f70600184612b3b565b81548110610f8057610f80612b0f565b600091825260209091200180546001600160a01b03191690556013805480610faa57610faa612b52565b600082815260208120820160001990810180546001600160a01b03191690559091019091556040516001600160a01b038516917f66c8e0f3e7412cc43e517ae12160bd68cb03166e5777b9a053e2b88570eb7d3a91a2505050565b8061100f81612b68565b915050610e91565b6011546001600160a01b031633146110415760405162461bcd60e51b81526004016109b690612a9e565b6010610a57828483612bcf565b6000818152600260205260408120546001600160a01b0316806108835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109b6565b601080546110bb90612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546110e790612a64565b80156111345780601f1061110957610100808354040283529160200191611134565b820191906000526020600020905b81548152906001019060200180831161111757829003601f168201915b505050505081565b6060601380548060200260200160405190810160405280929190818152602001828054801561091157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611176575050505050905090565b60006001600160a01b0382166112075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109b6565b506001600160a01b031660009081526003602052604090205490565b6060611230335b836118a0565b61128d5760405162461bcd60e51b815260206004820152602860248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220604482015267185c1c1c9bdd995960c21b60648201526084016109b6565b600082815260176020526040902060010180546112a990612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546112d590612a64565b80156113225780601f106112f757610100808354040283529160200191611322565b820191906000526020600020905b81548152906001019060200180831161130557829003601f168201915b50505050509050919050565b6011546001600160a01b031633146113585760405162461bcd60e51b81526004016109b690612a9e565b600f610a57828483612bcf565b60606001805461089890612a64565b61137f338383611ae7565b5050565b61138c3361122a565b6113a85760405162461bcd60e51b81526004016109b690612ac2565b6113b484848484611bb5565b50505050565b6000818152600260205260409020546060906001600160a01b03166114395760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109b6565b61088382611be8565b6011546001600160a01b0316331461146c5760405162461bcd60e51b81526004016109b690612a9e565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60155460ff16156114ca5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016109b6565b6011546001600160a01b0316331461160b576014543410156115205760405162461bcd60e51b815260206004820152600f60248201526e53656e64206d696e7420707269636560881b60448201526064016109b6565b3360009081526016602052604090205460ff161580156115485750601554610100900460ff16155b1561160b576012546001600160a01b0316156115f3576012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cb9190612c8f565b9050600081116115ed5760405162461bcd60e51b81526004016109b690612ca8565b5061160b565b60405162461bcd60e51b81526004016109b690612ca8565b60005b8581101561173d576000611621600d5490565b9050611631600d80546001019055565b61163b8882611ce3565b6001600160a01b038616158015906116535750600085115b1561166357611663818787611cfd565b83156116cd576040805160608101825282815260208082018681526001838501819052600086815260179093529390912082518155905191929091908201906116ac9082612cf1565b50604091909101516002909101805460ff191691151591909117905561172a565b60408051606081018252828152602080820186815260008385018190528581526017909252929020815181559151909190600182019061170d9082612cf1565b50604091909101516002909101805460ff19169115159190911790555b508061173581612b68565b91505061160e565b506011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611777573d6000803e3d6000fd5b50505050505050565b600f80546110bb90612a64565b6011546001600160a01b031633146117b75760405162461bcd60e51b81526004016109b690612a9e565b601455565b80546001019055565b600061088382611da5565b6000818152600260205260409020546001600160a01b031661182f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109b6565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118678261104e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118ac8361104e565b9050806001600160a01b0316846001600160a01b031614806118f357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806119175750836001600160a01b031661190c8461091b565b6001600160a01b0316145b949350505050565b826001600160a01b03166119328261104e565b6001600160a01b0316146119585760405162461bcd60e51b81526004016109b690612db1565b6001600160a01b0382166119ba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109b6565b6119c78383836001611dca565b826001600160a01b03166119da8261104e565b6001600160a01b031614611a005760405162461bcd60e51b81526004016109b690612db1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b805480611adf5760405162461bcd60e51b815260206004820152601b60248201527f436f756e7465723a2064656372656d656e74206f766572666c6f77000000000060448201526064016109b6565b600019019055565b816001600160a01b0316836001600160a01b031603611b485760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109b6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bc084848461191f565b611bcc84848484611dd6565b6113b45760405162461bcd60e51b81526004016109b690612df6565b6060611bf3826117d0565b60008281526006602052604081208054611c0c90612a64565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3890612a64565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b505050505090506000611c96611ed7565b90508051600003611ca8575092915050565b815115611cda578082604051602001611cc2929190612e48565b60405160208183030381529060405292505050919050565b61191784611ee6565b61137f828260405180602001604052806000815250611f4d565b6127108110611d4e5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016109b6565b6040805180820182526001600160a01b03938416815262ffffff92831660208083019182526000968752600b905291909420935184549151909216600160a01b026001600160b81b03199091169190921617179055565b60006001600160e01b0319821663780e9d6360e01b1480610883575061088382611f80565b6113b484848484611fd0565b60006001600160a01b0384163b15611ecc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e1a903390899088908890600401612e77565b6020604051808303816000875af1925050508015611e55575060408051601f3d908101601f19168201909252611e5291810190612eb4565b60015b611eb2573d808015611e83576040519150601f19603f3d011682016040523d82523d6000602084013e611e88565b606091505b508051600003611eaa5760405162461bcd60e51b81526004016109b690612df6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611917565b506001949350505050565b60606010805461089890612a64565b6060611ef1826117d0565b6000611efb611ed7565b90506000815111611f1b5760405180602001604052806000815250611f46565b80611f2584612110565b604051602001611f36929190612e48565b6040516020818303038152906040525b9392505050565b611f5783836121a3565b611f646000848484611dd6565b610a575760405162461bcd60e51b81526004016109b690612df6565b60006001600160e01b031982166380ac58cd60e01b1480611fb157506001600160e01b03198216635b5e139f60e01b145b8061088357506301ffc9a760e01b6001600160e01b0319831614610883565b611fdc8484848461233c565b600181111561204b5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109b6565b816001600160a01b0385166120a7576120a281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6120ca565b836001600160a01b0316856001600160a01b0316146120ca576120ca85826123c4565b6001600160a01b0384166120e6576120e181612461565b612109565b846001600160a01b0316846001600160a01b031614612109576121098482612510565b5050505050565b6060600061211d83612554565b600101905060008167ffffffffffffffff81111561213d5761213d61289d565b6040519080825280601f01601f191660200182016040528015612167576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461217157509392505050565b6001600160a01b0382166121f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109b6565b6000818152600260205260409020546001600160a01b03161561225e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109b6565b61226c600083836001611dca565b6000818152600260205260409020546001600160a01b0316156122d15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109b6565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60018111156113b4576001600160a01b03841615612382576001600160a01b0384166000908152600360205260408120805483929061237c908490612b3b565b90915550505b6001600160a01b038316156113b4576001600160a01b038316600090815260036020526040812080548392906123b9908490612ed1565b909155505050505050565b600060016123d18461119d565b6123db9190612b3b565b60008381526008602052604090205490915080821461242e576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061247390600190612b3b565b6000838152600a60205260408120546009805493945090928490811061249b5761249b612b0f565b9060005260206000200154905080600983815481106124bc576124bc612b0f565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806124f4576124f4612b52565b6001900381819060005260206000200160009055905550505050565b600061251b8361119d565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125935772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106125bf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106125dd57662386f26fc10000830492506010015b6305f5e10083106125f5576305f5e100830492506008015b612710831061260957612710830492506004015b6064831061261b576064830492506002015b600a83106108835760010192915050565b6001600160e01b03198116811461182f57600080fd5b60006020828403121561265457600080fd5b8135611f468161262c565b60005b8381101561267a578181015183820152602001612662565b838111156113b45750506000910152565b600081518084526126a381602086016020860161265f565b601f01601f19169290920160200192915050565b602081526000611f46602083018461268b565b6000602082840312156126dc57600080fd5b5035919050565b80356001600160a01b03811681146126fa57600080fd5b919050565b6000806040838503121561271257600080fd5b61271b836126e3565b946020939093013593505050565b803580151581146126fa57600080fd5b60006020828403121561274b57600080fd5b611f4682612729565b60006020828403121561276657600080fd5b611f46826126e3565b60008060006060848603121561278457600080fd5b61278d846126e3565b925061279b602085016126e3565b9150604084013590509250925092565b600080602083850312156127be57600080fd5b823567ffffffffffffffff808211156127d657600080fd5b818501915085601f8301126127ea57600080fd5b8135818111156127f957600080fd5b86602082850101111561280b57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561285e5783516001600160a01b031683529284019291840191600101612839565b50909695505050505050565b6000806040838503121561287d57600080fd5b612886836126e3565b915061289460208401612729565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156128ce576128ce61289d565b604051601f8501601f19908116603f011681019082821181831017156128f6576128f661289d565b8160405280935085815286868601111561290f57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561293f57600080fd5b612948856126e3565b9350612956602086016126e3565b925060408501359150606085013567ffffffffffffffff81111561297957600080fd5b8501601f8101871361298a57600080fd5b612999878235602084016128b3565b91505092959194509250565b60008060008060008060c087890312156129be57600080fd5b6129c7876126e3565b9550602087013594506129dc604088016126e3565b9350606087013592506129f160808801612729565b915060a087013567ffffffffffffffff811115612a0d57600080fd5b8701601f81018913612a1e57600080fd5b612a2d898235602084016128b3565b9150509295509295509295565b60008060408385031215612a4d57600080fd5b612a56836126e3565b9150612894602084016126e3565b600181811c90821680612a7857607f821691505b602082108103612a9857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612b4d57612b4d612b25565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018201612b7a57612b7a612b25565b5060010190565b601f821115610a5757600081815260208120601f850160051c81016020861015612ba85750805b601f850160051c820191505b81811015612bc757828155600101612bb4565b505050505050565b67ffffffffffffffff831115612be757612be761289d565b612bfb83612bf58354612a64565b83612b81565b6000601f841160018114612c2f5760008515612c175750838201355b600019600387901b1c1916600186901b178355612109565b600083815260209020601f19861690835b82811015612c605786850135825560209485019460019092019101612c40565b5086821015612c7d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612ca157600080fd5b5051919050565b60208082526029908201527f4f6e6c792077686974656c6973746564206f72207061737320686f6c646572736040820152680818d85b881b5a5b9d60ba1b606082015260800190565b815167ffffffffffffffff811115612d0b57612d0b61289d565b612d1f81612d198454612a64565b84612b81565b602080601f831160018114612d545760008415612d3c5750858301515b600019600386901b1c1916600185901b178555612bc7565b600085815260208120601f198616915b82811015612d8357888601518255948401946001909101908401612d64565b5085821015612da15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612e5a81846020880161265f565b835190830190612e6e81836020880161265f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612eaa9083018461268b565b9695505050505050565b600060208284031215612ec657600080fd5b8151611f468161262c565b60008219821115612ee457612ee4612b25565b50019056fea26469706673582212200dc9c88f8e63327dc4b892869bc913ef2632acaddeedd2ba393da212aeedb0f864736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006136cce8c9d2abbed33be3a3c2f477031745fd6300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003311fc80a5700000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a50726a637420506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062450726a637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d65677a6932753848547a52673648514663507141516f56796f623163554843613776613642377532786a6448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d53797052546f576b34646a5a614254676e56474162774265594d466156586642564b666176415573574e34792f00000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c80636817c76c11610139578063a6b9f2b9116100b6578063d936547e1161007a578063d936547e14610797578063e816f39c146107c7578063e8a3d485146107da578063e985e9c5146107ef578063f4a0a52814610838578063f56116fc1461085857600080fd5b8063a6b9f2b91461063d578063b88d4fde146106a4578063c87b56dd146106c4578063c9ca02fb146106e4578063cef6d3681461070457600080fd5b80638da5cb5b116100fd5780638da5cb5b14610595578063938e3d7b146105b557806395d89b41146105d5578063a22cb465146105ea578063a51270b41461060a57600080fd5b80636817c76c146105085780636c0360eb1461051e5780636d0280271461053357806370a082311461055557806384260df81461057557600080fd5b806326092b83116101c75780634f6ccce71161018b5780634f6ccce71461046e578063530cd5ab1461048e57806355f804b3146104ae5780635c975abb146104ce5780636352211e146104e857600080fd5b806326092b83146103b657806329975b43146103d55780632f745c59146103f55780633af32abf1461041557806342842e0e1461044e57600080fd5b80630e2d56cf1161020e5780630e2d56cf1461032157806313af40351461034157806316c38b3c1461036157806318160ddd1461038157806323b872dd1461039657600080fd5b806301ffc9a71461024b57806304072b201461028057806306fdde03146102a5578063081812fc146102c7578063095ea7b3146102ff575b600080fd5b34801561025757600080fd5b5061026b610266366004612642565b610878565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50600e546102979081565b604051908152602001610277565b3480156102b157600080fd5b506102ba610889565b60405161027791906126b7565b3480156102d357600080fd5b506102e76102e23660046126ca565b61091b565b6040516001600160a01b039091168152602001610277565b34801561030b57600080fd5b5061031f61031a3660046126ff565b610942565b005b34801561032d57600080fd5b5061031f61033c366004612739565b610a5c565b34801561034d57600080fd5b5061031f61035c366004612754565b610aa0565b34801561036d57600080fd5b5061031f61037c366004612739565b610aec565b34801561038d57600080fd5b50600954610297565b3480156103a257600080fd5b5061031f6103b136600461276f565b610b29565b3480156103c257600080fd5b5060155461026b90610100900460ff1681565b3480156103e157600080fd5b5061026b6103f0366004612754565b610b5a565b34801561040157600080fd5b506102976104103660046126ff565b610c94565b34801561042157600080fd5b5061026b610430366004612754565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561045a57600080fd5b5061031f61046936600461276f565b610d2a565b34801561047a57600080fd5b506102976104893660046126ca565b610d45565b34801561049a57600080fd5b5061031f6104a9366004612754565b610dd8565b3480156104ba57600080fd5b5061031f6104c93660046127ab565b611017565b3480156104da57600080fd5b5060155461026b9060ff1681565b3480156104f457600080fd5b506102e76105033660046126ca565b61104e565b34801561051457600080fd5b5061029760145481565b34801561052a57600080fd5b506102ba6110ae565b34801561053f57600080fd5b5061054861113c565b604051610277919061281d565b34801561056157600080fd5b50610297610570366004612754565b61119d565b34801561058157600080fd5b506102ba6105903660046126ca565b611223565b3480156105a157600080fd5b506011546102e7906001600160a01b031681565b3480156105c157600080fd5b5061031f6105d03660046127ab565b61132e565b3480156105e157600080fd5b506102ba611365565b3480156105f657600080fd5b5061031f61060536600461286a565b611374565b34801561061657600080fd5b5061026b6106253660046126ca565b60009081526017602052604090206002015460ff1690565b34801561064957600080fd5b506106816106583660046126ca565b600b602052600090815260409020546001600160a01b03811690600160a01b900462ffffff1682565b604080516001600160a01b03909316835262ffffff909116602083015201610277565b3480156106b057600080fd5b5061031f6106bf366004612929565b611383565b3480156106d057600080fd5b506102ba6106df3660046126ca565b6113ba565b3480156106f057600080fd5b5061031f6106ff366004612754565b611442565b34801561071057600080fd5b5061076e61071f3660046126ca565b6040805180820190915260008082526020820152506000908152600b60209081526040918290208251808401909352546001600160a01b0381168352600160a01b900462ffffff169082015290565b6040805182516001600160a01b0316815260209283015162ffffff169281019290925201610277565b3480156107a357600080fd5b5061026b6107b2366004612754565b60166020526000908152604090205460ff1681565b61031f6107d53660046129a5565b61148e565b3480156107e657600080fd5b506102ba611780565b3480156107fb57600080fd5b5061026b61080a366004612a3a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561084457600080fd5b5061031f6108533660046126ca565b61178d565b34801561086457600080fd5b506012546102e7906001600160a01b031681565b6000610883826117c5565b92915050565b60606000805461089890612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546108c490612a64565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b5050505050905090565b6000610926826117d0565b506000908152600460205260409020546001600160a01b031690565b600061094d8261104e565b9050806001600160a01b0316836001600160a01b0316036109bf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109db57506109db813361080a565b610a4d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109b6565b610a578383611832565b505050565b6011546001600160a01b03163314610a865760405162461bcd60e51b81526004016109b690612a9e565b601580549115156101000261ff0019909216919091179055565b6011546001600160a01b03163314610aca5760405162461bcd60e51b81526004016109b690612a9e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6011546001600160a01b03163314610b165760405162461bcd60e51b81526004016109b690612a9e565b6015805460ff1916911515919091179055565b610b3333826118a0565b610b4f5760405162461bcd60e51b81526004016109b690612ac2565b610a5783838361191f565b6011546000906001600160a01b03163314610b875760405162461bcd60e51b81526004016109b690612a9e565b6001600160a01b03821660009081526016602052604090205460ff1615610be65760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481dda1a5d195b1a5cdd1959606a1b60448201526064016109b6565b6001600160a01b0382166000908152601660205260409020805460ff19166001179055610c17600e80546001019055565b6013805460018101825560009182527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180546001600160a01b0319166001600160a01b03851690811790915560405190917f8bf610b504c9ff6e30ce933966c1de06b4a80a01807f405382a1c76e1196183491a2506001919050565b6000610c9f8361119d565b8210610d015760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109b6565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a5783838360405180602001604052806000815250611383565b6000610d5060095490565b8210610db35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109b6565b60098281548110610dc657610dc6612b0f565b90600052602060002001549050919050565b6011546001600160a01b03163314610e025760405162461bcd60e51b81526004016109b690612a9e565b6001600160a01b03811660009081526016602052604090205460ff161515600114610e615760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016109b6565b6001600160a01b0381166000908152601660205260409020805460ff19169055610e8b600e611a90565b60135460005b81811015610a575760138181548110610eac57610eac612b0f565b6000918252602090912001546001600160a01b0390811690841603611005576013546001108015610ee65750610ee3600183612b3b565b81105b15610f63576013610ef8600184612b3b565b81548110610f0857610f08612b0f565b600091825260209091200154601380546001600160a01b039092169183908110610f3457610f34612b0f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6013610f70600184612b3b565b81548110610f8057610f80612b0f565b600091825260209091200180546001600160a01b03191690556013805480610faa57610faa612b52565b600082815260208120820160001990810180546001600160a01b03191690559091019091556040516001600160a01b038516917f66c8e0f3e7412cc43e517ae12160bd68cb03166e5777b9a053e2b88570eb7d3a91a2505050565b8061100f81612b68565b915050610e91565b6011546001600160a01b031633146110415760405162461bcd60e51b81526004016109b690612a9e565b6010610a57828483612bcf565b6000818152600260205260408120546001600160a01b0316806108835760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109b6565b601080546110bb90612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546110e790612a64565b80156111345780601f1061110957610100808354040283529160200191611134565b820191906000526020600020905b81548152906001019060200180831161111757829003601f168201915b505050505081565b6060601380548060200260200160405190810160405280929190818152602001828054801561091157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611176575050505050905090565b60006001600160a01b0382166112075760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109b6565b506001600160a01b031660009081526003602052604090205490565b6060611230335b836118a0565b61128d5760405162461bcd60e51b815260206004820152602860248201527f4552433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220604482015267185c1c1c9bdd995960c21b60648201526084016109b6565b600082815260176020526040902060010180546112a990612a64565b80601f01602080910402602001604051908101604052809291908181526020018280546112d590612a64565b80156113225780601f106112f757610100808354040283529160200191611322565b820191906000526020600020905b81548152906001019060200180831161130557829003601f168201915b50505050509050919050565b6011546001600160a01b031633146113585760405162461bcd60e51b81526004016109b690612a9e565b600f610a57828483612bcf565b60606001805461089890612a64565b61137f338383611ae7565b5050565b61138c3361122a565b6113a85760405162461bcd60e51b81526004016109b690612ac2565b6113b484848484611bb5565b50505050565b6000818152600260205260409020546060906001600160a01b03166114395760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109b6565b61088382611be8565b6011546001600160a01b0316331461146c5760405162461bcd60e51b81526004016109b690612a9e565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60155460ff16156114ca5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064016109b6565b6011546001600160a01b0316331461160b576014543410156115205760405162461bcd60e51b815260206004820152600f60248201526e53656e64206d696e7420707269636560881b60448201526064016109b6565b3360009081526016602052604090205460ff161580156115485750601554610100900460ff16155b1561160b576012546001600160a01b0316156115f3576012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cb9190612c8f565b9050600081116115ed5760405162461bcd60e51b81526004016109b690612ca8565b5061160b565b60405162461bcd60e51b81526004016109b690612ca8565b60005b8581101561173d576000611621600d5490565b9050611631600d80546001019055565b61163b8882611ce3565b6001600160a01b038616158015906116535750600085115b1561166357611663818787611cfd565b83156116cd576040805160608101825282815260208082018681526001838501819052600086815260179093529390912082518155905191929091908201906116ac9082612cf1565b50604091909101516002909101805460ff191691151591909117905561172a565b60408051606081018252828152602080820186815260008385018190528581526017909252929020815181559151909190600182019061170d9082612cf1565b50604091909101516002909101805460ff19169115159190911790555b508061173581612b68565b91505061160e565b506011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611777573d6000803e3d6000fd5b50505050505050565b600f80546110bb90612a64565b6011546001600160a01b031633146117b75760405162461bcd60e51b81526004016109b690612a9e565b601455565b80546001019055565b600061088382611da5565b6000818152600260205260409020546001600160a01b031661182f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109b6565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118678261104e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118ac8361104e565b9050806001600160a01b0316846001600160a01b031614806118f357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806119175750836001600160a01b031661190c8461091b565b6001600160a01b0316145b949350505050565b826001600160a01b03166119328261104e565b6001600160a01b0316146119585760405162461bcd60e51b81526004016109b690612db1565b6001600160a01b0382166119ba5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109b6565b6119c78383836001611dca565b826001600160a01b03166119da8261104e565b6001600160a01b031614611a005760405162461bcd60e51b81526004016109b690612db1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b805480611adf5760405162461bcd60e51b815260206004820152601b60248201527f436f756e7465723a2064656372656d656e74206f766572666c6f77000000000060448201526064016109b6565b600019019055565b816001600160a01b0316836001600160a01b031603611b485760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109b6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bc084848461191f565b611bcc84848484611dd6565b6113b45760405162461bcd60e51b81526004016109b690612df6565b6060611bf3826117d0565b60008281526006602052604081208054611c0c90612a64565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3890612a64565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b505050505090506000611c96611ed7565b90508051600003611ca8575092915050565b815115611cda578082604051602001611cc2929190612e48565b60405160208183030381529060405292505050919050565b61191784611ee6565b61137f828260405180602001604052806000815250611f4d565b6127108110611d4e5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016109b6565b6040805180820182526001600160a01b03938416815262ffffff92831660208083019182526000968752600b905291909420935184549151909216600160a01b026001600160b81b03199091169190921617179055565b60006001600160e01b0319821663780e9d6360e01b1480610883575061088382611f80565b6113b484848484611fd0565b60006001600160a01b0384163b15611ecc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e1a903390899088908890600401612e77565b6020604051808303816000875af1925050508015611e55575060408051601f3d908101601f19168201909252611e5291810190612eb4565b60015b611eb2573d808015611e83576040519150601f19603f3d011682016040523d82523d6000602084013e611e88565b606091505b508051600003611eaa5760405162461bcd60e51b81526004016109b690612df6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611917565b506001949350505050565b60606010805461089890612a64565b6060611ef1826117d0565b6000611efb611ed7565b90506000815111611f1b5760405180602001604052806000815250611f46565b80611f2584612110565b604051602001611f36929190612e48565b6040516020818303038152906040525b9392505050565b611f5783836121a3565b611f646000848484611dd6565b610a575760405162461bcd60e51b81526004016109b690612df6565b60006001600160e01b031982166380ac58cd60e01b1480611fb157506001600160e01b03198216635b5e139f60e01b145b8061088357506301ffc9a760e01b6001600160e01b0319831614610883565b611fdc8484848461233c565b600181111561204b5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109b6565b816001600160a01b0385166120a7576120a281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6120ca565b836001600160a01b0316856001600160a01b0316146120ca576120ca85826123c4565b6001600160a01b0384166120e6576120e181612461565b612109565b846001600160a01b0316846001600160a01b031614612109576121098482612510565b5050505050565b6060600061211d83612554565b600101905060008167ffffffffffffffff81111561213d5761213d61289d565b6040519080825280601f01601f191660200182016040528015612167576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461217157509392505050565b6001600160a01b0382166121f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109b6565b6000818152600260205260409020546001600160a01b03161561225e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109b6565b61226c600083836001611dca565b6000818152600260205260409020546001600160a01b0316156122d15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109b6565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60018111156113b4576001600160a01b03841615612382576001600160a01b0384166000908152600360205260408120805483929061237c908490612b3b565b90915550505b6001600160a01b038316156113b4576001600160a01b038316600090815260036020526040812080548392906123b9908490612ed1565b909155505050505050565b600060016123d18461119d565b6123db9190612b3b565b60008381526008602052604090205490915080821461242e576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061247390600190612b3b565b6000838152600a60205260408120546009805493945090928490811061249b5761249b612b0f565b9060005260206000200154905080600983815481106124bc576124bc612b0f565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806124f4576124f4612b52565b6001900381819060005260206000200160009055905550505050565b600061251b8361119d565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106125935772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106125bf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106125dd57662386f26fc10000830492506010015b6305f5e10083106125f5576305f5e100830492506008015b612710831061260957612710830492506004015b6064831061261b576064830492506002015b600a83106108835760010192915050565b6001600160e01b03198116811461182f57600080fd5b60006020828403121561265457600080fd5b8135611f468161262c565b60005b8381101561267a578181015183820152602001612662565b838111156113b45750506000910152565b600081518084526126a381602086016020860161265f565b601f01601f19169290920160200192915050565b602081526000611f46602083018461268b565b6000602082840312156126dc57600080fd5b5035919050565b80356001600160a01b03811681146126fa57600080fd5b919050565b6000806040838503121561271257600080fd5b61271b836126e3565b946020939093013593505050565b803580151581146126fa57600080fd5b60006020828403121561274b57600080fd5b611f4682612729565b60006020828403121561276657600080fd5b611f46826126e3565b60008060006060848603121561278457600080fd5b61278d846126e3565b925061279b602085016126e3565b9150604084013590509250925092565b600080602083850312156127be57600080fd5b823567ffffffffffffffff808211156127d657600080fd5b818501915085601f8301126127ea57600080fd5b8135818111156127f957600080fd5b86602082850101111561280b57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561285e5783516001600160a01b031683529284019291840191600101612839565b50909695505050505050565b6000806040838503121561287d57600080fd5b612886836126e3565b915061289460208401612729565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156128ce576128ce61289d565b604051601f8501601f19908116603f011681019082821181831017156128f6576128f661289d565b8160405280935085815286868601111561290f57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561293f57600080fd5b612948856126e3565b9350612956602086016126e3565b925060408501359150606085013567ffffffffffffffff81111561297957600080fd5b8501601f8101871361298a57600080fd5b612999878235602084016128b3565b91505092959194509250565b60008060008060008060c087890312156129be57600080fd5b6129c7876126e3565b9550602087013594506129dc604088016126e3565b9350606087013592506129f160808801612729565b915060a087013567ffffffffffffffff811115612a0d57600080fd5b8701601f81018913612a1e57600080fd5b612a2d898235602084016128b3565b9150509295509295509295565b60008060408385031215612a4d57600080fd5b612a56836126e3565b9150612894602084016126e3565b600181811c90821680612a7857607f821691505b602082108103612a9857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612b4d57612b4d612b25565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018201612b7a57612b7a612b25565b5060010190565b601f821115610a5757600081815260208120601f850160051c81016020861015612ba85750805b601f850160051c820191505b81811015612bc757828155600101612bb4565b505050505050565b67ffffffffffffffff831115612be757612be761289d565b612bfb83612bf58354612a64565b83612b81565b6000601f841160018114612c2f5760008515612c175750838201355b600019600387901b1c1916600186901b178355612109565b600083815260209020601f19861690835b82811015612c605786850135825560209485019460019092019101612c40565b5086821015612c7d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600060208284031215612ca157600080fd5b5051919050565b60208082526029908201527f4f6e6c792077686974656c6973746564206f72207061737320686f6c646572736040820152680818d85b881b5a5b9d60ba1b606082015260800190565b815167ffffffffffffffff811115612d0b57612d0b61289d565b612d1f81612d198454612a64565b84612b81565b602080601f831160018114612d545760008415612d3c5750858301515b600019600386901b1c1916600185901b178555612bc7565b600085815260208120601f198616915b82811015612d8357888601518255948401946001909101908401612d64565b5085821015612da15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612e5a81846020880161265f565b835190830190612e6e81836020880161265f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612eaa9083018461268b565b9695505050505050565b600060208284031215612ec657600080fd5b8151611f468161262c565b60008219821115612ee457612ee4612b25565b50019056fea26469706673582212200dc9c88f8e63327dc4b892869bc913ef2632acaddeedd2ba393da212aeedb0f864736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006136cce8c9d2abbed33be3a3c2f477031745fd6300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003311fc80a5700000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a50726a637420506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062450726a637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d65677a6932753848547a52673648514663507141516f56796f623163554843613776613642377532786a6448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d53797052546f576b34646a5a614254676e56474162774265594d466156586642564b666176415573574e34792f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Prjct Pass
Arg [1] : _symbol (string): $Prjct
Arg [2] : _owner (address): 0x6136CCe8C9d2AbBeD33be3a3c2F477031745fd63
Arg [3] : _contractURI (string): ipfs://Qmegzi2u8HTzRg6HQFcPqAQoVyob1cUHCa7va6B7u2xjdH
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000006136cce8c9d2abbed33be3a3c2f477031745fd63
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 00000000000000000000000000000000000000000000000003311fc80a570000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 50726a6374205061737300000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [12] : 2450726a63740000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [14] : 697066733a2f2f516d65677a6932753848547a52673648514663507141516f56
Arg [15] : 796f623163554843613776613642377532786a64480000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [18] : 697066733a2f2f516d53797052546f576b34646a5a614254676e564741627742
Arg [19] : 65594d466156586642564b666176415573574e34792f00000000000000000000
Deployed Bytecode Sourcemap
71753:7637:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78735:242;;;;;;;;;;-1:-1:-1;78735:242:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;78735:242:0;;;;;;;;71971:40;;;;;;;;;;-1:-1:-1;71971:40:0;;;;;;;;;738:25:1;;;726:2;711:18;71971:40:0;592:177:1;43384:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44896:171::-;;;;;;;;;;-1:-1:-1;44896:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;44896:171:0;1710:203:1;44414:416:0;;;;;;;;;;-1:-1:-1;44414:416:0;;;;;:::i;:::-;;:::i;:::-;;75881:146;;;;;;;;;;-1:-1:-1;75881:146:0;;;;;:::i;:::-;;:::i;76636:129::-;;;;;;;;;;-1:-1:-1;76636:129:0;;;;;:::i;:::-;;:::i;76035:130::-;;;;;;;;;;-1:-1:-1;76035:130:0;;;;;:::i;:::-;;:::i;59962:113::-;;;;;;;;;;-1:-1:-1;60050:10:0;:17;59962:113;;45596:335;;;;;;;;;;-1:-1:-1;45596:335:0;;;;;:::i;:::-;;:::i;72243:22::-;;;;;;;;;;-1:-1:-1;72243:22:0;;;;;;;;;;;76934:397;;;;;;;;;;-1:-1:-1;76934:397:0;;;;;:::i;:::-;;:::i;59630:256::-;;;;;;;;;;-1:-1:-1;59630:256:0;;;;;:::i;:::-;;:::i;78239:115::-;;;;;;;;;;-1:-1:-1;78239:115:0;;;;;:::i;:::-;-1:-1:-1;;;;;78325:21:0;78301:4;78325:21;;;:11;:21;;;;;;;;;78239:115;46002:185;;;;;;;;;;-1:-1:-1;46002:185:0;;;;;:::i;:::-;;:::i;60152:233::-;;;;;;;;;;-1:-1:-1;60152:233:0;;;;;:::i;:::-;;:::i;77339:892::-;;;;;;;;;;-1:-1:-1;77339:892:0;;;;;:::i;:::-;;:::i;76173:137::-;;;;;;;;;;-1:-1:-1;76173:137:0;;;;;:::i;:::-;;:::i;72218:18::-;;;;;;;;;;-1:-1:-1;72218:18:0;;;;;;;;43094:223;;;;;;;;;;-1:-1:-1;43094:223:0;;;;;:::i;:::-;;:::i;72187:24::-;;;;;;;;;;;;;;;;72052:21;;;;;;;;;;;;;:::i;76773:153::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42825:207::-;;;;;;;;;;-1:-1:-1;42825:207:0;;;;;:::i;:::-;;:::i;75168:309::-;;;;;;;;;;-1:-1:-1;75168:309:0;;;;;:::i;:::-;;:::i;72080:20::-;;;;;;;;;;-1:-1:-1;72080:20:0;;;;-1:-1:-1;;;;;72080:20:0;;;76318:145;;;;;;;;;;-1:-1:-1;76318:145:0;;;;;:::i;:::-;;:::i;43553:104::-;;;;;;;;;;;;;:::i;45139:155::-;;;;;;;;;;-1:-1:-1;45139:155:0;;;;;:::i;:::-;;:::i;75485:119::-;;;;;;;;;;-1:-1:-1;75485:119:0;;;;;:::i;:::-;75545:4;75569:20;;;:11;:20;;;;;:27;;;;;;75485:119;33328:49;;;;;;;;;;-1:-1:-1;33328:49:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;33328:49:0;;;-1:-1:-1;;;33328:49:0;;;;;;;;;;-1:-1:-1;;;;;4938:32:1;;;4920:51;;5019:8;5007:21;;;5002:2;4987:18;;4980:49;4893:18;33328:49:0;4748:287:1;46258:322:0;;;;;;;;;;-1:-1:-1;46258:322:0;;;;;:::i;:::-;;:::i;78362:337::-;;;;;;;;;;-1:-1:-1;78362:337:0;;;;;:::i;:::-;;:::i;76471:157::-;;;;;;;;;;-1:-1:-1;76471:157:0;;;;;:::i;:::-;;:::i;33889:158::-;;;;;;;;;;-1:-1:-1;33889:158:0;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;34020:19:0;;;;:10;:19;;;;;;;;;34013:26;;;;;;;;;-1:-1:-1;;;;;34013:26:0;;;;-1:-1:-1;;;34013:26:0;;;;;;;;;33889:158;;;;;6705:13:1;;-1:-1:-1;;;;;6701:39:1;6683:58;;6801:4;6789:17;;;6783:24;6809:8;6779:39;6757:20;;;6750:69;;;;6656:18;33889:158:0;6479:346:1;72387:43:0;;;;;;;;;;-1:-1:-1;72387:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;73638:1522;;;;;;:::i;:::-;;:::i;72020:25::-;;;;;;;;;;;;;:::i;45365:164::-;;;;;;;;;;-1:-1:-1;45365:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45486:25:0;;;45462:4;45486:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45365:164;75728:145;;;;;;;;;;-1:-1:-1;75728:145:0;;;;;:::i;:::-;;:::i;72107:27::-;;;;;;;;;;-1:-1:-1;72107:27:0;;;;-1:-1:-1;;;;;72107:27:0;;;78735:242;78904:4;78933:36;78957:11;78933:23;:36::i;:::-;78926:43;78735:242;-1:-1:-1;;78735:242:0:o;43384:100::-;43438:13;43471:5;43464:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43384:100;:::o;44896:171::-;44972:7;44992:23;45007:7;44992:14;:23::i;:::-;-1:-1:-1;45035:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45035:24:0;;44896:171::o;44414:416::-;44495:13;44511:23;44526:7;44511:14;:23::i;:::-;44495:39;;44559:5;-1:-1:-1;;;;;44553:11:0;:2;-1:-1:-1;;;;;44553:11:0;;44545:57;;;;-1:-1:-1;;;44545:57:0;;8492:2:1;44545:57:0;;;8474:21:1;8531:2;8511:18;;;8504:30;8570:34;8550:18;;;8543:62;-1:-1:-1;;;8621:18:1;;;8614:31;8662:19;;44545:57:0;;;;;;;;;17114:10;-1:-1:-1;;;;;44637:21:0;;;;:62;;-1:-1:-1;44662:37:0;44679:5;17114:10;45365:164;:::i;44662:37::-;44615:173;;;;-1:-1:-1;;;44615:173:0;;8894:2:1;44615:173:0;;;8876:21:1;8933:2;8913:18;;;8906:30;8972:34;8952:18;;;8945:62;9043:31;9023:18;;;9016:59;9092:19;;44615:173:0;8692:425:1;44615:173:0;44801:21;44810:2;44814:7;44801:8;:21::i;:::-;44484:346;44414:416;;:::o;75881:146::-;75950:5;;-1:-1:-1;;;;;75950:5:0;75959:10;75950:19;75942:42;;;;-1:-1:-1;;;75942:42:0;;;;;;;:::i;:::-;75995:10;:24;;;;;;;-1:-1:-1;;75995:24:0;;;;;;;;;75881:146::o;76636:129::-;76698:5;;-1:-1:-1;;;;;76698:5:0;76707:10;76698:19;76690:42;;;;-1:-1:-1;;;76690:42:0;;;;;;;:::i;:::-;76743:5;:14;;-1:-1:-1;;;;;;76743:14:0;-1:-1:-1;;;;;76743:14:0;;;;;;;;;;76636:129::o;76035:130::-;76096:5;;-1:-1:-1;;;;;76096:5:0;76105:10;76096:19;76088:42;;;;-1:-1:-1;;;76088:42:0;;;;;;;:::i;:::-;76141:6;:16;;-1:-1:-1;;76141:16:0;;;;;;;;;;76035:130::o;45596:335::-;45791:41;17114:10;45824:7;45791:18;:41::i;:::-;45783:99;;;;-1:-1:-1;;;45783:99:0;;;;;;;:::i;:::-;45895:28;45905:4;45911:2;45915:7;45895:9;:28::i;76934:397::-;77024:5;;76999:4;;-1:-1:-1;;;;;77024:5:0;77033:10;77024:19;77016:42;;;;-1:-1:-1;;;77016:42:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;77077:21:0;;;;;;:11;:21;;;;;;;;:30;77069:62;;;;-1:-1:-1;;;77069:62:0;;10077:2:1;77069:62:0;;;10059:21:1;10116:2;10096:18;;;10089:30;-1:-1:-1;;;10135:18:1;;;10128:49;10194:18;;77069:62:0;9875:343:1;77069:62:0;-1:-1:-1;;;;;77142:21:0;;;;;;:11;:21;;;;;:28;;-1:-1:-1;;77142:28:0;77166:4;77142:28;;;77181;:16;71247:19;;71265:1;71247:19;;;71158:127;77181:28;77220:19;:34;;;;;;;-1:-1:-1;77220:34:0;;;;;;;-1:-1:-1;;;;;;77220:34:0;-1:-1:-1;;;;;77220:34:0;;;;;;;;77270:31;;77220:34;;77270:31;;;-1:-1:-1;77319:4:0;;76934:397;-1:-1:-1;76934:397:0:o;59630:256::-;59727:7;59763:23;59780:5;59763:16;:23::i;:::-;59755:5;:31;59747:87;;;;-1:-1:-1;;;59747:87:0;;10425:2:1;59747:87:0;;;10407:21:1;10464:2;10444:18;;;10437:30;10503:34;10483:18;;;10476:62;-1:-1:-1;;;10554:18:1;;;10547:41;10605:19;;59747:87:0;10223:407:1;59747:87:0;-1:-1:-1;;;;;;59852:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;59630:256::o;46002:185::-;46140:39;46157:4;46163:2;46167:7;46140:39;;;;;;;;;;;;:16;:39::i;60152:233::-;60227:7;60263:30;60050:10;:17;;59962:113;60263:30;60255:5;:38;60247:95;;;;-1:-1:-1;;;60247:95:0;;10837:2:1;60247:95:0;;;10819:21:1;10876:2;10856:18;;;10849:30;10915:34;10895:18;;;10888:62;-1:-1:-1;;;10966:18:1;;;10959:42;11018:19;;60247:95:0;10635:408:1;60247:95:0;60360:10;60371:5;60360:17;;;;;;;;:::i;:::-;;;;;;;;;60353:24;;60152:233;;;:::o;77339:892::-;77427:5;;-1:-1:-1;;;;;77427:5:0;77436:10;77427:19;77419:42;;;;-1:-1:-1;;;77419:42:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;77480:29:0;;;;;;:11;:29;;;;;;;;:37;;:29;:37;77472:65;;;;-1:-1:-1;;;77472:65:0;;11382:2:1;77472:65:0;;;11364:21:1;11421:2;11401:18;;;11394:30;-1:-1:-1;;;11440:18:1;;;11433:45;11495:18;;77472:65:0;11180:339:1;77472:65:0;-1:-1:-1;;;;;77548:29:0;;77580:5;77548:29;;;:11;:29;;;;;:37;;-1:-1:-1;;77548:37:0;;;77643:28;:16;:26;:28::i;:::-;77699:19;:26;77682:14;77736:488;77760:6;77756:1;:10;77736:488;;;77812:19;77832:1;77812:22;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;77812:22:0;;;77792:42;;;;77788:425;;77863:19;:26;77859:1;:30;:48;;;;-1:-1:-1;77897:10:0;77906:1;77897:6;:10;:::i;:::-;77893:1;:14;77859:48;77855:153;;;77957:19;77977:10;77986:1;77977:6;:10;:::i;:::-;77957:31;;;;;;;;:::i;:::-;;;;;;;;;;;77932:19;:22;;-1:-1:-1;;;;;77957:31:0;;;;77952:1;;77932:22;;;;;;:::i;:::-;;;;;;;;;:56;;;;;-1:-1:-1;;;;;77932:56:0;;;;;-1:-1:-1;;;;;77932:56:0;;;;;;77855:153;78033:19;78053:10;78062:1;78053:6;:10;:::i;:::-;78033:31;;;;;;;;:::i;:::-;;;;;;;;;;78026:38;;-1:-1:-1;;;;;;78026:38:0;;;78083:19;:25;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;78083:25:0;;;;;-1:-1:-1;;;;;;78083:25:0;;;;;;;;;78132:41;;-1:-1:-1;;;;;78132:41:0;;;;;;44484:346;44414:416;;:::o;77788:425::-;77768:3;;;;:::i;:::-;;;;77736:488;;76173:137;76243:5;;-1:-1:-1;;;;;76243:5:0;76252:10;76243:19;76235:42;;;;-1:-1:-1;;;76235:42:0;;;;;;;:::i;:::-;76288:7;:14;76298:4;;76288:7;:14;:::i;43094:223::-;43166:7;47981:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47981:16:0;;43230:56;;;;-1:-1:-1;;;43230:56:0;;14318:2:1;43230:56:0;;;14300:21:1;14357:2;14337:18;;;14330:30;-1:-1:-1;;;14376:18:1;;;14369:54;14440:18;;43230:56:0;14116:348:1;72052:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;76773:153::-;76858:16;76899:19;76892:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76892:26:0;;;;;;;;;;;;;;;;;;;;;;76773:153;:::o;42825:207::-;42897:7;-1:-1:-1;;;;;42925:19:0;;42917:73;;;;-1:-1:-1;;;42917:73:0;;14671:2:1;42917:73:0;;;14653:21:1;14710:2;14690:18;;;14683:30;14749:34;14729:18;;;14722:62;-1:-1:-1;;;14800:18:1;;;14793:39;14849:19;;42917:73:0;14469:405:1;42917:73:0;-1:-1:-1;;;;;;43008:16:0;;;;;:9;:16;;;;;;;42825:207::o;75168:309::-;75257:13;75310:41;17114:10;75329:12;75343:7;75310:18;:41::i;:::-;75288:131;;;;-1:-1:-1;;;75288:131:0;;15081:2:1;75288:131:0;;;15063:21:1;15120:2;15100:18;;;15093:30;15159:34;15139:18;;;15132:62;-1:-1:-1;;;15210:18:1;;;15203:38;15258:19;;75288:131:0;14879:404:1;75288:131:0;75437:20;;;;:11;:20;;;;;:32;;75430:39;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75168:309;;;:::o;76318:145::-;76392:5;;-1:-1:-1;;;;;76392:5:0;76401:10;76392:19;76384:42;;;;-1:-1:-1;;;76384:42:0;;;;;;;:::i;:::-;76437:11;:18;76451:4;;76437:11;:18;:::i;43553:104::-;43609:13;43642:7;43635:14;;;;;:::i;45139:155::-;45234:52;17114:10;45267:8;45277;45234:18;:52::i;:::-;45139:155;;:::o;46258:322::-;46432:41;17114:10;46451:12;17034:98;46432:41;46424:99;;;;-1:-1:-1;;;46424:99:0;;;;;;;:::i;:::-;46534:38;46548:4;46554:2;46558:7;46567:4;46534:13;:38::i;:::-;46258:322;;;;:::o;78362:337::-;48383:4;47981:16;;;:7;:16;;;;;;78506:13;;-1:-1:-1;;;;;47981:16:0;78537:113;;;;-1:-1:-1;;;78537:113:0;;15490:2:1;78537:113:0;;;15472:21:1;15529:2;15509:18;;;15502:30;15568:34;15548:18;;;15541:62;-1:-1:-1;;;15619:18:1;;;15612:45;15674:19;;78537:113:0;15288:411:1;78537:113:0;78668:23;78683:7;78668:14;:23::i;76471:157::-;76547:5;;-1:-1:-1;;;;;76547:5:0;76556:10;76547:19;76539:42;;;;-1:-1:-1;;;76539:42:0;;;;;;;:::i;:::-;76592:12;:28;;-1:-1:-1;;;;;;76592:28:0;-1:-1:-1;;;;;76592:28:0;;;;;;;;;;76471:157::o;73638:1522::-;73864:6;;;;73863:7;73855:26;;;;-1:-1:-1;;;73855:26:0;;15906:2:1;73855:26:0;;;15888:21:1;15945:1;15925:18;;;15918:29;-1:-1:-1;;;15963:18:1;;;15956:36;16009:18;;73855:26:0;15704:329:1;73855:26:0;73910:5;;-1:-1:-1;;;;;73910:5:0;73896:10;:19;73892:648;;73953:9;;73940;:22;;73932:50;;;;-1:-1:-1;;;73932:50:0;;16240:2:1;73932:50:0;;;16222:21:1;16279:2;16259:18;;;16252:30;-1:-1:-1;;;16298:18:1;;;16291:45;16353:18;;73932:50:0;16038:339:1;73932:50:0;74014:10;74002:23;;;;:11;:23;;;;;;;;74001:24;:39;;;;-1:-1:-1;74030:10:0;;;;;;;74029:11;74001:39;73997:532;;;74065:12;;-1:-1:-1;;;;;74065:12:0;:26;74061:453;;74142:12;;74134:91;;-1:-1:-1;;;74134:91:0;;74192:10;74134:91;;;1856:51:1;74116:15:0;;-1:-1:-1;;;;;74142:12:0;;74134:31;;1829:18:1;;74134:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74116:109;;74292:1;74282:7;:11;74248:138;;;;-1:-1:-1;;;74248:138:0;;;;;;;:::i;:::-;74093:313;74061:453;;;74435:59;;-1:-1:-1;;;74435:59:0;;;;;;;:::i;:::-;74555:9;74550:558;74574:10;74570:1;:14;74550:558;;;74606:15;74624:25;:15;71128:14;;71036:114;74624:25;74606:43;;74664:27;:15;71247:19;;71265:1;71247:19;;;71158:127;74664:27;74706:22;74716:2;74720:7;74706:9;:22::i;:::-;-1:-1:-1;;;;;74747:24:0;;;;;;:39;;;74785:1;74775:7;:11;74747:39;74743:126;;;74807:46;74824:7;74833:10;74845:7;74807:16;:46::i;:::-;74887:7;74883:214;;;74938:39;;;;;;;;;;;;;;;;;;74972:4;74938:39;;;;;;-1:-1:-1;74915:20:0;;;:11;:20;;;;;;;:62;;;;;;74938:39;;74915:20;;:62;;;;;;;;:::i;:::-;-1:-1:-1;74915:62:0;;;;;;;;;;;;-1:-1:-1;;74915:62:0;;;;;;;;;;74883:214;;;75041:40;;;;;;;;;;;;;;;;;;-1:-1:-1;75041:40:0;;;;;;75018:20;;;:11;:20;;;;;;:63;;;;;;75041:40;;75018:20;75041:40;75018:63;;;;;;;:::i;:::-;-1:-1:-1;75018:63:0;;;;;;;;;;;;-1:-1:-1;;75018:63:0;;;;;;;;;;74883:214;-1:-1:-1;74586:3:0;;;;:::i;:::-;;;;74550:558;;;-1:-1:-1;75126:5:0;;75118:34;;-1:-1:-1;;;;;75126:5:0;;;;75142:9;75118:34;;;;;75126:5;75118:34;75126:5;75118:34;75142:9;75126:5;75118:34;;;;;;;;;;;;;;;;;;;;;73638:1522;;;;;;:::o;72020:25::-;;;;;;;:::i;75728:145::-;75798:5;;-1:-1:-1;;;;;75798:5:0;75807:10;75798:19;75790:42;;;;-1:-1:-1;;;75790:42:0;;;;;;;:::i;:::-;75843:9;:22;75728:145::o;71158:127::-;71247:19;;71265:1;71247:19;;;71158:127::o;32894:203::-;33024:4;33053:36;33077:11;33053:23;:36::i;54715:135::-;48383:4;47981:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47981:16:0;54789:53;;;;-1:-1:-1;;;54789:53:0;;14318:2:1;54789:53:0;;;14300:21:1;14357:2;14337:18;;;14330:30;-1:-1:-1;;;14376:18:1;;;14369:54;14440:18;;54789:53:0;14116:348:1;54789:53:0;54715:135;:::o;53994:174::-;54069:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;54069:29:0;-1:-1:-1;;;;;54069:29:0;;;;;;;;:24;;54123:23;54069:24;54123:14;:23::i;:::-;-1:-1:-1;;;;;54114:46:0;;;;;;;;;;;53994:174;;:::o;48613:264::-;48706:4;48723:13;48739:23;48754:7;48739:14;:23::i;:::-;48723:39;;48792:5;-1:-1:-1;;;;;48781:16:0;:7;-1:-1:-1;;;;;48781:16:0;;:52;;;-1:-1:-1;;;;;;45486:25:0;;;45462:4;45486:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;48801:32;48781:87;;;;48861:7;-1:-1:-1;;;;;48837:31:0;:20;48849:7;48837:11;:20::i;:::-;-1:-1:-1;;;;;48837:31:0;;48781:87;48773:96;48613:264;-1:-1:-1;;;;48613:264:0:o;52612:1263::-;52771:4;-1:-1:-1;;;;;52744:31:0;:23;52759:7;52744:14;:23::i;:::-;-1:-1:-1;;;;;52744:31:0;;52736:81;;;;-1:-1:-1;;;52736:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52836:16:0;;52828:65;;;;-1:-1:-1;;;52828:65:0;;18946:2:1;52828:65:0;;;18928:21:1;18985:2;18965:18;;;18958:30;19024:34;19004:18;;;18997:62;-1:-1:-1;;;19075:18:1;;;19068:34;19119:19;;52828:65:0;18744:400:1;52828:65:0;52906:42;52927:4;52933:2;52937:7;52946:1;52906:20;:42::i;:::-;53078:4;-1:-1:-1;;;;;53051:31:0;:23;53066:7;53051:14;:23::i;:::-;-1:-1:-1;;;;;53051:31:0;;53043:81;;;;-1:-1:-1;;;53043:81:0;;;;;;;:::i;:::-;53196:24;;;;:15;:24;;;;;;;;53189:31;;-1:-1:-1;;;;;;53189:31:0;;;;;;-1:-1:-1;;;;;53672:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;53672:20:0;;;53707:13;;;;;;;;;:18;;53189:31;53707:18;;;53747:16;;;:7;:16;;;;;;:21;;;;;;;;;;53786:27;;53212:7;;53786:27;;;44484:346;44414:416;;:::o;71293:235::-;71373:14;;71406:9;71398:49;;;;-1:-1:-1;;;71398:49:0;;19351:2:1;71398:49:0;;;19333:21:1;19390:2;19370:18;;;19363:30;19429:29;19409:18;;;19402:57;19476:18;;71398:49:0;19149:351:1;71398:49:0;-1:-1:-1;;71500:9:0;71483:26;;71293:235::o;54311:315::-;54466:8;-1:-1:-1;;;;;54457:17:0;:5;-1:-1:-1;;;;;54457:17:0;;54449:55;;;;-1:-1:-1;;;54449:55:0;;19707:2:1;54449:55:0;;;19689:21:1;19746:2;19726:18;;;19719:30;19785:27;19765:18;;;19758:55;19830:18;;54449:55:0;19505:349:1;54449:55:0;-1:-1:-1;;;;;54515:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;54515:46:0;;;;;;;;;;54577:41;;540::1;;;54577::0;;513:18:1;54577:41:0;;;;;;;54311:315;;;:::o;47461:313::-;47617:28;47627:4;47633:2;47637:7;47617:9;:28::i;:::-;47664:47;47687:4;47693:2;47697:7;47706:4;47664:22;:47::i;:::-;47656:110;;;;-1:-1:-1;;;47656:110:0;;;;;;;:::i;65783:624::-;65856:13;65882:23;65897:7;65882:14;:23::i;:::-;65918;65944:19;;;:10;:19;;;;;65918:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65974:18;65995:10;:8;:10::i;:::-;65974:31;;66087:4;66081:18;66103:1;66081:23;66077:72;;-1:-1:-1;66128:9:0;65783:624;-1:-1:-1;;65783:624:0:o;66077:72::-;66253:23;;:27;66249:108;;66328:4;66334:9;66311:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66297:48;;;;65783:624;;;:::o;66249:108::-;66376:23;66391:7;66376:14;:23::i;49219:110::-;49295:26;49305:2;49309:7;49295:26;;;;;;;;;;;;:9;:26::i;33620:261::-;33767:5;33759;:13;33751:52;;;;-1:-1:-1;;;33751:52:0;;20955:2:1;33751:52:0;;;20937:21:1;20994:2;20974:18;;;20967:30;21033:28;21013:18;;;21006:56;21079:18;;33751:52:0;20753:350:1;33751:52:0;33836:37;;;;;;;;-1:-1:-1;;;;;33836:37:0;;;;;;;;;;;;;;;;-1:-1:-1;33814:19:0;;;:10;:19;;;;;;:59;;;;;;;;;-1:-1:-1;;;33814:59:0;-1:-1:-1;;;;;;33814:59:0;;;;;;;;;;;33620:261::o;59322:224::-;59424:4;-1:-1:-1;;;;;;59448:50:0;;-1:-1:-1;;;59448:50:0;;:90;;;59502:36;59526:11;59502:23;:36::i;78985:256::-;79176:57;79203:4;79209:2;79213:7;79222:10;79176:26;:57::i;55414:853::-;55568:4;-1:-1:-1;;;;;55589:13:0;;21476:19;:23;55585:675;;55625:71;;-1:-1:-1;;;55625:71:0;;-1:-1:-1;;;;;55625:36:0;;;;;:71;;17114:10;;55676:4;;55682:7;;55691:4;;55625:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55625:71:0;;;;;;;;-1:-1:-1;;55625:71:0;;;;;;;;;;;;:::i;:::-;;;55621:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55866:6;:13;55883:1;55866:18;55862:328;;55909:60;;-1:-1:-1;;;55909:60:0;;;;;;;:::i;55862:328::-;56140:6;56134:13;56125:6;56121:2;56117:15;56110:38;55621:584;-1:-1:-1;;;;;;55747:51:0;-1:-1:-1;;;55747:51:0;;-1:-1:-1;55740:58:0;;55585:675;-1:-1:-1;56244:4:0;55414:853;;;;;;:::o;75612:108::-;75672:13;75705:7;75698:14;;;;;:::i;43728:281::-;43801:13;43827:23;43842:7;43827:14;:23::i;:::-;43863:21;43887:10;:8;:10::i;:::-;43863:34;;43939:1;43921:7;43915:21;:25;:86;;;;;;;;;;;;;;;;;43967:7;43976:18;:7;:16;:18::i;:::-;43950:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43915:86;43908:93;43728:281;-1:-1:-1;;;43728:281:0:o;49556:319::-;49685:18;49691:2;49695:7;49685:5;:18::i;:::-;49736:53;49767:1;49771:2;49775:7;49784:4;49736:22;:53::i;:::-;49714:153;;;;-1:-1:-1;;;49714:153:0;;;;;;;:::i;42456:305::-;42558:4;-1:-1:-1;;;;;;42595:40:0;;-1:-1:-1;;;42595:40:0;;:105;;-1:-1:-1;;;;;;;42652:48:0;;-1:-1:-1;;;42652:48:0;42595:105;:158;;;-1:-1:-1;;;;;;;;;;32321:40:0;;;42717:36;32212:157;60459:915;60636:61;60663:4;60669:2;60673:12;60687:9;60636:26;:61::i;:::-;60726:1;60714:9;:13;60710:222;;;60857:63;;-1:-1:-1;;;60857:63:0;;22058:2:1;60857:63:0;;;22040:21:1;22097:2;22077:18;;;22070:30;22136:34;22116:18;;;22109:62;-1:-1:-1;;;22187:18:1;;;22180:51;22248:19;;60857:63:0;21856:417:1;60710:222:0;60962:12;-1:-1:-1;;;;;60991:18:0;;60987:187;;61026:40;61058:7;62201:10;:17;;62174:24;;;;:15;:24;;;;;:44;;;62229:24;;;;;;;;;;;;62097:164;61026:40;60987:187;;;61096:2;-1:-1:-1;;;;;61088:10:0;:4;-1:-1:-1;;;;;61088:10:0;;61084:90;;61115:47;61148:4;61154:7;61115:32;:47::i;:::-;-1:-1:-1;;;;;61188:16:0;;61184:183;;61221:45;61258:7;61221:36;:45::i;:::-;61184:183;;;61294:4;-1:-1:-1;;;;;61288:10:0;:2;-1:-1:-1;;;;;61288:10:0;;61284:83;;61315:40;61343:2;61347:7;61315:27;:40::i;:::-;60625:749;60459:915;;;;:::o;14461:716::-;14517:13;14568:14;14585:17;14596:5;14585:10;:17::i;:::-;14605:1;14585:21;14568:38;;14621:20;14655:6;14644:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14644:18:0;-1:-1:-1;14621:41:0;-1:-1:-1;14786:28:0;;;14802:2;14786:28;14843:288;-1:-1:-1;;14875:5:0;-1:-1:-1;;;15012:2:0;15001:14;;14996:30;14875:5;14983:44;15073:2;15064:11;;;-1:-1:-1;15094:21:0;14843:288;15094:21;-1:-1:-1;15152:6:0;14461:716;-1:-1:-1;;;14461:716:0:o;50211:942::-;-1:-1:-1;;;;;50291:16:0;;50283:61;;;;-1:-1:-1;;;50283:61:0;;22612:2:1;50283:61:0;;;22594:21:1;;;22631:18;;;22624:30;22690:34;22670:18;;;22663:62;22742:18;;50283:61:0;22410:356:1;50283:61:0;48383:4;47981:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47981:16:0;48407:31;50355:58;;;;-1:-1:-1;;;50355:58:0;;22973:2:1;50355:58:0;;;22955:21:1;23012:2;22992:18;;;22985:30;23051;23031:18;;;23024:58;23099:18;;50355:58:0;22771:352:1;50355:58:0;50426:48;50455:1;50459:2;50463:7;50472:1;50426:20;:48::i;:::-;48383:4;47981:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47981:16:0;48407:31;50564:58;;;;-1:-1:-1;;;50564:58:0;;22973:2:1;50564:58:0;;;22955:21:1;23012:2;22992:18;;;22985:30;23051;23031:18;;;23024:58;23099:18;;50564:58:0;22771:352:1;50564:58:0;-1:-1:-1;;;;;50971:13:0;;;;;;:9;:13;;;;;;;;:18;;50988:1;50971:18;;;51013:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51013:21:0;;;;;51052:33;51021:7;;50971:13;;51052:33;;50971:13;;51052:33;45139:155;;:::o;56999:410::-;57189:1;57177:9;:13;57173:229;;;-1:-1:-1;;;;;57211:18:0;;;57207:87;;-1:-1:-1;;;;;57250:15:0;;;;;;:9;:15;;;;;:28;;57269:9;;57250:15;:28;;57269:9;;57250:28;:::i;:::-;;;;-1:-1:-1;;57207:87:0;-1:-1:-1;;;;;57312:16:0;;;57308:83;;-1:-1:-1;;;;;57349:13:0;;;;;;:9;:13;;;;;:26;;57366:9;;57349:13;:26;;57366:9;;57349:26;:::i;:::-;;;;-1:-1:-1;;56999:410:0;;;;:::o;62888:988::-;63154:22;63204:1;63179:22;63196:4;63179:16;:22::i;:::-;:26;;;;:::i;:::-;63216:18;63237:26;;;:17;:26;;;;;;63154:51;;-1:-1:-1;63370:28:0;;;63366:328;;-1:-1:-1;;;;;63437:18:0;;63415:19;63437:18;;;:12;:18;;;;;;;;:34;;;;;;;;;63488:30;;;;;;:44;;;63605:30;;:17;:30;;;;;:43;;;63366:328;-1:-1:-1;63790:26:0;;;;:17;:26;;;;;;;;63783:33;;;-1:-1:-1;;;;;63834:18:0;;;;;:12;:18;;;;;:34;;;;;;;63827:41;62888:988::o;64171:1079::-;64449:10;:17;64424:22;;64449:21;;64469:1;;64449:21;:::i;:::-;64481:18;64502:24;;;:15;:24;;;;;;64875:10;:26;;64424:46;;-1:-1:-1;64502:24:0;;64424:46;;64875:26;;;;;;:::i;:::-;;;;;;;;;64853:48;;64939:11;64914:10;64925;64914:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;65019:28;;;:15;:28;;;;;;;:41;;;65191:24;;;;;65184:31;65226:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;64242:1008;;;64171:1079;:::o;61675:221::-;61760:14;61777:20;61794:2;61777:16;:20::i;:::-;-1:-1:-1;;;;;61808:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;61853:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;61675:221:0:o;11327:922::-;11380:7;;-1:-1:-1;;;11458:15:0;;11454:102;;-1:-1:-1;;;11494:15:0;;;-1:-1:-1;11538:2:0;11528:12;11454:102;11583:6;11574:5;:15;11570:102;;11619:6;11610:15;;;-1:-1:-1;11654:2:0;11644:12;11570:102;11699:6;11690:5;:15;11686:102;;11735:6;11726:15;;;-1:-1:-1;11770:2:0;11760:12;11686:102;11815:5;11806;:14;11802:99;;11850:5;11841:14;;;-1:-1:-1;11884:1:0;11874:11;11802:99;11928:5;11919;:14;11915:99;;11963:5;11954:14;;;-1:-1:-1;11997:1:0;11987:11;11915:99;12041:5;12032;:14;12028:99;;12076:5;12067:14;;;-1:-1:-1;12110:1:0;12100:11;12028:99;12154:5;12145;:14;12141:66;;12190:1;12180:11;12235:6;11327:922;-1:-1:-1;;11327:922:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:160::-;2420:20;;2476:13;;2469:21;2459:32;;2449:60;;2505:1;2502;2495:12;2520:180;2576:6;2629:2;2617:9;2608:7;2604:23;2600:32;2597:52;;;2645:1;2642;2635:12;2597:52;2668:26;2684:9;2668:26;:::i;2705:186::-;2764:6;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;2856:29;2875:9;2856:29;:::i;2896:328::-;2973:6;2981;2989;3042:2;3030:9;3021:7;3017:23;3013:32;3010:52;;;3058:1;3055;3048:12;3010:52;3081:29;3100:9;3081:29;:::i;:::-;3071:39;;3129:38;3163:2;3152:9;3148:18;3129:38;:::i;:::-;3119:48;;3214:2;3203:9;3199:18;3186:32;3176:42;;2896:328;;;;;:::o;3229:592::-;3300:6;3308;3361:2;3349:9;3340:7;3336:23;3332:32;3329:52;;;3377:1;3374;3367:12;3329:52;3417:9;3404:23;3446:18;3487:2;3479:6;3476:14;3473:34;;;3503:1;3500;3493:12;3473:34;3541:6;3530:9;3526:22;3516:32;;3586:7;3579:4;3575:2;3571:13;3567:27;3557:55;;3608:1;3605;3598:12;3557:55;3648:2;3635:16;3674:2;3666:6;3663:14;3660:34;;;3690:1;3687;3680:12;3660:34;3735:7;3730:2;3721:6;3717:2;3713:15;3709:24;3706:37;3703:57;;;3756:1;3753;3746:12;3703:57;3787:2;3779:11;;;;;3809:6;;-1:-1:-1;3229:592:1;;-1:-1:-1;;;;3229:592:1:o;3826:658::-;3997:2;4049:21;;;4119:13;;4022:18;;;4141:22;;;3968:4;;3997:2;4220:15;;;;4194:2;4179:18;;;3968:4;4263:195;4277:6;4274:1;4271:13;4263:195;;;4342:13;;-1:-1:-1;;;;;4338:39:1;4326:52;;4433:15;;;;4398:12;;;;4374:1;4292:9;4263:195;;;-1:-1:-1;4475:3:1;;3826:658;-1:-1:-1;;;;;;3826:658:1:o;4489:254::-;4554:6;4562;4615:2;4603:9;4594:7;4590:23;4586:32;4583:52;;;4631:1;4628;4621:12;4583:52;4654:29;4673:9;4654:29;:::i;:::-;4644:39;;4702:35;4733:2;4722:9;4718:18;4702:35;:::i;:::-;4692:45;;4489:254;;;;;:::o;5040:127::-;5101:10;5096:3;5092:20;5089:1;5082:31;5132:4;5129:1;5122:15;5156:4;5153:1;5146:15;5172:631;5236:5;5266:18;5307:2;5299:6;5296:14;5293:40;;;5313:18;;:::i;:::-;5388:2;5382:9;5356:2;5442:15;;-1:-1:-1;;5438:24:1;;;5464:2;5434:33;5430:42;5418:55;;;5488:18;;;5508:22;;;5485:46;5482:72;;;5534:18;;:::i;:::-;5574:10;5570:2;5563:22;5603:6;5594:15;;5633:6;5625;5618:22;5673:3;5664:6;5659:3;5655:16;5652:25;5649:45;;;5690:1;5687;5680:12;5649:45;5740:6;5735:3;5728:4;5720:6;5716:17;5703:44;5795:1;5788:4;5779:6;5771;5767:19;5763:30;5756:41;;;;5172:631;;;;;:::o;5808:666::-;5903:6;5911;5919;5927;5980:3;5968:9;5959:7;5955:23;5951:33;5948:53;;;5997:1;5994;5987:12;5948:53;6020:29;6039:9;6020:29;:::i;:::-;6010:39;;6068:38;6102:2;6091:9;6087:18;6068:38;:::i;:::-;6058:48;;6153:2;6142:9;6138:18;6125:32;6115:42;;6208:2;6197:9;6193:18;6180:32;6235:18;6227:6;6224:30;6221:50;;;6267:1;6264;6257:12;6221:50;6290:22;;6343:4;6335:13;;6331:27;-1:-1:-1;6321:55:1;;6372:1;6369;6362:12;6321:55;6395:73;6460:7;6455:2;6442:16;6437:2;6433;6429:11;6395:73;:::i;:::-;6385:83;;;5808:666;;;;;;;:::o;6830:805::-;6941:6;6949;6957;6965;6973;6981;7034:3;7022:9;7013:7;7009:23;7005:33;7002:53;;;7051:1;7048;7041:12;7002:53;7074:29;7093:9;7074:29;:::i;:::-;7064:39;;7150:2;7139:9;7135:18;7122:32;7112:42;;7173:38;7207:2;7196:9;7192:18;7173:38;:::i;:::-;7163:48;;7258:2;7247:9;7243:18;7230:32;7220:42;;7281:36;7312:3;7301:9;7297:19;7281:36;:::i;:::-;7271:46;;7368:3;7357:9;7353:19;7340:33;7396:18;7388:6;7385:30;7382:50;;;7428:1;7425;7418:12;7382:50;7451:22;;7504:4;7496:13;;7492:27;-1:-1:-1;7482:55:1;;7533:1;7530;7523:12;7482:55;7556:73;7621:7;7616:2;7603:16;7598:2;7594;7590:11;7556:73;:::i;:::-;7546:83;;;6830:805;;;;;;;;:::o;7640:260::-;7708:6;7716;7769:2;7757:9;7748:7;7744:23;7740:32;7737:52;;;7785:1;7782;7775:12;7737:52;7808:29;7827:9;7808:29;:::i;:::-;7798:39;;7856:38;7890:2;7879:9;7875:18;7856:38;:::i;7905:380::-;7984:1;7980:12;;;;8027;;;8048:61;;8102:4;8094:6;8090:17;8080:27;;8048:61;8155:2;8147:6;8144:14;8124:18;8121:38;8118:161;;8201:10;8196:3;8192:20;8189:1;8182:31;8236:4;8233:1;8226:15;8264:4;8261:1;8254:15;8118:161;;7905:380;;;:::o;9122:334::-;9324:2;9306:21;;;9363:2;9343:18;;;9336:30;-1:-1:-1;;;9397:2:1;9382:18;;9375:40;9447:2;9432:18;;9122:334::o;9461:409::-;9663:2;9645:21;;;9702:2;9682:18;;;9675:30;9741:34;9736:2;9721:18;;9714:62;-1:-1:-1;;;9807:2:1;9792:18;;9785:43;9860:3;9845:19;;9461:409::o;11048:127::-;11109:10;11104:3;11100:20;11097:1;11090:31;11140:4;11137:1;11130:15;11164:4;11161:1;11154:15;11524:127;11585:10;11580:3;11576:20;11573:1;11566:31;11616:4;11613:1;11606:15;11640:4;11637:1;11630:15;11656:125;11696:4;11724:1;11721;11718:8;11715:34;;;11729:18;;:::i;:::-;-1:-1:-1;11766:9:1;;11656:125::o;11786:127::-;11847:10;11842:3;11838:20;11835:1;11828:31;11878:4;11875:1;11868:15;11902:4;11899:1;11892:15;11918:135;11957:3;11978:17;;;11975:43;;11998:18;;:::i;:::-;-1:-1:-1;12045:1:1;12034:13;;11918:135::o;12184:545::-;12286:2;12281:3;12278:11;12275:448;;;12322:1;12347:5;12343:2;12336:17;12392:4;12388:2;12378:19;12462:2;12450:10;12446:19;12443:1;12439:27;12433:4;12429:38;12498:4;12486:10;12483:20;12480:47;;;-1:-1:-1;12521:4:1;12480:47;12576:2;12571:3;12567:12;12564:1;12560:20;12554:4;12550:31;12540:41;;12631:82;12649:2;12642:5;12639:13;12631:82;;;12694:17;;;12675:1;12664:13;12631:82;;;12635:3;;;12184:545;;;:::o;12905:1206::-;13029:18;13024:3;13021:27;13018:53;;;13051:18;;:::i;:::-;13080:94;13170:3;13130:38;13162:4;13156:11;13130:38;:::i;:::-;13124:4;13080:94;:::i;:::-;13200:1;13225:2;13220:3;13217:11;13242:1;13237:616;;;;13897:1;13914:3;13911:93;;;-1:-1:-1;13970:19:1;;;13957:33;13911:93;-1:-1:-1;;12862:1:1;12858:11;;;12854:24;12850:29;12840:40;12886:1;12882:11;;;12837:57;14017:78;;13210:895;;13237:616;12131:1;12124:14;;;12168:4;12155:18;;-1:-1:-1;;13273:17:1;;;13374:9;13396:229;13410:7;13407:1;13404:14;13396:229;;;13499:19;;;13486:33;13471:49;;13606:4;13591:20;;;;13559:1;13547:14;;;;13426:12;13396:229;;;13400:3;13653;13644:7;13641:16;13638:159;;;13777:1;13773:6;13767:3;13761;13758:1;13754:11;13750:21;13746:34;13742:39;13729:9;13724:3;13720:19;13707:33;13703:79;13695:6;13688:95;13638:159;;;13840:1;13834:3;13831:1;13827:11;13823:19;13817:4;13810:33;13210:895;;12905:1206;;;:::o;16382:184::-;16452:6;16505:2;16493:9;16484:7;16480:23;16476:32;16473:52;;;16521:1;16518;16511:12;16473:52;-1:-1:-1;16544:16:1;;16382:184;-1:-1:-1;16382:184:1:o;16571:405::-;16773:2;16755:21;;;16812:2;16792:18;;;16785:30;16851:34;16846:2;16831:18;;16824:62;-1:-1:-1;;;16917:2:1;16902:18;;16895:39;16966:3;16951:19;;16571:405::o;16981:1352::-;17107:3;17101:10;17134:18;17126:6;17123:30;17120:56;;;17156:18;;:::i;:::-;17185:97;17275:6;17235:38;17267:4;17261:11;17235:38;:::i;:::-;17229:4;17185:97;:::i;:::-;17337:4;;17401:2;17390:14;;17418:1;17413:663;;;;18120:1;18137:6;18134:89;;;-1:-1:-1;18189:19:1;;;18183:26;18134:89;-1:-1:-1;;12862:1:1;12858:11;;;12854:24;12850:29;12840:40;12886:1;12882:11;;;12837:57;18236:81;;17383:944;;17413:663;12131:1;12124:14;;;12168:4;12155:18;;-1:-1:-1;;17449:20:1;;;17567:236;17581:7;17578:1;17575:14;17567:236;;;17670:19;;;17664:26;17649:42;;17762:27;;;;17730:1;17718:14;;;;17597:19;;17567:236;;;17571:3;17831:6;17822:7;17819:19;17816:201;;;17892:19;;;17886:26;-1:-1:-1;;17975:1:1;17971:14;;;17987:3;17967:24;17963:37;17959:42;17944:58;17929:74;;17816:201;-1:-1:-1;;;;;18063:1:1;18047:14;;;18043:22;18030:36;;-1:-1:-1;16981:1352:1:o;18338:401::-;18540:2;18522:21;;;18579:2;18559:18;;;18552:30;18618:34;18613:2;18598:18;;18591:62;-1:-1:-1;;;18684:2:1;18669:18;;18662:35;18729:3;18714:19;;18338:401::o;19859:414::-;20061:2;20043:21;;;20100:2;20080:18;;;20073:30;20139:34;20134:2;20119:18;;20112:62;-1:-1:-1;;;20205:2:1;20190:18;;20183:48;20263:3;20248:19;;19859:414::o;20278:470::-;20457:3;20495:6;20489:13;20511:53;20557:6;20552:3;20545:4;20537:6;20533:17;20511:53;:::i;:::-;20627:13;;20586:16;;;;20649:57;20627:13;20586:16;20683:4;20671:17;;20649:57;:::i;:::-;20722:20;;20278:470;-1:-1:-1;;;;20278:470:1:o;21108:489::-;-1:-1:-1;;;;;21377:15:1;;;21359:34;;21429:15;;21424:2;21409:18;;21402:43;21476:2;21461:18;;21454:34;;;21524:3;21519:2;21504:18;;21497:31;;;21302:4;;21545:46;;21571:19;;21563:6;21545:46;:::i;:::-;21537:54;21108:489;-1:-1:-1;;;;;;21108:489:1:o;21602:249::-;21671:6;21724:2;21712:9;21703:7;21699:23;21695:32;21692:52;;;21740:1;21737;21730:12;21692:52;21772:9;21766:16;21791:30;21815:5;21791:30;:::i;23128:128::-;23168:3;23199:1;23195:6;23192:1;23189:13;23186:39;;;23205:18;;:::i;:::-;-1:-1:-1;23241:9:1;;23128:128::o
Swarm Source
ipfs://0dc9c88f8e63327dc4b892869bc913ef2632acaddeedd2ba393da212aeedb0f8
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.