Contract Overview
Balance:
0 ETH
ETH Value:
$0.00
My Name Tag:
Not Available
TokenTracker:
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x86a9f67333a56341fbd5810a661129e3c31b5b633a6581e368272ef5ee4112a9 | Transfer | 66706282 | 26 days 4 hrs ago | 0xe85af2276e34f4fb81b197586a96705da8e411f4 | IN | 0xb536ae2b2ed085ea0197c67e3948b7cbf40010c3 | 0 ETH | 0.00007365 | |
0x2e3d69a6b53acfbd03e1a5060e26b83d3881e70f6f64792d09ec78dc26504de1 | 0x61016060 | 66700842 | 26 days 4 hrs ago | 0xe85af2276e34f4fb81b197586a96705da8e411f4 | IN | Create: MRock | 0 ETH | 0.00582891 |
[ Download CSV Export ]
Latest 16 internal transactions
[ Download CSV Export ]
Contract Name:
MRock
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Arbiscan on 2023-03-04 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File @openzeppelin/contracts/utils/[email protected] // 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/utils/introspection/[email protected] // 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/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/math/[email protected] // 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/[email protected] // 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/access/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File @openzeppelin/contracts/access/[email protected] // 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/token/ERC721/[email protected] // 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/interfaces/[email protected] // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // 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/interfaces/[email protected] // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Enumerable.sol) pragma solidity ^0.8.0; // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // 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/interfaces/[email protected] // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721Metadata.sol) pragma solidity ^0.8.0; // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File @openzeppelin/contracts/governance/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol) pragma solidity ^0.8.0; /** * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts. * * _Available since v4.5._ */ interface IVotes { /** * @dev Emitted when an account changes their delegate. */ event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /** * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes. */ event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance); /** * @dev Returns the current amount of votes that `account` has. */ function getVotes(address account) external view returns (uint256); /** * @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`). */ function getPastVotes(address account, uint256 blockNumber) external view returns (uint256); /** * @dev Returns the total supply of votes available at the end of a past block (`blockNumber`). * * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes. * Votes that have not been delegated are still part of total supply, even though they would not participate in a * vote. */ function getPastTotalSupply(uint256 blockNumber) external view returns (uint256); /** * @dev Returns the delegate that `account` has chosen. */ function delegates(address account) external view returns (address); /** * @dev Delegates votes from the sender to `delegatee`. */ function delegate(address delegatee) external; /** * @dev Delegates votes from signer to `delegatee`. */ function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external; } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint248 from uint256, reverting on * overflow (when the input is greater than largest uint248). * * Counterpart to Solidity's `uint248` operator. * * Requirements: * * - input must fit into 248 bits * * _Available since v4.7._ */ function toUint248(uint256 value) internal pure returns (uint248) { require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits"); return uint248(value); } /** * @dev Returns the downcasted uint240 from uint256, reverting on * overflow (when the input is greater than largest uint240). * * Counterpart to Solidity's `uint240` operator. * * Requirements: * * - input must fit into 240 bits * * _Available since v4.7._ */ function toUint240(uint256 value) internal pure returns (uint240) { require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits"); return uint240(value); } /** * @dev Returns the downcasted uint232 from uint256, reverting on * overflow (when the input is greater than largest uint232). * * Counterpart to Solidity's `uint232` operator. * * Requirements: * * - input must fit into 232 bits * * _Available since v4.7._ */ function toUint232(uint256 value) internal pure returns (uint232) { require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits"); return uint232(value); } /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits * * _Available since v4.2._ */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint216 from uint256, reverting on * overflow (when the input is greater than largest uint216). * * Counterpart to Solidity's `uint216` operator. * * Requirements: * * - input must fit into 216 bits * * _Available since v4.7._ */ function toUint216(uint256 value) internal pure returns (uint216) { require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits"); return uint216(value); } /** * @dev Returns the downcasted uint208 from uint256, reverting on * overflow (when the input is greater than largest uint208). * * Counterpart to Solidity's `uint208` operator. * * Requirements: * * - input must fit into 208 bits * * _Available since v4.7._ */ function toUint208(uint256 value) internal pure returns (uint208) { require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits"); return uint208(value); } /** * @dev Returns the downcasted uint200 from uint256, reverting on * overflow (when the input is greater than largest uint200). * * Counterpart to Solidity's `uint200` operator. * * Requirements: * * - input must fit into 200 bits * * _Available since v4.7._ */ function toUint200(uint256 value) internal pure returns (uint200) { require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits"); return uint200(value); } /** * @dev Returns the downcasted uint192 from uint256, reverting on * overflow (when the input is greater than largest uint192). * * Counterpart to Solidity's `uint192` operator. * * Requirements: * * - input must fit into 192 bits * * _Available since v4.7._ */ function toUint192(uint256 value) internal pure returns (uint192) { require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits"); return uint192(value); } /** * @dev Returns the downcasted uint184 from uint256, reverting on * overflow (when the input is greater than largest uint184). * * Counterpart to Solidity's `uint184` operator. * * Requirements: * * - input must fit into 184 bits * * _Available since v4.7._ */ function toUint184(uint256 value) internal pure returns (uint184) { require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits"); return uint184(value); } /** * @dev Returns the downcasted uint176 from uint256, reverting on * overflow (when the input is greater than largest uint176). * * Counterpart to Solidity's `uint176` operator. * * Requirements: * * - input must fit into 176 bits * * _Available since v4.7._ */ function toUint176(uint256 value) internal pure returns (uint176) { require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits"); return uint176(value); } /** * @dev Returns the downcasted uint168 from uint256, reverting on * overflow (when the input is greater than largest uint168). * * Counterpart to Solidity's `uint168` operator. * * Requirements: * * - input must fit into 168 bits * * _Available since v4.7._ */ function toUint168(uint256 value) internal pure returns (uint168) { require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits"); return uint168(value); } /** * @dev Returns the downcasted uint160 from uint256, reverting on * overflow (when the input is greater than largest uint160). * * Counterpart to Solidity's `uint160` operator. * * Requirements: * * - input must fit into 160 bits * * _Available since v4.7._ */ function toUint160(uint256 value) internal pure returns (uint160) { require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits"); return uint160(value); } /** * @dev Returns the downcasted uint152 from uint256, reverting on * overflow (when the input is greater than largest uint152). * * Counterpart to Solidity's `uint152` operator. * * Requirements: * * - input must fit into 152 bits * * _Available since v4.7._ */ function toUint152(uint256 value) internal pure returns (uint152) { require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits"); return uint152(value); } /** * @dev Returns the downcasted uint144 from uint256, reverting on * overflow (when the input is greater than largest uint144). * * Counterpart to Solidity's `uint144` operator. * * Requirements: * * - input must fit into 144 bits * * _Available since v4.7._ */ function toUint144(uint256 value) internal pure returns (uint144) { require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits"); return uint144(value); } /** * @dev Returns the downcasted uint136 from uint256, reverting on * overflow (when the input is greater than largest uint136). * * Counterpart to Solidity's `uint136` operator. * * Requirements: * * - input must fit into 136 bits * * _Available since v4.7._ */ function toUint136(uint256 value) internal pure returns (uint136) { require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits"); return uint136(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v2.5._ */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint120 from uint256, reverting on * overflow (when the input is greater than largest uint120). * * Counterpart to Solidity's `uint120` operator. * * Requirements: * * - input must fit into 120 bits * * _Available since v4.7._ */ function toUint120(uint256 value) internal pure returns (uint120) { require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits"); return uint120(value); } /** * @dev Returns the downcasted uint112 from uint256, reverting on * overflow (when the input is greater than largest uint112). * * Counterpart to Solidity's `uint112` operator. * * Requirements: * * - input must fit into 112 bits * * _Available since v4.7._ */ function toUint112(uint256 value) internal pure returns (uint112) { require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits"); return uint112(value); } /** * @dev Returns the downcasted uint104 from uint256, reverting on * overflow (when the input is greater than largest uint104). * * Counterpart to Solidity's `uint104` operator. * * Requirements: * * - input must fit into 104 bits * * _Available since v4.7._ */ function toUint104(uint256 value) internal pure returns (uint104) { require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits"); return uint104(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits * * _Available since v4.2._ */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint88 from uint256, reverting on * overflow (when the input is greater than largest uint88). * * Counterpart to Solidity's `uint88` operator. * * Requirements: * * - input must fit into 88 bits * * _Available since v4.7._ */ function toUint88(uint256 value) internal pure returns (uint88) { require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits"); return uint88(value); } /** * @dev Returns the downcasted uint80 from uint256, reverting on * overflow (when the input is greater than largest uint80). * * Counterpart to Solidity's `uint80` operator. * * Requirements: * * - input must fit into 80 bits * * _Available since v4.7._ */ function toUint80(uint256 value) internal pure returns (uint80) { require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits"); return uint80(value); } /** * @dev Returns the downcasted uint72 from uint256, reverting on * overflow (when the input is greater than largest uint72). * * Counterpart to Solidity's `uint72` operator. * * Requirements: * * - input must fit into 72 bits * * _Available since v4.7._ */ function toUint72(uint256 value) internal pure returns (uint72) { require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits"); return uint72(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v2.5._ */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint56 from uint256, reverting on * overflow (when the input is greater than largest uint56). * * Counterpart to Solidity's `uint56` operator. * * Requirements: * * - input must fit into 56 bits * * _Available since v4.7._ */ function toUint56(uint256 value) internal pure returns (uint56) { require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits"); return uint56(value); } /** * @dev Returns the downcasted uint48 from uint256, reverting on * overflow (when the input is greater than largest uint48). * * Counterpart to Solidity's `uint48` operator. * * Requirements: * * - input must fit into 48 bits * * _Available since v4.7._ */ function toUint48(uint256 value) internal pure returns (uint48) { require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits"); return uint48(value); } /** * @dev Returns the downcasted uint40 from uint256, reverting on * overflow (when the input is greater than largest uint40). * * Counterpart to Solidity's `uint40` operator. * * Requirements: * * - input must fit into 40 bits * * _Available since v4.7._ */ function toUint40(uint256 value) internal pure returns (uint40) { require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits"); return uint40(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v2.5._ */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint24 from uint256, reverting on * overflow (when the input is greater than largest uint24). * * Counterpart to Solidity's `uint24` operator. * * Requirements: * * - input must fit into 24 bits * * _Available since v4.7._ */ function toUint24(uint256 value) internal pure returns (uint24) { require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits"); return uint24(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v2.5._ */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits * * _Available since v2.5._ */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. * * _Available since v3.0._ */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int248 from int256, reverting on * overflow (when the input is less than smallest int248 or * greater than largest int248). * * Counterpart to Solidity's `int248` operator. * * Requirements: * * - input must fit into 248 bits * * _Available since v4.7._ */ function toInt248(int256 value) internal pure returns (int248 downcasted) { downcasted = int248(value); require(downcasted == value, "SafeCast: value doesn't fit in 248 bits"); } /** * @dev Returns the downcasted int240 from int256, reverting on * overflow (when the input is less than smallest int240 or * greater than largest int240). * * Counterpart to Solidity's `int240` operator. * * Requirements: * * - input must fit into 240 bits * * _Available since v4.7._ */ function toInt240(int256 value) internal pure returns (int240 downcasted) { downcasted = int240(value); require(downcasted == value, "SafeCast: value doesn't fit in 240 bits"); } /** * @dev Returns the downcasted int232 from int256, reverting on * overflow (when the input is less than smallest int232 or * greater than largest int232). * * Counterpart to Solidity's `int232` operator. * * Requirements: * * - input must fit into 232 bits * * _Available since v4.7._ */ function toInt232(int256 value) internal pure returns (int232 downcasted) { downcasted = int232(value); require(downcasted == value, "SafeCast: value doesn't fit in 232 bits"); } /** * @dev Returns the downcasted int224 from int256, reverting on * overflow (when the input is less than smallest int224 or * greater than largest int224). * * Counterpart to Solidity's `int224` operator. * * Requirements: * * - input must fit into 224 bits * * _Available since v4.7._ */ function toInt224(int256 value) internal pure returns (int224 downcasted) { downcasted = int224(value); require(downcasted == value, "SafeCast: value doesn't fit in 224 bits"); } /** * @dev Returns the downcasted int216 from int256, reverting on * overflow (when the input is less than smallest int216 or * greater than largest int216). * * Counterpart to Solidity's `int216` operator. * * Requirements: * * - input must fit into 216 bits * * _Available since v4.7._ */ function toInt216(int256 value) internal pure returns (int216 downcasted) { downcasted = int216(value); require(downcasted == value, "SafeCast: value doesn't fit in 216 bits"); } /** * @dev Returns the downcasted int208 from int256, reverting on * overflow (when the input is less than smallest int208 or * greater than largest int208). * * Counterpart to Solidity's `int208` operator. * * Requirements: * * - input must fit into 208 bits * * _Available since v4.7._ */ function toInt208(int256 value) internal pure returns (int208 downcasted) { downcasted = int208(value); require(downcasted == value, "SafeCast: value doesn't fit in 208 bits"); } /** * @dev Returns the downcasted int200 from int256, reverting on * overflow (when the input is less than smallest int200 or * greater than largest int200). * * Counterpart to Solidity's `int200` operator. * * Requirements: * * - input must fit into 200 bits * * _Available since v4.7._ */ function toInt200(int256 value) internal pure returns (int200 downcasted) { downcasted = int200(value); require(downcasted == value, "SafeCast: value doesn't fit in 200 bits"); } /** * @dev Returns the downcasted int192 from int256, reverting on * overflow (when the input is less than smallest int192 or * greater than largest int192). * * Counterpart to Solidity's `int192` operator. * * Requirements: * * - input must fit into 192 bits * * _Available since v4.7._ */ function toInt192(int256 value) internal pure returns (int192 downcasted) { downcasted = int192(value); require(downcasted == value, "SafeCast: value doesn't fit in 192 bits"); } /** * @dev Returns the downcasted int184 from int256, reverting on * overflow (when the input is less than smallest int184 or * greater than largest int184). * * Counterpart to Solidity's `int184` operator. * * Requirements: * * - input must fit into 184 bits * * _Available since v4.7._ */ function toInt184(int256 value) internal pure returns (int184 downcasted) { downcasted = int184(value); require(downcasted == value, "SafeCast: value doesn't fit in 184 bits"); } /** * @dev Returns the downcasted int176 from int256, reverting on * overflow (when the input is less than smallest int176 or * greater than largest int176). * * Counterpart to Solidity's `int176` operator. * * Requirements: * * - input must fit into 176 bits * * _Available since v4.7._ */ function toInt176(int256 value) internal pure returns (int176 downcasted) { downcasted = int176(value); require(downcasted == value, "SafeCast: value doesn't fit in 176 bits"); } /** * @dev Returns the downcasted int168 from int256, reverting on * overflow (when the input is less than smallest int168 or * greater than largest int168). * * Counterpart to Solidity's `int168` operator. * * Requirements: * * - input must fit into 168 bits * * _Available since v4.7._ */ function toInt168(int256 value) internal pure returns (int168 downcasted) { downcasted = int168(value); require(downcasted == value, "SafeCast: value doesn't fit in 168 bits"); } /** * @dev Returns the downcasted int160 from int256, reverting on * overflow (when the input is less than smallest int160 or * greater than largest int160). * * Counterpart to Solidity's `int160` operator. * * Requirements: * * - input must fit into 160 bits * * _Available since v4.7._ */ function toInt160(int256 value) internal pure returns (int160 downcasted) { downcasted = int160(value); require(downcasted == value, "SafeCast: value doesn't fit in 160 bits"); } /** * @dev Returns the downcasted int152 from int256, reverting on * overflow (when the input is less than smallest int152 or * greater than largest int152). * * Counterpart to Solidity's `int152` operator. * * Requirements: * * - input must fit into 152 bits * * _Available since v4.7._ */ function toInt152(int256 value) internal pure returns (int152 downcasted) { downcasted = int152(value); require(downcasted == value, "SafeCast: value doesn't fit in 152 bits"); } /** * @dev Returns the downcasted int144 from int256, reverting on * overflow (when the input is less than smallest int144 or * greater than largest int144). * * Counterpart to Solidity's `int144` operator. * * Requirements: * * - input must fit into 144 bits * * _Available since v4.7._ */ function toInt144(int256 value) internal pure returns (int144 downcasted) { downcasted = int144(value); require(downcasted == value, "SafeCast: value doesn't fit in 144 bits"); } /** * @dev Returns the downcasted int136 from int256, reverting on * overflow (when the input is less than smallest int136 or * greater than largest int136). * * Counterpart to Solidity's `int136` operator. * * Requirements: * * - input must fit into 136 bits * * _Available since v4.7._ */ function toInt136(int256 value) internal pure returns (int136 downcasted) { downcasted = int136(value); require(downcasted == value, "SafeCast: value doesn't fit in 136 bits"); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128 downcasted) { downcasted = int128(value); require(downcasted == value, "SafeCast: value doesn't fit in 128 bits"); } /** * @dev Returns the downcasted int120 from int256, reverting on * overflow (when the input is less than smallest int120 or * greater than largest int120). * * Counterpart to Solidity's `int120` operator. * * Requirements: * * - input must fit into 120 bits * * _Available since v4.7._ */ function toInt120(int256 value) internal pure returns (int120 downcasted) { downcasted = int120(value); require(downcasted == value, "SafeCast: value doesn't fit in 120 bits"); } /** * @dev Returns the downcasted int112 from int256, reverting on * overflow (when the input is less than smallest int112 or * greater than largest int112). * * Counterpart to Solidity's `int112` operator. * * Requirements: * * - input must fit into 112 bits * * _Available since v4.7._ */ function toInt112(int256 value) internal pure returns (int112 downcasted) { downcasted = int112(value); require(downcasted == value, "SafeCast: value doesn't fit in 112 bits"); } /** * @dev Returns the downcasted int104 from int256, reverting on * overflow (when the input is less than smallest int104 or * greater than largest int104). * * Counterpart to Solidity's `int104` operator. * * Requirements: * * - input must fit into 104 bits * * _Available since v4.7._ */ function toInt104(int256 value) internal pure returns (int104 downcasted) { downcasted = int104(value); require(downcasted == value, "SafeCast: value doesn't fit in 104 bits"); } /** * @dev Returns the downcasted int96 from int256, reverting on * overflow (when the input is less than smallest int96 or * greater than largest int96). * * Counterpart to Solidity's `int96` operator. * * Requirements: * * - input must fit into 96 bits * * _Available since v4.7._ */ function toInt96(int256 value) internal pure returns (int96 downcasted) { downcasted = int96(value); require(downcasted == value, "SafeCast: value doesn't fit in 96 bits"); } /** * @dev Returns the downcasted int88 from int256, reverting on * overflow (when the input is less than smallest int88 or * greater than largest int88). * * Counterpart to Solidity's `int88` operator. * * Requirements: * * - input must fit into 88 bits * * _Available since v4.7._ */ function toInt88(int256 value) internal pure returns (int88 downcasted) { downcasted = int88(value); require(downcasted == value, "SafeCast: value doesn't fit in 88 bits"); } /** * @dev Returns the downcasted int80 from int256, reverting on * overflow (when the input is less than smallest int80 or * greater than largest int80). * * Counterpart to Solidity's `int80` operator. * * Requirements: * * - input must fit into 80 bits * * _Available since v4.7._ */ function toInt80(int256 value) internal pure returns (int80 downcasted) { downcasted = int80(value); require(downcasted == value, "SafeCast: value doesn't fit in 80 bits"); } /** * @dev Returns the downcasted int72 from int256, reverting on * overflow (when the input is less than smallest int72 or * greater than largest int72). * * Counterpart to Solidity's `int72` operator. * * Requirements: * * - input must fit into 72 bits * * _Available since v4.7._ */ function toInt72(int256 value) internal pure returns (int72 downcasted) { downcasted = int72(value); require(downcasted == value, "SafeCast: value doesn't fit in 72 bits"); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64 downcasted) { downcasted = int64(value); require(downcasted == value, "SafeCast: value doesn't fit in 64 bits"); } /** * @dev Returns the downcasted int56 from int256, reverting on * overflow (when the input is less than smallest int56 or * greater than largest int56). * * Counterpart to Solidity's `int56` operator. * * Requirements: * * - input must fit into 56 bits * * _Available since v4.7._ */ function toInt56(int256 value) internal pure returns (int56 downcasted) { downcasted = int56(value); require(downcasted == value, "SafeCast: value doesn't fit in 56 bits"); } /** * @dev Returns the downcasted int48 from int256, reverting on * overflow (when the input is less than smallest int48 or * greater than largest int48). * * Counterpart to Solidity's `int48` operator. * * Requirements: * * - input must fit into 48 bits * * _Available since v4.7._ */ function toInt48(int256 value) internal pure returns (int48 downcasted) { downcasted = int48(value); require(downcasted == value, "SafeCast: value doesn't fit in 48 bits"); } /** * @dev Returns the downcasted int40 from int256, reverting on * overflow (when the input is less than smallest int40 or * greater than largest int40). * * Counterpart to Solidity's `int40` operator. * * Requirements: * * - input must fit into 40 bits * * _Available since v4.7._ */ function toInt40(int256 value) internal pure returns (int40 downcasted) { downcasted = int40(value); require(downcasted == value, "SafeCast: value doesn't fit in 40 bits"); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32 downcasted) { downcasted = int32(value); require(downcasted == value, "SafeCast: value doesn't fit in 32 bits"); } /** * @dev Returns the downcasted int24 from int256, reverting on * overflow (when the input is less than smallest int24 or * greater than largest int24). * * Counterpart to Solidity's `int24` operator. * * Requirements: * * - input must fit into 24 bits * * _Available since v4.7._ */ function toInt24(int256 value) internal pure returns (int24 downcasted) { downcasted = int24(value); require(downcasted == value, "SafeCast: value doesn't fit in 24 bits"); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16 downcasted) { downcasted = int16(value); require(downcasted == value, "SafeCast: value doesn't fit in 16 bits"); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8 downcasted) { downcasted = int8(value); require(downcasted == value, "SafeCast: value doesn't fit in 8 bits"); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. * * _Available since v3.0._ */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.8.1) (token/ERC20/extensions/ERC20Votes.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's, * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1. * * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module. * * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting * power can be queried through the public accessors {getVotes} and {getPastVotes}. * * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked. * * _Available since v4.2._ */ abstract contract ERC20Votes is IVotes, ERC20Permit { struct Checkpoint { uint32 fromBlock; uint224 votes; } bytes32 private constant _DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); mapping(address => address) private _delegates; mapping(address => Checkpoint[]) private _checkpoints; Checkpoint[] private _totalSupplyCheckpoints; /** * @dev Get the `pos`-th checkpoint for `account`. */ function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) { return _checkpoints[account][pos]; } /** * @dev Get number of checkpoints for `account`. */ function numCheckpoints(address account) public view virtual returns (uint32) { return SafeCast.toUint32(_checkpoints[account].length); } /** * @dev Get the address `account` is currently delegating to. */ function delegates(address account) public view virtual override returns (address) { return _delegates[account]; } /** * @dev Gets the current votes balance for `account` */ function getVotes(address account) public view virtual override returns (uint256) { uint256 pos = _checkpoints[account].length; return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes; } /** * @dev Retrieve the number of votes for `account` at the end of `blockNumber`. * * Requirements: * * - `blockNumber` must have been already mined */ function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_checkpoints[account], blockNumber); } /** * @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances. * It is but NOT the sum of all the delegated votes! * * Requirements: * * - `blockNumber` must have been already mined */ function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber); } /** * @dev Lookup a value in a list of (sorted) checkpoints. */ function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) { // We run a binary search to look for the earliest checkpoint taken after `blockNumber`. // // Initially we check if the block is recent to narrow the search range. // During the loop, the index of the wanted checkpoint remains in the range [low-1, high). // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant. // - If the middle checkpoint is after `blockNumber`, we look in [low, mid) // - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high) // Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not // out of bounds (in which case we're looking too far in the past and the result is 0). // Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is // past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out // the same. uint256 length = ckpts.length; uint256 low = 0; uint256 high = length; if (length > 5) { uint256 mid = length - Math.sqrt(length); if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } while (low < high) { uint256 mid = Math.average(low, high); if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } return high == 0 ? 0 : _unsafeAccess(ckpts, high - 1).votes; } /** * @dev Delegate votes from the sender to `delegatee`. */ function delegate(address delegatee) public virtual override { _delegate(_msgSender(), delegatee); } /** * @dev Delegates votes from signer to `delegatee` */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= expiry, "ERC20Votes: signature expired"); address signer = ECDSA.recover( _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))), v, r, s ); require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce"); _delegate(signer, delegatee); } /** * @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1). */ function _maxSupply() internal view virtual returns (uint224) { return type(uint224).max; } /** * @dev Snapshots the totalSupply after it has been increased. */ function _mint(address account, uint256 amount) internal virtual override { super._mint(account, amount); require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes"); _writeCheckpoint(_totalSupplyCheckpoints, _add, amount); } /** * @dev Snapshots the totalSupply after it has been decreased. */ function _burn(address account, uint256 amount) internal virtual override { super._burn(account, amount); _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount); } /** * @dev Move voting power when tokens are transferred. * * Emits a {IVotes-DelegateVotesChanged} event. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._afterTokenTransfer(from, to, amount); _moveVotingPower(delegates(from), delegates(to), amount); } /** * @dev Change delegation for `delegator` to `delegatee`. * * Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}. */ function _delegate(address delegator, address delegatee) internal virtual { address currentDelegate = delegates(delegator); uint256 delegatorBalance = balanceOf(delegator); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveVotingPower(currentDelegate, delegatee, delegatorBalance); } function _moveVotingPower(address src, address dst, uint256 amount) private { if (src != dst && amount > 0) { if (src != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount); emit DelegateVotesChanged(src, oldWeight, newWeight); } if (dst != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount); emit DelegateVotesChanged(dst, oldWeight, newWeight); } } } function _writeCheckpoint( Checkpoint[] storage ckpts, function(uint256, uint256) view returns (uint256) op, uint256 delta ) private returns (uint256 oldWeight, uint256 newWeight) { uint256 pos = ckpts.length; Checkpoint memory oldCkpt = pos == 0 ? Checkpoint(0, 0) : _unsafeAccess(ckpts, pos - 1); oldWeight = oldCkpt.votes; newWeight = op(oldWeight, delta); if (pos > 0 && oldCkpt.fromBlock == block.number) { _unsafeAccess(ckpts, pos - 1).votes = SafeCast.toUint224(newWeight); } else { ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)})); } } function _add(uint256 a, uint256 b) private pure returns (uint256) { return a + b; } function _subtract(uint256 a, uint256 b) private pure returns (uint256) { return a - b; } /** * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds. */ function _unsafeAccess(Checkpoint[] storage ckpts, uint256 pos) private pure returns (Checkpoint storage result) { assembly { mstore(0, ckpts.slot) result.slot := add(keccak256(0, 0x20), pos) } } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/math/SignedSafeMath.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SignedSafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SignedSafeMath { /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { return a * b; } /** * @dev Returns the integer division of two signed integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(int256 a, int256 b) internal pure returns (int256) { return a / b; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { return a - b; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { return a + b; } } // File contracts/DividendTracker/DividendPayingTokenInterface.sol pragma solidity ^0.8.9; /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns (uint256); /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed(address indexed from, uint256 weiAmount); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn(address indexed to, uint256 weiAmount); } // File contracts/DividendTracker/DividendPayingTokenOptionalInterface.sol pragma solidity ^0.8.9; /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns (uint256); } // File contracts/utils/IterableMapping.sol pragma solidity ^0.8.9; library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if (!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } // File contracts/DividendTracker/DividendTracker.sol pragma solidity ^0.8.9; contract DividendTracker is Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeCast for uint256; using SignedSafeMath for int256; using SafeCast for int256; using IterableMapping for IterableMapping.Map; address public immutable USDC; // USDC uint256 public immutable minimumTokenBalanceForDividends; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 internal constant magnitude = 2 ** 128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal _withdrawnDividends; mapping(address => bool) public excludedFromDividends; mapping(address => uint256) public lastClaimTimes; mapping(address => uint256) private _dividentbalances; uint256 private _dividentTotalSupply; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; uint256 public totalDividendsDistributed; uint256 public claimWait; event ExcludeFromDividends(address indexed account); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor(address _usdc) { USDC = _usdc; claimWait = 3600; minimumTokenBalanceForDividends = 0; // currently is zero but can be set to any value before deployment } function distributeUSDCDividends(uint256 amount) external onlyOwner { if (amount > 0 && _dividentTotalSupply > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add((amount).mul(magnitude) / _dividentTotalSupply); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require( newClaimWait >= 3600 && newClaimWait <= 86400, "MRock_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours" ); require(newClaimWait != claimWait, "MRock_Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns (uint256) { return lastProcessedIndex; } function getNumberOfDividendTokenHolders() external view returns (uint256) { return tokenHoldersMap.keys.length; } function totalDividentsSupply() external view returns (uint256) { return _dividentTotalSupply; } function setBalance(address account, uint256 newBalance) external onlyOwner { if (excludedFromDividends[account]) { return; } if (newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } processAccount(payable(account), true); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { require( false, "MRock_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main MRock contract." ); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns (uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns (uint256) { return accumulativeDividendOf(_owner).sub(_withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns (uint256) { return _withdrawnDividends[_owner]; } function getDividentBalance(address _owner) public view returns (uint256) { return _dividentbalances[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns (uint256) { return magnifiedDividendPerShare .mul(_dividentbalances[_owner]) .toInt256() .add(magnifiedDividendCorrections[_owner]) .toUint256() / magnitude; } function getAccountDividendsInfo( address _account ) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 withdrawnDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable ) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if (index >= 0) { if (uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); withdrawnDividends = withdrawnDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountDividendsInfoAtIndex( uint256 index ) public view returns (address, int256, int256, uint256, uint256, uint256, uint256, uint256, uint256) { if (index >= tokenHoldersMap.size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccountDividendsInfo(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if (lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if (numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while (gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if (_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if (canAutoClaim(lastClaimTimes[account])) { if (processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if (gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if (amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } function _increaseBalance(address account, uint256 amount) internal virtual { _dividentTotalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _dividentbalances[account] += amount; } magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].sub( (magnifiedDividendPerShare.mul(amount)).toInt256() ); } function _decreaseBalance(address account, uint256 amount) internal virtual { uint256 accountBalance = _dividentbalances[account]; require(accountBalance >= amount, "DividentTracker: burn amount exceeds balance"); unchecked { _dividentbalances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _dividentTotalSupply -= amount; } magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].add( (magnifiedDividendPerShare.mul(amount)).toInt256() ); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { _withdrawnDividends[user] = _withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(USDC).transfer(user, _withdrawableDividend); if (!success) { _withdrawnDividends[user] = _withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = _dividentbalances[account]; if (newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _increaseBalance(account, mintAmount); } else if (newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _decreaseBalance(account, burnAmount); } } } // File contracts/ERC20Mintable.sol pragma solidity ^0.8.9; /** * @title ERC20Mintable * @dev Implementation of the ERC20Mintable. Extension of {ERC20} that adds a minting behaviour. */ abstract contract ERC20Mintable is ERC20 { // indicates if minting is finished bool private _mintingFinished = false; /** * @dev Emitted during finish minting */ event MintFinished(); /** * @dev Tokens can be minted only before minting finished. */ modifier canMint() { require(!_mintingFinished, "ERC20Mintable: minting is finished"); _; } /** * @return if minting is finished or not. */ function mintingFinished() public view returns (bool) { return _mintingFinished; } /** * @dev Function to mint tokens. * * WARNING: it allows everyone to mint new tokens. Access controls MUST be defined in derived contracts. * * @param account The address that will receive the minted tokens * @param amount The amount of tokens to mint */ function mint(address account, uint256 amount) public canMint { _mint(account, amount); } /** * @dev Function to stop minting new tokens. * * WARNING: it allows everyone to finish minting. Access controls MUST be defined in derived contracts. */ function finishMinting() public canMint { _finishMinting(); } /** * @dev Function to stop minting new tokens. */ function _finishMinting() internal virtual { _mintingFinished = true; emit MintFinished(); } } // File contracts/interfaces/v3-periphery/IERC721Permit.sol pragma solidity ^0.8.9; /// @title ERC721 with permit /// @notice Extension to ERC721 that includes a permit function for signature based approvals interface IERC721Permit is IERC721 { /// @notice The permit typehash used in the permit signature /// @return The typehash for the permit function PERMIT_TYPEHASH() external pure returns (bytes32); /// @notice The domain separator used in the permit signature /// @return The domain seperator used in encoding of permit signature function DOMAIN_SEPARATOR() external view returns (bytes32); /// @notice Approve of a specific token ID for spending by spender via signature /// @param spender The account that is being approved /// @param tokenId The ID of the token that is being approved for spending /// @param deadline The deadline timestamp by which the call must be mined for the approve to work /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s` /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s` /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v` function permit(address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external payable; } // File contracts/interfaces/v3-periphery/IPeripheryImmutableState.sol pragma solidity >=0.5.0; /// @title Immutable state /// @notice Functions that return immutable state of the router interface IPeripheryImmutableState { /// @return Returns the address of the Uniswap V3 factory function factory() external view returns (address); /// @return Returns the address of WETH9 function WETH9() external view returns (address); } // File contracts/interfaces/v3-periphery/IPeripheryPayments.sol pragma solidity >=0.7.5; /// @title Periphery Payments /// @notice Functions to ease deposits and withdrawals of ETH interface IPeripheryPayments { /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH. /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users. /// @param amountMinimum The minimum amount of WETH9 to unwrap /// @param recipient The address receiving ETH function unwrapWETH9(uint256 amountMinimum, address recipient) external payable; /// @notice Refunds any ETH balance held by this contract to the `msg.sender` /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps /// that use ether for the input amount function refundETH() external payable; /// @notice Transfers the full amount of a token held by this contract to recipient /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users /// @param token The contract address of the token which will be transferred to `recipient` /// @param amountMinimum The minimum amount of token required for a transfer /// @param recipient The destination address of the token function sweepToken(address token, uint256 amountMinimum, address recipient) external payable; } // File contracts/interfaces/v3-periphery/IPoolInitializer.sol pragma solidity >=0.7.5; /// @title Creates and initializes V3 Pools /// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that /// require the pool to exist. interface IPoolInitializer { /// @notice Creates a new pool if it does not exist, then initializes if not initialized /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool /// @param token0 The contract address of token0 of the pool /// @param token1 The contract address of token1 of the pool /// @param fee The fee amount of the v3 pool for the specified token pair /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary function createAndInitializePoolIfNecessary( address token0, address token1, uint24 fee, uint160 sqrtPriceX96 ) external payable returns (address pool); } // File contracts/interfaces/v3-periphery/INonfungiblePositionManager.sol pragma solidity ^0.8.9; // import '../libraries/PoolAddress.sol'; /// @title Non-fungible token for positions /// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred /// and authorized. interface INonfungiblePositionManager is IPoolInitializer, IPeripheryPayments, IPeripheryImmutableState, IERC721Metadata, IERC721Enumerable, IERC721Permit { /// @notice Emitted when liquidity is increased for a position NFT /// @dev Also emitted when a token is minted /// @param tokenId The ID of the token for which liquidity was increased /// @param liquidity The amount by which liquidity for the NFT position was increased /// @param amount0 The amount of token0 that was paid for the increase in liquidity /// @param amount1 The amount of token1 that was paid for the increase in liquidity event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1); /// @notice Emitted when liquidity is decreased for a position NFT /// @param tokenId The ID of the token for which liquidity was decreased /// @param liquidity The amount by which liquidity for the NFT position was decreased /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1); /// @notice Emitted when tokens are collected for a position NFT /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior /// @param tokenId The ID of the token for which underlying tokens were collected /// @param recipient The address of the account that received the collected tokens /// @param amount0 The amount of token0 owed to the position that was collected /// @param amount1 The amount of token1 owed to the position that was collected event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1); /// @notice Returns the position information associated with a given token ID. /// @dev Throws if the token ID is not valid. /// @param tokenId The ID of the token that represents the position /// @return nonce The nonce for permits /// @return operator The address that is approved for spending /// @return token0 The address of the token0 for a specific pool /// @return token1 The address of the token1 for a specific pool /// @return fee The fee associated with the pool /// @return tickLower The lower end of the tick range for the position /// @return tickUpper The higher end of the tick range for the position /// @return liquidity The liquidity of the position /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation function positions( uint256 tokenId ) external view returns ( uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); struct MintParams { address token0; address token1; uint24 fee; int24 tickLower; int24 tickUpper; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; address recipient; uint256 deadline; } /// @notice Creates a new position wrapped in a NFT /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized /// a method does not exist, i.e. the pool is assumed to be initialized. /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata /// @return tokenId The ID of the token that represents the minted position /// @return liquidity The amount of liquidity for this position /// @return amount0 The amount of token0 /// @return amount1 The amount of token1 function mint( MintParams calldata params ) external payable returns (uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1); struct IncreaseLiquidityParams { uint256 tokenId; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender` /// @param params tokenId The ID of the token for which liquidity is being increased, /// amount0Desired The desired amount of token0 to be spent, /// amount1Desired The desired amount of token1 to be spent, /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check, /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check, /// deadline The time by which the transaction must be included to effect the change /// @return liquidity The new liquidity amount as a result of the increase /// @return amount0 The amount of token0 to acheive resulting liquidity /// @return amount1 The amount of token1 to acheive resulting liquidity function increaseLiquidity( IncreaseLiquidityParams calldata params ) external payable returns (uint128 liquidity, uint256 amount0, uint256 amount1); struct DecreaseLiquidityParams { uint256 tokenId; uint128 liquidity; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Decreases the amount of liquidity in a position and accounts it to the position /// @param params tokenId The ID of the token for which liquidity is being decreased, /// amount The amount by which liquidity will be decreased, /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity, /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity, /// deadline The time by which the transaction must be included to effect the change /// @return amount0 The amount of token0 accounted to the position's tokens owed /// @return amount1 The amount of token1 accounted to the position's tokens owed function decreaseLiquidity( DecreaseLiquidityParams calldata params ) external payable returns (uint256 amount0, uint256 amount1); struct CollectParams { uint256 tokenId; address recipient; uint128 amount0Max; uint128 amount1Max; } /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient /// @param params tokenId The ID of the NFT for which tokens are being collected, /// recipient The account that should receive the tokens, /// amount0Max The maximum amount of token0 to collect, /// amount1Max The maximum amount of token1 to collect /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect(CollectParams calldata params) external payable returns (uint256 amount0, uint256 amount1); /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens /// must be collected first. /// @param tokenId The ID of the token that is being burned function burn(uint256 tokenId) external payable; } // File @uniswap/v3-core/contracts/interfaces/callback/[email protected] pragma solidity >=0.5.0; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface interface IUniswapV3SwapCallback { /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap. /// @dev In the implementation you must pay the pool tokens owed for the swap. /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token0 to the pool. /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token1 to the pool. /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external; } // File contracts/interfaces/v3-periphery/ISwapRouter.sol pragma solidity ^0.8.9; /// @title Router token swapping functionality /// @notice Functions for swapping tokens via Uniswap V3 interface ISwapRouter is IUniswapV3SwapCallback { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } /// @notice Swaps `amountIn` of one token for as much as possible of another token /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata /// @return amountOut The amount of the received token function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); struct ExactInputParams { bytes path; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; } /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata /// @return amountOut The amount of the received token function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut); struct ExactOutputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; uint160 sqrtPriceLimitX96; } /// @notice Swaps as little as possible of one token for `amountOut` of another token /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata /// @return amountIn The amount of the input token function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn); struct ExactOutputParams { bytes path; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; } /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed) /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata /// @return amountIn The amount of the input token function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn); /// @return Returns the address of WETH9 function WETH9() external view returns (address); } // File @uniswap/v3-core/contracts/interfaces/[email protected] pragma solidity >=0.5.0; /// @title The interface for the Uniswap V3 Factory /// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees interface IUniswapV3Factory { /// @notice Emitted when the owner of the factory is changed /// @param oldOwner The owner before the owner was changed /// @param newOwner The owner after the owner was changed event OwnerChanged(address indexed oldOwner, address indexed newOwner); /// @notice Emitted when a pool is created /// @param token0 The first token of the pool by address sort order /// @param token1 The second token of the pool by address sort order /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks /// @param pool The address of the created pool event PoolCreated( address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool ); /// @notice Emitted when a new fee amount is enabled for pool creation via the factory /// @param fee The enabled fee, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing); /// @notice Returns the current owner of the factory /// @dev Can be changed by the current owner via setOwner /// @return The address of the factory owner function owner() external view returns (address); /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee /// @return The tick spacing function feeAmountTickSpacing(uint24 fee) external view returns (int24); /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order /// @param tokenA The contract address of either token0 or token1 /// @param tokenB The contract address of the other token /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @return pool The pool address function getPool(address tokenA, address tokenB, uint24 fee) external view returns (address pool); /// @notice Creates a pool for the given two tokens and fee /// @param tokenA One of the two tokens in the desired pool /// @param tokenB The other of the two tokens in the desired pool /// @param fee The desired fee for the pool /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments /// are invalid. /// @return pool The address of the newly created pool function createPool(address tokenA, address tokenB, uint24 fee) external returns (address pool); /// @notice Updates the owner of the factory /// @dev Must be called by the current owner /// @param _owner The new owner of the factory function setOwner(address _owner) external; /// @notice Enables a fee amount with the given tickSpacing /// @dev Fee amounts may never be removed once enabled /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6) /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount function enableFeeAmount(uint24 fee, int24 tickSpacing) external; } // File contracts/interfaces/IMoonbaseAlphaV1Router02.sol pragma solidity ^0.8.9; // MoonbaseAlpha Router01 Contract Interface interface IMoonbaseAlphaV1Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IMoonbaseAlphaV1Router02 is IMoonbaseAlphaV1Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // File contracts/libraries/MRockLiquidityLibrary.sol pragma solidity ^0.8.9; library MRockLiquidityLibrary { address public constant deadWallet = 0x000000000000000000000000000000000000dEaD; uint24 public constant poolFee = 3000; /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128 int24 internal constant MIN_TICK = -887220; /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128 int24 internal constant MAX_TICK = -MIN_TICK; function sortsBefore(address token0, address token1) internal pure returns (address, address) { return token0 < token1 ? (token0, token1) : (token1, token0); } function swapTokensForEthV3(ISwapRouter v3SwapRouter, uint256 tokenAmount) internal { v3SwapRouter.exactInputSingle( ISwapRouter.ExactInputSingleParams({ tokenIn: address(this), tokenOut: v3SwapRouter.WETH9(), fee: poolFee, recipient: address(0), deadline: block.timestamp, amountIn: tokenAmount, amountOutMinimum: 0, sqrtPriceLimitX96: 0 }) ); IPeripheryPayments(address(v3SwapRouter)).unwrapWETH9(0, address(this)); } function swapTokensForEthV2(IMoonbaseAlphaV1Router02 moonbaseAlphaV2Router, uint256 tokenAmount) internal { // generate the moonbaseAlpha pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = moonbaseAlphaV2Router.WETH(); // make the swap moonbaseAlphaV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapTokensForUSDCV3(ISwapRouter v3SwapRouter, uint256 tokenAmount, address USDC) internal { v3SwapRouter.exactInput( ISwapRouter.ExactInputParams({ path: abi.encodePacked(address(this), poolFee, v3SwapRouter.WETH9(), poolFee, USDC), recipient: address(this), deadline: block.timestamp, amountIn: tokenAmount, amountOutMinimum: 0 }) ); } function swapTokensForUSDCV2( IMoonbaseAlphaV1Router02 moonbaseAlphaV2Router, uint256 tokenAmount, address USDC ) internal { address[] memory path = new address[](3); path[0] = address(this); path[1] = moonbaseAlphaV2Router.WETH(); path[2] = USDC; // make the swap moonbaseAlphaV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function mintV3Liquidity( INonfungiblePositionManager v3NonfungiblePositionManager, uint256 ethAmount, uint256 tokenAmount ) internal returns (uint256 tokenId) { address weth9 = v3NonfungiblePositionManager.WETH9(); (address token0, address token1) = sortsBefore(address(this), weth9); (uint256 amount0, uint256 amount1) = (token0 == weth9) ? (ethAmount, tokenAmount) : (tokenAmount, ethAmount); (tokenId, , , ) = v3NonfungiblePositionManager.mint{value: ethAmount}( INonfungiblePositionManager.MintParams({ token0: token0, token1: token1, fee: poolFee, tickLower: MIN_TICK, tickUpper: MAX_TICK, amount0Desired: amount0, amount1Desired: amount1, amount0Min: 0, amount1Min: 0, recipient: address(deadWallet), deadline: block.timestamp }) ); v3NonfungiblePositionManager.unwrapWETH9(0, address(this)); } function increaseV3Liquidity( INonfungiblePositionManager v3NonfungiblePositionManager, uint256 ethAmount, uint256 tokenAmount, uint256 tokenId ) internal { address weth9 = v3NonfungiblePositionManager.WETH9(); (address token0, ) = sortsBefore(address(this), weth9); (uint256 amount0, uint256 amount1) = (token0 == weth9) ? (ethAmount, tokenAmount) : (tokenAmount, ethAmount); v3NonfungiblePositionManager.increaseLiquidity{value: ethAmount}( INonfungiblePositionManager.IncreaseLiquidityParams({ tokenId: tokenId, amount0Desired: amount0, amount1Desired: amount1, amount0Min: 0, amount1Min: 0, deadline: block.timestamp }) ); v3NonfungiblePositionManager.unwrapWETH9(0, address(this)); } } // File contracts/interfaces/IMoonbaseAlphaV1Factory.sol pragma solidity ^0.8.9; // MoonbaseAlpha Factory Contract Interface interface IMoonbaseAlphaV1Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File contracts/interfaces/IPinkAntiBot.sol pragma solidity >=0.5.0; interface IPinkAntiBot { function setTokenOwner(address owner) external; function onPreTransferCheck(address from, address to, uint256 amount) external; } // File contracts/MRock.sol pragma solidity ^0.8.9; contract MRock is ERC20, Ownable, ERC20Mintable, ERC20Burnable, ERC20Permit, ERC20Votes, AccessControl { using SafeMath for uint256; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); address public immutable USDC; IMoonbaseAlphaV1Router02 public moonbaseAlphaV2Router; address public moonbaseAlphaV2Pair; IUniswapV3Factory public v3Factory; INonfungiblePositionManager public v3NonfungiblePositionManager; ISwapRouter public v3SwapRouter; IPinkAntiBot public pinkAntiBot; bool public enableAntiBot; uint256 public tokenId = 0; bool public useV3 = false; bool private swapping; DividendTracker public dividendTracker; address public deadWallet = 0x000000000000000000000000000000000000dEaD; uint256 public swapTokensAtAmount = 100000 * (10 ** 18); // swap tokens at 100K uint256 public maxTxAmount = 10000000 * (10 ** 18); // max TX amount 10million uint256 public deflationaryFee = 33; // 33% goes to deflationary / burn uint256 public liquidityFee = 33; // 33% goes to liquidity uint256 public USDCRewardsFee = 34; // 34% goes to stable rewards uint256 public totalFees = 5; // 5% fee // use by default 300,000 gas to process auto-claiming dividends uint256 public gasForProcessing = 300000; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress); event UpdateMoonbaseAlphaV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); event SendDividends(uint256 tokensSwapped, uint256 amount); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); modifier onlyOwnerOrMinter() { require(owner() == _msgSender() || hasRole(MINTER_ROLE, _msgSender()), "Caller is not the owner or minter"); _; } constructor( string memory name, string memory symbol, uint256 initialBalance, address usdc, address router, address _pinkAntiBot ) ERC20(name, symbol) ERC20Permit(name) { USDC = usdc; dividendTracker = new DividendTracker(usdc); IMoonbaseAlphaV1Router02 _moonbaseAlphaV2Router = IMoonbaseAlphaV1Router02(router); // Create a moonbaseAlpha pair for this new token address _moonbaseAlphaV2Pair = IMoonbaseAlphaV1Factory(_moonbaseAlphaV2Router.factory()).createPair( address(this), _moonbaseAlphaV2Router.WETH() ); moonbaseAlphaV2Router = _moonbaseAlphaV2Router; moonbaseAlphaV2Pair = _moonbaseAlphaV2Pair; _setAutomatedMarketMakerPair(_moonbaseAlphaV2Pair, true); // exclude from receiving dividends excludeBaseContractsFromDividend(dividendTracker); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); // Create an instance of the PinkAntiBot variable from the provided address pinkAntiBot = IPinkAntiBot(_pinkAntiBot); // Register the deployer to be the token owner with PinkAntiBot. You can // later change the token owner in the PinkAntiBot contract pinkAntiBot.setTokenOwner(msg.sender); enableAntiBot = true; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _mint(_msgSender(), initialBalance); } receive() external payable {} function updateFeePercentages( uint256 _deflationFee, uint256 _liquidityFee, uint256 _usdcRewardsFee ) external onlyOwner { require(_deflationFee + _liquidityFee + _usdcRewardsFee == 100, "MRock: invalid sum"); deflationaryFee = _deflationFee; liquidityFee = _liquidityFee; USDCRewardsFee = _usdcRewardsFee; } function setEnableAntiBot(bool _enable) external onlyOwner { enableAntiBot = _enable; } function setPinkAntiBot(address _pinkAntiBot) external onlyOwner { pinkAntiBot = IPinkAntiBot(_pinkAntiBot); } function setTotalFee(uint256 value) external onlyOwner { require(value <= 25, "MRock: Fee must be <= 25%"); totalFees = value; } function setSwapTokensAtAmount(uint256 amount) external onlyOwner { swapTokensAtAmount = amount * (10 ** 18); } function setMaxTxAmount(uint256 amount) external onlyOwner { maxTxAmount = amount * (10 ** 18); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require( pair != moonbaseAlphaV2Pair, "MRock: The MoonbaseSwap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function updateDividendTracker(address newAddress) external onlyOwner { require(newAddress != address(dividendTracker), "MRock: Invalid"); DividendTracker newDividendTracker = DividendTracker(payable(newAddress)); require(newDividendTracker.owner() == address(this), "MRock: Wrong Owner"); excludeBaseContractsFromDividend(newDividendTracker); if (useV3) { excludeV3ContractsFromDividend(newDividendTracker); } emit UpdateDividendTracker(newAddress, address(dividendTracker)); dividendTracker = newDividendTracker; } function setV3( IUniswapV3Factory _v3Factory, INonfungiblePositionManager _v3NonfungiblePositionManager, ISwapRouter _v3SwapRouter ) external onlyOwner { v3Factory = _v3Factory; v3NonfungiblePositionManager = _v3NonfungiblePositionManager; v3SwapRouter = _v3SwapRouter; excludeV3ContractsFromDividend(dividendTracker); } function setUseV3(bool value) external onlyOwner { require( address(v3Factory) != address(0) && address(v3NonfungiblePositionManager) != address(0) && address(v3SwapRouter) != address(0), "MRock: v3 is not set" ); useV3 = value; } function claimDivident() external { dividendTracker.processAccount(payable(msg.sender), false); } function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } function excludedFromDividends(address account) external view returns (bool) { return dividendTracker.excludedFromDividends(account); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns (uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function updateMoonbaseAlphaV2Router(address newAddress) public onlyOwner { require(newAddress != address(moonbaseAlphaV2Router), "MRock: Invalid"); emit UpdateMoonbaseAlphaV2Router(newAddress, address(moonbaseAlphaV2Router)); moonbaseAlphaV2Router = IMoonbaseAlphaV1Router02(newAddress); address _moonbaseAlphaV2Pair = IMoonbaseAlphaV1Factory(moonbaseAlphaV2Router.factory()).createPair( address(this), moonbaseAlphaV2Router.WETH() ); moonbaseAlphaV2Pair = _moonbaseAlphaV2Pair; } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "MRock: Invalid"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function updateGasForProcessing(uint256 newValue) public onlyOwner { require( newValue >= 200000 && newValue <= 500000, "MRock: gasForProcessing must be between 200,000 and 500,000" ); require(newValue != gasForProcessing, "MRock: Invalid"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function getAccountDividendsInfo( address _account ) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 withdrawnDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable ) { return dividendTracker.getAccountDividendsInfo(_account); } function getAccountDividendsInfoAtIndex( uint256 index ) public view returns (address, int256, int256, uint256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountDividendsInfoAtIndex(index); } /** * @dev Function to mint tokens. * * NOTE: restricting access to owner only. See {ERC20Mintable-mint}. * * @param account The address that will receive the minted tokens * @param amount The amount of tokens to mint */ function _mint(address account, uint256 amount) internal override(ERC20, ERC20Votes) onlyOwnerOrMinter { super._mint(account, amount); dividendTracker.setBalance(account, amount); } function _afterTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Votes) { super._afterTokenTransfer(from, to, amount); } function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._burn(account, amount); dividendTracker.setBalance(account, amount); } /** * @dev Function to stop minting new tokens. * * NOTE: restricting access to owner only. See {ERC20Mintable-finishMinting}. */ function _finishMinting() internal override onlyOwner { super._finishMinting(); } function _transfer(address from, address to, uint256 amount) internal override(ERC20) { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (enableAntiBot) { pinkAntiBot.onPreTransferCheck(from, to, amount); } if (amount == 0) { super._transfer(from, to, 0); return; } if (!_isExcludedFromFees[to] && !_isExcludedFromFees[from]) { require(amount <= maxTxAmount, "amount is exceeding maxTxAmount"); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner()) { swapping = true; // burn tokens _burn(address(this), contractTokenBalance.mul(deflationaryFee).div(100)); // add liquidity uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(100); swapAndLiquify(swapTokens); // reward users uint256 sellTokens = balanceOf(address(this)); swapAndSendDividends(sellTokens); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.mul(totalFees).div(100); // if user adding liquidity charge only 1% fee. if (automatedMarketMakerPairs[to]) { fees += amount.mul(1).div(100); } amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); if (!swapping) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch {} } } function excludeBaseContractsFromDividend(DividendTracker tracker) private { tracker.excludeFromDividends(address(tracker)); tracker.excludeFromDividends(address(this)); tracker.excludeFromDividends(owner()); tracker.excludeFromDividends(address(moonbaseAlphaV2Router)); tracker.excludeFromDividends(deadWallet); } function excludeV3ContractsFromDividend(DividendTracker tracker) private { (address token0, address token1) = MRockLiquidityLibrary.sortsBefore( address(this), v3NonfungiblePositionManager.WETH9() ); address pool = v3Factory.getPool(token0, token1, MRockLiquidityLibrary.poolFee); require(pool != address(0), "MRock: Initialize Pool First"); tracker.excludeFromDividends(address(v3Factory)); tracker.excludeFromDividends(address(v3NonfungiblePositionManager)); tracker.excludeFromDividends(address(v3SwapRouter)); tracker.excludeFromDividends(pool); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "MRock: Invalid"); automatedMarketMakerPairs[pair] = value; if (value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to moonbaseAlpha addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { if (useV3 == true) { _approve(address(this), address(v3SwapRouter), tokenAmount); MRockLiquidityLibrary.swapTokensForEthV3(v3SwapRouter, tokenAmount); } else { _approve(address(this), address(moonbaseAlphaV2Router), tokenAmount); MRockLiquidityLibrary.swapTokensForEthV2(moonbaseAlphaV2Router, tokenAmount); } } function swapTokensForUSDC(uint256 tokenAmount) private { if (useV3 == true) { _approve(address(this), address(v3SwapRouter), tokenAmount); MRockLiquidityLibrary.swapTokensForUSDCV3(v3SwapRouter, tokenAmount, USDC); } else { _approve(address(this), address(moonbaseAlphaV2Router), tokenAmount); MRockLiquidityLibrary.swapTokensForUSDCV2(moonbaseAlphaV2Router, tokenAmount, USDC); } } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { if (useV3) { _approve(address(this), address(v3NonfungiblePositionManager), tokenAmount); if (tokenId == 0) { tokenId = MRockLiquidityLibrary.mintV3Liquidity(v3NonfungiblePositionManager, ethAmount, tokenAmount); } else { MRockLiquidityLibrary.increaseV3Liquidity( v3NonfungiblePositionManager, ethAmount, tokenAmount, tokenId ); } _approve(address(this), address(v3NonfungiblePositionManager), 0); } else { // approve token transfer to cover all possible scenarios _approve(address(this), address(moonbaseAlphaV2Router), tokenAmount); // add the liquidity moonbaseAlphaV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadWallet, block.timestamp ); } } function swapAndSendDividends(uint256 tokens) private { swapTokensForUSDC(tokens); uint256 dividends = IERC20(USDC).balanceOf(address(this)); bool success = IERC20(USDC).transfer(address(dividendTracker), dividends); if (success) { dividendTracker.distributeUSDCDividends(dividends); emit SendDividends(tokens, dividends); } } }
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialBalance","type":"uint256"},{"internalType":"address","name":"usdc","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"_pinkAntiBot","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateMoonbaseAlphaV2Router","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDCRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDivident","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deflationaryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableAntiBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finishMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"withdrawnDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"moonbaseAlphaV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"moonbaseAlphaV2Router","outputs":[{"internalType":"contract IMoonbaseAlphaV1Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pinkAntiBot","outputs":[{"internalType":"contract IPinkAntiBot","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setEnableAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pinkAntiBot","type":"address"}],"name":"setPinkAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTotalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setUseV3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniswapV3Factory","name":"_v3Factory","type":"address"},{"internalType":"contract INonfungiblePositionManager","name":"_v3NonfungiblePositionManager","type":"address"},{"internalType":"contract ISwapRouter","name":"_v3SwapRouter","type":"address"}],"name":"setV3","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":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deflationFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_usdcRewardsFee","type":"uint256"}],"name":"updateFeePercentages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateMoonbaseAlphaV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useV3","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Factory","outputs":[{"internalType":"contract IUniswapV3Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3NonfungiblePositionManager","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3SwapRouter","outputs":[{"internalType":"contract ISwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101606040526005805460ff60a01b1916815560006012556013805460ff19169055601480546001600160a01b03191661dead17905569152d02c7e14af68000006015556a084595161401484a000000601655602160178190556018556022601955601a55620493e0601b553480156200007857600080fd5b5060405162008cca38038062008cca8339810160408190526200009b916200128f565b8580604051806040016040528060018152602001603160f81b81525088888160039080519060200190620000d1929190620010f5565b508051620000e7906004906020840190620010f5565b50505062000104620000fe620004bd60201b60201c565b620004c1565b815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060c05261012052505050506001600160a01b03841661014052506040518390620001b49062001180565b6001600160a01b039091168152602001604051809103906000f080158015620001e1573d6000803e3d6000fd5b50601360026101000a8154816001600160a01b0302191690836001600160a01b0316021790555060008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200024957600080fd5b505afa1580156200025e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000284919062001339565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620002cd57600080fd5b505afa158015620002e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000308919062001339565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200035157600080fd5b505af115801562000366573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038c919062001339565b600c80546001600160a01b038086166001600160a01b031992831617909255600d8054928416929091169190911790559050620003cb81600162000513565b601354620003e8906201000090046001600160a01b03166200064c565b62000407620003ff6005546001600160a01b031690565b600162000851565b6200041430600162000851565b601180546001600160a01b0319166001600160a01b0385169081179091556040516318e02bd960e01b81523360048201526318e02bd990602401600060405180830381600087803b1580156200046957600080fd5b505af11580156200047e573d6000803e3d6000fd5b50506011805460ff60a01b1916600160a01b17905550620004a390506000336200091c565b620004af33876200092c565b5050505050505050620013df565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601d602052604090205460ff1615158115151415620005795760405162461bcd60e51b815260206004820152600e60248201526d13549bd8dace88125b9d985b1a5960921b60448201526064015b60405180910390fd5b6001600160a01b0382166000908152601d60205260409020805460ff19168215801591909117909155620006105760135460405163031e79db60e41b81526001600160a01b03848116600483015262010000909204909116906331e79db090602401600060405180830381600087803b158015620005f657600080fd5b505af11580156200060b573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b1580156200068f57600080fd5b505af1158015620006a4573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b158015620006ea57600080fd5b505af1158015620006ff573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db0620007226200084260201b60201c565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156200076457600080fd5b505af115801562000779573d6000803e3d6000fd5b5050600c5460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b158015620007c557600080fd5b505af1158015620007da573d6000803e3d6000fd5b505060145460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b1580156200082657600080fd5b505af11580156200083b573d6000803e3d6000fd5b5050505050565b6005546001600160a01b031690565b6200085b62000a56565b6001600160a01b0382166000908152601c602052604090205460ff1615158115151415620008bd5760405162461bcd60e51b815260206004820152600e60248201526d13549bd8dace88125b9d985b1a5960921b604482015260640162000570565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b62000928828262000ab4565b5050565b6005546001600160a01b03163314806200097457503360009081527ff70e363b3d7895af770c4a138460777d52eebd3cb9962ccc6b58721f6127bbc8602052604090205460ff165b620009cc5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f7420746865206f776e6572206f72206d696e74656044820152603960f91b606482015260840162000570565b620009e3828262000b5860201b620025d41760201c565b6013546040516338c110ef60e21b81526001600160a01b03848116600483015260248201849052620100009092049091169063e30443bc90604401600060405180830381600087803b15801562000a3957600080fd5b505af115801562000a4e573d6000803e3d6000fd5b505050505050565b6005546001600160a01b0316331462000ab25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000570565b565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1662000928576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff1916600117905562000b143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b62000b6f828262000c0b60201b620026641760201c565b6001600160e01b0362000b8362000cd88216565b111562000bec5760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840162000570565b62000c05600a6200272b62000cde60201b178362000cf3565b50505050565b6001600160a01b03821662000c635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000570565b806002600082825462000c7791906200136d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620009286000838362000e8a565b60025490565b600062000cec82846200136d565b9392505050565b8254600090819081811562000d535762000d228762000d1460018562001388565b600091825260209091200190565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015262000d68565b60408051808201909152600080825260208201525b905080602001516001600160e01b0316935062000d8684868860201c565b925060008211801562000d9f5750805163ffffffff1643145b1562000df65762000dbb8362000ea260201b620027371760201c565b62000dcd8862000d1460018662001388565b80546001600160e01b03929092166401000000000263ffffffff90921691909117905562000e7b565b86604051806040016040528062000e184362000f1160201b620027a41760201c565b63ffffffff16815260200162000e398662000ea260201b620027371760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b505050565b62000e8583838362000f7860201b620028091760201c565b60006001600160e01b0382111562000f0d5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840162000570565b5090565b600063ffffffff82111562000f0d5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840162000570565b62000f9083838362000e8560201b620010cc1760201c565b6001600160a01b0383811660009081526008602052604080822054858416835291205462000e859291821691168381831480159062000fcf5750600081115b1562000e85576001600160a01b038316156200105c576001600160a01b038316600090815260096020908152604082208291620010199190620010e7901b6200283b178562000cf3565b91509150846001600160a01b031660008051602062008caa833981519152838360405162001051929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161562000e85576001600160a01b038216600090815260096020908152604082208291620010a0919062000cde901b6200272b178562000cf3565b91509150836001600160a01b031660008051602062008caa8339815191528383604051620010d8929190918252602082015260400190565b60405180910390a25050505050565b600062000cec828462001388565b8280546200110390620013a2565b90600052602060002090601f01602090048101928262001127576000855562001172565b82601f106200114257805160ff191683800117855562001172565b8280016001018555821562001172579182015b828111156200117257825182559160200191906001019062001155565b5062000f0d9291506200118e565b611864806200744683390190565b5b8082111562000f0d57600081556001016200118f565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620011cd57600080fd5b81516001600160401b0380821115620011ea57620011ea620011a5565b604051601f8301601f19908116603f01168101908282118183101715620012155762001215620011a5565b816040528381526020925086838588010111156200123257600080fd5b600091505b8382101562001256578582018301518183018401529082019062001237565b83821115620012685760008385830101525b9695505050505050565b80516001600160a01b03811681146200128a57600080fd5b919050565b60008060008060008060c08789031215620012a957600080fd5b86516001600160401b0380821115620012c157600080fd5b620012cf8a838b01620011bb565b97506020890151915080821115620012e657600080fd5b50620012f589828a01620011bb565b955050604087015193506200130d6060880162001272565b92506200131d6080880162001272565b91506200132d60a0880162001272565b90509295509295509295565b6000602082840312156200134c57600080fd5b62000cec8262001272565b634e487b7160e01b600052601160045260246000fd5b6000821982111562001383576200138362001357565b500190565b6000828210156200139d576200139d62001357565b500390565b600181811c90821680620013b757607f821691505b60208210811415620013d957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516101205161014051615ff06200145660003960008181610a4301528181613fb20152818161406a0152818161475c01526147ab015260006130d601526000613125015260006131000152600061305901526000613083015260006130ad0152615ff06000f3fe60806040526004361061048d5760003560e01c806388bdd9be11610255578063afa4f3b211610144578063d547741f116100c1578063ec28438a11610085578063ec28438a14610e9c578063eca0dd4b14610ebc578063f1127ed814610edc578063f27fd25414610f26578063f2fde38b14610f46578063f6c4182f14610f6657600080fd5b8063d547741f14610e10578063dd62ed3e14610e30578063e01a6a9e14610e50578063e2f4560514610e66578063e98030c714610e7c57600080fd5b8063c492f04611610108578063c492f04614610d5c578063c84fea6414610d7c578063cb0426bf14610d9c578063d505accf14610dbc578063d539139314610ddc57600080fd5b8063afa4f3b214610cb2578063b62496f514610cd2578063bc0fc48314610d02578063c024666814610d1c578063c3cda52014610d3c57600080fd5b80639a745e7d116101d2578063a217fddf11610196578063a217fddf14610bda578063a26579ad14610bef578063a457c2d714610c04578063a9059cbb14610c24578063ad56c13c14610c4457600080fd5b80639a745e7d14610b445780639a7a23d614610b645780639ab24eb014610b845780639c1b8af514610ba45780639e5b1db314610bba57600080fd5b80638e539e8c116102195780638e539e8c14610ab957806391d1485414610ad957806395d89b4114610af957806398118cb414610b0e578063992d0ebb14610b2457600080fd5b806388bdd9be14610a1157806389a3027114610a315780638aa28b4c14610a655780638c0b5e2214610a855780638da5cb5b14610a9b57600080fd5b80633a46b1a81161037c578063700bb191116102f95780637d64bcb4116102bd5780637d64bcb41461095c5780637de67d3e146109715780637ecebe0014610991578063828dbf37146109b157806385141a77146109d1578063871c128d146109f157600080fd5b8063700bb191146108b157806370a08231146108d1578063715018a61461090757806379cc67901461091c5780637c887c591461093c57600080fd5b80634e7b827f116103405780634e7b827f146107ca5780634fbee193146107ea578063587cde1e146108235780635c19a95c1461085c5780636fcfff451461087c57600080fd5b80633a46b1a814610735578063407133d21461075557806340c10f191461077557806342966c68146107955780634c318332146107b557600080fd5b8063241ec3be1161040a578063313ce567116103ce578063313ce567146106a457806331e79db0146106c05780633644e515146106e057806336568abe146106f5578063395093511461071557600080fd5b8063241ec3be146105f8578063248a9ca3146106195780632c1f5216146106495780632f2ff15d1461066f57806330bb4cff1461068f57600080fd5b806317d70f7c1161045157806317d70f7c1461055357806318160ddd146105695780631865e9d11461057e5780631f46b1c6146105b657806323b872dd146105d857600080fd5b806301ffc9a71461049957806305d2035b146104ce57806306fdde03146104ed578063095ea7b31461050f57806313114a9d1461052f57600080fd5b3661049457005b600080fd5b3480156104a557600080fd5b506104b96104b4366004615574565b610f7c565b60405190151581526020015b60405180910390f35b3480156104da57600080fd5b50600554600160a01b900460ff166104b9565b3480156104f957600080fd5b50610502610fb3565b6040516104c591906155f6565b34801561051b57600080fd5b506104b961052a36600461561e565b611045565b34801561053b57600080fd5b50610545601a5481565b6040519081526020016104c5565b34801561055f57600080fd5b5061054560125481565b34801561057557600080fd5b50600254610545565b34801561058a57600080fd5b5060105461059e906001600160a01b031681565b6040516001600160a01b0390911681526020016104c5565b3480156105c257600080fd5b506105d66105d1366004615658565b61105d565b005b3480156105e457600080fd5b506104b96105f3366004615675565b611083565b34801561060457600080fd5b506011546104b990600160a01b900460ff1681565b34801561062557600080fd5b506105456106343660046156b6565b6000908152600b602052604090206001015490565b34801561065557600080fd5b5060135461059e906201000090046001600160a01b031681565b34801561067b57600080fd5b506105d661068a3660046156cf565b6110a7565b34801561069b57600080fd5b506105456110d1565b3480156106b057600080fd5b50604051601281526020016104c5565b3480156106cc57600080fd5b506105d66106db3660046156ff565b61115e565b3480156106ec57600080fd5b506105456111d0565b34801561070157600080fd5b506105d66107103660046156cf565b6111da565b34801561072157600080fd5b506104b961073036600461561e565b61125d565b34801561074157600080fd5b5061054561075036600461561e565b61127f565b34801561076157600080fd5b5060115461059e906001600160a01b031681565b34801561078157600080fd5b506105d661079036600461561e565b6112f9565b3480156107a157600080fd5b506105d66107b03660046156b6565b61132d565b3480156107c157600080fd5b506105d661133a565b3480156107d657600080fd5b506104b96107e53660046156ff565b6113c3565b3480156107f657600080fd5b506104b96108053660046156ff565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561082f57600080fd5b5061059e61083e3660046156ff565b6001600160a01b039081166000908152600860205260409020541690565b34801561086857600080fd5b506105d66108773660046156ff565b611447565b34801561088857600080fd5b5061089c6108973660046156ff565b611451565b60405163ffffffff90911681526020016104c5565b3480156108bd57600080fd5b506105d66108cc3660046156b6565b611473565b3480156108dd57600080fd5b506105456108ec3660046156ff565b6001600160a01b031660009081526020819052604090205490565b34801561091357600080fd5b506105d661155a565b34801561092857600080fd5b506105d661093736600461561e565b61156e565b34801561094857600080fd5b50600e5461059e906001600160a01b031681565b34801561096857600080fd5b506105d6611583565b34801561097d57600080fd5b506105d661098c3660046156ff565b6115b5565b34801561099d57600080fd5b506105456109ac3660046156ff565b6115df565b3480156109bd57600080fd5b50600f5461059e906001600160a01b031681565b3480156109dd57600080fd5b5060145461059e906001600160a01b031681565b3480156109fd57600080fd5b506105d6610a0c3660046156b6565b6115fd565b348015610a1d57600080fd5b506105d6610a2c3660046156ff565b6116e2565b348015610a3d57600080fd5b5061059e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610a7157600080fd5b50600d5461059e906001600160a01b031681565b348015610a9157600080fd5b5061054560165481565b348015610aa757600080fd5b506005546001600160a01b031661059e565b348015610ac557600080fd5b50610545610ad43660046156b6565b611872565b348015610ae557600080fd5b506104b9610af43660046156cf565b6118ce565b348015610b0557600080fd5b506105026118f9565b348015610b1a57600080fd5b5061054560185481565b348015610b3057600080fd5b506105d6610b3f3660046156b6565b611908565b348015610b5057600080fd5b506105d6610b5f3660046156ff565b611966565b348015610b7057600080fd5b506105d6610b7f36600461571c565b611b9f565b348015610b9057600080fd5b50610545610b9f3660046156ff565b611c4b565b348015610bb057600080fd5b50610545601b5481565b348015610bc657600080fd5b506105d6610bd5366004615658565b611cd2565b348015610be657600080fd5b50610545600081565b348015610bfb57600080fd5b50610545611d6a565b348015610c1057600080fd5b506104b9610c1f36600461561e565b611dba565b348015610c3057600080fd5b506104b9610c3f36600461561e565b611e35565b348015610c5057600080fd5b50610c64610c5f3660046156ff565b611e43565b604080516001600160a01b03909a168a5260208a0198909852968801959095526060870193909352608086019190915260a085015260c084015260e0830152610100820152610120016104c5565b348015610cbe57600080fd5b506105d6610ccd3660046156b6565b611efb565b348015610cde57600080fd5b506104b9610ced3660046156ff565b601d6020526000908152604090205460ff1681565b348015610d0e57600080fd5b506013546104b99060ff1681565b348015610d2857600080fd5b506105d6610d3736600461571c565b611f1b565b348015610d4857600080fd5b506105d6610d57366004615760565b611fc1565b348015610d6857600080fd5b506105d6610d773660046157ba565b6120f7565b348015610d8857600080fd5b506105d6610d97366004615840565b6121b1565b348015610da857600080fd5b50600c5461059e906001600160a01b031681565b348015610dc857600080fd5b506105d6610dd7366004615880565b612208565b348015610de857600080fd5b506105457f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b348015610e1c57600080fd5b506105d6610e2b3660046156cf565b61236c565b348015610e3c57600080fd5b50610545610e4b3660046158ee565b612391565b348015610e5c57600080fd5b5061054560195481565b348015610e7257600080fd5b5061054560155481565b348015610e8857600080fd5b506105d6610e973660046156b6565b6123bc565b348015610ea857600080fd5b506105d6610eb73660046156b6565b6123fa565b348015610ec857600080fd5b506105d6610ed736600461591c565b61241a565b348015610ee857600080fd5b50610efc610ef7366004615948565b612489565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016104c5565b348015610f3257600080fd5b50610c64610f413660046156b6565b61250d565b348015610f5257600080fd5b506105d6610f613660046156ff565b61255e565b348015610f7257600080fd5b5061054560175481565b60006001600160e01b03198216637965db0b60e01b1480610fad57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610fc29061597f565b80601f0160208091040260200160405190810160405280929190818152602001828054610fee9061597f565b801561103b5780601f106110105761010080835404028352916020019161103b565b820191906000526020600020905b81548152906001019060200180831161101e57829003601f168201915b5050505050905090565b600033611053818585612847565b5060019392505050565b61106561296b565b60118054911515600160a01b0260ff60a01b19909216919091179055565b6000336110918582856129c5565b61109c858585612a39565b506001949350505050565b6000828152600b60205260409020600101546110c281612fbc565b6110cc8383612fc6565b505050565b6000601360029054906101000a90046001600160a01b03166001600160a01b03166385a6b3ae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561112157600080fd5b505afa158015611135573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115991906159b4565b905090565b61116661296b565b60135460405163031e79db60e41b81526001600160a01b03838116600483015262010000909204909116906331e79db0906024015b600060405180830381600087803b1580156111b557600080fd5b505af11580156111c9573d6000803e3d6000fd5b5050505050565b600061115961304c565b6001600160a01b038116331461124f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6112598282613173565b5050565b6000336110538185856112708383612391565b61127a91906159e3565b612847565b60004382106112d05760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401611246565b6001600160a01b03831660009081526009602052604090206112f290836131da565b9392505050565b600554600160a01b900460ff16156113235760405162461bcd60e51b8152600401611246906159fb565b61125982826132d1565b61133733826133d9565b50565b60135460405163bc4c4b3760e01b815233600482015260006024820152620100009091046001600160a01b03169063bc4c4b3790604401602060405180830381600087803b15801561138b57600080fd5b505af115801561139f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113379190615a3d565b601354604051634e7b827f60e01b81526001600160a01b0383811660048301526000926201000090041690634e7b827f9060240160206040518083038186803b15801561140f57600080fd5b505afa158015611423573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fad9190615a3d565b61133733826133e3565b6001600160a01b038116600090815260096020526040812054610fad906127a4565b6013546040516001624d3b8760e01b0319815260048101839052600091829182916201000090046001600160a01b03169063ffb2c47990602401606060405180830381600087803b1580156114c757600080fd5b505af11580156114db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ff9190615a5a565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b61156261296b565b61156c600061345c565b565b6115798233836129c5565b61125982826133d9565b600554600160a01b900460ff16156115ad5760405162461bcd60e51b8152600401611246906159fb565b61156c6134ae565b6115bd61296b565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038116600090815260066020526040812054610fad565b61160561296b565b62030d40811015801561161b57506207a1208111155b61168d5760405162461bcd60e51b815260206004820152603b60248201527f4d526f636b3a20676173466f7250726f63657373696e67206d7573742062652060448201527f6265747765656e203230302c30303020616e64203530302c30303000000000006064820152608401611246565b601b548114156116af5760405162461bcd60e51b815260040161124690615a88565b601b5460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601b55565b6116ea61296b565b6013546001600160a01b038281166201000090920416141561171e5760405162461bcd60e51b815260040161124690615a88565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561176657600080fd5b505afa15801561177a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179e9190615ab0565b6001600160a01b0316146117e95760405162461bcd60e51b815260206004820152601260248201527126a937b1b59d102bb937b7339027bbb732b960711b6044820152606401611246565b6117f2816134be565b60135460ff1615611806576118068161367c565b6013546040516001600160a01b03620100009092048216918416907f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3601380546001600160a01b03909216620100000262010000600160b01b031990921691909117905550565b60004382106118c35760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401611246565b610fad600a836131da565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054610fc29061597f565b61191061296b565b60198111156119615760405162461bcd60e51b815260206004820152601960248201527f4d526f636b3a20466565206d757374206265203c3d20323525000000000000006044820152606401611246565b601a55565b61196e61296b565b600c546001600160a01b038281169116141561199c5760405162461bcd60e51b815260040161124690615a88565b600c546040516001600160a01b03918216918316907f43f3747399e43c725e4cd7c1285cb48cfe1434d44b096efac5cd0f05321ab3dc90600090a3600c80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a0155916004808301926020929190829003018186803b158015611a2e57600080fd5b505afa158015611a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a669190615ab0565b6001600160a01b031663c9c6539630600c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611ac357600080fd5b505afa158015611ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afb9190615ab0565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611b4357600080fd5b505af1158015611b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7b9190615ab0565b600d80546001600160a01b0319166001600160a01b03929092169190911790555050565b611ba761296b565b600d546001600160a01b0383811691161415611c415760405162461bcd60e51b815260206004820152604d60248201527f4d526f636b3a20546865204d6f6f6e626173655377617020706169722063616e60448201527f6e6f742062652072656d6f7665642066726f6d206175746f6d617465644d617260648201526c6b65744d616b6572506169727360981b608482015260a401611246565b6112598282613979565b6001600160a01b0381166000908152600960205260408120548015611cbf576001600160a01b0383166000908152600960205260409020611c8d600183615acd565b81548110611c9d57611c9d615ae4565b60009182526020909120015464010000000090046001600160e01b0316611cc2565b60005b6001600160e01b03169392505050565b611cda61296b565b600e546001600160a01b031615801590611cfe5750600f546001600160a01b031615155b8015611d1457506010546001600160a01b031615155b611d575760405162461bcd60e51b815260206004820152601460248201527313549bd8dace881d8cc81a5cc81b9bdd081cd95d60621b6044820152606401611246565b6013805460ff1916911515919091179055565b6000601360029054906101000a90046001600160a01b03166001600160a01b0316636f2789ec6040518163ffffffff1660e01b815260040160206040518083038186803b15801561112157600080fd5b60003381611dc88286612391565b905083811015611e285760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611246565b61109c8286868403612847565b600033611053818585612a39565b601354604051632b55b04f60e21b81526001600160a01b03838116600483015260009283928392839283928392839283928392620100009092049091169063ad56c13c906024015b6101206040518083038186803b158015611ea457600080fd5b505afa158015611eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611edc9190615afa565b9850985098509850985098509850985098509193959799909294969850565b611f0361296b565b611f1581670de0b6b3a7640000615b6e565b60155550565b611f2361296b565b6001600160a01b0382166000908152601c602052604090205460ff1615158115151415611f625760405162461bcd60e51b815260040161124690615a88565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b834211156120115760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401611246565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b03881691810191909152606081018690526080810185905260009061208b906120839060a00160405160208183030381529060405280519060200120613a88565b858585613ad6565b905061209681613afe565b86146120e45760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401611246565b6120ee81886133e3565b50505050505050565b6120ff61296b565b60005b828110156121705781601c600086868581811061212157612121615ae4565b905060200201602081019061213691906156ff565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061216881615b8d565b915050612102565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516121a493929190615ba8565b60405180910390a1505050565b6121b961296b565b600e80546001600160a01b038086166001600160a01b031992831617909255600f80548584169083161790556010805484841692169190911790556013546110cc91620100009091041661367c565b834211156122585760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401611246565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886122878c613afe565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006122e282613a88565b905060006122f282878787613ad6565b9050896001600160a01b0316816001600160a01b0316146123555760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401611246565b6123608a8a8a612847565b50505050505050505050565b6000828152600b602052604090206001015461238781612fbc565b6110cc8383613173565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6123c461296b565b60135460405163e98030c760e01b815260048101839052620100009091046001600160a01b03169063e98030c79060240161119b565b61240261296b565b61241481670de0b6b3a7640000615b6e565b60165550565b61242261296b565b8061242d83856159e3565b61243791906159e3565b60641461247b5760405162461bcd60e51b81526020600482015260126024820152714d526f636b3a20696e76616c69642073756d60701b6044820152606401611246565b601792909255601855601955565b60408051808201909152600080825260208201526001600160a01b0383166000908152600960205260409020805463ffffffff84169081106124cd576124cd615ae4565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6000806000806000806000806000601360029054906101000a90046001600160a01b03166001600160a01b031663f27fd2548b6040518263ffffffff1660e01b8152600401611e8b91815260200190565b61256661296b565b6001600160a01b0381166125cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611246565b6113378161345c565b6125de8282612664565b6002546001600160e01b0310156126505760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401611246565b61265e600a61272b83613b26565b50505050565b6001600160a01b0382166126ba5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401611246565b80600260008282546126cc91906159e3565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361125960008383613c7a565b60006112f282846159e3565b60006001600160e01b038211156127a05760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401611246565b5090565b600063ffffffff8211156127a05760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401611246565b6001600160a01b038381166000908152600860205260408082205485841683529120546110cc92918216911683613c85565b60006112f28284615acd565b6001600160a01b0383166128a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611246565b6001600160a01b03821661290a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611246565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461156c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611246565b60006129d18484612391565b9050600019811461265e5781811015612a2c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401611246565b61265e8484848403612847565b6001600160a01b038316612a5f5760405162461bcd60e51b815260040161124690615c01565b6001600160a01b038216612a855760405162461bcd60e51b815260040161124690615c46565b601154600160a01b900460ff1615612b065760115460405163090ec10b60e31b81526001600160a01b03858116600483015284811660248301526044820184905290911690634876085890606401600060405180830381600087803b158015612aed57600080fd5b505af1158015612b01573d6000803e3d6000fd5b505050505b80612b17576110cc83836000613dc2565b6001600160a01b0382166000908152601c602052604090205460ff16158015612b5957506001600160a01b0383166000908152601c602052604090205460ff16155b15612bb057601654811115612bb05760405162461bcd60e51b815260206004820152601f60248201527f616d6f756e7420697320657863656564696e67206d61785478416d6f756e74006044820152606401611246565b3060009081526020819052604090205460155481108015908190612bdc5750601354610100900460ff16155b8015612c0157506001600160a01b0385166000908152601d602052604090205460ff16155b8015612c1b57506005546001600160a01b03868116911614155b8015612c3557506005546001600160a01b03858116911614155b15612cbd576013805461ff001916610100179055601754612c6f903090612c6a90606490612c64908790613ef2565b90613efe565b6133d9565b6000612c8b6064612c6460185486613ef290919063ffffffff16565b9050612c9681613f0a565b30600090815260208190526040902054612caf81613f91565b50506013805461ff00191690555b6013546001600160a01b0386166000908152601c602052604090205460ff610100909204821615911680612d0957506001600160a01b0385166000908152601c602052604090205460ff165b15612d12575060005b8015612d8e576000612d346064612c64601a5488613ef290919063ffffffff16565b6001600160a01b0387166000908152601d602052604090205490915060ff1615612d7557612d686064612c64876001613ef2565b612d7290826159e3565b90505b612d7f858261283b565b9450612d8c873083613dc2565b505b612d99868686613dc2565b6013546001600160a01b03620100009091041663e30443bc87612dd1816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612e1757600080fd5b505af1158015612e2b573d6000803e3d6000fd5b50506013546001600160a01b036201000090910416915063e30443bc905086612e69816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612eaf57600080fd5b505af1158015612ec3573d6000803e3d6000fd5b5050601354610100900460ff169150612fb4905057601b546013546040516001624d3b8760e01b0319815260048101839052620100009091046001600160a01b03169063ffb2c47990602401606060405180830381600087803b158015612f2957600080fd5b505af1925050508015612f59575060408051601f3d908101601f19168201909252612f5691810190615a5a565b60015b612f62576120ee565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505b505050505050565b6113378133614188565b612fd082826118ce565b611259576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556130083390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156130a557507f000000000000000000000000000000000000000000000000000000000000000046145b156130cf57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b61317d82826118ce565b15611259576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b8154600090818160058111156132345760006131f5846141e1565b6131ff9085615acd565b600088815260209020909150869082015463ffffffff16111561322457809150613232565b61322f8160016159e3565b92505b505b8082101561328157600061324883836142c6565b600088815260209020909150869082015463ffffffff16111561326d5780915061327b565b6132788160016159e3565b92505b50613234565b80156132bb576132a486613296600184615acd565b600091825260209091200190565b5464010000000090046001600160e01b03166132be565b60005b6001600160e01b03169695505050505050565b6005546001600160a01b031633148061330f575061330f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336118ce565b6133655760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f7420746865206f776e6572206f72206d696e74656044820152603960f91b6064820152608401611246565b61336f82826125d4565b6013546040516338c110ef60e21b81526001600160a01b03848116600483015260248201849052620100009092049091169063e30443bc906044015b600060405180830381600087803b1580156133c557600080fd5b505af1158015612fb4573d6000803e3d6000fd5b61336f82826142e1565b6001600160a01b038281166000818152600860208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461265e828483613c85565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6134b661296b565b61156c6142f9565b60405163031e79db60e41b81526001600160a01b03821660048201819052906331e79db090602401600060405180830381600087803b15801561350057600080fd5b505af1158015613514573d6000803e3d6000fd5b505060405163031e79db60e41b81523060048201526001600160a01b03841692506331e79db09150602401600060405180830381600087803b15801561355957600080fd5b505af115801561356d573d6000803e3d6000fd5b50505050806001600160a01b03166331e79db06135926005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b1580156135d357600080fd5b505af11580156135e7573d6000803e3d6000fd5b5050600c5460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db09150602401600060405180830381600087803b15801561363257600080fd5b505af1158015613646573d6000803e3d6000fd5b505060145460405163031e79db60e41b81526001600160a01b03918216600482015290841692506331e79db0915060240161119b565b60008061370e30600f60009054906101000a90046001600160a01b03166001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156136d157600080fd5b505afa1580156136e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137099190615ab0565b614337565b600e54604051630b4c774160e11b81526001600160a01b0380851660048301528084166024830152610bb860448301529395509193506000921690631698ee829060640160206040518083038186803b15801561376a57600080fd5b505afa15801561377e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137a29190615ab0565b90506001600160a01b0381166137fa5760405162461bcd60e51b815260206004820152601c60248201527f4d526f636b3a20496e697469616c697a6520506f6f6c204669727374000000006044820152606401611246565b600e5460405163031e79db60e41b81526001600160a01b039182166004820152908516906331e79db090602401600060405180830381600087803b15801561384157600080fd5b505af1158015613855573d6000803e3d6000fd5b5050600f5460405163031e79db60e41b81526001600160a01b03918216600482015290871692506331e79db09150602401600060405180830381600087803b1580156138a057600080fd5b505af11580156138b4573d6000803e3d6000fd5b505060105460405163031e79db60e41b81526001600160a01b03918216600482015290871692506331e79db09150602401600060405180830381600087803b1580156138ff57600080fd5b505af1158015613913573d6000803e3d6000fd5b505060405163031e79db60e41b81526001600160a01b038481166004830152871692506331e79db091506024015b600060405180830381600087803b15801561395b57600080fd5b505af115801561396f573d6000803e3d6000fd5b5050505050505050565b6001600160a01b0382166000908152601d602052604090205460ff16151581151514156139b85760405162461bcd60e51b815260040161124690615a88565b6001600160a01b0382166000908152601d60205260409020805460ff19168215801591909117909155613a4c5760135460405163031e79db60e41b81526001600160a01b03848116600483015262010000909204909116906331e79db090602401600060405180830381600087803b158015613a3357600080fd5b505af1158015613a47573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000610fad613a9561304c565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000613ae787878787614368565b91509150613af48161442c565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b82546000908190818115613b7357613b4387613296600185615acd565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152613b88565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350613ba884868863ffffffff16565b9250600082118015613bc05750805163ffffffff1643145b15613c0557613bce83612737565b613bdd88613296600186615acd565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055613c70565b866040518060400160405280613c1a436127a4565b63ffffffff168152602001613c2e86612737565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b6110cc838383612809565b816001600160a01b0316836001600160a01b031614158015613ca75750600081115b156110cc576001600160a01b03831615613d35576001600160a01b03831660009081526009602052604081208190613ce29061283b85613b26565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051613d2a929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156110cc576001600160a01b03821660009081526009602052604081208190613d6b9061272b85613b26565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051613db3929190918252602082015260400190565b60405180910390a25050505050565b6001600160a01b038316613de85760405162461bcd60e51b815260040161124690615c01565b6001600160a01b038216613e0e5760405162461bcd60e51b815260040161124690615c46565b6001600160a01b03831660009081526020819052604090205481811015613e865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611246565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361265e848484613c7a565b60006112f28284615b6e565b60006112f28284615c9f565b6000613f17826002613efe565b90506000613f25838361283b565b905047613f318361457a565b6000613f3d478361283b565b9050613f4983826145e6565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b613f9a81614721565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015613ffc57600080fd5b505afa158015614010573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061403491906159b4565b60135460405163a9059cbb60e01b8152620100009091046001600160a01b039081166004830152602482018390529192506000917f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b1580156140ae57600080fd5b505af11580156140c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e69190615a3d565b905080156110cc57601354604051635fb1cc4560e01b815260048101849052620100009091046001600160a01b031690635fb1cc4590602401600060405180830381600087803b15801561413957600080fd5b505af115801561414d573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc393500190506121a4565b61419282826118ce565b6112595761419f816147cf565b6141aa8360206147e1565b6040516020016141bb929190615cc1565b60408051601f198184030181529082905262461bcd60e51b8252611246916004016155f6565b6000816141f057506000919050565b600060016141fd8461497d565b901c6001901b9050600181848161421657614216615c89565b048201901c9050600181848161422e5761422e615c89565b048201901c9050600181848161424657614246615c89565b048201901c9050600181848161425e5761425e615c89565b048201901c9050600181848161427657614276615c89565b048201901c9050600181848161428e5761428e615c89565b048201901c905060018184816142a6576142a6615c89565b048201901c90506112f2818285816142c0576142c0615c89565b04614a11565b60006142d56002848418615c9f565b6112f2908484166159e3565b6142eb8282614a27565b61265e600a61283b83613b26565b6005805460ff60a01b1916600160a01b1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b600080826001600160a01b0316846001600160a01b03161061435a57828461435d565b83835b915091509250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561439f5750600090506003614423565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156143f3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661441c57600060019250925050614423565b9150600090505b94509492505050565b600081600481111561444057614440615d36565b14156144495750565b600181600481111561445d5761445d615d36565b14156144ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611246565b60028160048111156144bf576144bf615d36565b141561450d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611246565b600381600481111561452157614521615d36565b14156113375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401611246565b60135460ff161515600114156145b8576010546145a29030906001600160a01b031683612847565b601054611337906001600160a01b031682614b60565b600c546145d09030906001600160a01b031683612847565b600c54611337906001600160a01b031682614d3b565b60135460ff161561466557600f546146099030906001600160a01b031684612847565b60125461462f57600f54614627906001600160a01b03168284614e86565b60125561464c565b600f5460125461464c916001600160a01b031690839085906150b0565b600f546112599030906001600160a01b03166000612847565b600c5461467d9030906001600160a01b031684612847565b600c5460145460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b1580156146e857600080fd5b505af11580156146fc573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111c99190615a5a565b60135460ff16151560011415614780576010546147499030906001600160a01b031683612847565b601054611337906001600160a01b0316827f000000000000000000000000000000000000000000000000000000000000000061529b565b600c546147989030906001600160a01b031683612847565b600c54611337906001600160a01b0316827f0000000000000000000000000000000000000000000000000000000000000000615421565b6060610fad6001600160a01b03831660145b606060006147f0836002615b6e565b6147fb9060026159e3565b67ffffffffffffffff81111561481357614813615d4c565b6040519080825280601f01601f19166020018201604052801561483d576020820181803683370190505b509050600360fc1b8160008151811061485857614858615ae4565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061488757614887615ae4565b60200101906001600160f81b031916908160001a90535060006148ab846002615b6e565b6148b69060016159e3565b90505b600181111561492e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106148ea576148ea615ae4565b1a60f81b82828151811061490057614900615ae4565b60200101906001600160f81b031916908160001a90535060049490941c9361492781615d62565b90506148b9565b5083156112f25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611246565b600080608083901c1561499257608092831c92015b604083901c156149a457604092831c92015b602083901c156149b657602092831c92015b601083901c156149c857601092831c92015b600883901c156149da57600892831c92015b600483901c156149ec57600492831c92015b600283901c156149fe57600292831c92015b600183901c15610fad5760010192915050565b6000818310614a2057816112f2565b5090919050565b6001600160a01b038216614a875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401611246565b6001600160a01b03821660009081526020819052604090205481811015614afb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401611246565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110cc83600084613c7a565b816001600160a01b031663414bf389604051806101000160405280306001600160a01b03168152602001856001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b815260040160206040518083038186803b158015614bc357600080fd5b505afa158015614bd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bfb9190615ab0565b6001600160a01b03168152610bb86020820152600060408083018290524260608401526080830187905260a0830182905260c090920152516001600160e01b031960e084901b168152614cb5919060040181516001600160a01b03908116825260208084015182169083015260408084015162ffffff16908301526060808401518216908301526080808401519083015260a0838101519083015260c0808401519083015260e09283015116918101919091526101000190565b602060405180830381600087803b158015614ccf57600080fd5b505af1158015614ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d0791906159b4565b5060405163125012df60e21b8152600060048201523060248201526001600160a01b038316906349404b7c906044016133ab565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614d7057614d70615ae4565b60200260200101906001600160a01b031690816001600160a01b031681525050826001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015614dc957600080fd5b505afa158015614ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e019190615ab0565b81600181518110614e1457614e14615ae4565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81529084169063791ac94790614e58908590600090869030904290600401615d79565b600060405180830381600087803b158015614e7257600080fd5b505af11580156120ee573d6000803e3d6000fd5b600080846001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b815260040160206040518083038186803b158015614ec257600080fd5b505afa158015614ed6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614efa9190615ab0565b9050600080614f093084614337565b91509150600080846001600160a01b0316846001600160a01b031614614f30578688614f33565b87875b91509150886001600160a01b0316638831645689604051806101600160405280886001600160a01b03168152602001876001600160a01b03168152602001610bb862ffffff168152602001620d89b31960020b8152602001620d89b319614f9990615dea565b60020b8152602001868152602001858152602001600081526020016000815260200161dead6001600160a01b03168152602001428152506040518363ffffffff1660e01b8152600401614fec9190615e0d565b6080604051808303818588803b15801561500557600080fd5b505af1158015615019573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061503e9190615ef1565b505060405163125012df60e21b815260006004820152306024820152919750506001600160a01b038a16906349404b7c90604401600060405180830381600087803b15801561508c57600080fd5b505af11580156150a0573d6000803e3d6000fd5b5050505050505050509392505050565b6000846001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156150eb57600080fd5b505afa1580156150ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906151239190615ab0565b905060006151313083614337565b509050600080836001600160a01b0316836001600160a01b03161461515757858761515a565b86865b6040805160c08101825288815260208101848152818301848152600060608401818152608085019182524260a08601908152955163219f5d1760e01b815294516004860152925160248501529051604484015290516064830152516084820152905160a482015291935091506001600160a01b0389169063219f5d1790899060c4016060604051808303818588803b1580156151f557600080fd5b505af1158015615209573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061522e9190615f2d565b505060405163125012df60e21b8152600060048201523060248201526001600160a01b038a1691506349404b7c90604401600060405180830381600087803b15801561527957600080fd5b505af115801561528d573d6000803e3d6000fd5b505050505050505050505050565b826001600160a01b031663c04b8d596040518060a0016040528030610bb8886001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b815260040160206040518083038186803b1580156152f257600080fd5b505afa158015615306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061532a9190615ab0565b604051606093841b6bffffffffffffffffffffffff19908116602083015260e89390931b6001600160e81b031916603482015290831b8216603782015261017760eb1b604b8201529187901b16604e8201526062016040516020818303038152906040528152602001306001600160a01b0316815260200142815260200185815260200160008152506040518263ffffffff1660e01b81526004016153cf9190615f62565b602060405180830381600087803b1580156153e957600080fd5b505af11580156153fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265e91906159b4565b6040805160038082526080820190925260009160208201606080368337019050509050308160008151811061545857615458615ae4565b60200260200101906001600160a01b031690816001600160a01b031681525050836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156154b157600080fd5b505afa1580156154c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906154e99190615ab0565b816001815181106154fc576154fc615ae4565b60200260200101906001600160a01b031690816001600160a01b031681525050818160028151811061553057615530615ae4565b6001600160a01b039283166020918202929092010152604051635c11d79560e01b815290851690635c11d79590613941908690600090869030904290600401615d79565b60006020828403121561558657600080fd5b81356001600160e01b0319811681146112f257600080fd5b60005b838110156155b95781810151838201526020016155a1565b8381111561265e5750506000910152565b600081518084526155e281602086016020860161559e565b601f01601f19169290920160200192915050565b6020815260006112f260208301846155ca565b6001600160a01b038116811461133757600080fd5b6000806040838503121561563157600080fd5b823561563c81615609565b946020939093013593505050565b801515811461133757600080fd5b60006020828403121561566a57600080fd5b81356112f28161564a565b60008060006060848603121561568a57600080fd5b833561569581615609565b925060208401356156a581615609565b929592945050506040919091013590565b6000602082840312156156c857600080fd5b5035919050565b600080604083850312156156e257600080fd5b8235915060208301356156f481615609565b809150509250929050565b60006020828403121561571157600080fd5b81356112f281615609565b6000806040838503121561572f57600080fd5b823561573a81615609565b915060208301356156f48161564a565b803560ff8116811461575b57600080fd5b919050565b60008060008060008060c0878903121561577957600080fd5b863561578481615609565b955060208701359450604087013593506157a06060880161574a565b92506080870135915060a087013590509295509295509295565b6000806000604084860312156157cf57600080fd5b833567ffffffffffffffff808211156157e757600080fd5b818601915086601f8301126157fb57600080fd5b81358181111561580a57600080fd5b8760208260051b850101111561581f57600080fd5b602092830195509350508401356158358161564a565b809150509250925092565b60008060006060848603121561585557600080fd5b833561586081615609565b9250602084013561587081615609565b9150604084013561583581615609565b600080600080600080600060e0888a03121561589b57600080fd5b87356158a681615609565b965060208801356158b681615609565b955060408801359450606088013593506158d26080890161574a565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561590157600080fd5b823561590c81615609565b915060208301356156f481615609565b60008060006060848603121561593157600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561595b57600080fd5b823561596681615609565b9150602083013563ffffffff811681146156f457600080fd5b600181811c9082168061599357607f821691505b60208210811415613b2057634e487b7160e01b600052602260045260246000fd5b6000602082840312156159c657600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156159f6576159f66159cd565b500190565b60208082526022908201527f45524332304d696e7461626c653a206d696e74696e672069732066696e697368604082015261195960f21b606082015260800190565b600060208284031215615a4f57600080fd5b81516112f28161564a565b600080600060608486031215615a6f57600080fd5b8351925060208401519150604084015190509250925092565b6020808252600e908201526d13549bd8dace88125b9d985b1a5960921b604082015260600190565b600060208284031215615ac257600080fd5b81516112f281615609565b600082821015615adf57615adf6159cd565b500390565b634e487b7160e01b600052603260045260246000fd5b60008060008060008060008060006101208a8c031215615b1957600080fd5b8951615b2481615609565b8099505060208a0151975060408a0151965060608a0151955060808a0151945060a08a0151935060c08a0151925060e08a015191506101008a015190509295985092959850929598565b6000816000190483118215151615615b8857615b886159cd565b500290565b6000600019821415615ba157615ba16159cd565b5060010190565b6040808252810183905260008460608301825b86811015615beb578235615bce81615609565b6001600160a01b0316825260209283019290910190600101615bbb565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082615cbc57634e487b7160e01b600052601260045260246000fd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615cf981601785016020880161559e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351615d2a81602884016020880161559e565b01602801949350505050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600081615d7157615d716159cd565b506000190190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015615dc95784516001600160a01b031683529383019391830191600101615da4565b50506001600160a01b03969096166060850152505050608001529392505050565b60008160020b627fffff19811415615e0457615e046159cd565b60000392915050565b81516001600160a01b0316815261016081016020830151615e3960208401826001600160a01b03169052565b506040830151615e50604084018262ffffff169052565b506060830151615e65606084018260020b9052565b506080830151615e7a608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151615ec0828501826001600160a01b03169052565b505061014092830151919092015290565b80516fffffffffffffffffffffffffffffffff8116811461575b57600080fd5b60008060008060808587031215615f0757600080fd5b84519350615f1760208601615ed1565b6040860151606090960151949790965092505050565b600080600060608486031215615f4257600080fd5b615f4b84615ed1565b925060208401519150604084015190509250925092565b602081526000825160a06020840152615f7e60c08401826155ca565b905060018060a01b0360208501511660408401526040840151606084015260608401516080840152608084015160a0840152809150509291505056fea2646970667358221220b4560ef3f7dc7cd8ff671df98651cf1aa46bfd4822535faff8ad3c8473a0673864736f6c6343000809003360c060405234801561001057600080fd5b5060405161186438038061186483398101604081905261002f916100a4565b61003833610054565b6001600160a01b0316608052610e10600e55600060a0526100d4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100b657600080fd5b81516001600160a01b03811681146100cd57600080fd5b9392505050565b60805160a05161175d610107600039600081816103c301526109b10152600081816102b00152611259015261175d6000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80638da5cb5b116100f9578063e008e81c11610097578063e98030c711610071578063e98030c714610408578063f27fd2541461041b578063f2fde38b1461042e578063ffb2c4791461044157600080fd5b8063e008e81c146103e5578063e30443bc146103ed578063e7841ec01461040057600080fd5b8063aafd847a116100d3578063aafd847a14610321578063ad56c13c1461034a578063bc4c4b37146103ab578063be10b614146103be57600080fd5b80638da5cb5b146102ea57806391b89fba146102fb578063a8b9d2401461030e57600080fd5b80635fb1cc45116101665780636f2789ec116101405780636f2789ec14610291578063715018a61461029a57806385a6b3ae146102a257806389a30271146102ab57600080fd5b80635fb1cc451461026e57806364b0f653146102815780636a4740021461028957600080fd5b8063224f428f146101ae578063226cfa3d146101ea57806327ce01471461020a5780633009a6091461021d57806331e79db0146102265780634e7b827f1461023b575b600080fd5b6101d76101bc3660046114f4565b6001600160a01b031660009081526006602052604090205490565b6040519081526020015b60405180910390f35b6101d76101f83660046114f4565b60056020526000908152604090205481565b6101d76102183660046114f4565b61046f565b6101d7600c5481565b6102396102343660046114f4565b6104d2565b005b61025e6102493660046114f4565b60046020526000908152604090205460ff1681565b60405190151581526020016101e1565b61023961027c366004611511565b6105d7565b6008546101d7565b61023961066a565b6101d7600e5481565b610239610715565b6101d7600d5481565b6102d27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101e1565b6000546001600160a01b03166102d2565b6101d76103093660046114f4565b610727565b6101d761031c3660046114f4565b61072e565b6101d761032f3660046114f4565b6001600160a01b031660009081526003602052604090205490565b61035d6103583660046114f4565b61075a565b604080516001600160a01b03909a168a5260208a0198909852968801959095526060870193909352608086019190915260a085015260c084015260e0830152610100820152610120016101e1565b61025e6103b9366004611538565b6108f7565b6101d77f000000000000000000000000000000000000000000000000000000000000000081565b6007546101d7565b6102396103fb366004611571565b610982565b600c546101d7565b610239610416366004611511565b610aec565b61035d610429366004611511565b610c3a565b61023961043c3660046114f4565b610db5565b61045461044f366004611511565b610e2b565b604080519384526020840192909252908201526060016101e1565b6001600160a01b0381166000908152600260209081526040808320546006909252822054600154600160801b926104c2926104bd926104b7916104b29190610f96565b610fa9565b90611017565b611023565b6104cc91906115b3565b92915050565b6104da611075565b6001600160a01b03811660009081526004602052604090205460ff161561050057600080fd5b6001600160a01b0381166000908152600460205260408120805460ff1916600117905561052e9082906110cf565b60405163131836e760e21b8152600860048201526001600160a01b038216602482015273c833f0028b047be5b28d215d43ddeb0a967edbc590634c60db9c9060440160006040518083038186803b15801561058857600080fd5b505af415801561059c573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b6105df611075565b6000811180156105f157506000600754115b156106675760075461061e9061060b83600160801b610f96565b61061591906115b3565b6001549061112e565b60015560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600d54610663908261112e565b600d555b50565b60405162461bcd60e51b815260206004820152606760248201527f4d526f636b5f4469766964656e645f547261636b65723a20776974686472617760448201527f4469766964656e642064697361626c65642e20557365207468652027636c616960648201527f6d272066756e6374696f6e206f6e20746865206d61696e204d526f636b20636f608482015266373a3930b1ba1760c91b60a482015260c4015b60405180910390fd5b565b61071d611075565b610713600061113a565b60006104cc825b6001600160a01b0381166000908152600360205260408120546104cc906107548461046f565b9061118a565b6040516317e142d160e01b8152600860048201526001600160a01b03821660248201528190600090819081908190819081908190819073c833f0028b047be5b28d215d43ddeb0a967edbc5906317e142d19060440160206040518083038186803b1580156107c757600080fd5b505af41580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff91906115d5565b975060001996506000881261086157600c5488111561082d57600c54610826908990611196565b9650610861565b600c5460085460009110610842576000610851565b600c546008546108519161118a565b905061085d8982611017565b9750505b61086a8961072e565b955061088b896001600160a01b031660009081526003602052604090205490565b94506108968961046f565b6001600160a01b038a166000908152600560205260409020549094509250826108c05760006108ce565b600e546108ce90849061112e565b91504282116108de5760006108e8565b6108e8824261118a565b90509193959799909294969850565b6000610901611075565b600061090c846111a2565b90508015610978576001600160a01b038416600081815260056020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906109669085815260200190565b60405180910390a360019150506104cc565b5060009392505050565b61098a611075565b6001600160a01b03821660009081526004602052604090205460ff16156109af575050565b7f00000000000000000000000000000000000000000000000000000000000000008110610a5e576109e082826110cf565b604051632f0ad01760e21b8152600860048201526001600160a01b03831660248201526044810182905273c833f0028b047be5b28d215d43ddeb0a967edbc59063bc2b405c9060640160006040518083038186803b158015610a4157600080fd5b505af4158015610a55573d6000803e3d6000fd5b50505050610adc565b610a698260006110cf565b60405163131836e760e21b8152600860048201526001600160a01b038316602482015273c833f0028b047be5b28d215d43ddeb0a967edbc590634c60db9c9060440160006040518083038186803b158015610ac357600080fd5b505af4158015610ad7573d6000803e3d6000fd5b505050505b610ae78260016108f7565b505050565b610af4611075565b610e108110158015610b095750620151808111155b610b8f5760405162461bcd60e51b815260206004820152604b60248201527f4d526f636b5f4469766964656e645f547261636b65723a20636c61696d57616960448201527f74206d757374206265207570646174656420746f206265747765656e2031206160648201526a6e6420323420686f75727360a81b608482015260a40161070a565b600e54811415610c075760405162461bcd60e51b815260206004820152603d60248201527f4d526f636b5f4469766964656e645f547261636b65723a2043616e6e6f74207560448201527f706461746520636c61696d5761697420746f2073616d652076616c7565000000606482015260840161070a565b600e5460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3600e55565b6000806000806000806000806000600873c833f0028b047be5b28d215d43ddeb0a967edbc563deb3d89690916040518263ffffffff1660e01b8152600401610c8491815260200190565b60206040518083038186803b158015610c9c57600080fd5b505af4158015610cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd491906115d5565b8a10610cfc575060009750600019965086955087945084935083925082915081905080610da8565b6040516368d54f3f60e11b815260086004820152602481018b905260009073c833f0028b047be5b28d215d43ddeb0a967edbc59063d1aa9e7e9060440160206040518083038186803b158015610d5157600080fd5b505af4158015610d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8991906115ee565b9050610d948161075a565b995099509950995099509950995099509950505b9193959799909294969850565b610dbd611075565b6001600160a01b038116610e225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161070a565b6106678161113a565b6008546000908190819080610e4b575050600c5460009250829150610f8f565b600c546000805a90506000805b8984108015610e6657508582105b15610f2e5784610e758161160b565b60085490965086109050610e8857600094505b600060086000018681548110610ea057610ea0611626565b60009182526020808320909101546001600160a01b03168083526005909152604090912054909150610ed190611336565b15610ef457610ee18160016108f7565b15610ef45781610ef08161160b565b9250505b82610efe8161160b565b93505060005a905080851115610f2557610f22610f1b868361118a565b879061112e565b95505b9350610e589050565b600c8590556040805183815260208101839052908101869052606081018b905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3600c5491985096509450505050505b9193909250565b6000610fa2828461163c565b9392505050565b60006001600160ff1b038211156110135760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b606482015260840161070a565b5090565b6000610fa2828461165b565b6000808212156110135760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161070a565b6000546001600160a01b031633146107135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070a565b6001600160a01b0382166000908152600660205260409020548082111561110e5760006110fc838361118a565b9050611108848261135d565b50505050565b80821015610ae7576000611122828461118a565b905061110884826113e6565b6000610fa2828461169c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610fa282846116b4565b6000610fa282846116cb565b6000806111ae8361072e565b9050801561132d576001600160a01b0383166000908152600360205260409020546111d9908261112e565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906112289084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390526000917f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb90604401602060405180830381600087803b15801561129f57600080fd5b505af11580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d7919061170a565b905080611326576001600160a01b038416600090815260036020526040902054611301908361118a565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b60004282111561134857506000919050565b600e54611355428461118a565b101592915050565b806007600082825461136f919061169c565b90915550506001600160a01b03821660009081526006602052604090208054820190556001546113c6906113a7906104b29084610f96565b6001600160a01b03841660009081526002602052604090205490611196565b6001600160a01b0390921660009081526002602052604090209190915550565b6001600160a01b038216600090815260066020526040902054818110156114645760405162461bcd60e51b815260206004820152602c60248201527f4469766964656e74547261636b65723a206275726e20616d6f756e742065786360448201526b656564732062616c616e636560a01b606482015260840161070a565b6001600160a01b038316600090815260066020526040902082820390556007805483900390556001546114be9061149f906104b29085610f96565b6001600160a01b03851660009081526002602052604090205490611017565b6001600160a01b039093166000908152600260205260409020929092555050565b6001600160a01b038116811461066757600080fd5b60006020828403121561150657600080fd5b8135610fa2816114df565b60006020828403121561152357600080fd5b5035919050565b801515811461066757600080fd5b6000806040838503121561154b57600080fd5b8235611556816114df565b915060208301356115668161152a565b809150509250929050565b6000806040838503121561158457600080fd5b823561158f816114df565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b6000826115d057634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156115e757600080fd5b5051919050565b60006020828403121561160057600080fd5b8151610fa2816114df565b600060001982141561161f5761161f61159d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156116565761165661159d565b500290565b600080821280156001600160ff1b038490038513161561167d5761167d61159d565b600160ff1b83900384128116156116965761169661159d565b50500190565b600082198211156116af576116af61159d565b500190565b6000828210156116c6576116c661159d565b500390565b60008083128015600160ff1b8501841216156116e9576116e961159d565b6001600160ff1b03840183138116156117045761170461159d565b50500390565b60006020828403121561171c57600080fd5b8151610fa28161152a56fea2646970667358221220be7f08158171c747e58270bef6260bbd1d6fbfd034c670c5d8aed92f5cddc70664736f6c63430008090033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72400000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000090c1b1025e16710f000000000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000d5b8270fd7ba4b9d7976a37d9ced1fb095c4b4c6000000000000000000000000f4f071eb637b64fc78c9ea87dace4445d119ca3500000000000000000000000000000000000000000000000000000000000000094d6f6f6e20526f636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d524f434b000000000000000000000000000000000000000000000000000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000090c1b1025e16710f000000000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000d5b8270fd7ba4b9d7976a37d9ced1fb095c4b4c6000000000000000000000000f4f071eb637b64fc78c9ea87dace4445d119ca3500000000000000000000000000000000000000000000000000000000000000094d6f6f6e20526f636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d524f434b000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Moon Rock
Arg [1] : symbol (string): MROCK
Arg [2] : initialBalance (uint256): 175000000000000000000000000
Arg [3] : usdc (address): 0xff970a61a04b1ca14834a43f5de4533ebddb5cc8
Arg [4] : router (address): 0xd5b8270fd7ba4b9d7976a37d9ced1fb095c4b4c6
Arg [5] : _pinkAntiBot (address): 0xf4f071eb637b64fc78c9ea87dace4445d119ca35
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 00000000000000000000000000000000000000000090c1b1025e16710f000000
Arg [3] : 000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8
Arg [4] : 000000000000000000000000d5b8270fd7ba4b9d7976a37d9ced1fb095c4b4c6
Arg [5] : 000000000000000000000000f4f071eb637b64fc78c9ea87dace4445d119ca35
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 4d6f6f6e20526f636b0000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 4d524f434b000000000000000000000000000000000000000000000000000000
Deployed ByteCode Sourcemap
187988:19264:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23549:204;;;;;;;;;;-1:-1:-1;23549:204:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;23549:204:0;;;;;;;;154152:96;;;;;;;;;;-1:-1:-1;154224:16:0;;-1:-1:-1;;;154224:16:0;;;;154152:96;;45035:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47386:201::-;;;;;;;;;;-1:-1:-1;47386:201:0;;;;;:::i;:::-;;:::i;189192:28::-;;;;;;;;;;;;;;;;;;;1850:25:1;;;1838:2;1823:18;189192:28:0;1704:177:1;188576:26:0;;;;;;;;;;;;;;;;46155:108;;;;;;;;;;-1:-1:-1;46243:12:0;;46155:108;;188462:31;;;;;;;;;;-1:-1:-1;188462:31:0;;;;-1:-1:-1;;;;;188462:31:0;;;;;;-1:-1:-1;;;;;2070:32:1;;;2052:51;;2040:2;2025:18;188462:31:0;1886:223:1;192797:101:0;;;;;;;;;;-1:-1:-1;192797:101:0;;;;;:::i;:::-;;:::i;:::-;;48167:261;;;;;;;;;;-1:-1:-1;48167:261:0;;;;;:::i;:::-;;:::i;188542:25::-;;;;;;;;;;-1:-1:-1;188542:25:0;;;;-1:-1:-1;;;188542:25:0;;;;;;25372:131;;;;;;;;;;-1:-1:-1;25372:131:0;;;;;:::i;:::-;25446:7;25473:12;;;:6;:12;;;;;:22;;;;25372:131;188675:38;;;;;;;;;;-1:-1:-1;188675:38:0;;;;;;;-1:-1:-1;;;;;188675:38:0;;;25813:147;;;;;;;;;;-1:-1:-1;25813:147:0;;;;;:::i;:::-;;:::i;196067:141::-;;;;;;;;;;;;;:::i;45997:93::-;;;;;;;;;;-1:-1:-1;45997:93:0;;46080:2;4005:36:1;;3993:2;3978:18;45997:93:0;3863:184:1;195244:130:0;;;;;;;;;;-1:-1:-1;195244:130:0;;;;;:::i;:::-;;:::i;75915:115::-;;;;;;;;;;;;;:::i;26957:218::-;;;;;;;;;;-1:-1:-1;26957:218:0;;;;;:::i;:::-;;:::i;48837:238::-;;;;;;;;;;-1:-1:-1;48837:238:0;;;;;:::i;:::-;;:::i;118630:268::-;;;;;;;;;;-1:-1:-1;118630:268:0;;;;;:::i;:::-;;:::i;188502:31::-;;;;;;;;;;-1:-1:-1;188502:31:0;;;;-1:-1:-1;;;;;188502:31:0;;;154560:103;;;;;;;;;;-1:-1:-1;154560:103:0;;;;;:::i;:::-;;:::i;76965:91::-;;;;;;;;;;-1:-1:-1;76965:91:0;;;;;:::i;:::-;;:::i;195125:111::-;;;;;;;;;;;;;:::i;195382:149::-;;;;;;;;;;-1:-1:-1;195382:149:0;;;;;:::i;:::-;;:::i;197787:126::-;;;;;;;;;;-1:-1:-1;197787:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;197877:28:0;197853:4;197877:28;;;:19;:28;;;;;;;;;197787:126;118004:128;;;;;;;;;;-1:-1:-1;118004:128:0;;;;;:::i;:::-;-1:-1:-1;;;;;118105:19:0;;;118078:7;118105:19;;;:10;:19;;;;;;;;118004:128;121516:114;;;;;;;;;;-1:-1:-1;121516:114:0;;;;;:::i;:::-;;:::i;117760:151::-;;;;;;;;;;-1:-1:-1;117760:151:0;;;;;:::i;:::-;;:::i;:::-;;;5209:10:1;5197:23;;;5179:42;;5167:2;5152:18;117760:151:0;5035:192:1;195539:271:0;;;;;;;;;;-1:-1:-1;195539:271:0;;;;;:::i;:::-;;:::i;46326:127::-;;;;;;;;;;-1:-1:-1;46326:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;46427:18:0;46400:7;46427:18;;;;;;;;;;;;46326:127;31103:103;;;;;;;;;;;;;:::i;77375:164::-;;;;;;;;;;-1:-1:-1;77375:164:0;;;;;:::i;:::-;;:::i;188347:34::-;;;;;;;;;;-1:-1:-1;188347:34:0;;;;-1:-1:-1;;;;;188347:34:0;;;154856:75;;;;;;;;;;;;;:::i;192906:124::-;;;;;;;;;;-1:-1:-1;192906:124:0;;;;;:::i;:::-;;:::i;75657:128::-;;;;;;;;;;-1:-1:-1;75657:128:0;;;;;:::i;:::-;;:::i;188390:63::-;;;;;;;;;;-1:-1:-1;188390:63:0;;;;-1:-1:-1;;;;;188390:63:0;;;188722:70;;;;;;;;;;-1:-1:-1;188722:70:0;;;;-1:-1:-1;;;;;188722:70:0;;;197373:406;;;;;;;;;;-1:-1:-1;197373:406:0;;;;;:::i;:::-;;:::i;193766:618::-;;;;;;;;;;-1:-1:-1;193766:618:0;;;;;:::i;:::-;;:::i;188204:29::-;;;;;;;;;;;;;;;188304:34;;;;;;;;;;-1:-1:-1;188304:34:0;;;;-1:-1:-1;;;;;188304:34:0;;;188888:50;;;;;;;;;;;;;;;;30455:87;;;;;;;;;;-1:-1:-1;30528:6:0;;-1:-1:-1;;;;;30528:6:0;30455:87;;119187:259;;;;;;;;;;-1:-1:-1;119187:259:0;;;;;:::i;:::-;;:::i;23845:147::-;;;;;;;;;;-1:-1:-1;23845:147:0;;;;;:::i;:::-;;:::i;45254:104::-;;;;;;;;;;;;;:::i;189053:32::-;;;;;;;;;;;;;;;;193038:151;;;;;;;;;;-1:-1:-1;193038:151:0;;;;;:::i;:::-;;:::i;196216:566::-;;;;;;;;;;-1:-1:-1;196216:566:0;;;;;:::i;:::-;;:::i;193449:309::-;;;;;;;;;;-1:-1:-1;193449:309:0;;;;;:::i;:::-;;:::i;118216:212::-;;;;;;;;;;-1:-1:-1;118216:212:0;;;;;:::i;:::-;;:::i;189309:40::-;;;;;;;;;;;;;;;;194795:322;;;;;;;;;;-1:-1:-1;194795:322:0;;;;;:::i;:::-;;:::i;22950:49::-;;;;;;;;;;-1:-1:-1;22950:49:0;22995:4;22950:49;;195950:109;;;;;;;;;;;;;:::i;49578:436::-;;;;;;;;;;-1:-1:-1;49578:436:0;;;;;:::i;:::-;;:::i;46659:193::-;;;;;;;;;;-1:-1:-1;46659:193:0;;;;;:::i;:::-;;:::i;197921:556::-;;;;;;;;;;-1:-1:-1;197921:556:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6482:32:1;;;6464:51;;6546:2;6531:18;;6524:34;;;;6574:18;;;6567:34;;;;6632:2;6617:18;;6610:34;;;;6675:3;6660:19;;6653:35;;;;6502:3;6704:19;;6697:35;6763:3;6748:19;;6741:35;6807:3;6792:19;;6785:35;6851:3;6836:19;;6829:35;6451:3;6436:19;197921:556:0;6097:773:1;193197:125:0;;;;;;;;;;-1:-1:-1;193197:125:0;;;;;:::i;:::-;;:::i;189621:57::-;;;;;;;;;;-1:-1:-1;189621:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;188611:25;;;;;;;;;;-1:-1:-1;188611:25:0;;;;;;;;196790:262;;;;;;;;;;-1:-1:-1;196790:262:0;;;;;:::i;:::-;;:::i;121712:591::-;;;;;;;;;;-1:-1:-1;121712:591:0;;;;;:::i;:::-;;:::i;197060:305::-;;;;;;;;;;-1:-1:-1;197060:305:0;;;;;:::i;:::-;;:::i;194392:395::-;;;;;;;;;;-1:-1:-1;194392:395:0;;;;;:::i;:::-;;:::i;188242:53::-;;;;;;;;;;-1:-1:-1;188242:53:0;;;;-1:-1:-1;;;;;188242:53:0;;;74946:645;;;;;;;;;;-1:-1:-1;74946:645:0;;;;;:::i;:::-;;:::i;188133:62::-;;;;;;;;;;;;188171:24;188133:62;;26253:149;;;;;;;;;;-1:-1:-1;26253:149:0;;;;;:::i;:::-;;:::i;46915:151::-;;;;;;;;;;-1:-1:-1;46915:151:0;;;;;:::i;:::-;;:::i;189119:34::-;;;;;;;;;;;;;;;;188801:55;;;;;;;;;;;;;;;;195818:124;;;;;;;;;;-1:-1:-1;195818:124:0;;;;;:::i;:::-;;:::i;193330:111::-;;;;;;;;;;-1:-1:-1;193330:111:0;;;;;:::i;:::-;;:::i;192407:382::-;;;;;;;;;;-1:-1:-1;192407:382:0;;;;;:::i;:::-;;:::i;117530:150::-;;;;;;;;;;-1:-1:-1;117530:150:0;;;;;:::i;:::-;;:::i;:::-;;;;11346:13:1;;11361:10;11342:30;11324:49;;11433:4;11421:17;;;11415:24;-1:-1:-1;;;;;11411:50:1;11389:20;;;11382:80;;;;11297:18;117530:150:0;11122:346:1;198485:250:0;;;;;;;;;;-1:-1:-1;198485:250:0;;;;;:::i;:::-;;:::i;31361:201::-;;;;;;;;;;-1:-1:-1;31361:201:0;;;;;:::i;:::-;;:::i;188974:35::-;;;;;;;;;;;;;;;;23549:204;23634:4;-1:-1:-1;;;;;;23658:47:0;;-1:-1:-1;;;23658:47:0;;:87;;-1:-1:-1;;;;;;;;;;5765:40:0;;;23709:36;23651:94;23549:204;-1:-1:-1;;23549:204:0:o;45035:100::-;45089:13;45122:5;45115:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45035:100;:::o;47386:201::-;47469:4;3734:10;47525:32;3734:10;47541:7;47550:6;47525:8;:32::i;:::-;-1:-1:-1;47575:4:0;;47386:201;-1:-1:-1;;;47386:201:0:o;192797:101::-;30341:13;:11;:13::i;:::-;192867::::1;:23:::0;;;::::1;;-1:-1:-1::0;;;192867:23:0::1;-1:-1:-1::0;;;;192867:23:0;;::::1;::::0;;;::::1;::::0;;192797:101::o;48167:261::-;48264:4;3734:10;48322:38;48338:4;3734:10;48353:6;48322:15;:38::i;:::-;48371:27;48381:4;48387:2;48391:6;48371:9;:27::i;:::-;-1:-1:-1;48416:4:0;;48167:261;-1:-1:-1;;;;48167:261:0:o;25813:147::-;25446:7;25473:12;;;:6;:12;;;;;:22;;;23441:16;23452:4;23441:10;:16::i;:::-;25927:25:::1;25938:4;25944:7;25927:10;:25::i;:::-;25813:147:::0;;;:::o;196067:141::-;196130:7;196157:15;;;;;;;;;-1:-1:-1;;;;;196157:15:0;-1:-1:-1;;;;;196157:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;196150:50;;196067:141;:::o;195244:130::-;30341:13;:11;:13::i;:::-;195321:15:::1;::::0;:45:::1;::::0;-1:-1:-1;;;195321:45:0;;-1:-1:-1;;;;;2070:32:1;;;195321:45:0::1;::::0;::::1;2052:51:1::0;195321:15:0;;;::::1;::::0;;::::1;::::0;:36:::1;::::0;2025:18:1;;195321:45:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;195244:130:::0;:::o;75915:115::-;75975:7;76002:20;:18;:20::i;26957:218::-;-1:-1:-1;;;;;27053:23:0;;3734:10;27053:23;27045:83;;;;-1:-1:-1;;;27045:83:0;;12249:2:1;27045:83:0;;;12231:21:1;12288:2;12268:18;;;12261:30;12327:34;12307:18;;;12300:62;-1:-1:-1;;;12378:18:1;;;12371:45;12433:19;;27045:83:0;;;;;;;;;27141:26;27153:4;27159:7;27141:11;:26::i;:::-;26957:218;;:::o;48837:238::-;48925:4;3734:10;48981:64;3734:10;48997:7;49034:10;49006:25;3734:10;48997:7;49006:9;:25::i;:::-;:38;;;;:::i;:::-;48981:8;:64::i;118630:268::-;118728:7;118770:12;118756:11;:26;118748:70;;;;-1:-1:-1;;;118748:70:0;;12930:2:1;118748:70:0;;;12912:21:1;12969:2;12949:18;;;12942:30;13008:33;12988:18;;;12981:61;13059:18;;118748:70:0;12728:355:1;118748:70:0;-1:-1:-1;;;;;118855:21:0;;;;;;:12;:21;;;;;118836:54;;118878:11;118836:18;:54::i;:::-;118829:61;118630:268;-1:-1:-1;;;118630:268:0:o;154560:103::-;154004:16;;-1:-1:-1;;;154004:16:0;;;;154003:17;153995:64;;;;-1:-1:-1;;;153995:64:0;;;;;;;:::i;:::-;154633:22:::1;154639:7;154648:6;154633:5;:22::i;76965:91::-:0;77021:27;3734:10;77041:6;77021:5;:27::i;:::-;76965:91;:::o;195125:111::-;195170:15;;:58;;-1:-1:-1;;;195170:58:0;;195209:10;195170:58;;;13675:51:1;195222:5:0;13742:18:1;;;13735:50;195170:15:0;;;;-1:-1:-1;;;;;195170:15:0;;:30;;13648:18:1;;195170:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;195382:149::-;195477:15;;:46;;-1:-1:-1;;;195477:46:0;;-1:-1:-1;;;;;2070:32:1;;;195477:46:0;;;2052:51:1;195453:4:0;;195477:15;;;;;:37;;2025:18:1;;195477:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;121516:114::-;121588:34;3734:10;121612:9;121588;:34::i;117760:151::-;-1:-1:-1;;;;;117874:21:0;;117830:6;117874:21;;;:12;:21;;;;;:28;117856:47;;:17;:47::i;195539:271::-;195671:15;;:28;;-1:-1:-1;;;;;;195671:28:0;;;;;1850:25:1;;;195605:18:0;;;;;;195671:15;;;-1:-1:-1;;;;;195671:15:0;;:23;;1823:18:1;;195671:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;195715:87;;;14588:25:1;;;14644:2;14629:18;;14622:34;;;14672:18;;;14665:34;;;14730:2;14715:18;;14708:34;;;195604:95:0;;-1:-1:-1;195604:95:0;;-1:-1:-1;195604:95:0;-1:-1:-1;195792:9:0;;195780:5;;195715:87;;14575:3:1;14560:19;195715:87:0;;;;;;;195593:217;;;195539:271;:::o;31103:103::-;30341:13;:11;:13::i;:::-;31168:30:::1;31195:1;31168:18;:30::i;:::-;31103:103::o:0;77375:164::-;77452:46;77468:7;3734:10;77491:6;77452:15;:46::i;:::-;77509:22;77515:7;77524:6;77509:5;:22::i;154856:75::-;154004:16;;-1:-1:-1;;;154004:16:0;;;;154003:17;153995:64;;;;-1:-1:-1;;;153995:64:0;;;;;;;:::i;:::-;154907:16:::1;:14;:16::i;192906:124::-:0;30341:13;:11;:13::i;:::-;192982:11:::1;:40:::0;;-1:-1:-1;;;;;;192982:40:0::1;-1:-1:-1::0;;;;;192982:40:0;;;::::1;::::0;;;::::1;::::0;;192906:124::o;75657:128::-;-1:-1:-1;;;;;75753:14:0;;75726:7;75753:14;;;:7;:14;;;;;59356;75753:24;59264:114;197373:406;30341:13;:11;:13::i;:::-;197485:6:::1;197473:8;:18;;:40;;;;;197507:6;197495:8;:18;;197473:40;197451:149;;;::::0;-1:-1:-1;;;197451:149:0;;14955:2:1;197451:149:0::1;::::0;::::1;14937:21:1::0;14994:2;14974:18;;;14967:30;15033:34;15013:18;;;15006:62;15104:29;15084:18;;;15077:57;15151:19;;197451:149:0::1;14753:423:1::0;197451:149:0::1;197631:16;;197619:8;:28;;197611:55;;;;-1:-1:-1::0;;;197611:55:0::1;;;;;;;:::i;:::-;197716:16;::::0;197682:51:::1;::::0;197706:8;;197682:51:::1;::::0;;;::::1;197744:16;:27:::0;197373:406::o;193766:618::-;30341:13;:11;:13::i;:::-;193877:15:::1;::::0;-1:-1:-1;;;;;193855:38:0;;::::1;193877:15:::0;;;::::1;;193855:38;;193847:65;;;;-1:-1:-1::0;;;193847:65:0::1;;;;;;;:::i;:::-;193925:34;193986:10;193925:73;;194057:4;-1:-1:-1::0;;;;;194019:43:0::1;:18;-1:-1:-1::0;;;;;194019:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;194019:43:0::1;;194011:74;;;::::0;-1:-1:-1;;;194011:74:0;;15982:2:1;194011:74:0::1;::::0;::::1;15964:21:1::0;16021:2;16001:18;;;15994:30;-1:-1:-1;;;16040:18:1;;;16033:48;16098:18;;194011:74:0::1;15780:342:1::0;194011:74:0::1;194098:52;194131:18;194098:32;:52::i;:::-;194167:5;::::0;::::1;;194163:88;;;194189:50;194220:18;194189:30;:50::i;:::-;194310:15;::::0;194268:59:::1;::::0;-1:-1:-1;;;;;194310:15:0;;;::::1;::::0;::::1;::::0;194268:59;::::1;::::0;::::1;::::0;;;::::1;194340:15;:36:::0;;-1:-1:-1;;;;;194340:36:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;194340:36:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;193766:618:0:o;119187:259::-;119274:7;119316:12;119302:11;:26;119294:70;;;;-1:-1:-1;;;119294:70:0;;12930:2:1;119294:70:0;;;12912:21:1;12969:2;12949:18;;;12942:30;13008:33;12988:18;;;12981:61;13059:18;;119294:70:0;12728:355:1;119294:70:0;119382:56;119401:23;119426:11;119382:18;:56::i;23845:147::-;23931:4;23955:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;23955:29:0;;;;;;;;;;;;;;;23845:147::o;45254:104::-;45310:13;45343:7;45336:14;;;;;:::i;193038:151::-;30341:13;:11;:13::i;:::-;193121:2:::1;193112:5;:11;;193104:49;;;::::0;-1:-1:-1;;;193104:49:0;;16329:2:1;193104:49:0::1;::::0;::::1;16311:21:1::0;16368:2;16348:18;;;16341:30;16407:27;16387:18;;;16380:55;16452:18;;193104:49:0::1;16127:349:1::0;193104:49:0::1;193164:9;:17:::0;193038:151::o;196216:566::-;30341:13;:11;:13::i;:::-;196331:21:::1;::::0;-1:-1:-1;;;;;196309:44:0;;::::1;196331:21:::0;::::1;196309:44;;196301:71;;;;-1:-1:-1::0;;;196301:71:0::1;;;;;;;:::i;:::-;196436:21;::::0;196388:71:::1;::::0;-1:-1:-1;;;;;196436:21:0;;::::1;::::0;196388:71;::::1;::::0;::::1;::::0;196436:21:::1;::::0;196388:71:::1;196470:21;:60:::0;;-1:-1:-1;;;;;;196470:60:0::1;-1:-1:-1::0;;;;;196470:60:0;::::1;::::0;;::::1;::::0;;;196596:31:::1;::::0;;-1:-1:-1;;;196596:31:0;;;;-1:-1:-1;;196470:60:0;196596:29:::1;::::0;:31:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;196470:60;196596:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;196572:67:0::1;;196662:4;196682:21;;;;;;;;;-1:-1:-1::0;;;;;196682:21:0::1;-1:-1:-1::0;;;;;196682:26:0::1;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;196572:149;::::0;-1:-1:-1;;;;;;196572:149:0::1;::::0;;;;;;-1:-1:-1;;;;;16711:15:1;;;196572:149:0::1;::::0;::::1;16693:34:1::0;16763:15;;16743:18;;;16736:43;16628:18;;196572:149:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;196732:19;:42:::0;;-1:-1:-1;;;;;;196732:42:0::1;-1:-1:-1::0;;;;;196732:42:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;196216:566:0:o;193449:309::-;30341:13;:11;:13::i;:::-;193572:19:::1;::::0;-1:-1:-1;;;;;193564:27:0;;::::1;193572:19:::0;::::1;193564:27;;193542:154;;;::::0;-1:-1:-1;;;193542:154:0;;16992:2:1;193542:154:0::1;::::0;::::1;16974:21:1::0;17031:2;17011:18;;;17004:30;17070:34;17050:18;;;17043:62;17141:34;17121:18;;;17114:62;-1:-1:-1;;;17192:19:1;;;17185:44;17246:19;;193542:154:0::1;16790:481:1::0;193542:154:0::1;193709:41;193738:4;193744:5;193709:28;:41::i;118216:212::-:0;-1:-1:-1;;;;;118323:21:0;;118289:7;118323:21;;;:12;:21;;;;;:28;118369:8;;:51;;-1:-1:-1;;;;;118384:21:0;;;;;;:12;:21;;;;;118406:7;118412:1;118406:3;:7;:::i;:::-;118384:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;118384:36:0;118369:51;;;118380:1;118369:51;-1:-1:-1;;;;;118362:58:0;;118216:212;-1:-1:-1;;;118216:212:0:o;194795:322::-;30341:13;:11;:13::i;:::-;194885:9:::1;::::0;-1:-1:-1;;;;;194885:9:0::1;194877:32:::0;;::::1;::::0;:104:::1;;-1:-1:-1::0;194938:28:0::1;::::0;-1:-1:-1;;;;;194938:28:0::1;194930:51:::0;::::1;194877:104;:160;;;;-1:-1:-1::0;195010:12:0::1;::::0;-1:-1:-1;;;;;195010:12:0::1;195002:35:::0;::::1;194877:160;194855:230;;;::::0;-1:-1:-1;;;194855:230:0;;17740:2:1;194855:230:0::1;::::0;::::1;17722:21:1::0;17779:2;17759:18;;;17752:30;-1:-1:-1;;;17798:18:1;;;17791:50;17858:18;;194855:230:0::1;17538:344:1::0;194855:230:0::1;195096:5;:13:::0;;-1:-1:-1;;195096:13:0::1;::::0;::::1;;::::0;;;::::1;::::0;;194795:322::o;195950:109::-;195997:7;196024:15;;;;;;;;;-1:-1:-1;;;;;196024:15:0;-1:-1:-1;;;;;196024:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49578:436;49671:4;3734:10;49671:4;49754:25;3734:10;49771:7;49754:9;:25::i;:::-;49727:52;;49818:15;49798:16;:35;;49790:85;;;;-1:-1:-1;;;49790:85:0;;18089:2:1;49790:85:0;;;18071:21:1;18128:2;18108:18;;;18101:30;18167:34;18147:18;;;18140:62;-1:-1:-1;;;18218:18:1;;;18211:35;18263:19;;49790:85:0;17887:401:1;49790:85:0;49911:60;49920:5;49927:7;49955:15;49936:16;:34;49911:8;:60::i;46659:193::-;46738:4;3734:10;46794:28;3734:10;46811:2;46815:6;46794:9;:28::i;197921:556::-;198420:15;;:49;;-1:-1:-1;;;198420:49:0;;-1:-1:-1;;;;;2070:32:1;;;198420:49:0;;;2052:51:1;-1:-1:-1;;;;;;;;;;;;;;;;;;198420:15:0;;;;;;;;:39;;2025:18:1;;198420:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;198413:56;;;;;;;;;;;;;;;;;;197921:556;;;;;;;;;;;:::o;193197:125::-;30341:13;:11;:13::i;:::-;193295:19:::1;:6:::0;193305:8:::1;193295:19;:::i;:::-;193274:18;:40:::0;-1:-1:-1;193197:125:0:o;196790:262::-;30341:13;:11;:13::i;:::-;-1:-1:-1;;;;;196883:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;::::1;;:40;;::::0;::::1;;;;196875:67;;;;-1:-1:-1::0;;;196875:67:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;196953:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;196953:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;197010:34;;445:41:1;;;197010:34:0::1;::::0;418:18:1;197010:34:0::1;;;;;;;196790:262:::0;;:::o;121712:591::-;121939:6;121920:15;:25;;121912:67;;;;-1:-1:-1;;;121912:67:0;;19416:2:1;121912:67:0;;;19398:21:1;19455:2;19435:18;;;19428:30;19494:31;19474:18;;;19467:59;19543:18;;121912:67:0;19214:353:1;121912:67:0;122062:58;;;117210:71;122062:58;;;19803:25:1;-1:-1:-1;;;;;19864:32:1;;19844:18;;;19837:60;;;;19913:18;;;19906:34;;;19956:18;;;19949:34;;;121990:14:0;;122007:174;;122035:87;;19775:19:1;;122062:58:0;;;;;;;;;;;;122052:69;;;;;;122035:16;:87::i;:::-;122137:1;122153;122169;122007:13;:174::i;:::-;121990:191;;122209:17;122219:6;122209:9;:17::i;:::-;122200:5;:26;122192:64;;;;-1:-1:-1;;;122192:64:0;;20196:2:1;122192:64:0;;;20178:21:1;20235:2;20215:18;;;20208:30;20274:27;20254:18;;;20247:55;20319:18;;122192:64:0;19994:349:1;122192:64:0;122267:28;122277:6;122285:9;122267;:28::i;:::-;121901:402;121712:591;;;;;;:::o;197060:305::-;30341:13;:11;:13::i;:::-;197178:9:::1;197173:116;197193:19:::0;;::::1;197173:116;;;197269:8;197234:19;:32;197254:8;;197263:1;197254:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;197234:32:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;197234:32:0;:43;;-1:-1:-1;;197234:43:0::1;::::0;::::1;;::::0;;;::::1;::::0;;197214:3;::::1;::::0;::::1;:::i;:::-;;;;197173:116;;;;197306:51;197338:8;;197348;197306:51;;;;;;;;:::i;:::-;;;;;;;;197060:305:::0;;;:::o;194392:395::-;30341:13;:11;:13::i;:::-;194587:9:::1;:22:::0;;-1:-1:-1;;;;;194587:22:0;;::::1;-1:-1:-1::0;;;;;;194587:22:0;;::::1;;::::0;;;194620:28:::1;:60:::0;;;;::::1;::::0;;::::1;;::::0;;194691:12:::1;:28:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;194763:15:::1;::::0;194732:47:::1;::::0;194763:15;;;::::1;;194732:30;:47::i;74946:645::-:0;75190:8;75171:15;:27;;75163:69;;;;-1:-1:-1;;;75163:69:0;;21489:2:1;75163:69:0;;;21471:21:1;21528:2;21508:18;;;21501:30;21567:31;21547:18;;;21540:59;21616:18;;75163:69:0;21287:353:1;75163:69:0;75245:18;74121:95;75305:5;75312:7;75321:5;75328:16;75338:5;75328:9;:16::i;:::-;75276:79;;;;;;21932:25:1;;;;-1:-1:-1;;;;;22031:15:1;;;22011:18;;;22004:43;22083:15;;;;22063:18;;;22056:43;22115:18;;;22108:34;22158:19;;;22151:35;22202:19;;;22195:35;;;21904:19;;75276:79:0;;;;;;;;;;;;75266:90;;;;;;75245:111;;75369:12;75384:28;75401:10;75384:16;:28::i;:::-;75369:43;;75425:14;75442:28;75456:4;75462:1;75465;75468;75442:13;:28::i;:::-;75425:45;;75499:5;-1:-1:-1;;;;;75489:15:0;:6;-1:-1:-1;;;;;75489:15:0;;75481:58;;;;-1:-1:-1;;;75481:58:0;;22443:2:1;75481:58:0;;;22425:21:1;22482:2;22462:18;;;22455:30;22521:32;22501:18;;;22494:60;22571:18;;75481:58:0;22241:354:1;75481:58:0;75552:31;75561:5;75568:7;75577:5;75552:8;:31::i;:::-;75152:439;;;74946:645;;;;;;;:::o;26253:149::-;25446:7;25473:12;;;:6;:12;;;;;:22;;;23441:16;23452:4;23441:10;:16::i;:::-;26368:26:::1;26380:4;26386:7;26368:11;:26::i;46915:151::-:0;-1:-1:-1;;;;;47031:18:0;;;47004:7;47031:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;46915:151::o;195818:124::-;30341:13;:11;:13::i;:::-;195892:15:::1;::::0;:42:::1;::::0;-1:-1:-1;;;195892:42:0;;::::1;::::0;::::1;1850:25:1::0;;;195892:15:0;;;::::1;-1:-1:-1::0;;;;;195892:15:0::1;::::0;:31:::1;::::0;1823:18:1;;195892:42:0::1;1704:177:1::0;193330:111:0;30341:13;:11;:13::i;:::-;193414:19:::1;:6:::0;193424:8:::1;193414:19;:::i;:::-;193400:11;:33:::0;-1:-1:-1;193330:111:0:o;192407:382::-;30341:13;:11;:13::i;:::-;192612:15;192580:29:::1;192596:13:::0;192580;:29:::1;:::i;:::-;:47;;;;:::i;:::-;192631:3;192580:54;192572:85;;;::::0;-1:-1:-1;;;192572:85:0;;22802:2:1;192572:85:0::1;::::0;::::1;22784:21:1::0;22841:2;22821:18;;;22814:30;-1:-1:-1;;;22860:18:1;;;22853:48;22918:18;;192572:85:0::1;22600:342:1::0;192572:85:0::1;192668:15;:31:::0;;;;192710:12:::1;:28:::0;192749:14:::1;:32:::0;192407:382::o;117530:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;117646:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;117639:33;;;;;;;;;117646:26;;117639:33;;;;;;;;;-1:-1:-1;;;;;117639:33:0;;;;;;;;;117530:150;-1:-1:-1;;;117530:150:0:o;198485:250::-;198577:7;198586:6;198594;198602:7;198611;198620;198629;198638;198647;198674:15;;;;;;;;;-1:-1:-1;;;;;198674:15:0;-1:-1:-1;;;;;198674:46:0;;198721:5;198674:53;;;;;;;;;;;;;1850:25:1;;1838:2;1823:18;;1704:177;31361:201:0;30341:13;:11;:13::i;:::-;-1:-1:-1;;;;;31450:22:0;::::1;31442:73;;;::::0;-1:-1:-1;;;31442:73:0;;23149:2:1;31442:73:0::1;::::0;::::1;23131:21:1::0;23188:2;23168:18;;;23161:30;23227:34;23207:18;;;23200:62;-1:-1:-1;;;23278:18:1;;;23271:36;23324:19;;31442:73:0::1;22947:402:1::0;31442:73:0::1;31526:28;31545:8;31526:18;:28::i;122609:290::-:0;122694:28;122706:7;122715:6;122694:11;:28::i;:::-;46243:12;;-1:-1:-1;;;;;;122741:29:0;122733:90;;;;-1:-1:-1;;;122733:90:0;;23556:2:1;122733:90:0;;;23538:21:1;23595:2;23575:18;;;23568:30;23634:34;23614:18;;;23607:62;-1:-1:-1;;;23685:18:1;;;23678:46;23741:19;;122733:90:0;23354:412:1;122733:90:0;122836:55;122853:23;122878:4;122884:6;122836:16;:55::i;:::-;;;122609:290;;:::o;51577:548::-;-1:-1:-1;;;;;51661:21:0;;51653:65;;;;-1:-1:-1;;;51653:65:0;;23973:2:1;51653:65:0;;;23955:21:1;24012:2;23992:18;;;23985:30;24051:33;24031:18;;;24024:61;24102:18;;51653:65:0;23771:355:1;51653:65:0;51809:6;51793:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;51964:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;52019:37;1850:25:1;;;52019:37:0;;1823:18:1;52019:37:0;;;;;;;52069:48;52097:1;52101:7;52110:6;52069:19;:48::i;125494:98::-;125552:7;125579:5;125583:1;125579;:5;:::i;82603:195::-;82660:7;-1:-1:-1;;;;;82688:26:0;;;82680:78;;;;-1:-1:-1;;;82680:78:0;;24333:2:1;82680:78:0;;;24315:21:1;24372:2;24352:18;;;24345:30;24411:34;24391:18;;;24384:62;-1:-1:-1;;;24462:18:1;;;24455:37;24509:19;;82680:78:0;24131:403:1;82680:78:0;-1:-1:-1;82784:5:0;82603:195::o;95439:190::-;95495:6;95531:16;95522:25;;;95514:76;;;;-1:-1:-1;;;95514:76:0;;24741:2:1;95514:76:0;;;24723:21:1;24780:2;24760:18;;;24753:30;24819:34;24799:18;;;24792:62;-1:-1:-1;;;24870:18:1;;;24863:36;24916:19;;95514:76:0;24539:402:1;123334:228:0;-1:-1:-1;;;;;118105:19:0;;;118078:7;118105:19;;;:10;:19;;;;;;;;;;;;;;;123498:56;;118105:19;;;;;123547:6;123498:16;:56::i;125600:103::-;125663:7;125690:5;125694:1;125690;:5;:::i;53571:346::-;-1:-1:-1;;;;;53673:19:0;;53665:68;;;;-1:-1:-1;;;53665:68:0;;25148:2:1;53665:68:0;;;25130:21:1;25187:2;25167:18;;;25160:30;25226:34;25206:18;;;25199:62;-1:-1:-1;;;25277:18:1;;;25270:34;25321:19;;53665:68:0;24946:400:1;53665:68:0;-1:-1:-1;;;;;53752:21:0;;53744:68;;;;-1:-1:-1;;;53744:68:0;;25553:2:1;53744:68:0;;;25535:21:1;25592:2;25572:18;;;25565:30;25631:34;25611:18;;;25604:62;-1:-1:-1;;;25682:18:1;;;25675:32;25724:19;;53744:68:0;25351:398:1;53744:68:0;-1:-1:-1;;;;;53825:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;53877:32;;1850:25:1;;;53877:32:0;;1823:18:1;53877:32:0;;;;;;;53571:346;;;:::o;30620:132::-;30528:6;;-1:-1:-1;;;;;30528:6:0;3734:10;30684:23;30676:68;;;;-1:-1:-1;;;30676:68:0;;25956:2:1;30676:68:0;;;25938:21:1;;;25975:18;;;25968:30;26034:34;26014:18;;;26007:62;26086:18;;30676:68:0;25754:356:1;54208:419:0;54309:24;54336:25;54346:5;54353:7;54336:9;:25::i;:::-;54309:52;;-1:-1:-1;;54376:16:0;:37;54372:248;;54458:6;54438:16;:26;;54430:68;;;;-1:-1:-1;;;54430:68:0;;26317:2:1;54430:68:0;;;26299:21:1;26356:2;26336:18;;;26329:30;26395:31;26375:18;;;26368:59;26444:18;;54430:68:0;26115:353:1;54430:68:0;54542:51;54551:5;54558:7;54586:6;54567:16;:25;54542:8;:51::i;199857:2483::-;-1:-1:-1;;;;;199962:18:0;;199954:68;;;;-1:-1:-1;;;199954:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;200041:16:0;;200033:64;;;;-1:-1:-1;;;200033:64:0;;;;;;;:::i;:::-;200114:13;;-1:-1:-1;;;200114:13:0;;;;200110:94;;;200144:11;;:48;;-1:-1:-1;;;200144:48:0;;-1:-1:-1;;;;;27541:15:1;;;200144:48:0;;;27523:34:1;27593:15;;;27573:18;;;27566:43;27625:18;;;27618:34;;;200144:11:0;;;;:30;;27458:18:1;;200144:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;200110:94;200220:11;200216:93;;200248:28;200264:4;200270:2;200274:1;200248:15;:28::i;200216:93::-;-1:-1:-1;;;;;200326:23:0;;;;;;:19;:23;;;;;;;;200325:24;:54;;;;-1:-1:-1;;;;;;200354:25:0;;;;;;:19;:25;;;;;;;;200353:26;200325:54;200321:152;;;200414:11;;200404:6;:21;;200396:65;;;;-1:-1:-1;;;200396:65:0;;27865:2:1;200396:65:0;;;27847:21:1;27904:2;27884:18;;;27877:30;27943:33;27923:18;;;27916:61;27994:18;;200396:65:0;27663:355:1;200396:65:0;200534:4;200485:28;46427:18;;;;;;;;;;;200590;;200566:42;;;;;;;200625:20;;-1:-1:-1;200637:8:0;;;;;;;200636:9;200625:20;:56;;;;-1:-1:-1;;;;;;200650:31:0;;;;;;:25;:31;;;;;;;;200649:32;200625:56;:75;;;;-1:-1:-1;30528:6:0;;-1:-1:-1;;;;;200685:15:0;;;30528:6;;200685:15;;200625:75;:92;;;;-1:-1:-1;30528:6:0;;-1:-1:-1;;;;;200704:13:0;;;30528:6;;200704:13;;200625:92;200621:584;;;200734:8;:15;;-1:-1:-1;;200734:15:0;;;;;200840;;200794:72;;200808:4;;200815:50;;200861:3;;200815:41;;:20;;:24;:41::i;:::-;:45;;:50::i;:::-;200794:5;:72::i;:::-;200913:18;200934:47;200977:3;200934:38;200959:12;;200934:20;:24;;:38;;;;:::i;:47::-;200913:68;;200996:26;201011:10;200996:14;:26::i;:::-;201107:4;201068:18;46427;;;;;;;;;;;201128:32;46427:18;201128:20;:32::i;:::-;-1:-1:-1;;201177:8:0;:16;;-1:-1:-1;;201177:16:0;;;200621:584;201233:8;;-1:-1:-1;;;;;201343:25:0;;201217:12;201343:25;;;:19;:25;;;;;;201233:8;;;;;;;201232:9;;201343:25;;:52;;-1:-1:-1;;;;;;201372:23:0;;;;;;:19;:23;;;;;;;;201343:52;201339:100;;;-1:-1:-1;201422:5:0;201339:100;201455:7;201451:359;;;201479:12;201494:30;201520:3;201494:21;201505:9;;201494:6;:10;;:21;;;;:::i;:30::-;-1:-1:-1;;;;;201604:29:0;;;;;;:25;:29;;;;;;201479:45;;-1:-1:-1;201604:29:0;;201600:100;;;201662:22;201680:3;201662:13;:6;201673:1;201662:10;:13::i;:22::-;201654:30;;;;:::i;:::-;;;201600:100;201723:16;:6;201734:4;201723:10;:16::i;:::-;201714:25;;201756:42;201772:4;201786;201793;201756:15;:42::i;:::-;201464:346;201451:359;201822:33;201838:4;201844:2;201848:6;201822:15;:33::i;:::-;201868:15;;-1:-1:-1;;;;;201868:15:0;;;;;:26;201903:4;201910:15;201903:4;-1:-1:-1;;;;;46427:18:0;46400:7;46427:18;;;;;;;;;;;;46326:127;201910:15;201868:58;;-1:-1:-1;;;;;;201868:58:0;;;;;;;-1:-1:-1;;;;;28223:32:1;;;201868:58:0;;;28205:51:1;28272:18;;;28265:34;28178:18;;201868:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;201937:15:0;;-1:-1:-1;;;;;201937:15:0;;;;;;-1:-1:-1;201937:26:0;;-1:-1:-1;201972:2:0;201977:13;201972:2;-1:-1:-1;;;;;46427:18:0;46400:7;46427:18;;;;;;;;;;;;46326:127;201977:13;201937:54;;-1:-1:-1;;;;;;201937:54:0;;;;;;;-1:-1:-1;;;;;28223:32:1;;;201937:54:0;;;28205:51:1;28272:18;;;28265:34;28178:18;;201937:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;202009:8:0;;;;;;;;-1:-1:-1;202004:329:0;;-1:-1:-1;202004:329:0;202048:16;;202085:15;;:28;;-1:-1:-1;;;;;;202085:28:0;;;;;1850:25:1;;;202085:15:0;;;;-1:-1:-1;;;;;202085:15:0;;:23;;1823:18:1;;202085:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;202085:28:0;;;;;;;;-1:-1:-1;;202085:28:0;;;;;;;;;;;;:::i;:::-;;;202081:241;;;;;202211:86;;;14588:25:1;;;14644:2;14629:18;;14622:34;;;14672:18;;;14665:34;;;14730:2;14715:18;;14708:34;;;202287:9:0;;202276:4;;202211:86;;14575:3:1;14560:19;202211:86:0;;;;;;;202114:199;;;202019:314;202004:329;199943:2397;;;199857:2483;;;:::o;24296:105::-;24363:30;24374:4;3734:10;24363;:30::i;28554:238::-;28638:22;28646:4;28652:7;28638;:22::i;:::-;28633:152;;28677:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28677:29:0;;;;;;;;;:36;;-1:-1:-1;;28677:36:0;28709:4;28677:36;;;28760:12;3734:10;;3654:98;28760:12;-1:-1:-1;;;;;28733:40:0;28751:7;-1:-1:-1;;;;;28733:40:0;28745:4;28733:40;;;;;;;;;;28554:238;;:::o;71701:314::-;71754:7;71786:4;-1:-1:-1;;;;;71795:12:0;71778:29;;:66;;;;;71828:16;71811:13;:33;71778:66;71774:234;;;-1:-1:-1;71868:24:0;;71701:314::o;71774:234::-;-1:-1:-1;72204:73:0;;;71954:10;72204:73;;;;32226:25:1;;;;71966:12:0;32267:18:1;;;32260:34;71980:15:0;32310:18:1;;;32303:34;72248:13:0;32353:18:1;;;32346:34;72271:4:0;32396:19:1;;;;32389:61;;;;72204:73:0;;;;;;;;;;32198:19:1;;;;72204:73:0;;;72194:84;;;;;;196067:141::o;28972:239::-;29056:22;29064:4;29070:7;29056;:22::i;:::-;29052:152;;;29127:5;29095:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29095:29:0;;;;;;;;;;:37;;-1:-1:-1;;29095:37:0;;;29152:40;3734:10;;29095:12;;29152:40;;29127:5;29152:40;28972:239;;:::o;119535:1895::-;120752:12;;119634:7;;;120752:12;120850:1;120841:10;;120837:251;;;120868:11;120891:17;120901:6;120891:9;:17::i;:::-;120882:26;;:6;:26;:::i;:::-;125937:25;125999:21;;;126066:4;126053:18;;120868:40;;-1:-1:-1;120965:11:0;;126049:28;;120927:35;;;:49;120923:154;;;121004:3;120997:10;;120923:154;;;121054:7;:3;121060:1;121054:7;:::i;:::-;121048:13;;120923:154;120853:235;120837:251;121113:4;121107:3;:10;121100:251;;;121134:11;121148:23;121161:3;121166:4;121148:12;:23::i;:::-;125937:25;125999:21;;;126066:4;126053:18;;121134:37;;-1:-1:-1;121228:11:0;;126049:28;;121190:35;;;:49;121186:154;;;121267:3;121260:10;;121186:154;;;121317:7;:3;121323:1;121317:7;:::i;:::-;121311:13;;121186:154;121119:232;121100:251;;;121370:9;;:52;;121386:30;121400:5;121407:8;121414:1;121407:4;:8;:::i;:::-;125937:25;125999:21;;;126066:4;126053:18;;;126049:28;;125851:244;121386:30;:36;;;;-1:-1:-1;;;;;121386:36:0;121370:52;;;121382:1;121370:52;-1:-1:-1;;;;;121363:59:0;;119535:1895;-1:-1:-1;;;;;;119535:1895:0:o;199011:204::-;30528:6;;-1:-1:-1;;;;;30528:6:0;3734:10;190650:23;;:61;;-1:-1:-1;190677:34:0;188171:24;3734:10;23845:147;:::i;190677:34::-;190642:107;;;;-1:-1:-1;;;190642:107:0;;28512:2:1;190642:107:0;;;28494:21:1;28551:2;28531:18;;;28524:30;28590:34;28570:18;;;28563:62;-1:-1:-1;;;28641:18:1;;;28634:31;28682:19;;190642:107:0;28310:397:1;190642:107:0;199125:28:::1;199137:7;199146:6;199125:11;:28::i;:::-;199164:15;::::0;:43:::1;::::0;-1:-1:-1;;;199164:43:0;;-1:-1:-1;;;;;28223:32:1;;;199164:43:0::1;::::0;::::1;28205:51:1::0;28272:18;;;28265:34;;;199164:15:0;;;::::1;::::0;;::::1;::::0;:26:::1;::::0;28178:18:1;;199164:43:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;199401:186:::0;199497:28;199509:7;199518:6;199497:11;:28::i;123740:388::-;-1:-1:-1;;;;;118105:19:0;;;123825:23;118105:19;;;:10;:19;;;;;;;;;;46427:18;;;;;;;123940:21;;;;:33;;;-1:-1:-1;;;;;;123940:33:0;;;;;;;123991:54;;118105:19;;;;;46427:18;;123940:33;;118105:19;;;123991:54;;123825:23;123991:54;124058:62;124075:15;124092:9;124103:16;124058;:62::i;31722:191::-;31815:6;;;-1:-1:-1;;;;;31832:17:0;;;-1:-1:-1;;;;;;31832:17:0;;;;;;;31865:40;;31815:6;;;31832:17;31815:6;;31865:40;;31796:16;;31865:40;31785:128;31722:191;:::o;199754:95::-;30341:13;:11;:13::i;:::-;199819:22:::1;:20;:22::i;202348:364::-:0;202434:46;;-1:-1:-1;;;202434:46:0;;-1:-1:-1;;;;;202434:28:0;;:46;;;2052:51:1;;;202434:28:0;;;2025:18:1;;202434:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;202491:43:0;;-1:-1:-1;;;202491:43:0;;202528:4;202491:43;;;2052:51:1;-1:-1:-1;;;;;202491:28:0;;;-1:-1:-1;202491:28:0;;-1:-1:-1;2025:18:1;;202491:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202545:7;-1:-1:-1;;;;;202545:28:0;;202574:7;30528:6;;-1:-1:-1;;;;;30528:6:0;;30455:87;202574:7;202545:37;;-1:-1:-1;;;;;;202545:37:0;;;;;;;-1:-1:-1;;;;;2070:32:1;;;202545:37:0;;;2052:51:1;2025:18;;202545:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;202630:21:0;;202593:60;;-1:-1:-1;;;202593:60:0;;-1:-1:-1;;;;;202630:21:0;;;202593:60;;;2052:51:1;202593:28:0;;;;-1:-1:-1;202593:28:0;;-1:-1:-1;2025:18:1;;202593:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;202693:10:0;;202664:40;;-1:-1:-1;;;202664:40:0;;-1:-1:-1;;;;;202693:10:0;;;202664:40;;;2052:51:1;202664:28:0;;;;-1:-1:-1;202664:28:0;;-1:-1:-1;2025:18:1;;202664:40:0;1886:223:1;202720:658:0;202805:14;202821;202839:123;202895:4;202915:28;;;;;;;;;-1:-1:-1;;;;;202915:28:0;-1:-1:-1;;;;;202915:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;202839:33;:123::i;:::-;202990:9;;:64;;-1:-1:-1;;;202990:64:0;;-1:-1:-1;;;;;29344:15:1;;;202990:64:0;;;29326:34:1;29396:15;;;29376:18;;;29369:43;182029:4:0;29428:18:1;;;29421:49;202804:158:0;;-1:-1:-1;202804:158:0;;-1:-1:-1;202975:12:0;;202990:9;;:17;;29261:18:1;;202990:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;202975:79;-1:-1:-1;;;;;;203073:18:0;;203065:59;;;;-1:-1:-1;;;203065:59:0;;29683:2:1;203065:59:0;;;29665:21:1;29722:2;29702:18;;;29695:30;29761;29741:18;;;29734:58;29809:18;;203065:59:0;29481:352:1;203065:59:0;203174:9;;203137:48;;-1:-1:-1;;;203137:48:0;;-1:-1:-1;;;;;203174:9:0;;;203137:48;;;2052:51:1;203137:28:0;;;;;;2025:18:1;;203137:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;203233:28:0;;203196:67;;-1:-1:-1;;;203196:67:0;;-1:-1:-1;;;;;203233:28:0;;;203196:67;;;2052:51:1;203196:28:0;;;;-1:-1:-1;203196:28:0;;-1:-1:-1;2025:18:1;;203196:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;203311:12:0;;203274:51;;-1:-1:-1;;;203274:51:0;;-1:-1:-1;;;;;203311:12:0;;;203274:51;;;2052::1;203274:28:0;;;;-1:-1:-1;203274:28:0;;-1:-1:-1;2025:18:1;;203274:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;203336:34:0;;-1:-1:-1;;;203336:34:0;;-1:-1:-1;;;;;2070:32:1;;;203336:34:0;;;2052:51:1;203336:28:0;;;-1:-1:-1;203336:28:0;;-1:-1:-1;2025:18:1;;203336:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;202793:585;;;202720:658;:::o;203386:358::-;-1:-1:-1;;;;;203477:31:0;;;;;;:25;:31;;;;;;;;:40;;;;;;;203469:67;;;;-1:-1:-1;;;203469:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;203547:31:0;;;;;;:25;:31;;;;;:39;;-1:-1:-1;;203547:39:0;;;;;;;;;;;;203599:80;;203625:15;;:42;;-1:-1:-1;;;203625:42:0;;-1:-1:-1;;;;;2070:32:1;;;203625:42:0;;;2052:51:1;203625:15:0;;;;;;;;:36;;2025:18:1;;203625:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203599:80;203696:40;;;;;;-1:-1:-1;;;;;203696:40:0;;;;;;;;203386:358;;:::o;72928:167::-;73005:7;73032:55;73054:20;:18;:20::i;:::-;73076:10;68393:57;;-1:-1:-1;;;68393:57:0;;;32719:27:1;32762:11;;;32755:27;;;32798:12;;;32791:28;;;68356:7:0;;32835:12:1;;68393:57:0;;;;;;;;;;;;68383:68;;;;;;68376:75;;68263:196;;;;;66615:236;66700:7;66721:17;66740:18;66762:25;66773:4;66779:1;66782;66785;66762:10;:25::i;:::-;66720:67;;;;66798:18;66810:5;66798:11;:18::i;:::-;-1:-1:-1;66834:9:0;66615:236;-1:-1:-1;;;;;66615:236:0:o;76168:207::-;-1:-1:-1;;;;;76289:14:0;;76228:15;76289:14;;;:7;:14;;;;;59356;;59493:1;59475:19;;;;59356:14;76350:17;76245:130;76168:207;;;:::o;124753:733::-;124990:12;;124927:17;;;;;125043:8;;:59;;125073:29;125087:5;125094:7;125100:1;125094:3;:7;:::i;125073:29::-;125043:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;125043:59:0;;;;;;;;125054:16;;;;;;;;;-1:-1:-1;125054:16:0;;;;;;;125043:59;125015:87;;125127:7;:13;;;-1:-1:-1;;;;;125115:25:0;;;125163:20;125166:9;125177:5;125163:2;:20;;:::i;:::-;125151:32;;125206:1;125200:3;:7;:44;;;;-1:-1:-1;125211:17:0;;:33;;125232:12;125211:33;125200:44;125196:283;;;125299:29;125318:9;125299:18;:29::i;:::-;125261;125275:5;125282:7;125288:1;125282:3;:7;:::i;125261:29::-;:67;;-1:-1:-1;;;;;125261:67:0;;;;;;;;;;;;;;;;125196:283;;;125361:5;125372:94;;;;;;;;125395:31;125413:12;125395:17;:31::i;:::-;125372:94;;;;;;125435:29;125454:9;125435:18;:29::i;:::-;-1:-1:-1;;;;;125372:94:0;;;;;;125361:106;;;;;;;-1:-1:-1;125361:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125196:283;124965:521;;124753:733;;;;;;:::o;199223:170::-;199342:43;199368:4;199374:2;199378:6;199342:25;:43::i;124136:609::-;124234:3;-1:-1:-1;;;;;124227:10:0;:3;-1:-1:-1;;;;;124227:10:0;;;:24;;;;;124250:1;124241:6;:10;124227:24;124223:515;;;-1:-1:-1;;;;;124272:17:0;;;124268:224;;-1:-1:-1;;;;;124368:17:0;;124311;124368;;;:12;:17;;;;;124311;;124351:54;;124387:9;124398:6;124351:16;:54::i;:::-;124310:95;;;;124450:3;-1:-1:-1;;;;;124429:47:0;;124455:9;124466;124429:47;;;;;;30012:25:1;;;30068:2;30053:18;;30046:34;30000:2;29985:18;;29838:248;124429:47:0;;;;;;;;124291:201;;124268:224;-1:-1:-1;;;;;124512:17:0;;;124508:219;;-1:-1:-1;;;;;124608:17:0;;124551;124608;;;:12;:17;;;;;124551;;124591:49;;124627:4;124633:6;124591:16;:49::i;:::-;124550:90;;;;124685:3;-1:-1:-1;;;;;124664:47:0;;124690:9;124701;124664:47;;;;;;30012:25:1;;;30068:2;30053:18;;30046:34;30000:2;29985:18;;29838:248;124664:47:0;;;;;;;;124531:196;;124136:609;;;:::o;50484:806::-;-1:-1:-1;;;;;50581:18:0;;50573:68;;;;-1:-1:-1;;;50573:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50660:16:0;;50652:64;;;;-1:-1:-1;;;50652:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50802:15:0;;50780:19;50802:15;;;;;;;;;;;50836:21;;;;50828:72;;;;-1:-1:-1;;;50828:72:0;;30293:2:1;50828:72:0;;;30275:21:1;30332:2;30312:18;;;30305:30;30371:34;30351:18;;;30344:62;-1:-1:-1;;;30422:18:1;;;30415:36;30468:19;;50828:72:0;30091:402:1;50828:72:0;-1:-1:-1;;;;;50936:15:0;;;:9;:15;;;;;;;;;;;50954:20;;;50936:38;;51154:13;;;;;;;;;;:23;;;;;;51206:26;;1850:25:1;;;51154:13:0;;51206:26;;1823:18:1;51206:26:0;;;;;;;51245:37;51265:4;51271:2;51275:6;51245:19;:37::i;129720:98::-;129778:7;129805:5;129809:1;129805;:5;:::i;130119:98::-;130177:7;130204:5;130208:1;130204;:5;:::i;203752:929::-;203862:12;203877:13;:6;203888:1;203877:10;:13::i;:::-;203862:28;-1:-1:-1;203901:17:0;203921:16;:6;203862:28;203921:10;:16::i;:::-;203901:36;-1:-1:-1;204240:21:0;204306:22;204323:4;204306:16;:22::i;:::-;204459:18;204480:41;:21;204506:14;204480:25;:41::i;:::-;204459:62;;204577:35;204590:9;204601:10;204577:12;:35::i;:::-;204630:43;;;31054:25:1;;;31110:2;31095:18;;31088:34;;;31138:18;;;31131:34;;;204630:43:0;;31042:2:1;31027:18;204630:43:0;;;;;;;203800:881;;;;203752:929;:::o;206845:404::-;206910:25;206928:6;206910:17;:25::i;:::-;206966:37;;-1:-1:-1;;;206966:37:0;;206997:4;206966:37;;;2052:51:1;206946:17:0;;206973:4;-1:-1:-1;;;;;206966:22:0;;;;2025:18:1;;206966:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;207059:15;;207029:58;;-1:-1:-1;;;207029:58:0;;207059:15;;;;-1:-1:-1;;;;;207059:15:0;;;207029:58;;;28205:51:1;28272:18;;;28265:34;;;206946:57:0;;-1:-1:-1;207014:12:0;;207036:4;207029:21;;;;28178:18:1;;207029:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;207014:73;;207104:7;207100:142;;;207128:15;;:50;;-1:-1:-1;;;207128:50:0;;;;;1850:25:1;;;207128:15:0;;;;-1:-1:-1;;;;;207128:15:0;;:39;;1823:18:1;;207128:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;207198:32:0;;;30012:25:1;;;30068:2;30053:18;;30046:34;;;207198:32:0;;-1:-1:-1;29985:18:1;;-1:-1:-1;207198:32:0;29838:248:1;24691:492:0;24780:22;24788:4;24794:7;24780;:22::i;:::-;24775:401;;24968:28;24988:7;24968:19;:28::i;:::-;25069:38;25097:4;25104:2;25069:19;:38::i;:::-;24873:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;24873:257:0;;;;;;;;;;-1:-1:-1;;;24819:345:0;;;;;;;:::i;12209:1673::-;12257:7;12281:6;12277:47;;-1:-1:-1;12311:1:0;;12209:1673;-1:-1:-1;12209:1673:0:o;12277:47::-;13015:14;13049:1;13038:7;13043:1;13038:4;:7::i;:::-;:12;;13032:1;:19;;13015:36;;13517:1;13506:6;13502:1;:10;;;;;:::i;:::-;;13493:6;:19;13492:26;;13483:35;;13567:1;13556:6;13552:1;:10;;;;;:::i;:::-;;13543:6;:19;13542:26;;13533:35;;13617:1;13606:6;13602:1;:10;;;;;:::i;:::-;;13593:6;:19;13592:26;;13583:35;;13667:1;13656:6;13652:1;:10;;;;;:::i;:::-;;13643:6;:19;13642:26;;13633:35;;13717:1;13706:6;13702:1;:10;;;;;:::i;:::-;;13693:6;:19;13692:26;;13683:35;;13767:1;13756:6;13752:1;:10;;;;;:::i;:::-;;13743:6;:19;13742:26;;13733:35;;13817:1;13806:6;13802:1;:10;;;;;:::i;:::-;;13793:6;:19;13792:26;;13783:35;;13840:23;13844:6;13856;13852:1;:10;;;;;:::i;:::-;;13840:3;:23::i;6687:156::-;6749:7;6824:11;6834:1;6825:5;;;6824:11;:::i;:::-;6814:21;;6815:5;;;6814:21;:::i;122993:194::-;123078:28;123090:7;123099:6;123078:11;:28::i;:::-;123119:60;123136:23;123161:9;123172:6;123119:16;:60::i;155007:117::-;155061:16;:23;;-1:-1:-1;;;;155061:23:0;-1:-1:-1;;;155061:23:0;;;155102:14;;;;155061:23;;155102:14;155007:117::o;182373:173::-;182449:7;182458;182494:6;-1:-1:-1;;;;;182485:15:0;:6;-1:-1:-1;;;;;182485:15:0;;:53;;182523:6;182531;182485:53;;;182504:6;182512;182485:53;182478:60;;;;182373:173;;;;;:::o;64999:1477::-;65087:7;;66021:66;66008:79;;66004:163;;;-1:-1:-1;66120:1:0;;-1:-1:-1;66124:30:0;66104:51;;66004:163;66281:24;;;66264:14;66281:24;;;;;;;;;33085:25:1;;;33158:4;33146:17;;33126:18;;;33119:45;;;;33180:18;;;33173:34;;;33223:18;;;33216:34;;;66281:24:0;;33057:19:1;;66281:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66281:24:0;;-1:-1:-1;;66281:24:0;;;-1:-1:-1;;;;;;;66320:20:0;;66316:103;;66373:1;66377:29;66357:50;;;;;;;66316:103;66439:6;-1:-1:-1;66447:20:0;;-1:-1:-1;64999:1477:0;;;;;;;;:::o;60459:521::-;60537:20;60528:5;:29;;;;;;;;:::i;:::-;;60524:449;;;60459:521;:::o;60524:449::-;60635:29;60626:5;:38;;;;;;;;:::i;:::-;;60622:351;;;60681:34;;-1:-1:-1;;;60681:34:0;;33595:2:1;60681:34:0;;;33577:21:1;33634:2;33614:18;;;33607:30;33673:26;33653:18;;;33646:54;33717:18;;60681:34:0;33393:348:1;60622:351:0;60746:35;60737:5;:44;;;;;;;;:::i;:::-;;60733:240;;;60798:41;;-1:-1:-1;;;60798:41:0;;33948:2:1;60798:41:0;;;33930:21:1;33987:2;33967:18;;;33960:30;34026:33;34006:18;;;33999:61;34077:18;;60798:41:0;33746:355:1;60733:240:0;60870:30;60861:5;:39;;;;;;;;:::i;:::-;;60857:116;;;60917:44;;-1:-1:-1;;;60917:44:0;;34308:2:1;60917:44:0;;;34290:21:1;34347:2;34327:18;;;34320:30;34386:34;34366:18;;;34359:62;-1:-1:-1;;;34437:18:1;;;34430:32;34479:19;;60917:44:0;34106:398:1;204689:454:0;204759:5;;;;:13;;:5;:13;204755:381;;;204821:12;;204789:59;;204806:4;;-1:-1:-1;;;;;204821:12:0;204836:11;204789:8;:59::i;:::-;204904:12;;204863:67;;-1:-1:-1;;;;;204904:12:0;204918:11;204863:40;:67::i;204755:381::-;204995:21;;204963:68;;204980:4;;-1:-1:-1;;;;;204995:21:0;205019:11;204963:8;:68::i;:::-;205089:21;;205048:76;;-1:-1:-1;;;;;205089:21:0;205112:11;205048:40;:76::i;205626:1211::-;205711:5;;;;205707:1123;;;205765:28;;205733:75;;205750:4;;-1:-1:-1;;;;;205765:28:0;205796:11;205733:8;:75::i;:::-;205827:7;;205823:402;;205908:28;;205870:91;;-1:-1:-1;;;;;205908:28:0;205938:9;205949:11;205870:37;:91::i;:::-;205860:7;:101;205823:402;;;206066:28;;206183:7;;206002:207;;-1:-1:-1;;;;;206066:28:0;;206117:9;;206149:11;;206002:41;:207::i;:::-;206273:28;;206241:65;;206258:4;;-1:-1:-1;;;;;206273:28:0;;206241:8;:65::i;205707:1123::-;206442:21;;206410:68;;206427:4;;-1:-1:-1;;;;;206442:21:0;206466:11;206410:8;:68::i;:::-;206529:21;;206759:10;;206529:289;;-1:-1:-1;;;206529:289:0;;206611:4;206529:289;;;34850:34:1;34900:18;;;34893:34;;;206529:21:0;34943:18:1;;;34936:34;;;34986:18;;;34979:34;-1:-1:-1;;;;;206759:10:0;;;35029:19:1;;;35022:44;206788:15:0;35082:19:1;;;35075:35;206529:21:0;;;:37;;206574:9;;34784:19:1;;206529:289:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;205151:467::-;205222:5;;;;:13;;:5;:13;205218:393;;;205284:12;;205252:59;;205269:4;;-1:-1:-1;;;;;205284:12:0;205299:11;205252:8;:59::i;:::-;205368:12;;205326:74;;-1:-1:-1;;;;;205368:12:0;205382:11;205395:4;205326:41;:74::i;205218:393::-;205465:21;;205433:68;;205450:4;;-1:-1:-1;;;;;205465:21:0;205489:11;205433:8;:68::i;:::-;205558:21;;205516:83;;-1:-1:-1;;;;;205558:21:0;205581:11;205594:4;205516:41;:83::i;20818:151::-;20876:13;20909:52;-1:-1:-1;;;;;20921:22:0;;18973:2;20214:447;20289:13;20315:19;20347:10;20351:6;20347:1;:10;:::i;:::-;:14;;20360:1;20347:14;:::i;:::-;20337:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20337:25:0;;20315:47;;-1:-1:-1;;;20373:6:0;20380:1;20373:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20373:15:0;;;;;;;;;-1:-1:-1;;;20399:6:0;20406:1;20399:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20399:15:0;;;;;;;;-1:-1:-1;20430:9:0;20442:10;20446:6;20442:1;:10;:::i;:::-;:14;;20455:1;20442:14;:::i;:::-;20430:26;;20425:131;20462:1;20458;:5;20425:131;;;-1:-1:-1;;;20506:5:0;20514:3;20506:11;20497:21;;;;;;;:::i;:::-;;;;20485:6;20492:1;20485:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20485:33:0;;;;;;;;-1:-1:-1;20543:1:0;20533:11;;;;;20465:3;;;:::i;:::-;;;20425:131;;;-1:-1:-1;20574:10:0;;20566:55;;;;-1:-1:-1;;;20566:55:0;;35596:2:1;20566:55:0;;;35578:21:1;;;35615:18;;;35608:30;35674:34;35654:18;;;35647:62;35726:18;;20566:55:0;35394:356:1;14359:1019:0;14411:7;;14498:3;14489:12;;;:16;14485:102;;14536:3;14526:13;;;;14558;14485:102;14614:2;14605:11;;;:15;14601:99;;14651:2;14641:12;;;;14672;14601:99;14727:2;14718:11;;;:15;14714:99;;14764:2;14754:12;;;;14785;14714:99;14840:2;14831:11;;;:15;14827:99;;14877:2;14867:12;;;;14898;14827:99;14953:1;14944:10;;;:14;14940:96;;14989:1;14979:11;;;;15009;14940:96;15063:1;15054:10;;;:14;15050:96;;15099:1;15089:11;;;;15119;15050:96;15173:1;15164:10;;;:14;15160:96;;15209:1;15199:11;;;;15229;15160:96;15283:1;15274:10;;;:14;15270:66;;15319:1;15309:11;15364:6;14359:1019;-1:-1:-1;;14359:1019:0:o;6462:106::-;6520:7;6551:1;6547;:5;:13;;6559:1;6547:13;;;-1:-1:-1;6555:1:0;;6462:106;-1:-1:-1;6462:106:0:o;52458:675::-;-1:-1:-1;;;;;52542:21:0;;52534:67;;;;-1:-1:-1;;;52534:67:0;;35957:2:1;52534:67:0;;;35939:21:1;35996:2;35976:18;;;35969:30;36035:34;36015:18;;;36008:62;-1:-1:-1;;;36086:18:1;;;36079:31;36127:19;;52534:67:0;35755:397:1;52534:67:0;-1:-1:-1;;;;;52701:18:0;;52676:22;52701:18;;;;;;;;;;;52738:24;;;;52730:71;;;;-1:-1:-1;;;52730:71:0;;36359:2:1;52730:71:0;;;36341:21:1;36398:2;36378:18;;;36371:30;36437:34;36417:18;;;36410:62;-1:-1:-1;;;36488:18:1;;;36481:32;36530:19;;52730:71:0;36157:398:1;52730:71:0;-1:-1:-1;;;;;52837:18:0;;:9;:18;;;;;;;;;;;52858:23;;;52837:44;;52976:12;:22;;;;;;;53027:37;1850:25:1;;;52837:9:0;;:18;53027:37;;1823:18:1;53027:37:0;;;;;;;53077:48;53097:7;53114:1;53118:6;53077:19;:48::i;182554:613::-;182649:12;-1:-1:-1;;;;;182649:29:0;;182693:373;;;;;;;;182764:4;-1:-1:-1;;;;;182693:373:0;;;;;182798:12;-1:-1:-1;;;;;182798:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;182693:373:0;;;182029:4;182693:373;;;;-1:-1:-1;182693:373:0;;;;;;;182918:15;182693:373;;;;;;;;;;;;;;;;;;;;;182649:428;-1:-1:-1;;;;;;182649:428:0;;;;;;;;;;;;36847:13:1;;-1:-1:-1;;;;;36843:22:1;;;36825:41;;36926:4;36914:17;;;36908:24;36904:33;;36882:20;;;36875:63;36998:4;36986:17;;;36980:24;37006:8;36976:39;36954:20;;;36947:69;37076:4;37064:17;;;37058:24;37054:33;;37032:20;;;37025:63;37144:4;37132:17;;;37126:24;37104:20;;;37097:54;36805:3;37195:17;;;37189:24;37167:20;;;37160:54;37270:4;37258:17;;;37252:24;37230:20;;;37223:54;37337:4;37325:17;;;37319:24;37315:33;37293:20;;;37286:63;;;;36774:3;36759:19;;36560:795;182649:428:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;183088:71:0;;-1:-1:-1;;;183088:71:0;;183142:1;183088:71;;;37542:25:1;183153:4:0;37583:18:1;;;37576:60;-1:-1:-1;;;;;183088:53:0;;;;;37515:18:1;;183088:71:0;37360:282:1;183175:583:0;183382:16;;;183396:1;183382:16;;;;;;;;183358:21;;183382:16;;;;;;;;;;-1:-1:-1;183382:16:0;183358:40;;183427:4;183409;183414:1;183409:7;;;;;;;;:::i;:::-;;;;;;:23;-1:-1:-1;;;;;183409:23:0;;;-1:-1:-1;;;;;183409:23:0;;;;;183453:21;-1:-1:-1;;;;;183453:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;183443:4;183448:1;183443:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;183443:38:0;;;:7;;;;;;;;;:38;183520:230;;-1:-1:-1;;;183520:230:0;;:72;;;;;;:230;;183607:11;;183633:1;;183677:4;;183704;;183724:15;;183520:230;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;184827:1109;185002:15;185030:13;185046:28;-1:-1:-1;;;;;185046:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;185030:52;;185094:14;185110;185128:33;185148:4;185155:5;185128:11;:33::i;:::-;185093:68;;;;185173:15;185190;185220:5;-1:-1:-1;;;;;185210:15:0;:6;-1:-1:-1;;;;;185210:15:0;;185209:71;;185257:11;185270:9;185209:71;;;185230:9;185241:11;185209:71;185172:108;;;;185311:28;-1:-1:-1;;;;;185311:33:0;;185352:9;185377:469;;;;;;;;185443:6;-1:-1:-1;;;;;185377:469:0;;;;;185476:6;-1:-1:-1;;;;;185377:469:0;;;;;182029:4;185377:469;;;;;;-1:-1:-1;;185377:469:0;;;;;;-1:-1:-1;;182355:9:0;;;:::i;:::-;185377:469;;;;;;185624:7;185377:469;;;;185666:7;185377:469;;;;185704:1;185377:469;;;;185736:1;185377:469;;;;181945:42;-1:-1:-1;;;;;185377:469:0;;;;;185815:15;185377:469;;;185311:546;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;185870:58:0;;-1:-1:-1;;;185870:58:0;;185911:1;185870:58;;;37542:25:1;185922:4:0;37583:18:1;;;37576:60;185293:564:0;;-1:-1:-1;;;;;;;185870:40:0;;;;;37515:18:1;;185870:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;185019:917;;;;;184827:1109;;;;;:::o;185944:920::-;186151:13;186167:28;-1:-1:-1;;;;;186167:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;186151:52;;186215:14;186235:33;186255:4;186262:5;186235:11;:33::i;:::-;186214:54;;;186280:15;186297;186327:5;-1:-1:-1;;;;;186317:15:0;:6;-1:-1:-1;;;;;186317:15:0;;186316:71;;186364:11;186377:9;186316:71;;;186337:9;186348:11;186316:71;186479:295;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;186479:295:0;;;;;;;;;;;;186743:15;186479:295;;;;;;186400:385;;-1:-1:-1;;;186400:385:0;;40985:13:1;;186400:385:0;;;40967:32:1;41037:24;;41015:20;;;41008:54;41100:24;;41078:20;;;41071:54;41163:24;;41141:20;;;41134:54;41226:24;41204:20;;;41197:54;41289:24;;41267:20;;;41260:54;186279:108:0;;-1:-1:-1;186279:108:0;-1:-1:-1;;;;;;186400:46:0;;;;;186454:9;;40939:19:1;;186400:385:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;186798:58:0;;-1:-1:-1;;;186798:58:0;;186839:1;186798:58;;;37542:25:1;186850:4:0;37583:18:1;;;37576:60;-1:-1:-1;;;;;186798:40:0;;;-1:-1:-1;186798:40:0;;37515:18:1;;186798:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;186140:724;;;;185944:920;;;;:::o;183766:479::-;183876:12;-1:-1:-1;;;;;183876:23:0;;183914:312;;;;;;;;183993:4;182029;184009:12;-1:-1:-1;;;;;184009:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;183968:77;;41967:2:1;41963:15;;;-1:-1:-1;;41959:24:1;;;183968:77:0;;;41947:37:1;42007:3;42055:16;;;;-1:-1:-1;;;;;;42051:25:1;42037:12;;;42030:47;42111:15;;;42107:24;;42093:12;;;42086:46;-1:-1:-1;;;42148:12:1;;;42141:47;42222:15;;;;42218:24;42204:12;;;42197:46;42259:12;;183968:77:0;;;;;;;;;;;;183914:312;;;;184083:4;-1:-1:-1;;;;;183914:312:0;;;;;184117:15;183914:312;;;;184161:11;183914:312;;;;184209:1;183914:312;;;183876:361;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;184253:566::-;184443:16;;;184457:1;184443:16;;;;;;;;;184419:21;;184443:16;;;;;;;;;;-1:-1:-1;184443:16:0;184419:40;;184488:4;184470;184475:1;184470:7;;;;;;;;:::i;:::-;;;;;;:23;-1:-1:-1;;;;;184470:23:0;;;-1:-1:-1;;;;;184470:23:0;;;;;184514:21;-1:-1:-1;;;;;184514:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;184504:4;184509:1;184504:7;;;;;;;;:::i;:::-;;;;;;:38;-1:-1:-1;;;;;184504:38:0;;;-1:-1:-1;;;;;184504:38:0;;;;;184563:4;184553;184558:1;184553:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;184553:14:0;;;:7;;;;;;;;;:14;184606:205;;-1:-1:-1;;;184606:205:0;;:75;;;;;;:205;;184696:11;;184722:1;;184738:4;;184765;;184785:15;;184606:205;;;:::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:::-;802:3;840:5;834:12;867:6;862:3;855:19;883:63;939:6;932:4;927:3;923:14;916:4;909:5;905:16;883:63;:::i;:::-;1000:2;979:15;-1:-1:-1;;975:29:1;966:39;;;;1007:4;962:50;;760:258;-1:-1:-1;;760:258:1:o;1023:220::-;1172:2;1161:9;1154:21;1135:4;1192:45;1233:2;1222:9;1218:18;1210:6;1192:45;:::i;1248:131::-;-1:-1:-1;;;;;1323:31:1;;1313:42;;1303:70;;1369:1;1366;1359:12;1384:315;1452:6;1460;1513:2;1501:9;1492:7;1488:23;1484:32;1481:52;;;1529:1;1526;1519:12;1481:52;1568:9;1555:23;1587:31;1612:5;1587:31;:::i;:::-;1637:5;1689:2;1674:18;;;;1661:32;;-1:-1:-1;;;1384:315:1:o;2114:118::-;2200:5;2193:13;2186:21;2179:5;2176:32;2166:60;;2222:1;2219;2212:12;2237:241;2293:6;2346:2;2334:9;2325:7;2321:23;2317:32;2314:52;;;2362:1;2359;2352:12;2314:52;2401:9;2388:23;2420:28;2442:5;2420:28;:::i;2483:456::-;2560:6;2568;2576;2629:2;2617:9;2608:7;2604:23;2600:32;2597:52;;;2645:1;2642;2635:12;2597:52;2684:9;2671:23;2703:31;2728:5;2703:31;:::i;:::-;2753:5;-1:-1:-1;2810:2:1;2795:18;;2782:32;2823:33;2782:32;2823:33;:::i;:::-;2483:456;;2875:7;;-1:-1:-1;;;2929:2:1;2914:18;;;;2901:32;;2483:456::o;2944:180::-;3003:6;3056:2;3044:9;3035:7;3031:23;3027:32;3024:52;;;3072:1;3069;3062:12;3024:52;-1:-1:-1;3095:23:1;;2944:180;-1:-1:-1;2944:180:1:o;3543:315::-;3611:6;3619;3672:2;3660:9;3651:7;3647:23;3643:32;3640:52;;;3688:1;3685;3678:12;3640:52;3724:9;3711:23;3701:33;;3784:2;3773:9;3769:18;3756:32;3797:31;3822:5;3797:31;:::i;:::-;3847:5;3837:15;;;3543:315;;;;;:::o;4052:247::-;4111:6;4164:2;4152:9;4143:7;4139:23;4135:32;4132:52;;;4180:1;4177;4170:12;4132:52;4219:9;4206:23;4238:31;4263:5;4238:31;:::i;5710:382::-;5775:6;5783;5836:2;5824:9;5815:7;5811:23;5807:32;5804:52;;;5852:1;5849;5842:12;5804:52;5891:9;5878:23;5910:31;5935:5;5910:31;:::i;:::-;5960:5;-1:-1:-1;6017:2:1;6002:18;;5989:32;6030:30;5989:32;6030:30;:::i;6875:156::-;6941:20;;7001:4;6990:16;;6980:27;;6970:55;;7021:1;7018;7011:12;6970:55;6875:156;;;:::o;7036:592::-;7138:6;7146;7154;7162;7170;7178;7231:3;7219:9;7210:7;7206:23;7202:33;7199:53;;;7248:1;7245;7238:12;7199:53;7287:9;7274:23;7306:31;7331:5;7306:31;:::i;:::-;7356:5;-1:-1:-1;7408:2:1;7393:18;;7380:32;;-1:-1:-1;7459:2:1;7444:18;;7431:32;;-1:-1:-1;7482:36:1;7514:2;7499:18;;7482:36;:::i;:::-;7472:46;;7565:3;7554:9;7550:19;7537:33;7527:43;;7617:3;7606:9;7602:19;7589:33;7579:43;;7036:592;;;;;;;;:::o;7633:750::-;7725:6;7733;7741;7794:2;7782:9;7773:7;7769:23;7765:32;7762:52;;;7810:1;7807;7800:12;7762:52;7850:9;7837:23;7879:18;7920:2;7912:6;7909:14;7906:34;;;7936:1;7933;7926:12;7906:34;7974:6;7963:9;7959:22;7949:32;;8019:7;8012:4;8008:2;8004:13;8000:27;7990:55;;8041:1;8038;8031:12;7990:55;8081:2;8068:16;8107:2;8099:6;8096:14;8093:34;;;8123:1;8120;8113:12;8093:34;8178:7;8171:4;8161:6;8158:1;8154:14;8150:2;8146:23;8142:34;8139:47;8136:67;;;8199:1;8196;8189:12;8136:67;8230:4;8222:13;;;;-1:-1:-1;8254:6:1;-1:-1:-1;;8295:20:1;;8282:34;8325:28;8282:34;8325:28;:::i;:::-;8372:5;8362:15;;;7633:750;;;;;:::o;8388:611::-;8547:6;8555;8563;8616:2;8604:9;8595:7;8591:23;8587:32;8584:52;;;8632:1;8629;8622:12;8584:52;8671:9;8658:23;8690:31;8715:5;8690:31;:::i;:::-;8740:5;-1:-1:-1;8797:2:1;8782:18;;8769:32;8810:33;8769:32;8810:33;:::i;:::-;8862:7;-1:-1:-1;8921:2:1;8906:18;;8893:32;8934:33;8893:32;8934:33;:::i;9245:734::-;9356:6;9364;9372;9380;9388;9396;9404;9457:3;9445:9;9436:7;9432:23;9428:33;9425:53;;;9474:1;9471;9464:12;9425:53;9513:9;9500:23;9532:31;9557:5;9532:31;:::i;:::-;9582:5;-1:-1:-1;9639:2:1;9624:18;;9611:32;9652:33;9611:32;9652:33;:::i;:::-;9704:7;-1:-1:-1;9758:2:1;9743:18;;9730:32;;-1:-1:-1;9809:2:1;9794:18;;9781:32;;-1:-1:-1;9832:37:1;9864:3;9849:19;;9832:37;:::i;:::-;9822:47;;9916:3;9905:9;9901:19;9888:33;9878:43;;9968:3;9957:9;9953:19;9940:33;9930:43;;9245:734;;;;;;;;;;:::o;9984:388::-;10052:6;10060;10113:2;10101:9;10092:7;10088:23;10084:32;10081:52;;;10129:1;10126;10119:12;10081:52;10168:9;10155:23;10187:31;10212:5;10187:31;:::i;:::-;10237:5;-1:-1:-1;10294:2:1;10279:18;;10266:32;10307:33;10266:32;10307:33;:::i;10377:316::-;10454:6;10462;10470;10523:2;10511:9;10502:7;10498:23;10494:32;10491:52;;;10539:1;10536;10529:12;10491:52;-1:-1:-1;;10562:23:1;;;10632:2;10617:18;;10604:32;;-1:-1:-1;10683:2:1;10668:18;;;10655:32;;10377:316;-1:-1:-1;10377:316:1:o;10698:419::-;10765:6;10773;10826:2;10814:9;10805:7;10801:23;10797:32;10794:52;;;10842:1;10839;10832:12;10794:52;10881:9;10868:23;10900:31;10925:5;10900:31;:::i;:::-;10950:5;-1:-1:-1;11007:2:1;10992:18;;10979:32;11055:10;11042:24;;11030:37;;11020:65;;11081:1;11078;11071:12;11473:380;11552:1;11548:12;;;;11595;;;11616:61;;11670:4;11662:6;11658:17;11648:27;;11616:61;11723:2;11715:6;11712:14;11692:18;11689:38;11686:161;;;11769:10;11764:3;11760:20;11757:1;11750:31;11804:4;11801:1;11794:15;11832:4;11829:1;11822:15;11858:184;11928:6;11981:2;11969:9;11960:7;11956:23;11952:32;11949:52;;;11997:1;11994;11987:12;11949:52;-1:-1:-1;12020:16:1;;11858:184;-1:-1:-1;11858:184:1:o;12463:127::-;12524:10;12519:3;12515:20;12512:1;12505:31;12555:4;12552:1;12545:15;12579:4;12576:1;12569:15;12595:128;12635:3;12666:1;12662:6;12659:1;12656:13;12653:39;;;12672:18;;:::i;:::-;-1:-1:-1;12708:9:1;;12595:128::o;13088:398::-;13290:2;13272:21;;;13329:2;13309:18;;;13302:30;13368:34;13363:2;13348:18;;13341:62;-1:-1:-1;;;13434:2:1;13419:18;;13412:32;13476:3;13461:19;;13088:398::o;13796:245::-;13863:6;13916:2;13904:9;13895:7;13891:23;13887:32;13884:52;;;13932:1;13929;13922:12;13884:52;13964:9;13958:16;13983:28;14005:5;13983:28;:::i;14046:306::-;14134:6;14142;14150;14203:2;14191:9;14182:7;14178:23;14174:32;14171:52;;;14219:1;14216;14209:12;14171:52;14248:9;14242:16;14232:26;;14298:2;14287:9;14283:18;14277:25;14267:35;;14342:2;14331:9;14327:18;14321:25;14311:35;;14046:306;;;;;:::o;15181:338::-;15383:2;15365:21;;;15422:2;15402:18;;;15395:30;-1:-1:-1;;;15456:2:1;15441:18;;15434:44;15510:2;15495:18;;15181:338::o;15524:251::-;15594:6;15647:2;15635:9;15626:7;15622:23;15618:32;15615:52;;;15663:1;15660;15653:12;15615:52;15695:9;15689:16;15714:31;15739:5;15714:31;:::i;17276:125::-;17316:4;17344:1;17341;17338:8;17335:34;;;17349:18;;:::i;:::-;-1:-1:-1;17386:9:1;;17276:125::o;17406:127::-;17467:10;17462:3;17458:20;17455:1;17448:31;17498:4;17495:1;17488:15;17522:4;17519:1;17512:15;18293:743;18433:6;18441;18449;18457;18465;18473;18481;18489;18497;18550:3;18538:9;18529:7;18525:23;18521:33;18518:53;;;18567:1;18564;18557:12;18518:53;18599:9;18593:16;18618:31;18643:5;18618:31;:::i;:::-;18668:5;18658:15;;;18713:2;18702:9;18698:18;18692:25;18682:35;;18757:2;18746:9;18742:18;18736:25;18726:35;;18801:2;18790:9;18786:18;18780:25;18770:35;;18845:3;18834:9;18830:19;18824:26;18814:36;;18890:3;18879:9;18875:19;18869:26;18859:36;;18935:3;18924:9;18920:19;18914:26;18904:36;;18980:3;18969:9;18965:19;18959:26;18949:36;;19025:3;19014:9;19010:19;19004:26;18994:36;;18293:743;;;;;;;;;;;:::o;19041:168::-;19081:7;19147:1;19143;19139:6;19135:14;19132:1;19129:21;19124:1;19117:9;19110:17;19106:45;19103:71;;;19154:18;;:::i;:::-;-1:-1:-1;19194:9:1;;19041:168::o;20348:135::-;20387:3;-1:-1:-1;;20408:17:1;;20405:43;;;20428:18;;:::i;:::-;-1:-1:-1;20475:1:1;20464:13;;20348:135::o;20488:794::-;20710:2;20722:21;;;20695:18;;20778:22;;;20662:4;20857:6;20831:2;20816:18;;20662:4;20891:304;20905:6;20902:1;20899:13;20891:304;;;20980:6;20967:20;21000:31;21025:5;21000:31;:::i;:::-;-1:-1:-1;;;;;21056:31:1;21044:44;;21111:4;21170:15;;;;21135:12;;;;21084:1;20920:9;20891:304;;;20895:3;21212;21204:11;;;;21267:6;21260:14;21253:22;21246:4;21235:9;21231:20;21224:52;20488:794;;;;;;:::o;26473:401::-;26675:2;26657:21;;;26714:2;26694:18;;;26687:30;26753:34;26748:2;26733:18;;26726:62;-1:-1:-1;;;26819:2:1;26804:18;;26797:35;26864:3;26849:19;;26473:401::o;26879:399::-;27081:2;27063:21;;;27120:2;27100:18;;;27093:30;27159:34;27154:2;27139:18;;27132:62;-1:-1:-1;;;27225:2:1;27210:18;;27203:33;27268:3;27253:19;;26879:399::o;30498:127::-;30559:10;30554:3;30550:20;30547:1;30540:31;30590:4;30587:1;30580:15;30614:4;30611:1;30604:15;30630:217;30670:1;30696;30686:132;;30740:10;30735:3;30731:20;30728:1;30721:31;30775:4;30772:1;30765:15;30803:4;30800:1;30793:15;30686:132;-1:-1:-1;30832:9:1;;30630:217::o;31176:786::-;31587:25;31582:3;31575:38;31557:3;31642:6;31636:13;31658:62;31713:6;31708:2;31703:3;31699:12;31692:4;31684:6;31680:17;31658:62;:::i;:::-;-1:-1:-1;;;31779:2:1;31739:16;;;31771:11;;;31764:40;31829:13;;31851:63;31829:13;31900:2;31892:11;;31885:4;31873:17;;31851:63;:::i;:::-;31934:17;31953:2;31930:26;;31176:786;-1:-1:-1;;;;31176:786:1:o;33261:127::-;33322:10;33317:3;33313:20;33310:1;33303:31;33353:4;33350:1;33343:15;33377:4;33374:1;33367:15;35121:127;35182:10;35177:3;35173:20;35170:1;35163:31;35213:4;35210:1;35203:15;35237:4;35234:1;35227:15;35253:136;35292:3;35320:5;35310:39;;35329:18;;:::i;:::-;-1:-1:-1;;;35365:18:1;;35253:136::o;37647:980::-;37909:4;37957:3;37946:9;37942:19;37988:6;37977:9;37970:25;38014:2;38052:6;38047:2;38036:9;38032:18;38025:34;38095:3;38090:2;38079:9;38075:18;38068:31;38119:6;38154;38148:13;38185:6;38177;38170:22;38223:3;38212:9;38208:19;38201:26;;38262:2;38254:6;38250:15;38236:29;;38283:1;38293:195;38307:6;38304:1;38301:13;38293:195;;;38372:13;;-1:-1:-1;;;;;38368:39:1;38356:52;;38463:15;;;;38428:12;;;;38404:1;38322:9;38293:195;;;-1:-1:-1;;;;;;;38544:32:1;;;;38539:2;38524:18;;38517:60;-1:-1:-1;;;38608:3:1;38593:19;38586:35;38505:3;37647:980;-1:-1:-1;;;37647:980:1:o;38632:184::-;38666:3;38713:5;38710:1;38699:20;38747:7;38743:12;38734:7;38731:25;38728:51;;;38759:18;;:::i;:::-;38799:1;38795:15;;38632:184;-1:-1:-1;;38632:184:1:o;38917:1222::-;39139:13;;-1:-1:-1;;;;;4784:31:1;4772:44;;39107:3;39092:19;;39211:4;39203:6;39199:17;39193:24;39226:54;39274:4;39263:9;39259:20;39245:12;-1:-1:-1;;;;;4784:31:1;4772:44;;4718:104;39226:54;;39329:4;39321:6;39317:17;39311:24;39344:55;39393:4;39382:9;39378:20;39362:14;29067:8;29056:20;29044:33;;28991:92;39344:55;;39448:4;39440:6;39436:17;39430:24;39463:54;39511:4;39500:9;39496:20;39480:14;38896:1;38885:20;38873:33;;38821:91;39463:54;;39566:4;39558:6;39554:17;39548:24;39581:54;39629:4;39618:9;39614:20;39598:14;38896:1;38885:20;38873:33;;38821:91;39581:54;;39691:4;39683:6;39679:17;39673:24;39666:4;39655:9;39651:20;39644:54;39754:4;39746:6;39742:17;39736:24;39729:4;39718:9;39714:20;39707:54;39817:4;39809:6;39805:17;39799:24;39792:4;39781:9;39777:20;39770:54;39843:6;39903:2;39895:6;39891:15;39885:22;39880:2;39869:9;39865:18;39858:50;;39927:6;39982:2;39974:6;39970:15;39964:22;39995:54;40045:2;40034:9;40030:18;40014:14;-1:-1:-1;;;;;4784:31:1;4772:44;;4718:104;39995:54;-1:-1:-1;;40068:6:1;40116:15;;;40110:22;40090:18;;;;40083:50;38917:1222;:::o;40144:192::-;40223:13;;40276:34;40265:46;;40255:57;;40245:85;;40326:1;40323;40316:12;40341:392;40438:6;40446;40454;40462;40515:3;40503:9;40494:7;40490:23;40486:33;40483:53;;;40532:1;40529;40522:12;40483:53;40561:9;40555:16;40545:26;;40590:49;40635:2;40624:9;40620:18;40590:49;:::i;:::-;40679:2;40664:18;;40658:25;40723:2;40708:18;;;40702:25;40341:392;;40580:59;;-1:-1:-1;40341:392:1;-1:-1:-1;;;40341:392:1:o;41325:330::-;41413:6;41421;41429;41482:2;41470:9;41461:7;41457:23;41453:32;41450:52;;;41498:1;41495;41488:12;41450:52;41521:40;41551:9;41521:40;:::i;:::-;41511:50;;41601:2;41590:9;41586:18;41580:25;41570:35;;41645:2;41634:9;41630:18;41624:25;41614:35;;41325:330;;;;;:::o;42282:653::-;42479:2;42468:9;42461:21;42442:4;42517:6;42511:13;42560:4;42555:2;42544:9;42540:18;42533:32;42588:52;42635:3;42624:9;42620:19;42606:12;42588:52;:::i;:::-;42574:66;;42721:1;42717;42712:3;42708:11;42704:19;42698:2;42690:6;42686:15;42680:22;42676:48;42671:2;42660:9;42656:18;42649:76;42779:2;42771:6;42767:15;42761:22;42756:2;42745:9;42741:18;42734:50;42839:2;42831:6;42827:15;42821:22;42815:3;42804:9;42800:19;42793:51;42900:3;42892:6;42888:16;42882:23;42875:4;42864:9;42860:20;42853:53;42923:6;42915:14;;;42282:653;;;;:::o
Metadata Hash
be7f08158171c747e58270bef6260bbd1d6fbfd034c670c5d8aed92f5cddc706
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.