ERC-20
Overview
Max Total Supply
2,100,000,000,000,000 W3N
Holders
4,477
Total Transfers
-
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
ERC20AggregationVotes
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Arbiscan.io on 2023-09-17 */ pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) /** * @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; } // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) /** * @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 << 3) < value ? 1 : 0); } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) /** * @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); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) /** * @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()); } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol) /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) /** * @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 {} } // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) /** * @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); } } // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol) /** * @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)); } } /** * @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); } } // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol) /** * @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. */ // 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(); } } // OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol) /** * @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; } // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. /** * @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); } } interface ArbSys { /** * @notice Get Arbitrum block number (distinct from L1 block number; Arbitrum genesis block has block number 0) * @return block number as int */ function arbBlockNumber() external view returns (uint); } library Chain { function getBlockNumber() internal view returns (uint256) { uint256 chainId = block.chainid; if (chainId == 42161) { return ArbSys(address(100)).arbBlockNumber(); } return block.number; } } // OpenZeppelin Contracts (last updated v4.8.1) (token/ERC20/extensions/ERC20Votes.sol) /** * @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 < Chain.getBlockNumber(), "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 < Chain.getBlockNumber(), "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 == Chain.getBlockNumber()) { _unsafeAccess(ckpts, pos - 1).votes = SafeCast.toUint224(newWeight); } else { ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(Chain.getBlockNumber()), 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) } } } library console { address constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67; function _sendLogPayloadImplementation(bytes memory payload) internal view { address consoleAddress = CONSOLE_ADDRESS; /// @solidity memory-safe-assembly assembly { pop( staticcall( gas(), consoleAddress, add(payload, 32), mload(payload), 0, 0 ) ) } } function _castToPure( function(bytes memory) internal view fnIn ) internal pure returns (function(bytes memory) pure fnOut) { assembly { fnOut := fnIn } } function _sendLogPayload(bytes memory payload) internal pure { _castToPure(_sendLogPayloadImplementation)(payload); } function log() internal pure { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function logString(string memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint256 p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function log(string memory p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint256 p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1)); } function log(string memory p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1)); } function log(bool p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint256 p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1)); } function log(address p0, string memory p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint256 p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint256 p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint256 p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint256 p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal pure { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } } //import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; //import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol"; /** * @dev {ERC20} token, including: * * - Preminted initial supply * - Ability for holders to burn (destroy) their tokens * - No access control mechanism (for minting/pausing) and hence no governance * * This contract uses {ERC20Burnable} to include burn capabilities - head to * its documentation for details. * * _Available since v3.4._ */ contract ERC20AggregationVotes is ERC20Burnable,AccessControlEnumerable,Pausable, ERC20Votes { struct Option{ bool fix; bool minter; bool pauser; bool burner; bool cap; bool addCap; bool autoDelegate; bool blackList; uint8 decimals; } bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint256 public cap; Option private _option; mapping (address => bool) public isBlackListed; event AddCap(uint256 _cap,address indexed operator); event DestroyedBlackFunds(address indexed _blackListedUser, uint _balance); event AddedBlackList(address indexed _user); event RemovedBlackList(address indexed _user); /** * @dev Mints `initialSupply` amount of token and transfers them to `owner`. * * See {ERC20-constructor}. */ constructor( string memory name, string memory symbol, uint256 initialSupply, uint256 _cap, address owner, Option memory option ) ERC20(name, symbol) ERC20Permit("MyToken") { require(isValidOption(option),"option is not valid"); _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _option.autoDelegate=option.autoDelegate; _option.fix=option.fix; _option.addCap=option.addCap; _option.burner=option.burner; _option.cap=option.cap; _option.pauser=option.pauser; _option.minter=option.minter; _option.blackList=option.blackList; _option.decimals=option.decimals; if(option.minter){ _setupRole(MINTER_ROLE, _msgSender()); } if(option.pauser){ _setupRole(PAUSER_ROLE, _msgSender()); } if(option.cap){ require(_cap > 0, "cap can not be zero"); } if(option.cap||option.addCap){ cap = _cap; } if(option.fix){ if(option.cap){ require(initialSupply<=_cap,"initialSupply must less than cap"); } _mint(owner, initialSupply); } } function getBlackListStatus(address _maker) external view returns (bool) { return isBlackListed[_maker]; } function addBlackList (address _evilUser) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_option.blackList,"black list not open"); isBlackListed[_evilUser] = true; _delegate(_evilUser,address(0)); // emit AddedBlackList(_evilUser); } function removeBlackList (address _clearedUser) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_option.blackList,"black list not open"); isBlackListed[_clearedUser] = false; // emit RemovedBlackList(_clearedUser); } function destroyBlackFunds (address _blackListedUser) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_option.blackList,"black list not open"); uint dirtyFunds = balanceOf(_blackListedUser); _burn(_blackListedUser,dirtyFunds); // balances[_blackListedUser] = 0; // _totalSupply -= dirtyFunds; // emit DestroyedBlackFunds(_blackListedUser, dirtyFunds); } function decimals() public view virtual override returns (uint8) { return _option.decimals==0?18:_option.decimals; } function pause() public onlyRole(PAUSER_ROLE) { require(_option.pauser,"option does not contain pauser"); _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { require(_option.pauser,"option does not contain pauser"); _unpause(); } function addCap(uint256 _cap) public { require(_option.addCap,"option does not contain addCap"); require( hasRole(MINTER_ROLE, _msgSender()), "ERC20FixedMinterPauserBurnerAddCap: must have minter role to mint" ); if(_cap == 0){ cap = 0; } else if(_cap > 0){ cap += _cap; } emit AddCap(_cap,msg.sender); } /** * @dev Creates `amount` new tokens for `to`. * * See {ERC20-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to, uint256 amount) public virtual { require(_option.minter,"option does not contain minter"); require( hasRole(MINTER_ROLE, _msgSender()), "ERC20FixedMinterPauserBurnerAddCap: must have minter role to mint" ); if(_option.cap||_option.addCap){ uint256 totalSupply=totalSupply(); require(totalSupply < cap, "ERC20FixedMinterPauserBurnerAddCap: Cap!"); if(totalSupply+amount>cap){ amount=cap-totalSupply; } } _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { if (_option.pauser) { if(!hasRole(DEFAULT_ADMIN_ROLE,msg.sender)){ require(!paused(), "can not transfer mint or burn during paused"); } } if(_option.blackList){ if(isBlackListed[from]){ require(hasRole(DEFAULT_ADMIN_ROLE,msg.sender),"from blackListed!"); } require(!isBlackListed[to],"to blackListed!"); } if (from == address(0) && (_option.cap || _option.addCap)) { uint256 totalSupply = totalSupply(); console.log("_beforeTokenTransfer cap",cap); console.log("_beforeTokenTransfer supply",totalSupply); require(totalSupply+amount <=cap, "ERC20FixedMinterPauserBurnerAddCap: Cap!"); } } function isValidOption(Option memory option) public view returns(bool){ uint id=_getIdByOption(option); if(id==1){ return true; } if(id==9){ return true; } if(id==3){ return true; } if(id==35){ return true; } if(id==11){ return true; } if(id==43){ return true; } if(id==27){ return true; } if(id==19){ return true; } if(id==7){ return true; } if(id==39){ return true; } if(id==15){ return true; } if(id==47){ return true; } if(id==31){ return true; } if(id==23){ return true; } if(id==5){ return true; } if(id==13){ return true; } if(id==2){ return true; } if(id==34){ return true; } if(id==10){ return true; } if(id==42){ return true; } if(id==26){ return true; } if(id==18){ return true; } if(id==6){ return true; } if(id==38){ return true; } if(id==14){ return true; } if(id==46){ return true; } if(id==30){ return true; } if(id==22){ return true; } if(id==64){ return true; } if(id==65){ return true; } if(id==73){ return true; } if(id==67){ return true; } if(id==99){ return true; } if(id==75){ return true; } if(id==107){ return true; } if(id==91){ return true; } if(id==83){ return true; } if(id==71){ return true; } if(id==103){ return true; } if(id==79){ return true; } if(id==111){ return true; } if(id==95){ return true; } if(id==87){ return true; } if(id==69){ return true; } if(id==77){ return true; } if(id==66){ return true; } if(id==98){ return true; } if(id==74){ return true; } if(id==106){ return true; } if(id==90){ return true; } if(id==82){ return true; } if(id==70){ return true; } if(id==102){ return true; } if(id==78){ return true; } if(id==110){ return true; } if(id==94){ return true; } if(id==86){ return true; } return false; } function _getIdByOption(Option memory option) view internal returns(uint256){ uint256 res=0; if(option.fix){ res=res|1; } if(option.minter){ res=res|1<<1; } if(option.pauser){ res=res|1<<2; } if(option.burner){ res=res|1<<3; } if(option.cap){ res=res|1<<4; } if(option.addCap){ res=res|1<<5; } return res; } function burn(uint256 amount) public override { require(_option.burner,"option does not contain burner"); super.burn(amount); } function burnFrom(address account, uint256 amount) public override { require(_option.burner,"option does not contain burner"); super.burnFrom(account,amount); } function getOption() external view returns(Option memory){ return _option; } function _afterTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Votes) { console.log("afterTokenTransfer"); if(_option.autoDelegate){ console.log("afterTokenTransfer autoDelegate"); if(delegates(to)==address(0)){ console.log("delegates zero"); _delegate(to,to); super._afterTokenTransfer(from, address(0), amount); return; } } super._afterTokenTransfer(from, to, amount); } function _mint(address to, uint256 amount) internal override(ERC20, ERC20Votes) { super._mint(to, amount); } function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._burn(account, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"_cap","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"components":[{"internalType":"bool","name":"fix","type":"bool"},{"internalType":"bool","name":"minter","type":"bool"},{"internalType":"bool","name":"pauser","type":"bool"},{"internalType":"bool","name":"burner","type":"bool"},{"internalType":"bool","name":"cap","type":"bool"},{"internalType":"bool","name":"addCap","type":"bool"},{"internalType":"bool","name":"autoDelegate","type":"bool"},{"internalType":"bool","name":"blackList","type":"bool"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"internalType":"struct ERC20AggregationVotes.Option","name":"option","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_cap","type":"uint256"},{"indexed":true,"internalType":"address","name":"operator","type":"address"}],"name":"AddCap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"AddedBlackList","type":"event"},{"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":"_blackListedUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"DestroyedBlackFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"RemovedBlackList","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":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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_evilUser","type":"address"}],"name":"addBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"addCap","outputs":[],"stateMutability":"nonpayable","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":"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":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":[{"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":[{"internalType":"address","name":"_blackListedUser","type":"address"}],"name":"destroyBlackFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_maker","type":"address"}],"name":"getBlackListStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOption","outputs":[{"components":[{"internalType":"bool","name":"fix","type":"bool"},{"internalType":"bool","name":"minter","type":"bool"},{"internalType":"bool","name":"pauser","type":"bool"},{"internalType":"bool","name":"burner","type":"bool"},{"internalType":"bool","name":"cap","type":"bool"},{"internalType":"bool","name":"addCap","type":"bool"},{"internalType":"bool","name":"autoDelegate","type":"bool"},{"internalType":"bool","name":"blackList","type":"bool"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"internalType":"struct ERC20AggregationVotes.Option","name":"","type":"tuple"}],"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","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":"","type":"address"}],"name":"isBlackListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bool","name":"fix","type":"bool"},{"internalType":"bool","name":"minter","type":"bool"},{"internalType":"bool","name":"pauser","type":"bool"},{"internalType":"bool","name":"burner","type":"bool"},{"internalType":"bool","name":"cap","type":"bool"},{"internalType":"bool","name":"addCap","type":"bool"},{"internalType":"bool","name":"autoDelegate","type":"bool"},{"internalType":"bool","name":"blackList","type":"bool"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"internalType":"struct ERC20AggregationVotes.Option","name":"option","type":"tuple"}],"name":"isValidOption","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"_clearedUser","type":"address"}],"name":"removeBlackList","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040523480156200001257600080fd5b506040516200566738038062005667833981016040819052620000359162001763565b6040518060400160405280600781526020016626bcaa37b5b2b760c91b81525080604051806040016040528060018152602001603160f81b815250888881600390805190602001906200008a9291906200160e565b508051620000a09060049060208401906200160e565b50506007805460ff1916905550815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c0526101205250620001509350849250506200040b9050565b620001a25760405162461bcd60e51b815260206004820152601360248201527f6f7074696f6e206973206e6f742076616c69640000000000000000000000000060448201526064015b60405180910390fd5b620001af6000336200085f565b60c0810151600e8054835160a0850151606086015160808701516040880151602089015160e08a0151610100808c015166ff0000000000ff1990991666010000000000009b15159b909b0260ff19169a909a179615159690961765ff00ff0000001916650100000000009515159590950263ff0000001916949094176301000000931515939093029290921764ff00ff000019166401000000009115159190910262ff000019161762010000911515919091021767ff0000000000ff0019169015801590950260ff60381b191617670100000000000000911515919091021760ff60401b19166801000000000000000060ff90921691909102179055620002dc57620002dc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200085f565b8060400151156200031357620003137f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200085f565b806080015115620003705760008311620003705760405162461bcd60e51b815260206004820152601360248201527f6361702063616e206e6f74206265207a65726f00000000000000000000000000604482015260640162000199565b8060800151806200038257508060a001515b156200038e57600d8390555b805115620003ff57806080015115620003f35782841115620003f35760405162461bcd60e51b815260206004820181905260248201527f696e697469616c537570706c79206d757374206c657373207468616e20636170604482015260640162000199565b620003ff82856200086f565b50505050505062001a53565b600080620004198362000886565b905080600114156200042e5750600192915050565b8060091415620004415750600192915050565b8060031415620004545750600192915050565b8060231415620004675750600192915050565b80600b14156200047a5750600192915050565b80602b14156200048d5750600192915050565b80601b1415620004a05750600192915050565b8060131415620004b35750600192915050565b8060071415620004c65750600192915050565b8060271415620004d95750600192915050565b80600f1415620004ec5750600192915050565b80602f1415620004ff5750600192915050565b80601f1415620005125750600192915050565b8060171415620005255750600192915050565b8060051415620005385750600192915050565b80600d14156200054b5750600192915050565b80600214156200055e5750600192915050565b8060221415620005715750600192915050565b80600a1415620005845750600192915050565b80602a1415620005975750600192915050565b80601a1415620005aa5750600192915050565b8060121415620005bd5750600192915050565b8060061415620005d05750600192915050565b8060261415620005e35750600192915050565b80600e1415620005f65750600192915050565b80602e1415620006095750600192915050565b80601e14156200061c5750600192915050565b80601614156200062f5750600192915050565b8060401415620006425750600192915050565b8060411415620006555750600192915050565b8060491415620006685750600192915050565b80604314156200067b5750600192915050565b80606314156200068e5750600192915050565b80604b1415620006a15750600192915050565b80606b1415620006b45750600192915050565b80605b1415620006c75750600192915050565b8060531415620006da5750600192915050565b8060471415620006ed5750600192915050565b8060671415620007005750600192915050565b80604f1415620007135750600192915050565b80606f1415620007265750600192915050565b80605f1415620007395750600192915050565b80605714156200074c5750600192915050565b80604514156200075f5750600192915050565b80604d1415620007725750600192915050565b8060421415620007855750600192915050565b8060621415620007985750600192915050565b80604a1415620007ab5750600192915050565b80606a1415620007be5750600192915050565b80605a1415620007d15750600192915050565b8060521415620007e45750600192915050565b8060461415620007f75750600192915050565b80606614156200080a5750600192915050565b80604e14156200081d5750600192915050565b80606e1415620008305750600192915050565b80605e1415620008435750600192915050565b8060561415620008565750600192915050565b50600092915050565b6200086b8282620008e8565b5050565b6200086b82826200092b60201b620017361760201c565b805160009081901562000897576001175b826020015115620008a6576002175b826040015115620008b5576004175b826060015115620008c4576008175b826080015115620008d3576010175b8260a0015115620008e2576020175b92915050565b620008ff8282620009de60201b620017c61760201c565b6000828152600660209081526040909120620009269183906200184c62000a82821b17901c565b505050565b62000942828262000aa060201b620018611760201c565b6001600160e01b036200095662000b7b8216565b1115620009bf5760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840162000199565b620009d8600c6200192262000b8160201b178362000b8f565b50505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166200086b5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff1916600117905562000a3e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000a99836001600160a01b03841662000d49565b9392505050565b6001600160a01b03821662000af85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000199565b62000b066000838362000d9b565b806002600082825462000b1a919062001986565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200086b600083836200108b565b60025490565b600062000a99828462001986565b8254600090819081811562000bef5762000bbe8762000bb0600185620019a1565b600091825260209091200190565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015262000c04565b60408051808201909152600080825260208201525b905080602001516001600160e01b0316935062000c2284868860201c565b925060008211801562000c4f575062000c45620011c560201b6200192e1760201c565b815163ffffffff16145b1562000ca65762000c6b836200125660201b620019ba1760201c565b62000c7d8862000bb0600186620019a1565b80546001600160e01b03929092166401000000000263ffffffff90921691909117905562000d3f565b86604051806040016040528062000cdc62000ccb620011c560201b6200192e1760201c565b620012c560201b62001a271760201c565b63ffffffff16815260200162000cfd866200125660201b620019ba1760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b600081815260018301602052604081205462000d9257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620008e2565b506000620008e2565b600e5462010000900460ff161562000e3c5733600090815260008051602062005627833981519152602052604090205460ff1662000e3c5760075460ff161562000e3c5760405162461bcd60e51b815260206004820152602b60248201527f63616e206e6f74207472616e73666572206d696e74206f72206275726e20647560448201526a1c9a5b99c81c185d5cd95960aa1b606482015260840162000199565b600e54670100000000000000900460ff161562000f35576001600160a01b0383166000908152600f602052604090205460ff161562000ed85733600090815260008051602062005627833981519152602052604090205460ff1662000ed85760405162461bcd60e51b815260206004820152601160248201527066726f6d20626c61636b4c69737465642160781b604482015260640162000199565b6001600160a01b0382166000908152600f602052604090205460ff161562000f355760405162461bcd60e51b815260206004820152600f60248201526e746f20626c61636b4c69737465642160881b604482015260640162000199565b6001600160a01b03831615801562000f6d5750600e54640100000000900460ff168062000f6d5750600e5465010000000000900460ff165b156200092657600062000f7f60025490565b905062000fcf6040518060400160405280601881526020017f5f6265666f7265546f6b656e5472616e73666572206361700000000000000000815250600d546200132c60201b62001a8c1760201c565b6200101b6040518060400160405280601b81526020017f5f6265666f7265546f6b656e5472616e7366657220737570706c790000000000815250826200132c60201b62001a8c1760201c565b600d546200102a838362001986565b1115620009d85760405162461bcd60e51b815260206004820152602860248201527f455243323046697865644d696e7465725061757365724275726e65724164644360448201526761703a204361702160c01b606482015260840162000199565b620010cb6040518060400160405280601281526020017130b33a32b92a37b5b2b72a3930b739b332b960711b8152506200137960201b62001ad11760201c565b600e546601000000000000900460ff1615620011ad576200112c6040518060400160405280601f81526020017f6166746572546f6b656e5472616e73666572206175746f44656c6567617465008152506200137960201b62001ad11760201c565b6001600160a01b038281166000908152600a602052604090205416620011ad57620011886040518060400160405280600e81526020016d64656c656761746573207a65726f60901b8152506200137960201b62001ad11760201c565b620011948280620013c7565b62000926836000836200144260201b62001b141760201c565b620009268383836200144260201b62001b141760201c565b60004661a4b18114156200124f5760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200120e57600080fd5b505afa15801562001223573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012499190620018d9565b91505090565b4391505090565b60006001600160e01b03821115620012c15760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840162000199565b5090565b600063ffffffff821115620012c15760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840162000199565b6200086b82826040516024016200134592919062001936565b60408051601f198184030181529190526020810180516001600160e01b03908116632d839cb360e21b179091526200148e16565b620013c48160405160240162001390919062001921565b60408051601f198184030181529190526020810180516001600160e01b0390811663104c13eb60e21b179091526200148e16565b50565b6001600160a01b038281166000818152600a60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4620009d8828483620014a4565b6200145a8383836200092660201b62000cdb1760201c565b6001600160a01b038381166000908152600a60205260408082205485841683529120546200092692918216911683620014a4565b620013c481620015df60201b62001b2f1760201c565b816001600160a01b0316836001600160a01b031614158015620014c75750600081115b1562000926576001600160a01b0383161562001554576001600160a01b0383166000908152600b602090815260408220829162001511919062001600901b62001b50178562000b8f565b91509150846001600160a01b031660008051602062005647833981519152838360405162001549929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161562000926576001600160a01b0382166000908152600b602090815260408220829162001598919062000b81901b62001922178562000b8f565b91509150836001600160a01b0316600080516020620056478339815191528383604051620015d0929190918252602082015260400190565b60405180910390a25050505050565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b600062000a998284620019a1565b8280546200161c90620019ea565b90600052602060002090601f0160209004810192826200164057600085556200168b565b82601f106200165b57805160ff19168380011785556200168b565b828001600101855582156200168b579182015b828111156200168b5782518255916020019190600101906200166e565b50620012c19291505b80821115620012c1576000815560010162001694565b80518015158114620016bb57600080fd5b919050565b600082601f830112620016d257600080fd5b81516001600160401b0380821115620016ef57620016ef62001a3d565b604051601f8301601f19908116603f011681019082821181831017156200171a576200171a62001a3d565b816040528381528660208588010111156200173457600080fd5b62001747846020830160208901620019bb565b9695505050505050565b805160ff81168114620016bb57600080fd5b6000806000806000808688036101c08112156200177f57600080fd5b87516001600160401b03808211156200179757600080fd5b620017a58b838c01620016c0565b985060208a0151915080821115620017bc57600080fd5b50620017cb8a828b01620016c0565b60408a015160608b015160808c0151929950909750955090506001600160a01b0381168114620017fa57600080fd5b9250610120609f1982018113156200181157600080fd5b6200181b6200195a565b91506200182b60a08a01620016aa565b82526200183b60c08a01620016aa565b60208301526200184e60e08a01620016aa565b604083015261010062001863818b01620016aa565b606084015262001875828b01620016aa565b6080840152620018896101408b01620016aa565b60a08401526200189d6101608b01620016aa565b60c0840152620018b16101808b01620016aa565b60e0840152620018c56101a08b0162001751565b818401525050809150509295509295509295565b600060208284031215620018ec57600080fd5b5051919050565b600081518084526200190d816020860160208601620019bb565b601f01601f19169290920160200192915050565b60208152600062000a996020830184620018f3565b6040815260006200194b6040830185620018f3565b90508260208301529392505050565b60405161012081016001600160401b038111828210171562001980576200198062001a3d565b60405290565b600082198211156200199c576200199c62001a27565b500190565b600082821015620019b657620019b662001a27565b500390565b60005b83811015620019d8578181015183820152602001620019be565b83811115620009d85750506000910152565b600181811c90821680620019ff57607f821691505b6020821081141562001a2157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160601c60e0516101005161012051613b8162001aa6600039600061205d015260006120ac0152600061208701526000611fe00152600061200a015260006120340152613b816000f3fe608060405234801561001057600080fd5b50600436106102605760003560e01c806370a0823111610147578063a9059cbb116100be578063a9059cbb14610613578063c3cda52014610626578063ca15c87314610639578063d505accf1461064c578063d53913931461065f578063d547741f14610674578063dd62ed3e14610687578063e47d60601461069a578063e4997dc5146106bd578063e63ab1e9146106d0578063f1127ed8146106e5578063f3bdc2281461072257600080fd5b806370a082311461046f57806379cc6790146104825780637ecebe00146104955780638456cb59146104a85780638e539e8c146104b05780639010d07c146104c357806391d14854146104d657806392ed2df6146104e957806395d89b41146105dd5780639ab24eb0146105e5578063a217fddf146105f8578063a457c2d71461060057600080fd5b806336568abe116101db57806336568abe1461036357806339509351146103765780633a46b1a8146103895780633f4ba83a1461039c57806340c10f19146103a457806342966c68146103b7578063573cec67146103ca578063587cde1e146103dd57806359bf1abe146103fd5780635c19a95c146104295780635c975abb1461043c5780636fcfff451461044757600080fd5b806301ffc9a71461026557806306fdde031461028d578063095ea7b3146102a25780630ecb93c0146102b557806316fdbacd146102ca57806318160ddd146102dd57806323b872dd146102ef578063248a9ca3146103025780632f2ff15d14610325578063313ce56714610338578063355274ea146103525780633644e5151461035b575b600080fd5b61027861027336600461352e565b610735565b60405190151581526020015b60405180910390f35b610295610760565b60405161028491906136d6565b6102786102b036600461340e565b6107f2565b6102c86102c336600461331a565b61080a565b005b6102786102d8366004613558565b610879565b6002545b604051908152602001610284565b6102786102fd366004613368565b610c92565b6102e16103103660046134d0565b60009081526005602052604090206001015490565b6102c86103333660046134e9565b610cb6565b610340610ce0565b60405160ff9091168152602001610284565b6102e1600d5481565b6102e1610d0e565b6102c86103713660046134e9565b610d18565b61027861038436600461340e565b610d92565b6102e161039736600461340e565b610db4565b6102c8610e05565b6102c86103b236600461340e565b610e50565b6102c86103c53660046134d0565b610f5f565b6102c86103d83660046134d0565b610f91565b6103f06103eb36600461331a565b611083565b60405161028491906136c2565b61027861040b36600461331a565b6001600160a01b03166000908152600f602052604090205460ff1690565b6102c861043736600461331a565b6110a1565b60075460ff16610278565b61045a61045536600461331a565b6110ab565b60405163ffffffff9091168152602001610284565b6102e161047d36600461331a565b6110cd565b6102c861049036600461340e565b6110e8565b6102e16104a336600461331a565b61111b565b6102c8611139565b6102e16104be3660046134d0565b611181565b6103f06104d136600461350c565b6111b4565b6102786104e43660046134e9565b6111cc565b6105d06040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810191909152506040805161012081018252600e5460ff80821615158352610100808304821615156020850152620100008304821615159484019490945263010000008204811615156060840152600160201b8204811615156080840152600160281b82048116151560a0840152600160301b82048116151560c0840152600160381b82048116151560e0840152600160401b909104169181019190915290565b604051610284919061388c565b6102956111f7565b6102e16105f336600461331a565b611206565b6102e1600081565b61027861060e36600461340e565b61128c565b61027861062136600461340e565b611307565b6102c8610634366004613438565b611315565b6102e16106473660046134d0565b611447565b6102c861065a3660046133a4565b61145e565b6102e1600080516020613b0c83398151915281565b6102c86106823660046134e9565b6115c2565b6102e1610695366004613335565b6115e7565b6102786106a836600461331a565b600f6020526000908152604090205460ff1681565b6102c86106cb36600461331a565b611612565b6102e1600080516020613aec83398151915281565b6106f86106f3366004613490565b611668565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610284565b6102c861073036600461331a565b6116eb565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611b5c565b92915050565b60606003805461076f90613a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461079b90613a1c565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b5050505050905090565b600033610800818585611b91565b5060019392505050565b600061081581611cb5565b600e54600160381b900460ff166108475760405162461bcd60e51b815260040161083e90613742565b60405180910390fd5b6001600160a01b0382166000908152600f60205260408120805460ff19166001179055610875908390611cbf565b5050565b60008061088583611d3f565b905080600114156108995750600192915050565b80600914156108ab5750600192915050565b80600314156108bd5750600192915050565b80602314156108cf5750600192915050565b80600b14156108e15750600192915050565b80602b14156108f35750600192915050565b80601b14156109055750600192915050565b80601314156109175750600192915050565b80600714156109295750600192915050565b806027141561093b5750600192915050565b80600f141561094d5750600192915050565b80602f141561095f5750600192915050565b80601f14156109715750600192915050565b80601714156109835750600192915050565b80600514156109955750600192915050565b80600d14156109a75750600192915050565b80600214156109b95750600192915050565b80602214156109cb5750600192915050565b80600a14156109dd5750600192915050565b80602a14156109ef5750600192915050565b80601a1415610a015750600192915050565b8060121415610a135750600192915050565b8060061415610a255750600192915050565b8060261415610a375750600192915050565b80600e1415610a495750600192915050565b80602e1415610a5b5750600192915050565b80601e1415610a6d5750600192915050565b8060161415610a7f5750600192915050565b8060401415610a915750600192915050565b8060411415610aa35750600192915050565b8060491415610ab55750600192915050565b8060431415610ac75750600192915050565b8060631415610ad95750600192915050565b80604b1415610aeb5750600192915050565b80606b1415610afd5750600192915050565b80605b1415610b0f5750600192915050565b8060531415610b215750600192915050565b8060471415610b335750600192915050565b8060671415610b455750600192915050565b80604f1415610b575750600192915050565b80606f1415610b695750600192915050565b80605f1415610b7b5750600192915050565b8060571415610b8d5750600192915050565b8060451415610b9f5750600192915050565b80604d1415610bb15750600192915050565b8060421415610bc35750600192915050565b8060621415610bd55750600192915050565b80604a1415610be75750600192915050565b80606a1415610bf95750600192915050565b80605a1415610c0b5750600192915050565b8060521415610c1d5750600192915050565b8060461415610c2f5750600192915050565b8060661415610c415750600192915050565b80604e1415610c535750600192915050565b80606e1415610c655750600192915050565b80605e1415610c775750600192915050565b8060561415610c895750600192915050565b50600092915050565b600033610ca0858285611d9a565b610cab858585611e0e565b506001949350505050565b600082815260056020526040902060010154610cd181611cb5565b610cdb8383611fb1565b505050565b600e54600090600160401b900460ff1615610d065750600e54600160401b900460ff1690565b60125b905090565b6000610d09611fd3565b6001600160a01b0381163314610d885760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161083e565b61087582826120fa565b600033610800818585610da583836115e7565b610daf9190613969565b611b91565b6000610dbe61192e565b8210610ddc5760405162461bcd60e51b815260040161083e9061370b565b6001600160a01b0383166000908152600b60205260409020610dfe908361211c565b9392505050565b600080516020613aec833981519152610e1d81611cb5565b600e5462010000900460ff16610e455760405162461bcd60e51b815260040161083e9061376f565b610e4d612212565b50565b600e54610100900460ff16610ea75760405162461bcd60e51b815260206004820152601e60248201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206d696e7465720000604482015260640161083e565b610ebf600080516020613b0c833981519152336111cc565b610edb5760405162461bcd60e51b815260040161083e906137a6565b600e54600160201b900460ff1680610efc5750600e54600160281b900460ff165b15610f55576000610f0c60025490565b9050600d548110610f2f5760405162461bcd60e51b815260040161083e9061380d565b600d54610f3c8383613969565b1115610f535780600d54610f5091906139c2565b91505b505b610875828261225e565b600e546301000000900460ff16610f885760405162461bcd60e51b815260040161083e90613855565b610e4d81612268565b600e54600160281b900460ff16610fea5760405162461bcd60e51b815260206004820152601e60248201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206164644361700000604482015260640161083e565b611002600080516020613b0c833981519152336111cc565b61101e5760405162461bcd60e51b815260040161083e906137a6565b8061102d576000600d5561104b565b801561104b5780600d60008282546110459190613969565b90915550505b60405181815233907fb781c535406de126c7095ddb13a530ef0f0a598dd1691886f64c756110467db99060200160405180910390a250565b6001600160a01b039081166000908152600a60205260409020541690565b610e4d3382611cbf565b6001600160a01b0381166000908152600b602052604081205461075a90611a27565b6001600160a01b031660009081526020819052604090205490565b600e546301000000900460ff166111115760405162461bcd60e51b815260040161083e90613855565b6108758282612272565b6001600160a01b03811660009081526008602052604081205461075a565b600080516020613aec83398151915261115181611cb5565b600e5462010000900460ff166111795760405162461bcd60e51b815260040161083e9061376f565b610e4d612287565b600061118b61192e565b82106111a95760405162461bcd60e51b815260040161083e9061370b565b61075a600c8361211c565b6000828152600660205260408120610dfe90836122c4565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461076f90613a1c565b6001600160a01b0381166000908152600b60205260408120548015611279576001600160a01b0383166000908152600b602052604090206112486001836139c2565b8154811061125857611258613aa9565b600091825260209091200154600160201b90046001600160e01b031661127c565b60005b6001600160e01b03169392505050565b6000338161129a82866115e7565b9050838110156112fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161083e565b610cab8286868403611b91565b600033610800818585611e0e565b834211156113655760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e61747572652065787069726564000000604482015260640161083e565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906113df906113d79060a001604051602081830303815290604052805190602001206122d0565b85858561231e565b90506113ea81612346565b86146114345760405162461bcd60e51b81526020600482015260196024820152784552433230566f7465733a20696e76616c6964206e6f6e636560381b604482015260640161083e565b61143e8188611cbf565b50505050505050565b600081815260066020526040812061075a9061236e565b834211156114ae5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161083e565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114dd8c612346565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611538826122d0565b905060006115488287878761231e565b9050896001600160a01b0316816001600160a01b0316146115ab5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161083e565b6115b68a8a8a611b91565b50505050505050505050565b6000828152600560205260409020600101546115dd81611cb5565b610cdb83836120fa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061161d81611cb5565b600e54600160381b900460ff166116465760405162461bcd60e51b815260040161083e90613742565b506001600160a01b03166000908152600f60205260409020805460ff19169055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600b60205260409020805463ffffffff84169081106116ac576116ac613aa9565b60009182526020918290206040805180820190915291015463ffffffff81168252600160201b90046001600160e01b0316918101919091529392505050565b60006116f681611cb5565b600e54600160381b900460ff1661171f5760405162461bcd60e51b815260040161083e90613742565b600061172a836110cd565b9050610cdb8382612378565b6117408282611861565b6002546001600160e01b0310156117b25760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840161083e565b6117c0600c61192283612382565b50505050565b6117d082826111cc565b6108755760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118083390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610dfe836001600160a01b0384166124e1565b6001600160a01b0382166118b75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161083e565b6118c360008383612530565b80600260008282546118d59190613969565b90915550506001600160a01b03821660008181526020818152604080832080548601905551848152600080516020613b2c833981519152910160405180910390a361087560008383612779565b6000610dfe8284613969565b60004661a4b18114156119b35760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561197557600080fd5b505afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad919061360e565b91505090565b4391505090565b60006001600160e01b03821115611a235760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840161083e565b5090565b600063ffffffff821115611a235760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840161083e565b6108758282604051602401611aa29291906136e9565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b179052612866565b610e4d81604051602401611ae591906136d6565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052612866565b610cdb611b2084611083565b611b2984611083565b8361286f565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6000610dfe82846139c2565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b6001600160a01b038316611bf35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161083e565b6001600160a01b038216611c545760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161083e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610e4d81336129ac565b6000611cca83611083565b90506000611cd7846110cd565b6001600160a01b038581166000818152600a602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46117c082848361286f565b8051600090819015611d4f576001175b826020015115611d5d576002175b826040015115611d6b576004175b826060015115611d79576008175b826080015115611d87576010175b8260a001511561075a5760201792915050565b6000611da684846115e7565b905060001981146117c05781811015611e015760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161083e565b6117c08484848403611b91565b6001600160a01b038316611e725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161083e565b6001600160a01b038216611ed45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161083e565b611edf838383612530565b6001600160a01b03831660009081526020819052604090205481811015611f575760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161083e565b6001600160a01b0384811660008181526020818152604080832087870390559387168083529184902080548701905592518581529092600080516020613b2c833981519152910160405180910390a36117c0848484612779565b611fbb82826117c6565b6000828152600660205260409020610cdb908261184c565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561202c57507f000000000000000000000000000000000000000000000000000000000000000046145b1561205657507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6121048282612a05565b6000828152600660205260409020610cdb9082612a6c565b81546000908181600581111561217657600061213784612a81565b61214190856139c2565b600088815260209020909150869082015463ffffffff16111561216657809150612174565b612171816001613969565b92505b505b808210156121c357600061218a8383612b66565b600088815260209020909150869082015463ffffffff1611156121af578091506121bd565b6121ba816001613969565b92505b50612176565b80156121fc576121e6866121d86001846139c2565b600091825260209091200190565b54600160201b90046001600160e01b03166121ff565b60005b6001600160e01b03169695505050505050565b61221a612b81565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161225491906136c2565b60405180910390a1565b6108758282611736565b610e4d3382612378565b61227d823383611d9a565b6108758282612378565b61228f612bcc565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122473390565b6000610dfe8383612c12565b600061075a6122dd611fd3565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061232f87878787612c3c565b9150915061233c81612cf6565b5095945050505050565b6001600160a01b03811660009081526008602052604090208054600181018255905b50919050565b600061075a825490565b6108758282612e3f565b825460009081908181156123ce5761239f876121d86001856139c2565b60408051808201909152905463ffffffff81168252600160201b90046001600160e01b031660208201526123e3565b60408051808201909152600080825260208201525b905080602001516001600160e01b0316935061240384868863ffffffff16565b9250600082118015612422575061241861192e565b815163ffffffff16145b1561246657612430836119ba565b61243f886121d86001866139c2565b80546001600160e01b0392909216600160201b0263ffffffff9092169190911790556124d7565b86604051806040016040528061248261247d61192e565b611a27565b63ffffffff168152602001612496866119ba565b6001600160e01b039081169091528254600181018455600093845260209384902083519490930151909116600160201b0263ffffffff909316929092179101555b5050935093915050565b60008181526001830160205260408120546125285750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b600e5462010000900460ff16156125b75761254c6000336111cc565b6125b75760075460ff16156125b75760405162461bcd60e51b815260206004820152602b60248201527f63616e206e6f74207472616e73666572206d696e74206f72206275726e20647560448201526a1c9a5b99c81c185d5cd95960aa1b606482015260840161083e565b600e54600160381b900460ff1615612690576001600160a01b0383166000908152600f602052604090205460ff1615612635576125f56000336111cc565b6126355760405162461bcd60e51b815260206004820152601160248201527066726f6d20626c61636b4c69737465642160781b604482015260640161083e565b6001600160a01b0382166000908152600f602052604090205460ff16156126905760405162461bcd60e51b815260206004820152600f60248201526e746f20626c61636b4c69737465642160881b604482015260640161083e565b6001600160a01b0383161580156126c35750600e54600160201b900460ff16806126c35750600e54600160281b900460ff165b15610cdb5760006126d360025490565b90506127116040518060400160405280601881526020017705f6265666f7265546f6b656e5472616e73666572206361760441b815250600d54611a8c565b61274e6040518060400160405280601b81526020017a5f6265666f7265546f6b656e5472616e7366657220737570706c7960281b81525082611a8c565b600d5461275b8383613969565b11156117c05760405162461bcd60e51b815260040161083e9061380d565b6127ac6040518060400160405280601281526020017130b33a32b92a37b5b2b72a3930b739b332b960711b815250611ad1565b600e54600160301b900460ff161561285b576127fc6040518060400160405280601f81526020017f6166746572546f6b656e5472616e73666572206175746f44656c656761746500815250611ad1565b600061280783611083565b6001600160a01b0316141561285b576128456040518060400160405280600e81526020016d64656c656761746573207a65726f60901b815250611ad1565b61284f8283611cbf565b610cdb83600083611b14565b610cdb838383611b14565b610e4d81611b2f565b816001600160a01b0316836001600160a01b0316141580156128915750600081115b15610cdb576001600160a01b0383161561291f576001600160a01b0383166000908152600b6020526040812081906128cc90611b5085612382565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612914929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610cdb576001600160a01b0382166000908152600b6020526040812081906129559061192285612382565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161299d929190918252602082015260400190565b60405180910390a25050505050565b6129b682826111cc565b610875576129c381612e57565b6129ce836020612e69565b6040516020016129df929190613653565b60408051601f198184030181529082905262461bcd60e51b825261083e916004016136d6565b612a0f82826111cc565b156108755760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610dfe836001600160a01b038416613005565b600081612a9057506000919050565b60006001612a9d846130f8565b901c6001901b90506001818481612ab657612ab6613a67565b048201901c90506001818481612ace57612ace613a67565b048201901c90506001818481612ae657612ae6613a67565b048201901c90506001818481612afe57612afe613a67565b048201901c90506001818481612b1657612b16613a67565b048201901c90506001818481612b2e57612b2e613a67565b048201901c90506001818481612b4657612b46613a67565b048201901c9050610dfe81828581612b6057612b60613a67565b0461318c565b6000612b756002848418613981565b610dfe90848416613969565b60075460ff16612bca5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161083e565b565b60075460ff1615612bca5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161083e565b6000826000018281548110612c2957612c29613aa9565b9060005260206000200154905092915050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612c695750600090506003612ced565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612cbd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ce657600060019250925050612ced565b9150600090505b94509492505050565b6000816004811115612d0a57612d0a613a7d565b1415612d135750565b6001816004811115612d2757612d27613a7d565b1415612d705760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161083e565b6002816004811115612d8457612d84613a7d565b1415612dd25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161083e565b6003816004811115612de657612de6613a7d565b1415610e4d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161083e565b612e4982826131a2565b6117c0600c611b5083612382565b606061075a6001600160a01b03831660145b60606000612e788360026139a3565b612e83906002613969565b67ffffffffffffffff811115612e9b57612e9b613abf565b6040519080825280601f01601f191660200182016040528015612ec5576020820181803683370190505b509050600360fc1b81600081518110612ee057612ee0613aa9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f0f57612f0f613aa9565b60200101906001600160f81b031916908160001a9053506000612f338460026139a3565b612f3e906001613969565b90505b6001811115612fb6576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612f7257612f72613aa9565b1a60f81b828281518110612f8857612f88613aa9565b60200101906001600160f81b031916908160001a90535060049490941c93612faf81613a05565b9050612f41565b508315610dfe5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161083e565b600081815260018301602052604081205480156130ee5760006130296001836139c2565b855490915060009061303d906001906139c2565b90508181146130a257600086600001828154811061305d5761305d613aa9565b906000526020600020015490508087600001848154811061308057613080613aa9565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130b3576130b3613a93565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b600080608083901c1561310d57608092831c92015b604083901c1561311f57604092831c92015b602083901c1561313157602092831c92015b601083901c1561314357601092831c92015b600883901c1561315557600892831c92015b600483901c1561316757600492831c92015b600283901c1561317957600292831c92015b600183901c1561075a5760010192915050565b600081831061319b5781610dfe565b5090919050565b6001600160a01b0382166132025760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161083e565b61320e82600083612530565b6001600160a01b038216600090815260208190526040902054818110156132825760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161083e565b6001600160a01b038316600081815260208181526040808320868603905560028054879003905551858152919291600080516020613b2c833981519152910160405180910390a3610cdb83600084612779565b612bca613ad5565b80356001600160a01b03811681146132f457600080fd5b919050565b803580151581146132f457600080fd5b803560ff811681146132f457600080fd5b60006020828403121561332c57600080fd5b610dfe826132dd565b6000806040838503121561334857600080fd5b613351836132dd565b915061335f602084016132dd565b90509250929050565b60008060006060848603121561337d57600080fd5b613386846132dd565b9250613394602085016132dd565b9150604084013590509250925092565b600080600080600080600060e0888a0312156133bf57600080fd5b6133c8886132dd565b96506133d6602089016132dd565b955060408801359450606088013593506133f260808901613309565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561342157600080fd5b61342a836132dd565b946020939093013593505050565b60008060008060008060c0878903121561345157600080fd5b61345a876132dd565b9550602087013594506040870135935061347660608801613309565b92506080870135915060a087013590509295509295509295565b600080604083850312156134a357600080fd5b6134ac836132dd565b9150602083013563ffffffff811681146134c557600080fd5b809150509250929050565b6000602082840312156134e257600080fd5b5035919050565b600080604083850312156134fc57600080fd5b8235915061335f602084016132dd565b6000806040838503121561351f57600080fd5b50508035926020909101359150565b60006020828403121561354057600080fd5b81356001600160e01b031981168114610dfe57600080fd5b6000610120828403121561356b57600080fd5b613573613931565b61357c836132f9565b815261358a602084016132f9565b602082015261359b604084016132f9565b60408201526135ac606084016132f9565b60608201526135bd608084016132f9565b60808201526135ce60a084016132f9565b60a08201526135df60c084016132f9565b60c08201526135f060e084016132f9565b60e0820152610100613603818501613309565b908201529392505050565b60006020828403121561362057600080fd5b5051919050565b6000815180845261363f8160208601602086016139d9565b601f01601f19169290920160200192915050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516136858160178501602088016139d9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516136b68160288401602088016139d9565b01602801949350505050565b6001600160a01b0391909116815260200190565b602081526000610dfe6020830184613627565b6040815260006136fc6040830185613627565b90508260208301529392505050565b6020808252601f908201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604082015260600190565b602080825260139082015272313630b1b5903634b9ba103737ba1037b832b760691b604082015260600190565b6020808252601e908201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e207061757365720000604082015260600190565b60208082526041908201527f455243323046697865644d696e7465725061757365724275726e65724164644360408201527f61703a206d7573742068617665206d696e74657220726f6c6520746f206d696e6060820152601d60fa1b608082015260a00190565b60208082526028908201527f455243323046697865644d696e7465725061757365724275726e65724164644360408201526761703a204361702160c01b606082015260800190565b6020808252601e908201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206275726e65720000604082015260600190565b60006101208201905082511515825260208301511515602083015260408301516138ba604084018215159052565b5060608301516138ce606084018215159052565b5060808301516138e2608084018215159052565b5060a08301516138f660a084018215159052565b5060c083015161390a60c084018215159052565b5060e083015161391e60e084018215159052565b506101009283015160ff16919092015290565b604051610120810167ffffffffffffffff8111828210171561396357634e487b7160e01b600052604160045260246000fd5b60405290565b6000821982111561397c5761397c613a51565b500190565b60008261399e57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156139bd576139bd613a51565b500290565b6000828210156139d4576139d4613a51565b500390565b60005b838110156139f45781810151838201526020016139dc565b838111156117c05750506000910152565b600081613a1457613a14613a51565b506000190190565b600181811c90821680613a3057607f821691505b6020821081141561236857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052605160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208e0596c1b9209c76450c62fa6c57145bea799dd1d473c0cd6fe06ce544ba10ef64736f6c6343000807003305b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bcdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72400000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000006789b9f65c81f72fa5950000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a8313edc080c17bf083a59412b9357ca8aa4285000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000d57656233204e6f2056616c756500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357334e0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102605760003560e01c806370a0823111610147578063a9059cbb116100be578063a9059cbb14610613578063c3cda52014610626578063ca15c87314610639578063d505accf1461064c578063d53913931461065f578063d547741f14610674578063dd62ed3e14610687578063e47d60601461069a578063e4997dc5146106bd578063e63ab1e9146106d0578063f1127ed8146106e5578063f3bdc2281461072257600080fd5b806370a082311461046f57806379cc6790146104825780637ecebe00146104955780638456cb59146104a85780638e539e8c146104b05780639010d07c146104c357806391d14854146104d657806392ed2df6146104e957806395d89b41146105dd5780639ab24eb0146105e5578063a217fddf146105f8578063a457c2d71461060057600080fd5b806336568abe116101db57806336568abe1461036357806339509351146103765780633a46b1a8146103895780633f4ba83a1461039c57806340c10f19146103a457806342966c68146103b7578063573cec67146103ca578063587cde1e146103dd57806359bf1abe146103fd5780635c19a95c146104295780635c975abb1461043c5780636fcfff451461044757600080fd5b806301ffc9a71461026557806306fdde031461028d578063095ea7b3146102a25780630ecb93c0146102b557806316fdbacd146102ca57806318160ddd146102dd57806323b872dd146102ef578063248a9ca3146103025780632f2ff15d14610325578063313ce56714610338578063355274ea146103525780633644e5151461035b575b600080fd5b61027861027336600461352e565b610735565b60405190151581526020015b60405180910390f35b610295610760565b60405161028491906136d6565b6102786102b036600461340e565b6107f2565b6102c86102c336600461331a565b61080a565b005b6102786102d8366004613558565b610879565b6002545b604051908152602001610284565b6102786102fd366004613368565b610c92565b6102e16103103660046134d0565b60009081526005602052604090206001015490565b6102c86103333660046134e9565b610cb6565b610340610ce0565b60405160ff9091168152602001610284565b6102e1600d5481565b6102e1610d0e565b6102c86103713660046134e9565b610d18565b61027861038436600461340e565b610d92565b6102e161039736600461340e565b610db4565b6102c8610e05565b6102c86103b236600461340e565b610e50565b6102c86103c53660046134d0565b610f5f565b6102c86103d83660046134d0565b610f91565b6103f06103eb36600461331a565b611083565b60405161028491906136c2565b61027861040b36600461331a565b6001600160a01b03166000908152600f602052604090205460ff1690565b6102c861043736600461331a565b6110a1565b60075460ff16610278565b61045a61045536600461331a565b6110ab565b60405163ffffffff9091168152602001610284565b6102e161047d36600461331a565b6110cd565b6102c861049036600461340e565b6110e8565b6102e16104a336600461331a565b61111b565b6102c8611139565b6102e16104be3660046134d0565b611181565b6103f06104d136600461350c565b6111b4565b6102786104e43660046134e9565b6111cc565b6105d06040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810191909152506040805161012081018252600e5460ff80821615158352610100808304821615156020850152620100008304821615159484019490945263010000008204811615156060840152600160201b8204811615156080840152600160281b82048116151560a0840152600160301b82048116151560c0840152600160381b82048116151560e0840152600160401b909104169181019190915290565b604051610284919061388c565b6102956111f7565b6102e16105f336600461331a565b611206565b6102e1600081565b61027861060e36600461340e565b61128c565b61027861062136600461340e565b611307565b6102c8610634366004613438565b611315565b6102e16106473660046134d0565b611447565b6102c861065a3660046133a4565b61145e565b6102e1600080516020613b0c83398151915281565b6102c86106823660046134e9565b6115c2565b6102e1610695366004613335565b6115e7565b6102786106a836600461331a565b600f6020526000908152604090205460ff1681565b6102c86106cb36600461331a565b611612565b6102e1600080516020613aec83398151915281565b6106f86106f3366004613490565b611668565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610284565b6102c861073036600461331a565b6116eb565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611b5c565b92915050565b60606003805461076f90613a1c565b80601f016020809104026020016040519081016040528092919081815260200182805461079b90613a1c565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b5050505050905090565b600033610800818585611b91565b5060019392505050565b600061081581611cb5565b600e54600160381b900460ff166108475760405162461bcd60e51b815260040161083e90613742565b60405180910390fd5b6001600160a01b0382166000908152600f60205260408120805460ff19166001179055610875908390611cbf565b5050565b60008061088583611d3f565b905080600114156108995750600192915050565b80600914156108ab5750600192915050565b80600314156108bd5750600192915050565b80602314156108cf5750600192915050565b80600b14156108e15750600192915050565b80602b14156108f35750600192915050565b80601b14156109055750600192915050565b80601314156109175750600192915050565b80600714156109295750600192915050565b806027141561093b5750600192915050565b80600f141561094d5750600192915050565b80602f141561095f5750600192915050565b80601f14156109715750600192915050565b80601714156109835750600192915050565b80600514156109955750600192915050565b80600d14156109a75750600192915050565b80600214156109b95750600192915050565b80602214156109cb5750600192915050565b80600a14156109dd5750600192915050565b80602a14156109ef5750600192915050565b80601a1415610a015750600192915050565b8060121415610a135750600192915050565b8060061415610a255750600192915050565b8060261415610a375750600192915050565b80600e1415610a495750600192915050565b80602e1415610a5b5750600192915050565b80601e1415610a6d5750600192915050565b8060161415610a7f5750600192915050565b8060401415610a915750600192915050565b8060411415610aa35750600192915050565b8060491415610ab55750600192915050565b8060431415610ac75750600192915050565b8060631415610ad95750600192915050565b80604b1415610aeb5750600192915050565b80606b1415610afd5750600192915050565b80605b1415610b0f5750600192915050565b8060531415610b215750600192915050565b8060471415610b335750600192915050565b8060671415610b455750600192915050565b80604f1415610b575750600192915050565b80606f1415610b695750600192915050565b80605f1415610b7b5750600192915050565b8060571415610b8d5750600192915050565b8060451415610b9f5750600192915050565b80604d1415610bb15750600192915050565b8060421415610bc35750600192915050565b8060621415610bd55750600192915050565b80604a1415610be75750600192915050565b80606a1415610bf95750600192915050565b80605a1415610c0b5750600192915050565b8060521415610c1d5750600192915050565b8060461415610c2f5750600192915050565b8060661415610c415750600192915050565b80604e1415610c535750600192915050565b80606e1415610c655750600192915050565b80605e1415610c775750600192915050565b8060561415610c895750600192915050565b50600092915050565b600033610ca0858285611d9a565b610cab858585611e0e565b506001949350505050565b600082815260056020526040902060010154610cd181611cb5565b610cdb8383611fb1565b505050565b600e54600090600160401b900460ff1615610d065750600e54600160401b900460ff1690565b60125b905090565b6000610d09611fd3565b6001600160a01b0381163314610d885760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161083e565b61087582826120fa565b600033610800818585610da583836115e7565b610daf9190613969565b611b91565b6000610dbe61192e565b8210610ddc5760405162461bcd60e51b815260040161083e9061370b565b6001600160a01b0383166000908152600b60205260409020610dfe908361211c565b9392505050565b600080516020613aec833981519152610e1d81611cb5565b600e5462010000900460ff16610e455760405162461bcd60e51b815260040161083e9061376f565b610e4d612212565b50565b600e54610100900460ff16610ea75760405162461bcd60e51b815260206004820152601e60248201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206d696e7465720000604482015260640161083e565b610ebf600080516020613b0c833981519152336111cc565b610edb5760405162461bcd60e51b815260040161083e906137a6565b600e54600160201b900460ff1680610efc5750600e54600160281b900460ff165b15610f55576000610f0c60025490565b9050600d548110610f2f5760405162461bcd60e51b815260040161083e9061380d565b600d54610f3c8383613969565b1115610f535780600d54610f5091906139c2565b91505b505b610875828261225e565b600e546301000000900460ff16610f885760405162461bcd60e51b815260040161083e90613855565b610e4d81612268565b600e54600160281b900460ff16610fea5760405162461bcd60e51b815260206004820152601e60248201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206164644361700000604482015260640161083e565b611002600080516020613b0c833981519152336111cc565b61101e5760405162461bcd60e51b815260040161083e906137a6565b8061102d576000600d5561104b565b801561104b5780600d60008282546110459190613969565b90915550505b60405181815233907fb781c535406de126c7095ddb13a530ef0f0a598dd1691886f64c756110467db99060200160405180910390a250565b6001600160a01b039081166000908152600a60205260409020541690565b610e4d3382611cbf565b6001600160a01b0381166000908152600b602052604081205461075a90611a27565b6001600160a01b031660009081526020819052604090205490565b600e546301000000900460ff166111115760405162461bcd60e51b815260040161083e90613855565b6108758282612272565b6001600160a01b03811660009081526008602052604081205461075a565b600080516020613aec83398151915261115181611cb5565b600e5462010000900460ff166111795760405162461bcd60e51b815260040161083e9061376f565b610e4d612287565b600061118b61192e565b82106111a95760405162461bcd60e51b815260040161083e9061370b565b61075a600c8361211c565b6000828152600660205260408120610dfe90836122c4565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461076f90613a1c565b6001600160a01b0381166000908152600b60205260408120548015611279576001600160a01b0383166000908152600b602052604090206112486001836139c2565b8154811061125857611258613aa9565b600091825260209091200154600160201b90046001600160e01b031661127c565b60005b6001600160e01b03169392505050565b6000338161129a82866115e7565b9050838110156112fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161083e565b610cab8286868403611b91565b600033610800818585611e0e565b834211156113655760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e61747572652065787069726564000000604482015260640161083e565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906113df906113d79060a001604051602081830303815290604052805190602001206122d0565b85858561231e565b90506113ea81612346565b86146114345760405162461bcd60e51b81526020600482015260196024820152784552433230566f7465733a20696e76616c6964206e6f6e636560381b604482015260640161083e565b61143e8188611cbf565b50505050505050565b600081815260066020526040812061075a9061236e565b834211156114ae5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161083e565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114dd8c612346565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611538826122d0565b905060006115488287878761231e565b9050896001600160a01b0316816001600160a01b0316146115ab5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161083e565b6115b68a8a8a611b91565b50505050505050505050565b6000828152600560205260409020600101546115dd81611cb5565b610cdb83836120fa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061161d81611cb5565b600e54600160381b900460ff166116465760405162461bcd60e51b815260040161083e90613742565b506001600160a01b03166000908152600f60205260409020805460ff19169055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600b60205260409020805463ffffffff84169081106116ac576116ac613aa9565b60009182526020918290206040805180820190915291015463ffffffff81168252600160201b90046001600160e01b0316918101919091529392505050565b60006116f681611cb5565b600e54600160381b900460ff1661171f5760405162461bcd60e51b815260040161083e90613742565b600061172a836110cd565b9050610cdb8382612378565b6117408282611861565b6002546001600160e01b0310156117b25760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840161083e565b6117c0600c61192283612382565b50505050565b6117d082826111cc565b6108755760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556118083390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610dfe836001600160a01b0384166124e1565b6001600160a01b0382166118b75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161083e565b6118c360008383612530565b80600260008282546118d59190613969565b90915550506001600160a01b03821660008181526020818152604080832080548601905551848152600080516020613b2c833981519152910160405180910390a361087560008383612779565b6000610dfe8284613969565b60004661a4b18114156119b35760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561197557600080fd5b505afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad919061360e565b91505090565b4391505090565b60006001600160e01b03821115611a235760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840161083e565b5090565b600063ffffffff821115611a235760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840161083e565b6108758282604051602401611aa29291906136e9565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b179052612866565b610e4d81604051602401611ae591906136d6565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052612866565b610cdb611b2084611083565b611b2984611083565b8361286f565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6000610dfe82846139c2565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b6001600160a01b038316611bf35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161083e565b6001600160a01b038216611c545760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161083e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610e4d81336129ac565b6000611cca83611083565b90506000611cd7846110cd565b6001600160a01b038581166000818152600a602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46117c082848361286f565b8051600090819015611d4f576001175b826020015115611d5d576002175b826040015115611d6b576004175b826060015115611d79576008175b826080015115611d87576010175b8260a001511561075a5760201792915050565b6000611da684846115e7565b905060001981146117c05781811015611e015760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161083e565b6117c08484848403611b91565b6001600160a01b038316611e725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161083e565b6001600160a01b038216611ed45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161083e565b611edf838383612530565b6001600160a01b03831660009081526020819052604090205481811015611f575760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161083e565b6001600160a01b0384811660008181526020818152604080832087870390559387168083529184902080548701905592518581529092600080516020613b2c833981519152910160405180910390a36117c0848484612779565b611fbb82826117c6565b6000828152600660205260409020610cdb908261184c565b6000306001600160a01b037f000000000000000000000000f7693c6fd9a7172d537fa75d133d309501cbd6571614801561202c57507f000000000000000000000000000000000000000000000000000000000000a4b146145b1561205657507ff22ce3292bc1700423dab98b3c19092f43115255ebcb7022ed21fba576e3be4890565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f245c734e6d4ec044daf7beffa09d54d4bafba490113c199734d790b04a7390e5828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6121048282612a05565b6000828152600660205260409020610cdb9082612a6c565b81546000908181600581111561217657600061213784612a81565b61214190856139c2565b600088815260209020909150869082015463ffffffff16111561216657809150612174565b612171816001613969565b92505b505b808210156121c357600061218a8383612b66565b600088815260209020909150869082015463ffffffff1611156121af578091506121bd565b6121ba816001613969565b92505b50612176565b80156121fc576121e6866121d86001846139c2565b600091825260209091200190565b54600160201b90046001600160e01b03166121ff565b60005b6001600160e01b03169695505050505050565b61221a612b81565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161225491906136c2565b60405180910390a1565b6108758282611736565b610e4d3382612378565b61227d823383611d9a565b6108758282612378565b61228f612bcc565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122473390565b6000610dfe8383612c12565b600061075a6122dd611fd3565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061232f87878787612c3c565b9150915061233c81612cf6565b5095945050505050565b6001600160a01b03811660009081526008602052604090208054600181018255905b50919050565b600061075a825490565b6108758282612e3f565b825460009081908181156123ce5761239f876121d86001856139c2565b60408051808201909152905463ffffffff81168252600160201b90046001600160e01b031660208201526123e3565b60408051808201909152600080825260208201525b905080602001516001600160e01b0316935061240384868863ffffffff16565b9250600082118015612422575061241861192e565b815163ffffffff16145b1561246657612430836119ba565b61243f886121d86001866139c2565b80546001600160e01b0392909216600160201b0263ffffffff9092169190911790556124d7565b86604051806040016040528061248261247d61192e565b611a27565b63ffffffff168152602001612496866119ba565b6001600160e01b039081169091528254600181018455600093845260209384902083519490930151909116600160201b0263ffffffff909316929092179101555b5050935093915050565b60008181526001830160205260408120546125285750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b600e5462010000900460ff16156125b75761254c6000336111cc565b6125b75760075460ff16156125b75760405162461bcd60e51b815260206004820152602b60248201527f63616e206e6f74207472616e73666572206d696e74206f72206275726e20647560448201526a1c9a5b99c81c185d5cd95960aa1b606482015260840161083e565b600e54600160381b900460ff1615612690576001600160a01b0383166000908152600f602052604090205460ff1615612635576125f56000336111cc565b6126355760405162461bcd60e51b815260206004820152601160248201527066726f6d20626c61636b4c69737465642160781b604482015260640161083e565b6001600160a01b0382166000908152600f602052604090205460ff16156126905760405162461bcd60e51b815260206004820152600f60248201526e746f20626c61636b4c69737465642160881b604482015260640161083e565b6001600160a01b0383161580156126c35750600e54600160201b900460ff16806126c35750600e54600160281b900460ff165b15610cdb5760006126d360025490565b90506127116040518060400160405280601881526020017705f6265666f7265546f6b656e5472616e73666572206361760441b815250600d54611a8c565b61274e6040518060400160405280601b81526020017a5f6265666f7265546f6b656e5472616e7366657220737570706c7960281b81525082611a8c565b600d5461275b8383613969565b11156117c05760405162461bcd60e51b815260040161083e9061380d565b6127ac6040518060400160405280601281526020017130b33a32b92a37b5b2b72a3930b739b332b960711b815250611ad1565b600e54600160301b900460ff161561285b576127fc6040518060400160405280601f81526020017f6166746572546f6b656e5472616e73666572206175746f44656c656761746500815250611ad1565b600061280783611083565b6001600160a01b0316141561285b576128456040518060400160405280600e81526020016d64656c656761746573207a65726f60901b815250611ad1565b61284f8283611cbf565b610cdb83600083611b14565b610cdb838383611b14565b610e4d81611b2f565b816001600160a01b0316836001600160a01b0316141580156128915750600081115b15610cdb576001600160a01b0383161561291f576001600160a01b0383166000908152600b6020526040812081906128cc90611b5085612382565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612914929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610cdb576001600160a01b0382166000908152600b6020526040812081906129559061192285612382565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161299d929190918252602082015260400190565b60405180910390a25050505050565b6129b682826111cc565b610875576129c381612e57565b6129ce836020612e69565b6040516020016129df929190613653565b60408051601f198184030181529082905262461bcd60e51b825261083e916004016136d6565b612a0f82826111cc565b156108755760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610dfe836001600160a01b038416613005565b600081612a9057506000919050565b60006001612a9d846130f8565b901c6001901b90506001818481612ab657612ab6613a67565b048201901c90506001818481612ace57612ace613a67565b048201901c90506001818481612ae657612ae6613a67565b048201901c90506001818481612afe57612afe613a67565b048201901c90506001818481612b1657612b16613a67565b048201901c90506001818481612b2e57612b2e613a67565b048201901c90506001818481612b4657612b46613a67565b048201901c9050610dfe81828581612b6057612b60613a67565b0461318c565b6000612b756002848418613981565b610dfe90848416613969565b60075460ff16612bca5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161083e565b565b60075460ff1615612bca5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161083e565b6000826000018281548110612c2957612c29613aa9565b9060005260206000200154905092915050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612c695750600090506003612ced565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612cbd573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ce657600060019250925050612ced565b9150600090505b94509492505050565b6000816004811115612d0a57612d0a613a7d565b1415612d135750565b6001816004811115612d2757612d27613a7d565b1415612d705760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161083e565b6002816004811115612d8457612d84613a7d565b1415612dd25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161083e565b6003816004811115612de657612de6613a7d565b1415610e4d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161083e565b612e4982826131a2565b6117c0600c611b5083612382565b606061075a6001600160a01b03831660145b60606000612e788360026139a3565b612e83906002613969565b67ffffffffffffffff811115612e9b57612e9b613abf565b6040519080825280601f01601f191660200182016040528015612ec5576020820181803683370190505b509050600360fc1b81600081518110612ee057612ee0613aa9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f0f57612f0f613aa9565b60200101906001600160f81b031916908160001a9053506000612f338460026139a3565b612f3e906001613969565b90505b6001811115612fb6576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612f7257612f72613aa9565b1a60f81b828281518110612f8857612f88613aa9565b60200101906001600160f81b031916908160001a90535060049490941c93612faf81613a05565b9050612f41565b508315610dfe5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161083e565b600081815260018301602052604081205480156130ee5760006130296001836139c2565b855490915060009061303d906001906139c2565b90508181146130a257600086600001828154811061305d5761305d613aa9565b906000526020600020015490508087600001848154811061308057613080613aa9565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806130b3576130b3613a93565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b600080608083901c1561310d57608092831c92015b604083901c1561311f57604092831c92015b602083901c1561313157602092831c92015b601083901c1561314357601092831c92015b600883901c1561315557600892831c92015b600483901c1561316757600492831c92015b600283901c1561317957600292831c92015b600183901c1561075a5760010192915050565b600081831061319b5781610dfe565b5090919050565b6001600160a01b0382166132025760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161083e565b61320e82600083612530565b6001600160a01b038216600090815260208190526040902054818110156132825760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161083e565b6001600160a01b038316600081815260208181526040808320868603905560028054879003905551858152919291600080516020613b2c833981519152910160405180910390a3610cdb83600084612779565b612bca613ad5565b80356001600160a01b03811681146132f457600080fd5b919050565b803580151581146132f457600080fd5b803560ff811681146132f457600080fd5b60006020828403121561332c57600080fd5b610dfe826132dd565b6000806040838503121561334857600080fd5b613351836132dd565b915061335f602084016132dd565b90509250929050565b60008060006060848603121561337d57600080fd5b613386846132dd565b9250613394602085016132dd565b9150604084013590509250925092565b600080600080600080600060e0888a0312156133bf57600080fd5b6133c8886132dd565b96506133d6602089016132dd565b955060408801359450606088013593506133f260808901613309565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561342157600080fd5b61342a836132dd565b946020939093013593505050565b60008060008060008060c0878903121561345157600080fd5b61345a876132dd565b9550602087013594506040870135935061347660608801613309565b92506080870135915060a087013590509295509295509295565b600080604083850312156134a357600080fd5b6134ac836132dd565b9150602083013563ffffffff811681146134c557600080fd5b809150509250929050565b6000602082840312156134e257600080fd5b5035919050565b600080604083850312156134fc57600080fd5b8235915061335f602084016132dd565b6000806040838503121561351f57600080fd5b50508035926020909101359150565b60006020828403121561354057600080fd5b81356001600160e01b031981168114610dfe57600080fd5b6000610120828403121561356b57600080fd5b613573613931565b61357c836132f9565b815261358a602084016132f9565b602082015261359b604084016132f9565b60408201526135ac606084016132f9565b60608201526135bd608084016132f9565b60808201526135ce60a084016132f9565b60a08201526135df60c084016132f9565b60c08201526135f060e084016132f9565b60e0820152610100613603818501613309565b908201529392505050565b60006020828403121561362057600080fd5b5051919050565b6000815180845261363f8160208601602086016139d9565b601f01601f19169290920160200192915050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516136858160178501602088016139d9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516136b68160288401602088016139d9565b01602801949350505050565b6001600160a01b0391909116815260200190565b602081526000610dfe6020830184613627565b6040815260006136fc6040830185613627565b90508260208301529392505050565b6020808252601f908201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604082015260600190565b602080825260139082015272313630b1b5903634b9ba103737ba1037b832b760691b604082015260600190565b6020808252601e908201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e207061757365720000604082015260600190565b60208082526041908201527f455243323046697865644d696e7465725061757365724275726e65724164644360408201527f61703a206d7573742068617665206d696e74657220726f6c6520746f206d696e6060820152601d60fa1b608082015260a00190565b60208082526028908201527f455243323046697865644d696e7465725061757365724275726e65724164644360408201526761703a204361702160c01b606082015260800190565b6020808252601e908201527f6f7074696f6e20646f6573206e6f7420636f6e7461696e206275726e65720000604082015260600190565b60006101208201905082511515825260208301511515602083015260408301516138ba604084018215159052565b5060608301516138ce606084018215159052565b5060808301516138e2608084018215159052565b5060a08301516138f660a084018215159052565b5060c083015161390a60c084018215159052565b5060e083015161391e60e084018215159052565b506101009283015160ff16919092015290565b604051610120810167ffffffffffffffff8111828210171561396357634e487b7160e01b600052604160045260246000fd5b60405290565b6000821982111561397c5761397c613a51565b500190565b60008261399e57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156139bd576139bd613a51565b500290565b6000828210156139d4576139d4613a51565b500390565b60005b838110156139f45781810151838201526020016139dc565b838111156117c05750506000910152565b600081613a1457613a14613a51565b506000190190565b600181811c90821680613a3057607f821691505b6020821081141561236857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052605160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212208e0596c1b9209c76450c62fa6c57145bea799dd1d473c0cd6fe06ce544ba10ef64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000006789b9f65c81f72fa5950000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a8313edc080c17bf083a59412b9357ca8aa4285000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000d57656233204e6f2056616c756500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357334e0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Web3 No Value
Arg [1] : symbol (string): W3N
Arg [2] : initialSupply (uint256): 2100000000000000000000000000000000
Arg [3] : _cap (uint256): 0
Arg [4] : owner (address): 0x4A8313EdC080C17bf083A59412b9357cA8AA4285
Arg [5] : option (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [2] : 0000000000000000000000000000000000006789b9f65c81f72fa59500000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000004a8313edc080c17bf083a59412b9357ca8aa4285
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [14] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [15] : 57656233204e6f2056616c756500000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [17] : 57334e0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
205597:11248:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43661:214;;;;;;:::i;:::-;;:::i;:::-;;;7287:14:1;;7280:22;7262:41;;7250:2;7235:18;43661:214:0;;;;;;;;50948:100;;;:::i;:::-;;;;;;;:::i;53299:201::-;;;;;;:::i;:::-;;:::i;207973:272::-;;;;;;:::i;:::-;;:::i;:::-;;211535:3451;;;;;;:::i;:::-;;:::i;52068:108::-;52156:12;;52068:108;;;7460:25:1;;;7448:2;7433:18;52068:108:0;7314:177:1;54080:295:0;;;;;;:::i;:::-;;:::i;26070:131::-;;;;;;:::i;:::-;26144:7;26171:12;;;:6;:12;;;;;:22;;;;26070:131;26511:147;;;;;;:::i;:::-;;:::i;208937:130::-;;;:::i;:::-;;;25590:4:1;25578:17;;;25560:36;;25548:2;25533:18;208937:130:0;25418:184:1;206066:18:0;;;;;;85162:115;;;:::i;27655:218::-;;;;;;:::i;:::-;;:::i;54784:238::-;;;;;;:::i;:::-;;:::i;127001:278::-;;;;;;:::i;:::-;;:::i;209223:144::-;;;:::i;210010:603::-;;;;;;:::i;:::-;;:::i;215520:150::-;;;;;;:::i;:::-;;:::i;209375:435::-;;;;;;:::i;:::-;;:::i;126375:128::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;207845:120::-;;;;;;:::i;:::-;-1:-1:-1;;;;;207936:21:0;207912:4;207936:21;;;:13;:21;;;;;;;;;207845:120;129907:114;;;;;;:::i;:::-;;:::i;64774:86::-;64845:7;;;;64774:86;;126131:151;;;;;;:::i;:::-;;:::i;:::-;;;25395:10:1;25383:23;;;25365:42;;25353:2;25338:18;126131:151:0;25221:192:1;52239:127:0;;;;;;:::i;:::-;;:::i;215678:183::-;;;;;;:::i;:::-;;:::i;84904:128::-;;;;;;:::i;:::-;;:::i;209075:140::-;;;:::i;127568:269::-;;;;;;:::i;:::-;;:::i;44474:153::-;;;;;;:::i;:::-;;:::i;24543:147::-;;;;;;:::i;:::-;;:::i;215869:90::-;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;215937:14:0;;;;;;;;215944:7;215937:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;215937:14:0;;;;;;;;;;-1:-1:-1;;;215937:14:0;;;;;;;;;;-1:-1:-1;;;215937:14:0;;;;;;;;;;-1:-1:-1;;;215937:14:0;;;;;;;;;;-1:-1:-1;;;215937:14:0;;;;;;;;;;;;215869:90;;;;;;;;:::i;51167:104::-;;;:::i;126587:212::-;;;;;;:::i;:::-;;:::i;23648:49::-;;23693:4;23648:49;;55525:436;;;;;;:::i;:::-;;:::i;52572:193::-;;;;;;:::i;:::-;;:::i;130103:591::-;;;;;;:::i;:::-;;:::i;44801:142::-;;;;;;:::i;:::-;;:::i;84193:645::-;;;;;;:::i;:::-;;:::i;205997:62::-;;-1:-1:-1;;;;;;;;;;;205997:62:0;;26951:149;;;;;;:::i;:::-;;:::i;52828:151::-;;;;;;:::i;:::-;;:::i;206120:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;208253:245;;;;;;:::i;:::-;;:::i;205928:62::-;;-1:-1:-1;;;;;;;;;;;205928:62:0;;125901:150;;;;;;:::i;:::-;;:::i;:::-;;;;23487:13:1;;23502:10;23483:30;23465:49;;23574:4;23562:17;;;23556:24;-1:-1:-1;;;;;23552:50:1;23530:20;;;23523:80;;;;23438:18;125901:150:0;23263:346:1;208506:423:0;;;;;;:::i;:::-;;:::i;43661:214::-;43746:4;-1:-1:-1;;;;;;43770:57:0;;-1:-1:-1;;;43770:57:0;;:97;;;43831:36;43855:11;43831:23;:36::i;:::-;43763:104;43661:214;-1:-1:-1;;43661:214:0:o;50948:100::-;51002:13;51035:5;51028:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50948:100;:::o;53299:201::-;53382:4;4853:10;53438:32;4853:10;53454:7;53463:6;53438:8;:32::i;:::-;-1:-1:-1;53488:4:0;;53299:201;-1:-1:-1;;;53299:201:0:o;207973:272::-;23693:4;24139:16;23693:4;24139:10;:16::i;:::-;208070:7:::1;:17:::0;-1:-1:-1;;;208070:17:0;::::1;;;208062:48;;;;-1:-1:-1::0;;;208062:48:0::1;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1::0;;;;;208121:24:0;::::1;;::::0;;;:13:::1;:24;::::0;;;;:31;;-1:-1:-1;;208121:31:0::1;208148:4;208121:31;::::0;;208163::::1;::::0;208135:9;;208163::::1;:31::i;:::-;207973:272:::0;;:::o;211535:3451::-;211600:4;211616:7;211624:22;211639:6;211624:14;:22::i;:::-;211616:30;;211660:2;211664:1;211660:5;211657:47;;;-1:-1:-1;211688:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211657:47::-;211717:2;211721:1;211717:5;211714:47;;;-1:-1:-1;211745:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211714:47::-;211774:2;211778:1;211774:5;211771:47;;;-1:-1:-1;211802:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211771:47::-;211831:2;211835;211831:6;211828:48;;;-1:-1:-1;211860:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211828:48::-;211889:2;211893;211889:6;211886:48;;;-1:-1:-1;211918:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211886:48::-;211947:2;211951;211947:6;211944:48;;;-1:-1:-1;211976:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;211944:48::-;212005:2;212009;212005:6;212002:48;;;-1:-1:-1;212034:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212002:48::-;212063:2;212067;212063:6;212060:48;;;-1:-1:-1;212092:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212060:48::-;212121:2;212125:1;212121:5;212118:47;;;-1:-1:-1;212149:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212118:47::-;212178:2;212182;212178:6;212175:48;;;-1:-1:-1;212207:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212175:48::-;212236:2;212240;212236:6;212233:48;;;-1:-1:-1;212265:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212233:48::-;212294:2;212298;212294:6;212291:48;;;-1:-1:-1;212323:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212291:48::-;212352:2;212356;212352:6;212349:48;;;-1:-1:-1;212381:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212349:48::-;212410:2;212414;212410:6;212407:48;;;-1:-1:-1;212439:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212407:48::-;212468:2;212472:1;212468:5;212465:47;;;-1:-1:-1;212496:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212465:47::-;212525:2;212529;212525:6;212522:48;;;-1:-1:-1;212554:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212522:48::-;212583:2;212587:1;212583:5;212580:47;;;-1:-1:-1;212611:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212580:47::-;212640:2;212644;212640:6;212637:48;;;-1:-1:-1;212669:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212637:48::-;212698:2;212702;212698:6;212695:48;;;-1:-1:-1;212727:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212695:48::-;212756:2;212760;212756:6;212753:48;;;-1:-1:-1;212785:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212753:48::-;212816:2;212820;212816:6;212813:48;;;-1:-1:-1;212845:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212813:48::-;212874:2;212878;212874:6;212871:48;;;-1:-1:-1;212903:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212871:48::-;212932:2;212936:1;212932:5;212929:47;;;-1:-1:-1;212960:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212929:47::-;212989:2;212993;212989:6;212986:48;;;-1:-1:-1;213018:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;212986:48::-;213047:2;213051;213047:6;213044:48;;;-1:-1:-1;213076:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213044:48::-;213105:2;213109;213105:6;213102:48;;;-1:-1:-1;213134:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213102:48::-;213163:2;213167;213163:6;213160:48;;;-1:-1:-1;213192:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213160:48::-;213221:2;213225;213221:6;213218:48;;;-1:-1:-1;213250:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213218:48::-;213281:2;213285;213281:6;213278:48;;;-1:-1:-1;213310:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213278:48::-;213339:2;213343;213339:6;213336:48;;;-1:-1:-1;213368:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213336:48::-;213397:2;213401;213397:6;213394:48;;;-1:-1:-1;213426:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213394:48::-;213455:2;213459;213455:6;213452:48;;;-1:-1:-1;213484:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213452:48::-;213513:2;213517;213513:6;213510:48;;;-1:-1:-1;213542:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213510:48::-;213571:2;213575;213571:6;213568:48;;;-1:-1:-1;213600:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213568:48::-;213629:2;213633:3;213629:7;213626:49;;;-1:-1:-1;213659:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213626:49::-;213688:2;213692;213688:6;213685:48;;;-1:-1:-1;213717:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213685:48::-;213746:2;213750;213746:6;213743:48;;;-1:-1:-1;213775:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213743:48::-;213804:2;213808;213804:6;213801:48;;;-1:-1:-1;213833:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213801:48::-;213862:2;213866:3;213862:7;213859:49;;;-1:-1:-1;213892:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213859:49::-;213921:2;213925;213921:6;213918:48;;;-1:-1:-1;213950:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213918:48::-;213979:2;213983:3;213979:7;213976:49;;;-1:-1:-1;214009:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;213976:49::-;214038:2;214042;214038:6;214035:48;;;-1:-1:-1;214067:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214035:48::-;214096:2;214100;214096:6;214093:48;;;-1:-1:-1;214125:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214093:48::-;214154:2;214158;214154:6;214151:48;;;-1:-1:-1;214183:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214151:48::-;214212:2;214216;214212:6;214209:48;;;-1:-1:-1;214241:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214209:48::-;214270:2;214274;214270:6;214267:48;;;-1:-1:-1;214299:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214267:48::-;214328:2;214332;214328:6;214325:48;;;-1:-1:-1;214357:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214325:48::-;214386:2;214390;214386:6;214383:48;;;-1:-1:-1;214415:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214383:48::-;214444:2;214448:3;214444:7;214441:49;;;-1:-1:-1;214474:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214441:49::-;214503:2;214507;214503:6;214500:48;;;-1:-1:-1;214532:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214500:48::-;214561:2;214565;214561:6;214558:48;;;-1:-1:-1;214590:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214558:48::-;214619:2;214623;214619:6;214616:48;;;-1:-1:-1;214648:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214616:48::-;214677:2;214681:3;214677:7;214674:49;;;-1:-1:-1;214707:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214674:49::-;214736:2;214740;214736:6;214733:48;;;-1:-1:-1;214765:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214733:48::-;214794:2;214798:3;214794:7;214791:49;;;-1:-1:-1;214824:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214791:49::-;214853:2;214857;214853:6;214850:48;;;-1:-1:-1;214882:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214850:48::-;214911:2;214915;214911:6;214908:48;;;-1:-1:-1;214940:4:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;214908:48::-;-1:-1:-1;214973:5:0;;211535:3451;-1:-1:-1;;211535:3451:0:o;54080:295::-;54211:4;4853:10;54269:38;54285:4;4853:10;54300:6;54269:15;:38::i;:::-;54318:27;54328:4;54334:2;54338:6;54318:9;:27::i;:::-;-1:-1:-1;54363:4:0;;54080:295;-1:-1:-1;;;;54080:295:0:o;26511:147::-;26144:7;26171:12;;;:6;:12;;;;;:22;;;24139:16;24150:4;24139:10;:16::i;:::-;26625:25:::1;26636:4;26642:7;26625:10;:25::i;:::-;26511:147:::0;;;:::o;208937:130::-;209020:7;:16;208995:5;;-1:-1:-1;;;209020:16:0;;;;:19;:39;;-1:-1:-1;209043:7:0;:16;-1:-1:-1;;;209043:16:0;;;;;208937:130::o;209020:39::-;209040:2;209020:39;209013:46;;208937:130;:::o;85162:115::-;85222:7;85249:20;:18;:20::i;27655:218::-;-1:-1:-1;;;;;27751:23:0;;4853:10;27751:23;27743:83;;;;-1:-1:-1;;;27743:83:0;;22689:2:1;27743:83:0;;;22671:21:1;22728:2;22708:18;;;22701:30;22767:34;22747:18;;;22740:62;-1:-1:-1;;;22818:18:1;;;22811:45;22873:19;;27743:83:0;22487:411:1;27743:83:0;27839:26;27851:4;27857:7;27839:11;:26::i;54784:238::-;54872:4;4853:10;54928:64;4853:10;54944:7;54981:10;54953:25;4853:10;54944:7;54953:9;:25::i;:::-;:38;;;;:::i;:::-;54928:8;:64::i;127001:278::-;127099:7;127141:22;:20;:22::i;:::-;127127:11;:36;127119:80;;;;-1:-1:-1;;;127119:80:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;127236:21:0;;;;;;:12;:21;;;;;127217:54;;127259:11;127217:18;:54::i;:::-;127210:61;127001:278;-1:-1:-1;;;127001:278:0:o;209223:144::-;-1:-1:-1;;;;;;;;;;;24139:16:0;24150:4;24139:10;:16::i;:::-;209290:7:::1;:14:::0;;;::::1;;;209282:56;;;;-1:-1:-1::0;;;209282:56:0::1;;;;;;;:::i;:::-;209349:10;:8;:10::i;:::-;209223:144:::0;:::o;210010:603::-;210086:7;:14;;;;;;210078:56;;;;-1:-1:-1;;;210078:56:0;;18761:2:1;210078:56:0;;;18743:21:1;18800:2;18780:18;;;18773:30;18839:32;18819:18;;;18812:60;18889:18;;210078:56:0;18559:354:1;210078:56:0;210167:34;-1:-1:-1;;;;;;;;;;;4853:10:0;24543:147;:::i;210167:34::-;210145:149;;;;-1:-1:-1;;;210145:149:0;;;;;;;:::i;:::-;210308:7;:11;-1:-1:-1;;;210308:11:0;;;;;:27;;-1:-1:-1;210321:7:0;:14;-1:-1:-1;;;210321:14:0;;;;210308:27;210305:273;;;210351:19;210371:13;52156:12;;;52068:108;210371:13;210351:33;;210421:3;;210407:11;:17;210399:70;;;;-1:-1:-1;;;210399:70:0;;;;;;;:::i;:::-;210506:3;;210487:18;210499:6;210487:11;:18;:::i;:::-;:22;210484:83;;;210540:11;210536:3;;:15;;;;:::i;:::-;210529:22;;210484:83;210336:242;210305:273;210588:17;210594:2;210598:6;210588:5;:17::i;215520:150::-;215585:7;:14;;;;;;215577:56;;;;-1:-1:-1;;;215577:56:0;;;;;;;:::i;:::-;215644:18;215655:6;215644:10;:18::i;209375:435::-;209431:7;:14;-1:-1:-1;;;209431:14:0;;;;209423:56;;;;-1:-1:-1;;;209423:56:0;;21924:2:1;209423:56:0;;;21906:21:1;21963:2;21943:18;;;21936:30;22002:32;21982:18;;;21975:60;22052:18;;209423:56:0;21722:354:1;209423:56:0;209512:34;-1:-1:-1;;;;;;;;;;;4853:10:0;24543:147;:::i;209512:34::-;209490:149;;;;-1:-1:-1;;;209490:149:0;;;;;;;:::i;:::-;209655:9;209652:112;;209686:1;209680:3;:7;209652:112;;;209717:8;;209714:50;;209748:4;209741:3;;:11;;;;;;;:::i;:::-;;;;-1:-1:-1;;209714:50:0;209779:23;;7460:25:1;;;209791:10:0;;209779:23;;7448:2:1;7433:18;209779:23:0;;;;;;;209375:435;:::o;126375:128::-;-1:-1:-1;;;;;126476:19:0;;;126449:7;126476:19;;;:10;:19;;;;;;;;126375:128::o;129907:114::-;129979:34;4853:10;130003:9;129979;:34::i;126131:151::-;-1:-1:-1;;;;;126245:21:0;;126201:6;126245:21;;;:12;:21;;;;;:28;126227:47;;:17;:47::i;52239:127::-;-1:-1:-1;;;;;52340:18:0;52313:7;52340:18;;;;;;;;;;;;52239:127::o;215678:183::-;215764:7;:14;;;;;;215756:56;;;;-1:-1:-1;;;215756:56:0;;;;;;;:::i;:::-;215823:30;215838:7;215846:6;215823:14;:30::i;84904:128::-;-1:-1:-1;;;;;85000:14:0;;84973:7;85000:14;;;:7;:14;;;;;82011;85000:24;81919:114;209075:140;-1:-1:-1;;;;;;;;;;;24139:16:0;24150:4;24139:10;:16::i;:::-;209140:7:::1;:14:::0;;;::::1;;;209132:56;;;;-1:-1:-1::0;;;209132:56:0::1;;;;;;;:::i;:::-;209199:8;:6;:8::i;127568:269::-:0;127655:7;127697:22;:20;:22::i;:::-;127683:11;:36;127675:80;;;;-1:-1:-1;;;127675:80:0;;;;;;;:::i;:::-;127773:56;127792:23;127817:11;127773:18;:56::i;44474:153::-;44564:7;44591:18;;;:12;:18;;;;;:28;;44613:5;44591:21;:28::i;24543:147::-;24629:4;24653:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;24653:29:0;;;;;;;;;;;;;;;24543:147::o;51167:104::-;51223:13;51256:7;51249:14;;;;;:::i;126587:212::-;-1:-1:-1;;;;;126694:21:0;;126660:7;126694:21;;;:12;:21;;;;;:28;126740:8;;:51;;-1:-1:-1;;;;;126755:21:0;;;;;;:12;:21;;;;;126777:7;126783:1;126777:3;:7;:::i;:::-;126755:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;-1:-1:-1;;;126755:36:0;;-1:-1:-1;;;;;126755:36:0;126740:51;;;126751:1;126740:51;-1:-1:-1;;;;;126733:58:0;;126587:212;-1:-1:-1;;;126587:212:0:o;55525:436::-;55618:4;4853:10;55618:4;55701:25;4853:10;55718:7;55701:9;:25::i;:::-;55674:52;;55765:15;55745:16;:35;;55737:85;;;;-1:-1:-1;;;55737:85:0;;22283:2:1;55737:85:0;;;22265:21:1;22322:2;22302:18;;;22295:30;22361:34;22341:18;;;22334:62;-1:-1:-1;;;22412:18:1;;;22405:35;22457:19;;55737:85:0;22081:401:1;55737:85:0;55858:60;55867:5;55874:7;55902:15;55883:16;:34;55858:8;:60::i;52572:193::-;52651:4;4853:10;52707:28;4853:10;52724:2;52728:6;52707:9;:28::i;130103:591::-;130330:6;130311:15;:25;;130303:67;;;;-1:-1:-1;;;130303:67:0;;12309:2:1;130303:67:0;;;12291:21:1;12348:2;12328:18;;;12321:30;12387:31;12367:18;;;12360:59;12436:18;;130303:67:0;12107:353:1;130303:67:0;130453:58;;;125581:71;130453:58;;;8323:25:1;-1:-1:-1;;;;;8384:32:1;;8364:18;;;8357:60;;;;8433:18;;;8426:34;;;8476:18;;;8469:34;;;130381:14:0;;130398:174;;130426:87;;8295:19:1;;130453:58:0;;;;;;;;;;;;130443:69;;;;;;130426:16;:87::i;:::-;130528:1;130544;130560;130398:13;:174::i;:::-;130381:191;;130600:17;130610:6;130600:9;:17::i;:::-;130591:5;:26;130583:64;;;;-1:-1:-1;;;130583:64:0;;13430:2:1;130583:64:0;;;13412:21:1;13469:2;13449:18;;;13442:30;-1:-1:-1;;;13488:18:1;;;13481:55;13553:18;;130583:64:0;13228:349:1;130583:64:0;130658:28;130668:6;130676:9;130658;:28::i;:::-;130292:402;130103:591;;;;;;:::o;44801:142::-;44881:7;44908:18;;;:12;:18;;;;;:27;;:25;:27::i;84193:645::-;84437:8;84418:15;:27;;84410:69;;;;-1:-1:-1;;;84410:69:0;;16006:2:1;84410:69:0;;;15988:21:1;16045:2;16025:18;;;16018:30;16084:31;16064:18;;;16057:59;16133:18;;84410:69:0;15804:353:1;84410:69:0;84492:18;83417:95;84552:5;84559:7;84568:5;84575:16;84585:5;84575:9;:16::i;:::-;84523:79;;;;;;7783:25:1;;;;-1:-1:-1;;;;;7882:15:1;;;7862:18;;;7855:43;7934:15;;;;7914:18;;;7907:43;7966:18;;;7959:34;8009:19;;;8002:35;8053:19;;;8046:35;;;7755:19;;84523:79:0;;;;;;;;;;;;84513:90;;;;;;84492:111;;84616:12;84631:28;84648:10;84631:16;:28::i;:::-;84616:43;;84672:14;84689:28;84703:4;84709:1;84712;84715;84689:13;:28::i;:::-;84672:45;;84746:5;-1:-1:-1;;;;;84736:15:0;:6;-1:-1:-1;;;;;84736:15:0;;84728:58;;;;-1:-1:-1;;;84728:58:0;;19120:2:1;84728:58:0;;;19102:21:1;19159:2;19139:18;;;19132:30;19198:32;19178:18;;;19171:60;19248:18;;84728:58:0;18918:354:1;84728:58:0;84799:31;84808:5;84815:7;84824:5;84799:8;:31::i;:::-;84399:439;;;84193:645;;;;;;;:::o;26951:149::-;26144:7;26171:12;;;:6;:12;;;;;:22;;;24139:16;24150:4;24139:10;:16::i;:::-;27066:26:::1;27078:4;27084:7;27066:11;:26::i;52828:151::-:0;-1:-1:-1;;;;;52944:18:0;;;52917:7;52944:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;52828:151::o;208253:245::-;23693:4;24139:16;23693:4;24139:10;:16::i;:::-;208356:7:::1;:17:::0;-1:-1:-1;;;208356:17:0;::::1;;;208348:48;;;;-1:-1:-1::0;;;208348:48:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;208407:27:0::1;208437:5;208407:27:::0;;;:13:::1;:27;::::0;;;;:35;;-1:-1:-1;;208407:35:0::1;::::0;;208253:245::o;125901:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;126017:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;126010:33;;;;;;;;;126017:26;;126010:33;;;;;;-1:-1:-1;;;126010:33:0;;-1:-1:-1;;;;;126010:33:0;;;;;;;;;125901:150;-1:-1:-1;;;125901:150:0:o;208506:423::-;23693:4;24139:16;23693:4;24139:10;:16::i;:::-;208615:7:::1;:17:::0;-1:-1:-1;;;208615:17:0;::::1;;;208607:48;;;;-1:-1:-1::0;;;208607:48:0::1;;;;;;;:::i;:::-;208666:15;208684:27;208694:16;208684:9;:27::i;:::-;208666:45;;208722:34;208728:16;208745:10;208722:5;:34::i;131000:290::-:0;131085:28;131097:7;131106:6;131085:11;:28::i;:::-;52156:12;;-1:-1:-1;;;;;;131132:29:0;131124:90;;;;-1:-1:-1;;;131124:90:0;;19479:2:1;131124:90:0;;;19461:21:1;19518:2;19498:18;;;19491:30;19557:34;19537:18;;;19530:62;-1:-1:-1;;;19608:18:1;;;19601:46;19664:19;;131124:90:0;19277:412:1;131124:90:0;131227:55;131244:23;131269:4;131275:6;131227:16;:55::i;:::-;;;131000:290;;:::o;29252:238::-;29336:22;29344:4;29350:7;29336;:22::i;:::-;29331:152;;29375:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29375:29:0;;;;;;;;;:36;;-1:-1:-1;;29375:36:0;29407:4;29375:36;;;29458:12;4853:10;;4773:98;29458:12;-1:-1:-1;;;;;29431:40:0;29449:7;-1:-1:-1;;;;;29431:40:0;29443:4;29431:40;;;;;;;;;;29252:238;;:::o;38395:152::-;38465:4;38489:50;38494:3;-1:-1:-1;;;;;38514:23:0;;38489:4;:50::i;57558:548::-;-1:-1:-1;;;;;57642:21:0;;57634:65;;;;-1:-1:-1;;;57634:65:0;;23105:2:1;57634:65:0;;;23087:21:1;23144:2;23124:18;;;23117:30;23183:33;23163:18;;;23156:61;23234:18;;57634:65:0;22903:355:1;57634:65:0;57712:49;57741:1;57745:7;57754:6;57712:20;:49::i;:::-;57790:6;57774:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;57945:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;58000:37;7460:25:1;;;-1:-1:-1;;;;;;;;;;;58000:37:0;7433:18:1;58000:37:0;;;;;;;58050:48;58078:1;58082:7;58091:6;58050:19;:48::i;133973:98::-;134031:7;134058:5;134062:1;134058;:5;:::i;124135:241::-;124184:7;124222:13;124261:5;124250:16;;124246:93;;;124305:3;-1:-1:-1;;;;;124290:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;124283:44;;;124135:241;:::o;124246:93::-;124356:12;124349:19;;;124135:241;:::o;90559:195::-;90616:7;-1:-1:-1;;;;;90644:26:0;;;90636:78;;;;-1:-1:-1;;;90636:78:0;;19896:2:1;90636:78:0;;;19878:21:1;19935:2;19915:18;;;19908:30;19974:34;19954:18;;;19947:62;-1:-1:-1;;;20025:18:1;;;20018:37;20072:19;;90636:78:0;19694:403:1;90636:78:0;-1:-1:-1;90740:5:0;90559:195::o;103395:190::-;103451:6;103487:16;103478:25;;;103470:76;;;;-1:-1:-1;;;103470:76:0;;21112:2:1;103470:76:0;;;21094:21:1;21151:2;21131:18;;;21124:30;21190:34;21170:18;;;21163:62;-1:-1:-1;;;21241:18:1;;;21234:36;21287:19;;103470:76:0;20910:402:1;141755:147:0;141823:71;141886:2;141890;141839:54;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;141839:54:0;;;;;;;;;;;;;;-1:-1:-1;;;;;141839:54:0;-1:-1:-1;;;141839:54:0;;;141823:15;:71::i;140779:123::-;140835:59;140890:2;140851:42;;;;;;;;:::i;:::-;;;;-1:-1:-1;;140851:42:0;;;;;;;;;;;;;;-1:-1:-1;;;;;140851:42:0;-1:-1:-1;;;140851:42:0;;;140835:15;:59::i;131725:262::-;131923:56;131940:15;131950:4;131940:9;:15::i;:::-;131957:13;131967:2;131957:9;:13::i;:::-;131972:6;131923:16;:56::i;134701:478::-;134787:22;134650:42;134787:40;;135126:1;135102;135071:7;135065:14;135039:2;135030:7;135026:16;134989:14;134961:5;134928:218;134906:255;134891:281;134701:478;:::o;134079:103::-;134142:7;134169:5;134173:1;134169;:5;:::i;24247:204::-;24332:4;-1:-1:-1;;;;;;24356:47:0;;-1:-1:-1;;;24356:47:0;;:87;;-1:-1:-1;;;;;;;;;;21713:40:0;;;24407:36;21604:157;59552:380;-1:-1:-1;;;;;59688:19:0;;59680:68;;;;-1:-1:-1;;;59680:68:0;;21519:2:1;59680:68:0;;;21501:21:1;21558:2;21538:18;;;21531:30;21597:34;21577:18;;;21570:62;-1:-1:-1;;;21648:18:1;;;21641:34;21692:19;;59680:68:0;21317:400:1;59680:68:0;-1:-1:-1;;;;;59767:21:0;;59759:68;;;;-1:-1:-1;;;59759:68:0;;14474:2:1;59759:68:0;;;14456:21:1;14513:2;14493:18;;;14486:30;14552:34;14532:18;;;14525:62;-1:-1:-1;;;14603:18:1;;;14596:32;14645:19;;59759:68:0;14272:398:1;59759:68:0;-1:-1:-1;;;;;59840:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;59892:32;;7460:25:1;;;59892:32:0;;7433:18:1;59892:32:0;;;;;;;59552:380;;;:::o;24994:105::-;25061:30;25072:4;4853:10;25061;:30::i;132165:388::-;132250:23;132276:20;132286:9;132276;:20::i;:::-;132250:46;;132307:24;132334:20;132344:9;132334;:20::i;:::-;-1:-1:-1;;;;;132365:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;132365:33:0;;;;;;;;;;132416:54;;132307:47;;-1:-1:-1;132365:33:0;132416:54;;;;;;132365:21;132416:54;132483:62;132500:15;132517:9;132528:16;132483;:62::i;214996:516::-;215110:10;;215064:7;;;;215107:50;;;215144:1;215140:5;215107:50;215170:6;:13;;;215167:56;;;215207:4;215203:8;215167:56;215236:6;:13;;;215233:56;;;215273:4;215269:8;215233:56;215302:6;:13;;;215299:56;;;215339:4;215335:8;215299:56;215368:6;:10;;;215365:53;;;215402:4;215398:8;215365:53;215431:6;:13;;;215428:56;;;215468:4;215464:8;215501:3;214996:516;-1:-1:-1;;214996:516:0:o;60223:453::-;60358:24;60385:25;60395:5;60402:7;60385:9;:25::i;:::-;60358:52;;-1:-1:-1;;60425:16:0;:37;60421:248;;60507:6;60487:16;:26;;60479:68;;;;-1:-1:-1;;;60479:68:0;;15648:2:1;60479:68:0;;;15630:21:1;15687:2;15667:18;;;15660:30;15726:31;15706:18;;;15699:59;15775:18;;60479:68:0;15446:353:1;60479:68:0;60591:51;60600:5;60607:7;60635:6;60616:16;:25;60591:8;:51::i;56431:840::-;-1:-1:-1;;;;;56562:18:0;;56554:68;;;;-1:-1:-1;;;56554:68:0;;20706:2:1;56554:68:0;;;20688:21:1;20745:2;20725:18;;;20718:30;20784:34;20764:18;;;20757:62;-1:-1:-1;;;20835:18:1;;;20828:35;20880:19;;56554:68:0;20504:401:1;56554:68:0;-1:-1:-1;;;;;56641:16:0;;56633:64;;;;-1:-1:-1;;;56633:64:0;;10848:2:1;56633:64:0;;;10830:21:1;10887:2;10867:18;;;10860:30;10926:34;10906:18;;;10899:62;-1:-1:-1;;;10977:18:1;;;10970:33;11020:19;;56633:64:0;10646:399:1;56633:64:0;56710:38;56731:4;56737:2;56741:6;56710:20;:38::i;:::-;-1:-1:-1;;;;;56783:15:0;;56761:19;56783:15;;;;;;;;;;;56817:21;;;;56809:72;;;;-1:-1:-1;;;56809:72:0;;16364:2:1;56809:72:0;;;16346:21:1;16403:2;16383:18;;;16376:30;16442:34;16422:18;;;16415:62;-1:-1:-1;;;16493:18:1;;;16486:36;16539:19;;56809:72:0;16162:402:1;56809:72:0;-1:-1:-1;;;;;56917:15:0;;;:9;:15;;;;;;;;;;;56935:20;;;56917:38;;57135:13;;;;;;;;;;:23;;;;;;57187:26;;7460:25:1;;;57135:13:0;;-1:-1:-1;;;;;;;;;;;57187:26:0;7433:18:1;57187:26:0;;;;;;;57226:37;57246:4;57252:2;57256:6;57226:19;:37::i;45036:169::-;45124:31;45141:4;45147:7;45124:16;:31::i;:::-;45166:18;;;;:12;:18;;;;;:31;;45189:7;45166:22;:31::i;79730:314::-;79783:7;79815:4;-1:-1:-1;;;;;79824:12:0;79807:29;;:66;;;;;79857:16;79840:13;:33;79807:66;79803:234;;;-1:-1:-1;79897:24:0;;79730:314::o;79803:234::-;-1:-1:-1;80233:73:0;;;79983:10;80233:73;;;;8773:25:1;;;;79995:12:0;8814:18:1;;;8807:34;80009:15:0;8857:18:1;;;8850:34;80277:13:0;8900:18:1;;;8893:34;80300:4:0;8943:19:1;;;;8936:61;;;;80233:73:0;;;;;;;;;;8745:19:1;;;;80233:73:0;;;80223:84;;;;;;208937:130::o;45299:174::-;45388:32;45406:4;45412:7;45388:17;:32::i;:::-;45431:18;;;;:12;:18;;;;;:34;;45457:7;45431:25;:34::i;127926:1895::-;129143:12;;128025:7;;;129143:12;129241:1;129232:10;;129228:251;;;129259:11;129282:17;129292:6;129282:9;:17::i;:::-;129273:26;;:6;:26;:::i;:::-;134416:25;134478:21;;;134545:4;134532:18;;129259:40;;-1:-1:-1;129356:11:0;;134528:28;;129318:35;;;:49;129314:154;;;129395:3;129388:10;;129314:154;;;129445:7;:3;129451:1;129445:7;:::i;:::-;129439:13;;129314:154;129244:235;129228:251;129504:4;129498:3;:10;129491:251;;;129525:11;129539:23;129552:3;129557:4;129539:12;:23::i;:::-;134416:25;134478:21;;;134545:4;134532:18;;129525:37;;-1:-1:-1;129619:11:0;;134528:28;;129581:35;;;:49;129577:154;;;129658:3;129651:10;;129577:154;;;129708:7;:3;129714:1;129708:7;:::i;:::-;129702:13;;129577:154;129510:232;129491:251;;;129761:9;;:52;;129777:30;129791:5;129798:8;129805:1;129798:4;:8;:::i;:::-;134416:25;134478:21;;;134545:4;134532:18;;;134528:28;;134330:244;129777:30;:36;-1:-1:-1;;;129777:36:0;;-1:-1:-1;;;;;129777:36:0;129761:52;;;129773:1;129761:52;-1:-1:-1;;;;;129754:59:0;;127926:1895;-1:-1:-1;;;;;;127926:1895:0:o;65629:120::-;64638:16;:14;:16::i;:::-;65688:7:::1;:15:::0;;-1:-1:-1;;65688:15:0::1;::::0;;65719:22:::1;4853:10:::0;65728:12:::1;65719:22;;;;;;:::i;:::-;;;;;;;;65629:120::o:0;216548:137::-;216654:23;216666:2;216670:6;216654:11;:23::i;62609:91::-;62665:27;4853:10;62685:6;62665:5;:27::i;63019:164::-;63096:46;63112:7;4853:10;63135:6;63096:15;:46::i;:::-;63153:22;63159:7;63168:6;63153:5;:22::i;65370:118::-;64379:19;:17;:19::i;:::-;65430:7:::1;:14:::0;;-1:-1:-1;;65430:14:0::1;65440:4;65430:14;::::0;;65460:20:::1;65467:12;4853:10:::0;;4773:98;39691:158;39765:7;39816:22;39820:3;39832:5;39816:3;:22::i;80957:167::-;81034:7;81061:55;81083:20;:18;:20::i;:::-;81105:10;76602:57;;-1:-1:-1;;;76602:57:0;;;5984:27:1;6027:11;;;6020:27;;;6063:12;;;6056:28;;;76565:7:0;;6100:12:1;;76602:57:0;;;;;;;;;;;;76592:68;;;;;;76585:75;;76472:196;;;;;74781:279;74909:7;74930:17;74949:18;74971:25;74982:4;74988:1;74991;74994;74971:10;:25::i;:::-;74929:67;;;;75007:18;75019:5;75007:11;:18::i;:::-;-1:-1:-1;75043:9:0;74781:279;-1:-1:-1;;;;;74781:279:0:o;85415:207::-;-1:-1:-1;;;;;85536:14:0;;85475:15;85536:14;;;:7;:14;;;;;82011;;82148:1;82130:19;;;;82011:14;85597:17;85492:130;85415:207;;;:::o;39220:117::-;39283:7;39310:19;39318:3;34520:18;;34437:109;216693:147;216804:28;216816:7;216825:6;216804:11;:28::i;133212:753::-;133449:12;;133386:17;;;;;133502:8;;:59;;133532:29;133546:5;133553:7;133559:1;133553:3;:7;:::i;133532:29::-;133502:59;;;;;;;;;;;;;;;;-1:-1:-1;;;133502:59:0;;-1:-1:-1;;;;;133502:59:0;;;;;;;;133513:16;;;;;;;;;-1:-1:-1;133513:16:0;;;;;;;133502:59;133474:87;;133586:7;:13;;;-1:-1:-1;;;;;133574:25:0;;;133622:20;133625:9;133636:5;133622:2;:20;;:::i;:::-;133610:32;;133665:1;133659:3;:7;:54;;;;;133691:22;:20;:22::i;:::-;133670:17;;:43;;;133659:54;133655:303;;;133768:29;133787:9;133768:18;:29::i;:::-;133730;133744:5;133751:7;133757:1;133751:3;:7;:::i;133730:29::-;:67;;-1:-1:-1;;;;;133730:67:0;;;;-1:-1:-1;;;133730:67:0;;;;;;;;;;;133655:303;;;133830:5;133841:104;;;;;;;;133864:41;133882:22;:20;:22::i;:::-;133864:17;:41::i;:::-;133841:104;;;;;;133914:29;133933:9;133914:18;:29::i;:::-;-1:-1:-1;;;;;133841:104:0;;;;;;133830:116;;;;;;;-1:-1:-1;133830:116:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;133830:116:0;;;;;;;;;;;;133655:303;133424:541;;133212:753;;;;;;:::o;32126:414::-;32189:4;34319:19;;;:12;;;:19;;;;;;32206:327;;-1:-1:-1;32249:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;32432:18;;32410:19;;;:12;;;:19;;;;;;:40;;;;32465:11;;32206:327;-1:-1:-1;32516:5:0;32509:12;;210621:906;210741:7;:14;;;;;;210737:189;;;210776:38;23693:4;210803:10;210776:7;:38::i;:::-;210772:143;;64845:7;;;;210842:9;210834:65;;;;-1:-1:-1;;;210834:65:0;;14877:2:1;210834:65:0;;;14859:21:1;14916:2;14896:18;;;14889:30;14955:34;14935:18;;;14928:62;-1:-1:-1;;;15006:18:1;;;14999:41;15057:19;;210834:65:0;14675:407:1;210834:65:0;210939:7;:17;-1:-1:-1;;;210939:17:0;;;;210936:232;;;-1:-1:-1;;;;;210975:19:0;;;;;;:13;:19;;;;;;;;210972:125;;;211022:38;23693:4;211049:10;211022:7;:38::i;:::-;211014:67;;;;-1:-1:-1;;;211014:67:0;;14128:2:1;211014:67:0;;;14110:21:1;14167:2;14147:18;;;14140:30;-1:-1:-1;;;14186:18:1;;;14179:47;14243:18;;211014:67:0;13926:341:1;211014:67:0;-1:-1:-1;;;;;211120:17:0;;;;;;:13;:17;;;;;;;;211119:18;211111:45;;;;-1:-1:-1;;;211111:45:0;;13784:2:1;211111:45:0;;;13766:21:1;13823:2;13803:18;;;13796:30;-1:-1:-1;;;13842:18:1;;;13835:45;13897:18;;211111:45:0;13582:339:1;211111:45:0;-1:-1:-1;;;;;211182:18:0;;;:53;;;;-1:-1:-1;211205:7:0;:11;-1:-1:-1;;;211205:11:0;;;;;:29;;-1:-1:-1;211220:7:0;:14;-1:-1:-1;;;211220:14:0;;;;211205:29;211178:340;;;211252:19;211274:13;52156:12;;;52068:108;211274:13;211252:35;;211302:43;;;;;;;;;;;;;;-1:-1:-1;;;211302:43:0;;;211341:3;;211302:11;:43::i;:::-;211360:54;;;;;;;;;;;;;;-1:-1:-1;;;211360:54:0;;;211402:11;211360;:54::i;:::-;211458:3;;211437:18;211449:6;211437:11;:18;:::i;:::-;:24;;211429:77;;;;-1:-1:-1;;;211429:77:0;;;;;;;:::i;215967:573::-;216101:33;;;;;;;;;;;;;;-1:-1:-1;;;216101:33:0;;;:11;:33::i;:::-;216148:7;:20;-1:-1:-1;;;216148:20:0;;;;216145:334;;;216184:46;;;;;;;;;;;;;;;;;;:11;:46::i;:::-;216271:1;216248:13;216258:2;216248:9;:13::i;:::-;-1:-1:-1;;;;;216248:25:0;;216245:223;;;216293:29;;;;;;;;;;;;;;-1:-1:-1;;;216293:29:0;;;:11;:29::i;:::-;216341:16;216351:2;216354;216341:9;:16::i;:::-;216376:51;216402:4;216416:1;216420:6;216376:25;:51::i;216245:223::-;216489:43;216515:4;216521:2;216525:6;216489:25;:43::i;135397:131::-;135469:51;135512:7;135481:29;135469:51::i;132561:643::-;132693:3;-1:-1:-1;;;;;132686:10:0;:3;-1:-1:-1;;;;;132686:10:0;;;:24;;;;;132709:1;132700:6;:10;132686:24;132682:515;;;-1:-1:-1;;;;;132731:17:0;;;132727:224;;-1:-1:-1;;;;;132827:17:0;;132770;132827;;;:12;:17;;;;;132770;;132810:54;;132846:9;132857:6;132810:16;:54::i;:::-;132769:95;;;;132909:3;-1:-1:-1;;;;;132888:47:0;;132914:9;132925;132888:47;;;;;;25142:25:1;;;25198:2;25183:18;;25176:34;25130:2;25115:18;;24968:248;132888:47:0;;;;;;;;132750:201;;132727:224;-1:-1:-1;;;;;132971:17:0;;;132967:219;;-1:-1:-1;;;;;133067:17:0;;133010;133067;;;:12;:17;;;;;133010;;133050:49;;133086:4;133092:6;133050:16;:49::i;:::-;133009:90;;;;133144:3;-1:-1:-1;;;;;133123:47:0;;133149:9;133160;133123:47;;;;;;25142:25:1;;;25198:2;25183:18;;25176:34;25130:2;25115:18;;24968:248;133123:47:0;;;;;;;;132990:196;;132561:643;;;:::o;25389:492::-;25478:22;25486:4;25492:7;25478;:22::i;:::-;25473:401;;25666:28;25686:7;25666:19;:28::i;:::-;25767:38;25795:4;25802:2;25767:19;:38::i;:::-;25571:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25571:257:0;;;;;;;;;;-1:-1:-1;;;25517:345:0;;;;;;;:::i;29670:239::-;29754:22;29762:4;29768:7;29754;:22::i;:::-;29750:152;;;29825:5;29793:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29793:29:0;;;;;;;;;;:37;;-1:-1:-1;;29793:37:0;;;29850:40;4853:10;;29793:12;;29850:40;;29825:5;29850:40;29670:239;;:::o;38723:158::-;38796:4;38820:53;38828:3;-1:-1:-1;;;;;38848:23:0;;38820:7;:53::i;11364:1673::-;11412:7;11436:6;11432:47;;-1:-1:-1;11466:1:0;;11364:1673;-1:-1:-1;11364:1673:0:o;11432:47::-;12170:14;12204:1;12193:7;12198:1;12193:4;:7::i;:::-;:12;;12187:1;:19;;12170:36;;12672:1;12661:6;12657:1;:10;;;;;:::i;:::-;;12648:6;:19;12647:26;;12638:35;;12722:1;12711:6;12707:1;:10;;;;;:::i;:::-;;12698:6;:19;12697:26;;12688:35;;12772:1;12761:6;12757:1;:10;;;;;:::i;:::-;;12748:6;:19;12747:26;;12738:35;;12822:1;12811:6;12807:1;:10;;;;;:::i;:::-;;12798:6;:19;12797:26;;12788:35;;12872:1;12861:6;12857:1;:10;;;;;:::i;:::-;;12848:6;:19;12847:26;;12838:35;;12922:1;12911:6;12907:1;:10;;;;;:::i;:::-;;12898:6;:19;12897:26;;12888:35;;12972:1;12961:6;12957:1;:10;;;;;:::i;:::-;;12948:6;:19;12947:26;;12938:35;;12995:23;12999:6;13011;13007:1;:10;;;;;:::i;:::-;;12995:3;:23::i;5765:156::-;5827:7;5902:11;5912:1;5903:5;;;5902:11;:::i;:::-;5892:21;;5893:5;;;5892:21;:::i;65118:108::-;64845:7;;;;65177:41;;;;-1:-1:-1;;;65177:41:0;;11960:2:1;65177:41:0;;;11942:21:1;11999:2;11979:18;;;11972:30;-1:-1:-1;;;12018:18:1;;;12011:50;12078:18;;65177:41:0;11758:344:1;65177:41:0;65118:108::o;64933:::-;64845:7;;;;65003:9;64995:38;;;;-1:-1:-1;;;64995:38:0;;18057:2:1;64995:38:0;;;18039:21:1;18096:2;18076:18;;;18069:30;-1:-1:-1;;;18115:18:1;;;18108:46;18171:18;;64995:38:0;17855:340:1;34900:120:0;34967:7;34994:3;:11;;35006:5;34994:18;;;;;;;;:::i;:::-;;;;;;;;;34987:25;;34900:120;;;;:::o;73122:1520::-;73253:7;;-1:-1:-1;;;;;74174:79:0;;74170:163;;;-1:-1:-1;74286:1:0;;-1:-1:-1;74290:30:0;74270:51;;74170:163;74447:24;;;74430:14;74447:24;;;;;;;;;9235:25:1;;;9308:4;9296:17;;9276:18;;;9269:45;;;;9330:18;;;9323:34;;;9373:18;;;9366:34;;;74447:24:0;;9207:19:1;;74447:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74447:24:0;;-1:-1:-1;;74447:24:0;;;-1:-1:-1;;;;;;;74486:20:0;;74482:103;;74539:1;74543:29;74523:50;;;;;;;74482:103;74605:6;-1:-1:-1;74613:20:0;;-1:-1:-1;73122:1520:0;;;;;;;;:::o;68514:521::-;68592:20;68583:5;:29;;;;;;;;:::i;:::-;;68579:449;;;68514:521;:::o;68579:449::-;68690:29;68681:5;:38;;;;;;;;:::i;:::-;;68677:351;;;68736:34;;-1:-1:-1;;;68736:34:0;;10134:2:1;68736:34:0;;;10116:21:1;10173:2;10153:18;;;10146:30;-1:-1:-1;;;10192:18:1;;;10185:54;10256:18;;68736:34:0;9932:348:1;68677:351:0;68801:35;68792:5;:44;;;;;;;;:::i;:::-;;68788:240;;;68853:41;;-1:-1:-1;;;68853:41:0;;13070:2:1;68853:41:0;;;13052:21:1;13109:2;13089:18;;;13082:30;13148:33;13128:18;;;13121:61;13199:18;;68853:41:0;12868:355:1;68788:240:0;68925:30;68916:5;:39;;;;;;;;:::i;:::-;;68912:116;;;68972:44;;-1:-1:-1;;;68972:44:0;;17245:2:1;68972:44:0;;;17227:21:1;17284:2;17264:18;;;17257:30;17323:34;17303:18;;;17296:62;-1:-1:-1;;;17374:18:1;;;17367:32;17416:19;;68972:44:0;17043:398:1;131384:194:0;131469:28;131481:7;131490:6;131469:11;:28::i;:::-;131510:60;131527:23;131552:9;131563:6;131510:16;:60::i;19859:151::-;19917:13;19950:52;-1:-1:-1;;;;;19962:22:0;;18014:2;19255:447;19330:13;19356:19;19388:10;19392:6;19388:1;:10;:::i;:::-;:14;;19401:1;19388:14;:::i;:::-;19378:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19378:25:0;;19356:47;;-1:-1:-1;;;19414:6:0;19421:1;19414:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19414:15:0;;;;;;;;;-1:-1:-1;;;19440:6:0;19447:1;19440:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19440:15:0;;;;;;;;-1:-1:-1;19471:9:0;19483:10;19487:6;19483:1;:10;:::i;:::-;:14;;19496:1;19483:14;:::i;:::-;19471:26;;19466:131;19503:1;19499;:5;19466:131;;;-1:-1:-1;;;19547:5:0;19555:3;19547:11;19538:21;;;;;;;:::i;:::-;;;;19526:6;19533:1;19526:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;19526:33:0;;;;;;;;-1:-1:-1;19584:1:0;19574:11;;;;;19506:3;;;:::i;:::-;;;19466:131;;;-1:-1:-1;19615:10:0;;19607:55;;;;-1:-1:-1;;;19607:55:0;;10487:2:1;19607:55:0;;;10469:21:1;;;10506:18;;;10499:30;10565:34;10545:18;;;10538:62;10617:18;;19607:55:0;10285:356:1;32716:1420:0;32782:4;32921:19;;;:12;;;:19;;;;;;32957:15;;32953:1176;;33332:21;33356:14;33369:1;33356:10;:14;:::i;:::-;33405:18;;33332:38;;-1:-1:-1;33385:17:0;;33405:22;;33426:1;;33405:22;:::i;:::-;33385:42;;33461:13;33448:9;:26;33444:405;;33495:17;33515:3;:11;;33527:9;33515:22;;;;;;;;:::i;:::-;;;;;;;;;33495:42;;33669:9;33640:3;:11;;33652:13;33640:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;33754:23;;;:12;;;:23;;;;;:36;;;33444:405;33930:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;34025:3;:12;;:19;34038:5;34025:19;;;;;;;;;;;34018:26;;;34068:4;34061:11;;;;;;;32953:1176;34112:5;34105:12;;;;;13514:1019;13566:7;;13653:3;13644:12;;;:16;13640:102;;13691:3;13681:13;;;;13713;13640:102;13769:2;13760:11;;;:15;13756:99;;13806:2;13796:12;;;;13827;13756:99;13882:2;13873:11;;;:15;13869:99;;13919:2;13909:12;;;;13940;13869:99;13995:2;13986:11;;;:15;13982:99;;14032:2;14022:12;;;;14053;13982:99;14108:1;14099:10;;;:14;14095:96;;14144:1;14134:11;;;;14164;14095:96;14218:1;14209:10;;;:14;14205:96;;14254:1;14244:11;;;;14274;14205:96;14328:1;14319:10;;;:14;14315:96;;14364:1;14354:11;;;;14384;14315:96;14438:1;14429:10;;;:14;14425:66;;14474:1;14464:11;14519:6;13514:1019;-1:-1:-1;;13514:1019:0:o;5540:106::-;5598:7;5629:1;5625;:5;:13;;5637:1;5625:13;;;-1:-1:-1;5633:1:0;;5540:106;-1:-1:-1;5540:106:0:o;58439:675::-;-1:-1:-1;;;;;58523:21:0;;58515:67;;;;-1:-1:-1;;;58515:67:0;;20304:2:1;58515:67:0;;;20286:21:1;20343:2;20323:18;;;20316:30;20382:34;20362:18;;;20355:62;-1:-1:-1;;;20433:18:1;;;20426:31;20474:19;;58515:67:0;20102:397:1;58515:67:0;58595:49;58616:7;58633:1;58637:6;58595:20;:49::i;:::-;-1:-1:-1;;;;;58682:18:0;;58657:22;58682:18;;;;;;;;;;;58719:24;;;;58711:71;;;;-1:-1:-1;;;58711:71:0;;12667:2:1;58711:71:0;;;12649:21:1;12706:2;12686:18;;;12679:30;12745:34;12725:18;;;12718:62;-1:-1:-1;;;12796:18:1;;;12789:32;12838:19;;58711:71:0;12465:398:1;58711:71:0;-1:-1:-1;;;;;58818:18:0;;:9;:18;;;;;;;;;;;58839:23;;;58818:44;;58957:12;:22;;;;;;;59008:37;7460:25:1;;;58818:9:0;;:18;-1:-1:-1;;;;;;;;;;;59008:37:0;7433:18:1;59008:37:0;;;;;;;59058:48;59078:7;59095:1;59099:6;59058:19;:48::i;-1:-1:-1:-;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:156;423:20;;483:4;472:16;;462:27;;452:55;;503:1;500;493:12;518:186;577:6;630:2;618:9;609:7;605:23;601:32;598:52;;;646:1;643;636:12;598:52;669:29;688:9;669:29;:::i;709:260::-;777:6;785;838:2;826:9;817:7;813:23;809:32;806:52;;;854:1;851;844:12;806:52;877:29;896:9;877:29;:::i;:::-;867:39;;925:38;959:2;948:9;944:18;925:38;:::i;:::-;915:48;;709:260;;;;;:::o;974:328::-;1051:6;1059;1067;1120:2;1108:9;1099:7;1095:23;1091:32;1088:52;;;1136:1;1133;1126:12;1088:52;1159:29;1178:9;1159:29;:::i;:::-;1149:39;;1207:38;1241:2;1230:9;1226:18;1207:38;:::i;:::-;1197:48;;1292:2;1281:9;1277:18;1264:32;1254:42;;974:328;;;;;:::o;1307:606::-;1418:6;1426;1434;1442;1450;1458;1466;1519:3;1507:9;1498:7;1494:23;1490:33;1487:53;;;1536:1;1533;1526:12;1487:53;1559:29;1578:9;1559:29;:::i;:::-;1549:39;;1607:38;1641:2;1630:9;1626:18;1607:38;:::i;:::-;1597:48;;1692:2;1681:9;1677:18;1664:32;1654:42;;1743:2;1732:9;1728:18;1715:32;1705:42;;1766:37;1798:3;1787:9;1783:19;1766:37;:::i;:::-;1756:47;;1850:3;1839:9;1835:19;1822:33;1812:43;;1902:3;1891:9;1887:19;1874:33;1864:43;;1307:606;;;;;;;;;;:::o;1918:254::-;1986:6;1994;2047:2;2035:9;2026:7;2022:23;2018:32;2015:52;;;2063:1;2060;2053:12;2015:52;2086:29;2105:9;2086:29;:::i;:::-;2076:39;2162:2;2147:18;;;;2134:32;;-1:-1:-1;;;1918:254:1:o;2177:531::-;2279:6;2287;2295;2303;2311;2319;2372:3;2360:9;2351:7;2347:23;2343:33;2340:53;;;2389:1;2386;2379:12;2340:53;2412:29;2431:9;2412:29;:::i;:::-;2402:39;;2488:2;2477:9;2473:18;2460:32;2450:42;;2539:2;2528:9;2524:18;2511:32;2501:42;;2562:36;2594:2;2583:9;2579:18;2562:36;:::i;:::-;2552:46;;2645:3;2634:9;2630:19;2617:33;2607:43;;2697:3;2686:9;2682:19;2669:33;2659:43;;2177:531;;;;;;;;:::o;2713:350::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;;2959:2;2948:9;2944:18;2931:32;3003:10;2996:5;2992:22;2985:5;2982:33;2972:61;;3029:1;3026;3019:12;2972:61;3052:5;3042:15;;;2713:350;;;;;:::o;3068:180::-;3127:6;3180:2;3168:9;3159:7;3155:23;3151:32;3148:52;;;3196:1;3193;3186:12;3148:52;-1:-1:-1;3219:23:1;;3068:180;-1:-1:-1;3068:180:1:o;3253:254::-;3321:6;3329;3382:2;3370:9;3361:7;3357:23;3353:32;3350:52;;;3398:1;3395;3388:12;3350:52;3434:9;3421:23;3411:33;;3463:38;3497:2;3486:9;3482:18;3463:38;:::i;3512:248::-;3580:6;3588;3641:2;3629:9;3620:7;3616:23;3612:32;3609:52;;;3657:1;3654;3647:12;3609:52;-1:-1:-1;;3680:23:1;;;3750:2;3735:18;;;3722:32;;-1:-1:-1;3512:248:1:o;3765:286::-;3823:6;3876:2;3864:9;3855:7;3851:23;3847:32;3844:52;;;3892:1;3889;3882:12;3844:52;3918:23;;-1:-1:-1;;;;;;3970:32:1;;3960:43;;3950:71;;4017:1;4014;4007:12;4056:852;4140:6;4193:3;4181:9;4172:7;4168:23;4164:33;4161:53;;;4210:1;4207;4200:12;4161:53;4236:17;;:::i;:::-;4276:26;4292:9;4276:26;:::i;:::-;4269:5;4262:41;4335:35;4366:2;4355:9;4351:18;4335:35;:::i;:::-;4330:2;4323:5;4319:14;4312:59;4403:35;4434:2;4423:9;4419:18;4403:35;:::i;:::-;4398:2;4391:5;4387:14;4380:59;4471:35;4502:2;4491:9;4487:18;4471:35;:::i;:::-;4466:2;4459:5;4455:14;4448:59;4540:36;4571:3;4560:9;4556:19;4540:36;:::i;:::-;4534:3;4527:5;4523:15;4516:61;4610:36;4641:3;4630:9;4626:19;4610:36;:::i;:::-;4604:3;4597:5;4593:15;4586:61;4680:36;4711:3;4700:9;4696:19;4680:36;:::i;:::-;4674:3;4667:5;4663:15;4656:61;4750:36;4781:3;4770:9;4766:19;4750:36;:::i;:::-;4744:3;4737:5;4733:15;4726:61;4806:3;4841:36;4873:2;4862:9;4858:18;4841:36;:::i;:::-;4825:14;;;4818:60;4829:5;4056:852;-1:-1:-1;;;4056:852:1:o;5098:184::-;5168:6;5221:2;5209:9;5200:7;5196:23;5192:32;5189:52;;;5237:1;5234;5227:12;5189:52;-1:-1:-1;5260:16:1;;5098:184;-1:-1:-1;5098:184:1:o;5383:258::-;5425:3;5463:5;5457:12;5490:6;5485:3;5478:19;5506:63;5562:6;5555:4;5550:3;5546:14;5539:4;5532:5;5528:16;5506:63;:::i;:::-;5623:2;5602:15;-1:-1:-1;;5598:29:1;5589:39;;;;5630:4;5585:50;;5383:258;-1:-1:-1;;5383:258:1:o;6123:786::-;-1:-1:-1;;;6529:3:1;6522:38;6504:3;6589:6;6583:13;6605:62;6660:6;6655:2;6650:3;6646:12;6639:4;6631:6;6627:17;6605:62;:::i;:::-;-1:-1:-1;;;6726:2:1;6686:16;;;6718:11;;;6711:40;6776:13;;6798:63;6776:13;6847:2;6839:11;;6832:4;6820:17;;6798:63;:::i;:::-;6881:17;6900:2;6877:26;;6123:786;-1:-1:-1;;;;6123:786:1:o;6914:203::-;-1:-1:-1;;;;;7078:32:1;;;;7060:51;;7048:2;7033:18;;6914:203::o;9411:220::-;9560:2;9549:9;9542:21;9523:4;9580:45;9621:2;9610:9;9606:18;9598:6;9580:45;:::i;9636:291::-;9813:2;9802:9;9795:21;9776:4;9833:45;9874:2;9863:9;9859:18;9851:6;9833:45;:::i;:::-;9825:53;;9914:6;9909:2;9898:9;9894:18;9887:34;9636:291;;;;;:::o;11050:355::-;11252:2;11234:21;;;11291:2;11271:18;;;11264:30;11330:33;11325:2;11310:18;;11303:61;11396:2;11381:18;;11050:355::o;11410:343::-;11612:2;11594:21;;;11651:2;11631:18;;;11624:30;-1:-1:-1;;;11685:2:1;11670:18;;11663:49;11744:2;11729:18;;11410:343::o;15087:354::-;15289:2;15271:21;;;15328:2;15308:18;;;15301:30;15367:32;15362:2;15347:18;;15340:60;15432:2;15417:18;;15087:354::o;16569:469::-;16771:2;16753:21;;;16810:2;16790:18;;;16783:30;16849:34;16844:2;16829:18;;16822:62;16920:34;16915:2;16900:18;;16893:62;-1:-1:-1;;;16986:3:1;16971:19;;16964:32;17028:3;17013:19;;16569:469::o;17446:404::-;17648:2;17630:21;;;17687:2;17667:18;;;17660:30;17726:34;17721:2;17706:18;;17699:62;-1:-1:-1;;;17792:2:1;17777:18;;17770:38;17840:3;17825:19;;17446:404::o;18200:354::-;18402:2;18384:21;;;18441:2;18421:18;;;18414:30;18480:32;18475:2;18460:18;;18453:60;18545:2;18530:18;;18200:354::o;23614:1167::-;23756:4;23798:3;23787:9;23783:19;23775:27;;23849:6;23843:13;23836:21;23829:29;23818:9;23811:48;23929:4;23921:6;23917:17;23911:24;23904:32;23897:40;23890:4;23879:9;23875:20;23868:70;23985:4;23977:6;23973:17;23967:24;24000:51;24045:4;24034:9;24030:20;24016:12;5357:13;5350:21;5338:34;;5287:91;24000:51;;24100:4;24092:6;24088:17;24082:24;24115:53;24162:4;24151:9;24147:20;24131:14;5357:13;5350:21;5338:34;;5287:91;24115:53;;24217:4;24209:6;24205:17;24199:24;24232:53;24279:4;24268:9;24264:20;24248:14;5357:13;5350:21;5338:34;;5287:91;24232:53;;24334:4;24326:6;24322:17;24316:24;24349:53;24396:4;24385:9;24381:20;24365:14;5357:13;5350:21;5338:34;;5287:91;24349:53;;24451:4;24443:6;24439:17;24433:24;24466:53;24513:4;24502:9;24498:20;24482:14;5357:13;5350:21;5338:34;;5287:91;24466:53;;24568:4;24560:6;24556:17;24550:24;24583:53;24630:4;24619:9;24615:20;24599:14;5357:13;5350:21;5338:34;;5287:91;24583:53;-1:-1:-1;24655:6:1;24698:15;;;24692:22;5713:4;5702:16;24756:18;;;;5690:29;23614:1167;:::o;25607:344::-;25674:2;25668:9;25716:3;25704:16;;25750:18;25735:34;;25771:22;;;25732:62;25729:185;;;25836:10;25831:3;25827:20;25824:1;25817:31;25871:4;25868:1;25861:15;25899:4;25896:1;25889:15;25729:185;25930:2;25923:22;25607:344;:::o;25956:128::-;25996:3;26027:1;26023:6;26020:1;26017:13;26014:39;;;26033:18;;:::i;:::-;-1:-1:-1;26069:9:1;;25956:128::o;26089:217::-;26129:1;26155;26145:132;;26199:10;26194:3;26190:20;26187:1;26180:31;26234:4;26231:1;26224:15;26262:4;26259:1;26252:15;26145:132;-1:-1:-1;26291:9:1;;26089:217::o;26311:168::-;26351:7;26417:1;26413;26409:6;26405:14;26402:1;26399:21;26394:1;26387:9;26380:17;26376:45;26373:71;;;26424:18;;:::i;:::-;-1:-1:-1;26464:9:1;;26311:168::o;26484:125::-;26524:4;26552:1;26549;26546:8;26543:34;;;26557:18;;:::i;:::-;-1:-1:-1;26594:9:1;;26484:125::o;26614:258::-;26686:1;26696:113;26710:6;26707:1;26704:13;26696:113;;;26786:11;;;26780:18;26767:11;;;26760:39;26732:2;26725:10;26696:113;;;26827:6;26824:1;26821:13;26818:48;;;-1:-1:-1;;26862:1:1;26844:16;;26837:27;26614:258::o;26877:136::-;26916:3;26944:5;26934:39;;26953:18;;:::i;:::-;-1:-1:-1;;;26989:18:1;;26877:136::o;27018:380::-;27097:1;27093:12;;;;27140;;;27161:61;;27215:4;27207:6;27203:17;27193:27;;27161:61;27268:2;27260:6;27257:14;27237:18;27234:38;27231:161;;;27314:10;27309:3;27305:20;27302:1;27295:31;27349:4;27346:1;27339:15;27377:4;27374:1;27367:15;27403:127;27464:10;27459:3;27455:20;27452:1;27445:31;27495:4;27492:1;27485:15;27519:4;27516:1;27509:15;27535:127;27596:10;27591:3;27587:20;27584:1;27577:31;27627:4;27624:1;27617:15;27651:4;27648:1;27641:15;27667:127;27728:10;27723:3;27719:20;27716:1;27709:31;27759:4;27756:1;27749:15;27783:4;27780:1;27773:15;27799:127;27860:10;27855:3;27851:20;27848:1;27841:31;27891:4;27888:1;27881:15;27915:4;27912:1;27905:15;27931:127;27992:10;27987:3;27983:20;27980:1;27973:31;28023:4;28020:1;28013:15;28047:4;28044:1;28037:15;28063:127;28124:10;28119:3;28115:20;28112:1;28105:31;28155:4;28152:1;28145:15;28179:4;28176:1;28169:15;28195:127;28256:10;28251:3;28247:20;28244:1;28237:31;28287:4;28284:1;28277:15;28311:4;28308:1;28301:15
Swarm Source
ipfs://8e0596c1b9209c76450c62fa6c57145bea799dd1d473c0cd6fe06ce544ba10ef
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.