Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Staking
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-26 */ // Sources flattened with hardhat v2.10.2 https://hardhat.org // File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts-upgradeable/token/ERC1155/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155ReceiverUpgradeable is IERC165Upgradeable { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts-upgradeable/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File @openzeppelin/contracts-upgradeable/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable { /** * @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); } // File @openzeppelin/contracts-upgradeable/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } } // File @openzeppelin/contracts-upgradeable/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File @openzeppelin/contracts-upgradeable/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File @openzeppelin/contracts-upgradeable/access/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal onlyInitializing { } function __AccessControl_init_unchained() internal onlyInitializing { } 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, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).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 `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 ", StringsUpgradeable.toHexString(uint160(account), 20), " is missing role ", StringsUpgradeable.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. */ 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. */ 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`. */ 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. * * [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. */ 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. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File @openzeppelin/contracts-upgradeable/utils/structs/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @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. */ library EnumerableSetUpgradeable { // 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) { return _values(set._inner); } // 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; 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 on 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; assembly { result := store } return result; } } // File @openzeppelin/contracts-upgradeable/access/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerableUpgradeable, AccessControlUpgradeable { function __AccessControlEnumerable_init() internal onlyInitializing { } function __AccessControlEnumerable_init_unchained() internal onlyInitializing { } using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet; mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerableUpgradeable).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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File @openzeppelin/contracts-upgradeable/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File @openzeppelin/contracts-upgradeable/interfaces/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) pragma solidity ^0.8.0; /** * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified * proxy whose upgrades are fully controlled by the current implementation. */ interface IERC1822ProxiableUpgradeable { /** * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation * address. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. */ function proxiableUUID() external view returns (bytes32); } // File @openzeppelin/contracts-upgradeable/proxy/beacon/[email protected] // OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol) pragma solidity ^0.8.0; /** * @dev This is the interface that {BeaconProxy} expects of its beacon. */ interface IBeaconUpgradeable { /** * @dev Must return an address that can be used as a delegate call target. * * {BeaconProxy} will check that this address is a contract. */ function implementation() external view returns (address); } // File @openzeppelin/contracts-upgradeable/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlotUpgradeable { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { assembly { r.slot := slot } } } // File @openzeppelin/contracts-upgradeable/proxy/ERC1967/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol) pragma solidity ^0.8.2; /** * @dev This abstract contract provides getters and event emitting update functions for * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. * * _Available since v4.1._ * * @custom:oz-upgrades-unsafe-allow delegatecall */ abstract contract ERC1967UpgradeUpgradeable is Initializable { function __ERC1967Upgrade_init() internal onlyInitializing { } function __ERC1967Upgrade_init_unchained() internal onlyInitializing { } // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1 bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143; /** * @dev Storage slot with the address of the current implementation. * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /** * @dev Emitted when the implementation is upgraded. */ event Upgraded(address indexed implementation); /** * @dev Returns the current implementation address. */ function _getImplementation() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value; } /** * @dev Stores a new address in the EIP1967 implementation slot. */ function _setImplementation(address newImplementation) private { require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract"); StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } /** * @dev Perform implementation upgrade * * Emits an {Upgraded} event. */ function _upgradeTo(address newImplementation) internal { _setImplementation(newImplementation); emit Upgraded(newImplementation); } /** * @dev Perform implementation upgrade with additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCall( address newImplementation, bytes memory data, bool forceCall ) internal { _upgradeTo(newImplementation); if (data.length > 0 || forceCall) { _functionDelegateCall(newImplementation, data); } } /** * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call. * * Emits an {Upgraded} event. */ function _upgradeToAndCallUUPS( address newImplementation, bytes memory data, bool forceCall ) internal { // Upgrades from old implementations will perform a rollback test. This test requires the new // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing // this special case will break upgrade paths from old UUPS implementation to new ones. if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) { _setImplementation(newImplementation); } else { try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) { require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID"); } catch { revert("ERC1967Upgrade: new implementation is not UUPS"); } _upgradeToAndCall(newImplementation, data, forceCall); } } /** * @dev Storage slot with the admin of the contract. * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is * validated in the constructor. */ bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; /** * @dev Emitted when the admin account has changed. */ event AdminChanged(address previousAdmin, address newAdmin); /** * @dev Returns the current admin. */ function _getAdmin() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value; } /** * @dev Stores a new address in the EIP1967 admin slot. */ function _setAdmin(address newAdmin) private { require(newAdmin != address(0), "ERC1967: new admin is the zero address"); StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin; } /** * @dev Changes the admin of the proxy. * * Emits an {AdminChanged} event. */ function _changeAdmin(address newAdmin) internal { emit AdminChanged(_getAdmin(), newAdmin); _setAdmin(newAdmin); } /** * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor. */ bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50; /** * @dev Emitted when the beacon is upgraded. */ event BeaconUpgraded(address indexed beacon); /** * @dev Returns the current beacon. */ function _getBeacon() internal view returns (address) { return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value; } /** * @dev Stores a new beacon in the EIP1967 beacon slot. */ function _setBeacon(address newBeacon) private { require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract"); require( AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()), "ERC1967: beacon implementation is not a contract" ); StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon; } /** * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that). * * Emits a {BeaconUpgraded} event. */ function _upgradeBeaconToAndCall( address newBeacon, bytes memory data, bool forceCall ) internal { _setBeacon(newBeacon); emit BeaconUpgraded(newBeacon); if (data.length > 0 || forceCall) { _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data); } } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/UUPSUpgradeable.sol) pragma solidity ^0.8.0; /** * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy. * * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing * `UUPSUpgradeable` with a custom implementation of upgrades. * * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism. * * _Available since v4.1._ */ abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable { function __UUPSUpgradeable_init() internal onlyInitializing { } function __UUPSUpgradeable_init_unchained() internal onlyInitializing { } /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment address private immutable __self = address(this); /** * @dev Check that the execution is being performed through a delegatecall call and that the execution context is * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to * fail. */ modifier onlyProxy() { require(address(this) != __self, "Function must be called through delegatecall"); require(_getImplementation() == __self, "Function must be called through active proxy"); _; } /** * @dev Check that the execution is not being performed through a delegate call. This allows a function to be * callable on the implementing contract but not through proxies. */ modifier notDelegated() { require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall"); _; } /** * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the * implementation. It is used to validate that the this implementation remains valid after an upgrade. * * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier. */ function proxiableUUID() external view virtual override notDelegated returns (bytes32) { return _IMPLEMENTATION_SLOT; } /** * @dev Upgrade the implementation of the proxy to `newImplementation`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeTo(address newImplementation) external virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, new bytes(0), false); } /** * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call * encoded in `data`. * * Calls {_authorizeUpgrade}. * * Emits an {Upgraded} event. */ function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy { _authorizeUpgrade(newImplementation); _upgradeToAndCallUUPS(newImplementation, data, true); } /** * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by * {upgradeTo} and {upgradeToAndCall}. * * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}. * * ```solidity * function _authorizeUpgrade(address) internal override onlyOwner {} * ``` */ function _authorizeUpgrade(address newImplementation) internal virtual; /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File @openzeppelin/contracts-upgradeable/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File contracts/tenktf/staking.sol pragma solidity ^0.8.4; interface MaterialsInterface { function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; function balanceOf(address owner, uint256 tokenId) external view returns (uint256); } contract Staking is IERC1155ReceiverUpgradeable, OwnableUpgradeable, UUPSUpgradeable, AccessControlEnumerableUpgradeable, ReentrancyGuardUpgradeable { uint256 internal stakingPoolBalance; address internal _materialContractAddress; uint256[] internal toolIds; mapping(uint256 => bool) activeToolIds; // different rates for different tools mapping(uint256 => uint256) dailyRate; mapping(address => Stake) stake; mapping(address => uint256) rewardsAccrued; address internal tokenClaimContractAddress; struct StakeInput { uint256 toolId; uint256 amount; } struct Stake { uint256 timeSinceLastClaim; // toolId => quantity mapping(uint256 => uint256) toolsStaked; } function initialize() external initializer { __Ownable_init(); __UUPSUpgradeable_init(); __AccessControlEnumerable_init(); __ReentrancyGuard_init(); _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerableUpgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC1155ReceiverUpgradeable).interfaceId || super.supportsInterface(interfaceId); } function version() external pure virtual returns (string memory) { return "1.1.1"; } function onERC1155Received( address, address, uint256, uint256, bytes memory ) external override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external override returns (bytes4) { return this.onERC1155BatchReceived.selector; } function getStakingPoolBalance() external view returns (uint256) { return stakingPoolBalance; } function setTokenClaimContractAddress(address contractAddress) external onlyRole(DEFAULT_ADMIN_ROLE) { tokenClaimContractAddress = contractAddress; } function getTokenClaimContractAddress() external view onlyRole(DEFAULT_ADMIN_ROLE) returns (address) { return tokenClaimContractAddress; } function setMaterialContractAddress(address contractAddress) external onlyRole(DEFAULT_ADMIN_ROLE) { _materialContractAddress = contractAddress; } function getMaterialContractAddress() external view onlyRole(DEFAULT_ADMIN_ROLE) returns (address) { return _materialContractAddress; } function _getRewardsAccrued(address wallet) internal view returns (uint256) { return rewardsAccrued[wallet]; } function getRewardsAccrued() external view returns (uint256) { return _getRewardsAccrued(_msgSender()); } function _addToolId(uint256 toolId) internal { require(activeToolIds[toolId] == false, "Tool ID has already been set"); toolIds.push(toolId); activeToolIds[toolId] = true; } function addToolIds(uint256[] calldata _toolIds) external onlyRole(DEFAULT_ADMIN_ROLE) { for (uint256 i = 0; i < _toolIds.length; i++) { _addToolId(_toolIds[i]); } } function isActiveToolId(uint256 toolId) external view onlyRole(DEFAULT_ADMIN_ROLE) returns (bool) { return activeToolIds[toolId]; } function getQuantityOfToolStaked(uint256 toolId) external view returns (uint256) { Stake storage staked = stake[_msgSender()]; return staked.toolsStaked[toolId]; } function getStake(address wallet) external view returns (uint256[] memory, uint256[] memory) { Stake storage staked = stake[wallet]; uint256[] memory _toolIds = new uint256[](toolIds.length); uint256[] memory _amounts = new uint256[](toolIds.length); uint256 index = 0; for (uint256 i = 0; i < toolIds.length; i++) { uint256 toolId = toolIds[i]; if (staked.toolsStaked[toolId] > 0) { _toolIds[index] = toolId; _amounts[index] = staked.toolsStaked[toolId]; index++; } } return (_toolIds, _amounts); } function _setDailyRate(uint256 _toolId, uint256 _dailyRate) internal { dailyRate[_toolId] = _dailyRate; } function setDailyRates( uint256[] calldata _toolIds, uint256[] calldata _dailyRates) external onlyRole(DEFAULT_ADMIN_ROLE) { require(_toolIds.length == _dailyRates.length, "Mismatch amounts of tools and daily rates being set"); for (uint256 i = 0; i < _toolIds.length; i++) { _setDailyRate(_toolIds[i], _dailyRates[i]); } } function getDailyRate(uint256 _toolId) external view returns (uint256) { return dailyRate[_toolId]; } function _stakeTool(address wallet, StakeInput calldata toolToStake) internal { require(activeToolIds[toolToStake.toolId] == true, "Not a valid tool to stake"); require(_materialContractAddress != address(0), "Material contract address not set"); MaterialsInterface MaterialsContractInstance = MaterialsInterface(_materialContractAddress); require(MaterialsContractInstance.balanceOf(wallet, toolToStake.toolId) >= toolToStake.amount, "Unable to stake more tools than owned"); Stake storage staked = stake[wallet]; staked.toolsStaked[toolToStake.toolId] += toolToStake.amount; MaterialsContractInstance.safeTransferFrom(wallet, address(this), toolToStake.toolId, toolToStake.amount, ""); } function stakeToolFlat(address wallet, uint256[] calldata ids, uint256[] calldata quantities) external { uint256 length = ids.length; require(length == quantities.length, "Array mismatch"); for (uint256 i; i < length;) { StakeInput memory toolToUnstake = StakeInput(ids[i], quantities[i]); _unstakeTool(wallet, toolToUnstake); unchecked { ++i; } } } function stakeTools(address wallet, StakeInput[] calldata toolsToStake) external { _stakeTools(wallet, toolsToStake); } function _stakeTools(address wallet, StakeInput[] calldata toolsToStake) internal { _updateStakeRewards(wallet); for (uint256 i = 0; i < toolsToStake.length; i++) { _stakeTool(wallet, toolsToStake[i]); } } function _unstakeTool(address wallet, StakeInput memory toolToUnstake) internal { require(activeToolIds[toolToUnstake.toolId] == true, "Not a valid tool to unstake"); require(_materialContractAddress != address(0), "Material contract address not set"); require(_msgSender() == wallet, "Not authorized"); MaterialsInterface MaterialsContractInstance = MaterialsInterface(_materialContractAddress); Stake storage staked = stake[wallet]; require(toolToUnstake.amount <= staked.toolsStaked[toolToUnstake.toolId], "Unable to unstake more tools than lent"); staked.toolsStaked[toolToUnstake.toolId] -= toolToUnstake.amount; MaterialsContractInstance.safeTransferFrom(address(this), wallet, toolToUnstake.toolId, toolToUnstake.amount, ""); } function unstakeTools(address wallet, StakeInput[] calldata toolsToUnstake) external { _unstakeTools(wallet, toolsToUnstake); } function _unstakeTools(address wallet, StakeInput[] calldata toolsToUnstake) internal { _updateStakeRewards(wallet); for (uint256 i = 0; i < toolsToUnstake.length; i++) { _unstakeTool(wallet, toolsToUnstake[i]); } } function updateToolsStaked( StakeInput[] calldata toolsToStake, StakeInput[] calldata toolsToUnstake ) external { if (toolsToStake.length >= 1) { _stakeTools(_msgSender(), toolsToStake); } if (toolsToUnstake.length >= 1) { _unstakeTools(_msgSender(), toolsToUnstake); } } function _getRewardsSinceLastClaim(address wallet) internal view returns (uint256) { Stake storage staked = stake[wallet]; require(staked.timeSinceLastClaim <= block.timestamp, "Time since last claim is later than current time"); uint256 owedAmount = 0; if (staked.timeSinceLastClaim != 0) { for (uint256 i = 0; i < toolIds.length; i++) { owedAmount += ((block.timestamp - staked.timeSinceLastClaim) * dailyRate[toolIds[i]] / 1 days) * staked.toolsStaked[toolIds[i]]; } } return owedAmount; } function getTotalRewardsOwed(address wallet) external view returns (uint256) { return _getRewardsAccrued(wallet) + _getRewardsSinceLastClaim(wallet); } function _updateStakeRewards(address wallet) internal { uint256 owedAmount = _getRewardsSinceLastClaim(wallet); Stake storage staked = stake[wallet]; staked.timeSinceLastClaim = block.timestamp; if (owedAmount > 0) { rewardsAccrued[wallet] += owedAmount; } } function claimRewards(address wallet) external { require(tokenClaimContractAddress != address(0), "Token claim contract not set"); require(_msgSender() == tokenClaimContractAddress, "Only token claim contract allowed to call"); Stake storage staked = stake[wallet]; staked.timeSinceLastClaim = block.timestamp; rewardsAccrued[wallet] = 0; } function _authorizeUpgrade(address newImplementation) internal virtual override onlyRole(DEFAULT_ADMIN_ROLE) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_toolIds","type":"uint256[]"}],"name":"addToolIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toolId","type":"uint256"}],"name":"getDailyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaterialContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"toolId","type":"uint256"}],"name":"getQuantityOfToolStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsAccrued","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":"wallet","type":"address"}],"name":"getStake","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingPoolBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenClaimContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getTotalRewardsOwed","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":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"toolId","type":"uint256"}],"name":"isActiveToolId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_toolIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_dailyRates","type":"uint256[]"}],"name":"setDailyRates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setMaterialContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setTokenClaimContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"stakeToolFlat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"components":[{"internalType":"uint256","name":"toolId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Staking.StakeInput[]","name":"toolsToStake","type":"tuple[]"}],"name":"stakeTools","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"components":[{"internalType":"uint256","name":"toolId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Staking.StakeInput[]","name":"toolsToUnstake","type":"tuple[]"}],"name":"unstakeTools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"toolId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Staking.StakeInput[]","name":"toolsToStake","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"toolId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Staking.StakeInput[]","name":"toolsToUnstake","type":"tuple[]"}],"name":"updateToolsStaked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
60a06040523060805234801561001457600080fd5b50608051612d7e61004c600039600081816108c201528181610902015281816109a1015281816109e10152610a700152612d7e6000f3fe60806040526004361061021a5760003560e01c80638265221511610123578063b8113946116100ab578063da9293711161006f578063da92937114610694578063e7eb3b36146106b4578063ef5cfb8c146106c9578063f23a6e61146106e9578063f2fde38b1461071557600080fd5b8063b8113946146105a1578063bc197c81146105cf578063ca15c87314610617578063d374529b14610637578063d547741f1461067457600080fd5b80639c825203116100f25780639c8252031461050c5780639ee2a3a51461052c578063a217fddf1461054c578063a32ede6014610561578063aac86d4e1461058157600080fd5b806382652215146104985780638da5cb5b146104ae5780639010d07c146104cc57806391d14854146104ec57600080fd5b80634f1ef286116101a6578063609355b211610175578063609355b2146103fd5780636f3e7dfa14610420578063715018a6146104405780637a766460146104555780638129fc1c1461048357600080fd5b80634f1ef2861461038157806352d1902d14610394578063540aa8f8146103a957806354fd4d50146103c957600080fd5b806327f284ee116101ed57806327f284ee146102e1578063280c9f0e146103015780632f2ff15d1461032157806336568abe146103415780633659cfe61461036157600080fd5b806301ffc9a71461021f5780631d88854514610254578063248a9ca314610276578063269fe4fa146102b4575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046123aa565b610735565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f36600461243b565b610760565b005b34801561028257600080fd5b506102a661029136600461248d565b600090815260fb602052604090206001015490565b60405190815260200161024b565b3480156102c057600080fd5b506102c9610770565b6040516001600160a01b03909116815260200161024b565b3480156102ed57600080fd5b506102746102fc3660046124a6565b61078f565b34801561030d57600080fd5b5061027461031c366004612505565b6107bf565b34801561032d57600080fd5b5061027461033c366004612546565b61080f565b34801561034d57600080fd5b5061027461035c366004612546565b610835565b34801561036d57600080fd5b5061027461037c3660046124a6565b6108b8565b61027461038f366004612614565b610997565b3480156103a057600080fd5b506102a6610a63565b3480156103b557600080fd5b506102746103c4366004612661565b610b16565b3480156103d557600080fd5b506040805180820182526005815264312e312e3160d81b6020820152905161024b9190612705565b34801561040957600080fd5b5033600090815261019760205260409020546102a6565b34801561042c57600080fd5b5061027461043b36600461243b565b610bc7565b34801561044c57600080fd5b50610274610bd2565b34801561046157600080fd5b506104756104703660046124a6565b610c38565b60405161024b929190612773565b34801561048f57600080fd5b50610274610db9565b3480156104a457600080fd5b50610191546102a6565b3480156104ba57600080fd5b506033546001600160a01b03166102c9565b3480156104d857600080fd5b506102c96104e7366004612798565b610e9c565b3480156104f857600080fd5b5061023f610507366004612546565b610ebc565b34801561051857600080fd5b506102746105273660046127ba565b610ee7565b34801561053857600080fd5b5061023f61054736600461248d565b610f0d565b34801561055857600080fd5b506102a6600081565b34801561056d57600080fd5b5061027461057c366004612825565b610f32565b34801561058d57600080fd5b5061027461059c3660046124a6565b611016565b3480156105ad57600080fd5b506102a66105bc36600461248d565b6000908152610195602052604090205490565b3480156105db57600080fd5b506105fe6105ea366004612884565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161024b565b34801561062357600080fd5b506102a661063236600461248d565b611046565b34801561064357600080fd5b506102a661065236600461248d565b3360009081526101966020908152604080832093835260019093019052205490565b34801561068057600080fd5b5061027461068f366004612546565b61105e565b3480156106a057600080fd5b506102a66106af3660046124a6565b611084565b3480156106c057600080fd5b506102c96110b3565b3480156106d557600080fd5b506102746106e43660046124a6565b6110d2565b3480156106f557600080fd5b506105fe61070436600461296b565b63f23a6e6160e01b95945050505050565b34801561072157600080fd5b506102746107303660046124a6565b6111ca565b60006001600160e01b03198216630271189760e51b148061075a575061075a82611292565b92915050565b61076b8383836112b7565b505050565b60008061077d81336112fe565b5050610192546001600160a01b031690565b600061079b81336112fe565b5061019280546001600160a01b0319166001600160a01b0392909216919091179055565b60006107cb81336112fe565b60005b82811015610809576107f78484838181106107eb576107eb6129dc565b90506020020135611362565b8061080181612a08565b9150506107ce565b50505050565b600082815260fb602052604090206001015461082b81336112fe565b61076b8383611411565b6001600160a01b03811633146108aa5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108b48282611434565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109005760405162461bcd60e51b81526004016108a190612a21565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610949600080516020612d02833981519152546001600160a01b031690565b6001600160a01b03161461096f5760405162461bcd60e51b81526004016108a190612a6d565b61097881611457565b6040805160008082526020820190925261099491839190611463565b50565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109df5760405162461bcd60e51b81526004016108a190612a21565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610a28600080516020612d02833981519152546001600160a01b031690565b6001600160a01b031614610a4e5760405162461bcd60e51b81526004016108a190612a6d565b610a5782611457565b6108b482826001611463565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b035760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108a1565b50600080516020612d0283398151915290565b82818114610b575760405162461bcd60e51b815260206004820152600e60248201526d082e4e4c2f240dad2e6dac2e8c6d60931b60448201526064016108a1565b60005b81811015610bbe5760006040518060400160405280888885818110610b8157610b816129dc565b905060200201358152602001868685818110610b9f57610b9f6129dc565b905060200201358152509050610bb588826115ce565b50600101610b5a565b50505050505050565b61076b8383836117dd565b6033546001600160a01b03163314610c2c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a1565b610c366000611834565b565b6001600160a01b038116600090815261019660205260408120610193546060928392916001600160401b03811115610c7257610c72612572565b604051908082528060200260200182016040528015610c9b578160200160208202803683370190505b50610193549091506000906001600160401b03811115610cbd57610cbd612572565b604051908082528060200260200182016040528015610ce6578160200160208202803683370190505b5090506000805b61019354811015610dac5760006101938281548110610d0e57610d0e6129dc565b906000526020600020015490506000866001016000838152602001908152602001600020541115610d995780858481518110610d4c57610d4c6129dc565b60200260200101818152505085600101600082815260200190815260200160002054848481518110610d8057610d806129dc565b602090810291909101015282610d9581612a08565b9350505b5080610da481612a08565b915050610ced565b5091969095509350505050565b600054610100900460ff16610dd45760005460ff1615610dd8565b303b155b610e3b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108a1565b600054610100900460ff16158015610e5d576000805461ffff19166101011790555b610e65611886565b610e6d6118b5565b610e756118b5565b610e7d6118dc565b610e8860003361190b565b8015610994576000805461ff001916905550565b600082815261012d60205260408120610eb59083611915565b9392505050565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018310610efa57610efa3385856112b7565b60018110610809576108093383836117dd565b600080610f1a81336112fe565b50506000908152610194602052604090205460ff1690565b6000610f3e81336112fe565b838214610fa95760405162461bcd60e51b815260206004820152603360248201527f4d69736d6174636820616d6f756e7473206f6620746f6f6c7320616e642064616044820152721a5b1e481c985d195cc818995a5b99c81cd95d606a1b60648201526084016108a1565b60005b8481101561100e57610ffc868683818110610fc957610fc96129dc565b90506020020135858584818110610fe257610fe26129dc565b905060200201356000918252610195602052604090912055565b8061100681612a08565b915050610fac565b505050505050565b600061102281336112fe565b5061019880546001600160a01b0319166001600160a01b0392909216919091179055565b600081815261012d6020526040812061075a90611921565b600082815260fb602052604090206001015461107a81336112fe565b61076b8383611434565b600061108f8261192b565b6001600160a01b0383166000908152610197602052604090205461075a9190612ab9565b6000806110c081336112fe565b5050610198546001600160a01b031690565b610198546001600160a01b031661112b5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20636c61696d20636f6e7472616374206e6f74207365740000000060448201526064016108a1565b610198546001600160a01b0316336001600160a01b0316146111a15760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920746f6b656e20636c61696d20636f6e747261637420616c6c6f776560448201526819081d1bc818d85b1b60ba1b60648201526084016108a1565b6001600160a01b0316600090815261019660209081526040808320429055610197909152812055565b6033546001600160a01b031633146112245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a1565b6001600160a01b0381166112895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a1565b61099481611834565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611a85565b6112c083611aba565b60005b81811015610809576112ec848484848181106112e1576112e16129dc565b905060400201611b1d565b806112f681612a08565b9150506112c3565b6113088282610ebc565b6108b457611320816001600160a01b03166014611cff565b61132b836020611cff565b60405160200161133c929190612acc565b60408051601f198184030181529082905262461bcd60e51b82526108a191600401612705565b6000818152610194602052604090205460ff16156113c25760405162461bcd60e51b815260206004820152601c60248201527f546f6f6c2049442068617320616c7265616479206265656e207365740000000060448201526064016108a1565b610193805460018181019092557ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680182905560009182526101946020526040909120805460ff19169091179055565b61141b8282611e9a565b600082815261012d6020526040902061076b9082611f20565b61143e8282611f35565b600082815261012d6020526040902061076b9082611f9c565b60006108b481336112fe565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156114965761076b83611fb1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156114f0575060408051601f3d908101601f191682019092526114ed91810190612b41565b60015b6115535760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108a1565b600080516020612d0283398151915281146115c25760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108a1565b5061076b83838361204d565b80516000908152610194602052604090205460ff1615156001146116345760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420612076616c696420746f6f6c20746f20756e7374616b65000000000060448201526064016108a1565b610192546001600160a01b031661165d5760405162461bcd60e51b81526004016108a190612b5a565b336001600160a01b038316146116a65760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016108a1565b610192546001600160a01b03838116600090815261019660209081526040808320865184526001810183529220549085015192909316929091111561173c5760405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f20756e7374616b65206d6f726520746f6f6c73207468616044820152651b881b195b9d60d21b60648201526084016108a1565b82602001518160010160008560000151815260200190815260200160002060008282546117699190612b9b565b909155505082516020840151604051637921219560e11b81526001600160a01b0385169263f242432a926117a59230928a929091600401612bae565b600060405180830381600087803b1580156117bf57600080fd5b505af11580156117d3573d6000803e3d6000fd5b5050505050505050565b6117e683611aba565b60005b818110156108095761182284848484818110611807576118076129dc565b90506040020180360381019061181d9190612be6565b6115ce565b8061182c81612a08565b9150506117e9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166118ad5760405162461bcd60e51b81526004016108a190612c34565b610c36612072565b600054610100900460ff16610c365760405162461bcd60e51b81526004016108a190612c34565b600054610100900460ff166119035760405162461bcd60e51b81526004016108a190612c34565b610c366120a2565b6108b48282611411565b6000610eb583836120d1565b600061075a825490565b6001600160a01b03811660009081526101966020526040812080544210156119ae5760405162461bcd60e51b815260206004820152603060248201527f54696d652073696e6365206c61737420636c61696d206973206c61746572207460448201526f68616e2063757272656e742074696d6560801b60648201526084016108a1565b805460009015610eb55760005b61019354811015611a7d5782600101600061019383815481106119e0576119e06129dc565b90600052602060002001548152602001908152602001600020546201518061019560006101938581548110611a1757611a176129dc565b9060005260206000200154815260200190815260200160002054856000015442611a419190612b9b565b611a4b9190612c7f565b611a559190612c96565b611a5f9190612c7f565b611a699083612ab9565b915080611a7581612a08565b9150506119bb565b509392505050565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b6000611ac58261192b565b6001600160a01b038316600090815261019660205260409020428155909150811561076b576001600160a01b0383166000908152610197602052604081208054849290611b13908490612ab9565b9091555050505050565b80356000908152610194602052604090205460ff161515600114611b835760405162461bcd60e51b815260206004820152601960248201527f4e6f7420612076616c696420746f6f6c20746f207374616b650000000000000060448201526064016108a1565b610192546001600160a01b0316611bac5760405162461bcd60e51b81526004016108a190612b5a565b61019254604051627eeac760e11b81526001600160a01b0384811660048301528335602483015290911690602083013590829062fdd58e90604401602060405180830381865afa158015611c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c289190612b41565b1015611c845760405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f207374616b65206d6f726520746f6f6c73207468616e206044820152641bdddb995960da1b60648201526084016108a1565b6001600160a01b038316600090815261019660209081526040808320853584526001810183529083208054919392860135929091611cc3908490612ab9565b9091555050604051637921219560e11b81526001600160a01b0383169063f242432a906117a5908790309088359060208a013590600401612bae565b60606000611d0e836002612c7f565b611d19906002612ab9565b6001600160401b03811115611d3057611d30612572565b6040519080825280601f01601f191660200182016040528015611d5a576020820181803683370190505b509050600360fc1b81600081518110611d7557611d756129dc565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611da457611da46129dc565b60200101906001600160f81b031916908160001a9053506000611dc8846002612c7f565b611dd3906001612ab9565b90505b6001811115611e4b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e0757611e076129dc565b1a60f81b828281518110611e1d57611e1d6129dc565b60200101906001600160f81b031916908160001a90535060049490941c93611e4481612cb8565b9050611dd6565b508315610eb55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108a1565b611ea48282610ebc565b6108b457600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611edc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610eb5836001600160a01b0384166120fb565b611f3f8282610ebc565b156108b457600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610eb5836001600160a01b03841661214a565b6001600160a01b0381163b61201e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108a1565b600080516020612d0283398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6120568361223d565b6000825111806120635750805b1561076b57610809838361227d565b600054610100900460ff166120995760405162461bcd60e51b81526004016108a190612c34565b610c3633611834565b600054610100900460ff166120c95760405162461bcd60e51b81526004016108a190612c34565b600161015f55565b60008260000182815481106120e8576120e86129dc565b9060005260206000200154905092915050565b60008181526001830160205260408120546121425750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b6000818152600183016020526040812054801561223357600061216e600183612b9b565b855490915060009061218290600190612b9b565b90508181146121e75760008660000182815481106121a2576121a26129dc565b90600052602060002001549050808760000184815481106121c5576121c56129dc565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806121f8576121f8612ccf565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b61224681611fb1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6122e55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016108a1565b600080846001600160a01b0316846040516123009190612ce5565b600060405180830381855af49150503d806000811461233b576040519150601f19603f3d011682016040523d82523d6000602084013e612340565b606091505b50915091506123688282604051806060016040528060278152602001612d2260279139612371565b95945050505050565b60608315612380575081610eb5565b8251156123905782518084602001fd5b8160405162461bcd60e51b81526004016108a19190612705565b6000602082840312156123bc57600080fd5b81356001600160e01b031981168114610eb557600080fd5b80356001600160a01b03811681146123eb57600080fd5b919050565b60008083601f84011261240257600080fd5b5081356001600160401b0381111561241957600080fd5b6020830191508360208260061b850101111561243457600080fd5b9250929050565b60008060006040848603121561245057600080fd5b612459846123d4565b925060208401356001600160401b0381111561247457600080fd5b612480868287016123f0565b9497909650939450505050565b60006020828403121561249f57600080fd5b5035919050565b6000602082840312156124b857600080fd5b610eb5826123d4565b60008083601f8401126124d357600080fd5b5081356001600160401b038111156124ea57600080fd5b6020830191508360208260051b850101111561243457600080fd5b6000806020838503121561251857600080fd5b82356001600160401b0381111561252e57600080fd5b61253a858286016124c1565b90969095509350505050565b6000806040838503121561255957600080fd5b82359150612569602084016123d4565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261259957600080fd5b81356001600160401b03808211156125b3576125b3612572565b604051601f8301601f19908116603f011681019082821181831017156125db576125db612572565b816040528381528660208588010111156125f457600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561262757600080fd5b612630836123d4565b915060208301356001600160401b0381111561264b57600080fd5b61265785828601612588565b9150509250929050565b60008060008060006060868803121561267957600080fd5b612682866123d4565b945060208601356001600160401b038082111561269e57600080fd5b6126aa89838a016124c1565b909650945060408801359150808211156126c357600080fd5b506126d0888289016124c1565b969995985093965092949392505050565b60005b838110156126fc5781810151838201526020016126e4565b50506000910152565b60208152600082518060208401526127248160408501602087016126e1565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b838110156127685781518752958201959082019060010161274c565b509495945050505050565b6040815260006127866040830185612738565b82810360208401526123688185612738565b600080604083850312156127ab57600080fd5b50508035926020909101359150565b600080600080604085870312156127d057600080fd5b84356001600160401b03808211156127e757600080fd5b6127f3888389016123f0565b9096509450602087013591508082111561280c57600080fd5b50612819878288016123f0565b95989497509550505050565b6000806000806040858703121561283b57600080fd5b84356001600160401b038082111561285257600080fd5b61285e888389016124c1565b9096509450602087013591508082111561287757600080fd5b50612819878288016124c1565b60008060008060008060008060a0898b0312156128a057600080fd5b6128a9896123d4565b97506128b760208a016123d4565b965060408901356001600160401b03808211156128d357600080fd5b6128df8c838d016124c1565b909850965060608b01359150808211156128f857600080fd5b6129048c838d016124c1565b909650945060808b013591508082111561291d57600080fd5b818b0191508b601f83011261293157600080fd5b81358181111561294057600080fd5b8c602082850101111561295257600080fd5b6020830194508093505050509295985092959890939650565b600080600080600060a0868803121561298357600080fd5b61298c866123d4565b945061299a602087016123d4565b9350604086013592506060860135915060808601356001600160401b038111156129c357600080fd5b6129cf88828901612588565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612a1a57612a1a6129f2565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b8082018082111561075a5761075a6129f2565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612b048160178501602088016126e1565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612b358160288401602088016126e1565b01602801949350505050565b600060208284031215612b5357600080fd5b5051919050565b60208082526021908201527f4d6174657269616c20636f6e74726163742061646472657373206e6f742073656040820152601d60fa1b606082015260800190565b8181038181111561075a5761075a6129f2565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b600060408284031215612bf857600080fd5b604051604081018181106001600160401b0382111715612c1a57612c1a612572565b604052823581526020928301359281019290925250919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761075a5761075a6129f2565b600082612cb357634e487b7160e01b600052601260045260246000fd5b500490565b600081612cc757612cc76129f2565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612cf78184602087016126e1565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220da75a0388817af37d5433ff4131ac59d5e2fb3b32796c15195ef1b72f8f532ef64736f6c63430008110033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80638265221511610123578063b8113946116100ab578063da9293711161006f578063da92937114610694578063e7eb3b36146106b4578063ef5cfb8c146106c9578063f23a6e61146106e9578063f2fde38b1461071557600080fd5b8063b8113946146105a1578063bc197c81146105cf578063ca15c87314610617578063d374529b14610637578063d547741f1461067457600080fd5b80639c825203116100f25780639c8252031461050c5780639ee2a3a51461052c578063a217fddf1461054c578063a32ede6014610561578063aac86d4e1461058157600080fd5b806382652215146104985780638da5cb5b146104ae5780639010d07c146104cc57806391d14854146104ec57600080fd5b80634f1ef286116101a6578063609355b211610175578063609355b2146103fd5780636f3e7dfa14610420578063715018a6146104405780637a766460146104555780638129fc1c1461048357600080fd5b80634f1ef2861461038157806352d1902d14610394578063540aa8f8146103a957806354fd4d50146103c957600080fd5b806327f284ee116101ed57806327f284ee146102e1578063280c9f0e146103015780632f2ff15d1461032157806336568abe146103415780633659cfe61461036157600080fd5b806301ffc9a71461021f5780631d88854514610254578063248a9ca314610276578063269fe4fa146102b4575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046123aa565b610735565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f36600461243b565b610760565b005b34801561028257600080fd5b506102a661029136600461248d565b600090815260fb602052604090206001015490565b60405190815260200161024b565b3480156102c057600080fd5b506102c9610770565b6040516001600160a01b03909116815260200161024b565b3480156102ed57600080fd5b506102746102fc3660046124a6565b61078f565b34801561030d57600080fd5b5061027461031c366004612505565b6107bf565b34801561032d57600080fd5b5061027461033c366004612546565b61080f565b34801561034d57600080fd5b5061027461035c366004612546565b610835565b34801561036d57600080fd5b5061027461037c3660046124a6565b6108b8565b61027461038f366004612614565b610997565b3480156103a057600080fd5b506102a6610a63565b3480156103b557600080fd5b506102746103c4366004612661565b610b16565b3480156103d557600080fd5b506040805180820182526005815264312e312e3160d81b6020820152905161024b9190612705565b34801561040957600080fd5b5033600090815261019760205260409020546102a6565b34801561042c57600080fd5b5061027461043b36600461243b565b610bc7565b34801561044c57600080fd5b50610274610bd2565b34801561046157600080fd5b506104756104703660046124a6565b610c38565b60405161024b929190612773565b34801561048f57600080fd5b50610274610db9565b3480156104a457600080fd5b50610191546102a6565b3480156104ba57600080fd5b506033546001600160a01b03166102c9565b3480156104d857600080fd5b506102c96104e7366004612798565b610e9c565b3480156104f857600080fd5b5061023f610507366004612546565b610ebc565b34801561051857600080fd5b506102746105273660046127ba565b610ee7565b34801561053857600080fd5b5061023f61054736600461248d565b610f0d565b34801561055857600080fd5b506102a6600081565b34801561056d57600080fd5b5061027461057c366004612825565b610f32565b34801561058d57600080fd5b5061027461059c3660046124a6565b611016565b3480156105ad57600080fd5b506102a66105bc36600461248d565b6000908152610195602052604090205490565b3480156105db57600080fd5b506105fe6105ea366004612884565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161024b565b34801561062357600080fd5b506102a661063236600461248d565b611046565b34801561064357600080fd5b506102a661065236600461248d565b3360009081526101966020908152604080832093835260019093019052205490565b34801561068057600080fd5b5061027461068f366004612546565b61105e565b3480156106a057600080fd5b506102a66106af3660046124a6565b611084565b3480156106c057600080fd5b506102c96110b3565b3480156106d557600080fd5b506102746106e43660046124a6565b6110d2565b3480156106f557600080fd5b506105fe61070436600461296b565b63f23a6e6160e01b95945050505050565b34801561072157600080fd5b506102746107303660046124a6565b6111ca565b60006001600160e01b03198216630271189760e51b148061075a575061075a82611292565b92915050565b61076b8383836112b7565b505050565b60008061077d81336112fe565b5050610192546001600160a01b031690565b600061079b81336112fe565b5061019280546001600160a01b0319166001600160a01b0392909216919091179055565b60006107cb81336112fe565b60005b82811015610809576107f78484838181106107eb576107eb6129dc565b90506020020135611362565b8061080181612a08565b9150506107ce565b50505050565b600082815260fb602052604090206001015461082b81336112fe565b61076b8383611411565b6001600160a01b03811633146108aa5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108b48282611434565b5050565b6001600160a01b037f000000000000000000000000c74efd2fa194bb65b97267b7caf39279b8e091311630036109005760405162461bcd60e51b81526004016108a190612a21565b7f000000000000000000000000c74efd2fa194bb65b97267b7caf39279b8e091316001600160a01b0316610949600080516020612d02833981519152546001600160a01b031690565b6001600160a01b03161461096f5760405162461bcd60e51b81526004016108a190612a6d565b61097881611457565b6040805160008082526020820190925261099491839190611463565b50565b6001600160a01b037f000000000000000000000000c74efd2fa194bb65b97267b7caf39279b8e091311630036109df5760405162461bcd60e51b81526004016108a190612a21565b7f000000000000000000000000c74efd2fa194bb65b97267b7caf39279b8e091316001600160a01b0316610a28600080516020612d02833981519152546001600160a01b031690565b6001600160a01b031614610a4e5760405162461bcd60e51b81526004016108a190612a6d565b610a5782611457565b6108b482826001611463565b6000306001600160a01b037f000000000000000000000000c74efd2fa194bb65b97267b7caf39279b8e091311614610b035760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108a1565b50600080516020612d0283398151915290565b82818114610b575760405162461bcd60e51b815260206004820152600e60248201526d082e4e4c2f240dad2e6dac2e8c6d60931b60448201526064016108a1565b60005b81811015610bbe5760006040518060400160405280888885818110610b8157610b816129dc565b905060200201358152602001868685818110610b9f57610b9f6129dc565b905060200201358152509050610bb588826115ce565b50600101610b5a565b50505050505050565b61076b8383836117dd565b6033546001600160a01b03163314610c2c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a1565b610c366000611834565b565b6001600160a01b038116600090815261019660205260408120610193546060928392916001600160401b03811115610c7257610c72612572565b604051908082528060200260200182016040528015610c9b578160200160208202803683370190505b50610193549091506000906001600160401b03811115610cbd57610cbd612572565b604051908082528060200260200182016040528015610ce6578160200160208202803683370190505b5090506000805b61019354811015610dac5760006101938281548110610d0e57610d0e6129dc565b906000526020600020015490506000866001016000838152602001908152602001600020541115610d995780858481518110610d4c57610d4c6129dc565b60200260200101818152505085600101600082815260200190815260200160002054848481518110610d8057610d806129dc565b602090810291909101015282610d9581612a08565b9350505b5080610da481612a08565b915050610ced565b5091969095509350505050565b600054610100900460ff16610dd45760005460ff1615610dd8565b303b155b610e3b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108a1565b600054610100900460ff16158015610e5d576000805461ffff19166101011790555b610e65611886565b610e6d6118b5565b610e756118b5565b610e7d6118dc565b610e8860003361190b565b8015610994576000805461ff001916905550565b600082815261012d60205260408120610eb59083611915565b9392505050565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018310610efa57610efa3385856112b7565b60018110610809576108093383836117dd565b600080610f1a81336112fe565b50506000908152610194602052604090205460ff1690565b6000610f3e81336112fe565b838214610fa95760405162461bcd60e51b815260206004820152603360248201527f4d69736d6174636820616d6f756e7473206f6620746f6f6c7320616e642064616044820152721a5b1e481c985d195cc818995a5b99c81cd95d606a1b60648201526084016108a1565b60005b8481101561100e57610ffc868683818110610fc957610fc96129dc565b90506020020135858584818110610fe257610fe26129dc565b905060200201356000918252610195602052604090912055565b8061100681612a08565b915050610fac565b505050505050565b600061102281336112fe565b5061019880546001600160a01b0319166001600160a01b0392909216919091179055565b600081815261012d6020526040812061075a90611921565b600082815260fb602052604090206001015461107a81336112fe565b61076b8383611434565b600061108f8261192b565b6001600160a01b0383166000908152610197602052604090205461075a9190612ab9565b6000806110c081336112fe565b5050610198546001600160a01b031690565b610198546001600160a01b031661112b5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20636c61696d20636f6e7472616374206e6f74207365740000000060448201526064016108a1565b610198546001600160a01b0316336001600160a01b0316146111a15760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920746f6b656e20636c61696d20636f6e747261637420616c6c6f776560448201526819081d1bc818d85b1b60ba1b60648201526084016108a1565b6001600160a01b0316600090815261019660209081526040808320429055610197909152812055565b6033546001600160a01b031633146112245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a1565b6001600160a01b0381166112895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a1565b61099481611834565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611a85565b6112c083611aba565b60005b81811015610809576112ec848484848181106112e1576112e16129dc565b905060400201611b1d565b806112f681612a08565b9150506112c3565b6113088282610ebc565b6108b457611320816001600160a01b03166014611cff565b61132b836020611cff565b60405160200161133c929190612acc565b60408051601f198184030181529082905262461bcd60e51b82526108a191600401612705565b6000818152610194602052604090205460ff16156113c25760405162461bcd60e51b815260206004820152601c60248201527f546f6f6c2049442068617320616c7265616479206265656e207365740000000060448201526064016108a1565b610193805460018181019092557ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680182905560009182526101946020526040909120805460ff19169091179055565b61141b8282611e9a565b600082815261012d6020526040902061076b9082611f20565b61143e8282611f35565b600082815261012d6020526040902061076b9082611f9c565b60006108b481336112fe565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156114965761076b83611fb1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156114f0575060408051601f3d908101601f191682019092526114ed91810190612b41565b60015b6115535760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108a1565b600080516020612d0283398151915281146115c25760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108a1565b5061076b83838361204d565b80516000908152610194602052604090205460ff1615156001146116345760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420612076616c696420746f6f6c20746f20756e7374616b65000000000060448201526064016108a1565b610192546001600160a01b031661165d5760405162461bcd60e51b81526004016108a190612b5a565b336001600160a01b038316146116a65760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016108a1565b610192546001600160a01b03838116600090815261019660209081526040808320865184526001810183529220549085015192909316929091111561173c5760405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f20756e7374616b65206d6f726520746f6f6c73207468616044820152651b881b195b9d60d21b60648201526084016108a1565b82602001518160010160008560000151815260200190815260200160002060008282546117699190612b9b565b909155505082516020840151604051637921219560e11b81526001600160a01b0385169263f242432a926117a59230928a929091600401612bae565b600060405180830381600087803b1580156117bf57600080fd5b505af11580156117d3573d6000803e3d6000fd5b5050505050505050565b6117e683611aba565b60005b818110156108095761182284848484818110611807576118076129dc565b90506040020180360381019061181d9190612be6565b6115ce565b8061182c81612a08565b9150506117e9565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166118ad5760405162461bcd60e51b81526004016108a190612c34565b610c36612072565b600054610100900460ff16610c365760405162461bcd60e51b81526004016108a190612c34565b600054610100900460ff166119035760405162461bcd60e51b81526004016108a190612c34565b610c366120a2565b6108b48282611411565b6000610eb583836120d1565b600061075a825490565b6001600160a01b03811660009081526101966020526040812080544210156119ae5760405162461bcd60e51b815260206004820152603060248201527f54696d652073696e6365206c61737420636c61696d206973206c61746572207460448201526f68616e2063757272656e742074696d6560801b60648201526084016108a1565b805460009015610eb55760005b61019354811015611a7d5782600101600061019383815481106119e0576119e06129dc565b90600052602060002001548152602001908152602001600020546201518061019560006101938581548110611a1757611a176129dc565b9060005260206000200154815260200190815260200160002054856000015442611a419190612b9b565b611a4b9190612c7f565b611a559190612c96565b611a5f9190612c7f565b611a699083612ab9565b915080611a7581612a08565b9150506119bb565b509392505050565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b6000611ac58261192b565b6001600160a01b038316600090815261019660205260409020428155909150811561076b576001600160a01b0383166000908152610197602052604081208054849290611b13908490612ab9565b9091555050505050565b80356000908152610194602052604090205460ff161515600114611b835760405162461bcd60e51b815260206004820152601960248201527f4e6f7420612076616c696420746f6f6c20746f207374616b650000000000000060448201526064016108a1565b610192546001600160a01b0316611bac5760405162461bcd60e51b81526004016108a190612b5a565b61019254604051627eeac760e11b81526001600160a01b0384811660048301528335602483015290911690602083013590829062fdd58e90604401602060405180830381865afa158015611c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c289190612b41565b1015611c845760405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f207374616b65206d6f726520746f6f6c73207468616e206044820152641bdddb995960da1b60648201526084016108a1565b6001600160a01b038316600090815261019660209081526040808320853584526001810183529083208054919392860135929091611cc3908490612ab9565b9091555050604051637921219560e11b81526001600160a01b0383169063f242432a906117a5908790309088359060208a013590600401612bae565b60606000611d0e836002612c7f565b611d19906002612ab9565b6001600160401b03811115611d3057611d30612572565b6040519080825280601f01601f191660200182016040528015611d5a576020820181803683370190505b509050600360fc1b81600081518110611d7557611d756129dc565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611da457611da46129dc565b60200101906001600160f81b031916908160001a9053506000611dc8846002612c7f565b611dd3906001612ab9565b90505b6001811115611e4b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e0757611e076129dc565b1a60f81b828281518110611e1d57611e1d6129dc565b60200101906001600160f81b031916908160001a90535060049490941c93611e4481612cb8565b9050611dd6565b508315610eb55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108a1565b611ea48282610ebc565b6108b457600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611edc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610eb5836001600160a01b0384166120fb565b611f3f8282610ebc565b156108b457600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610eb5836001600160a01b03841661214a565b6001600160a01b0381163b61201e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108a1565b600080516020612d0283398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6120568361223d565b6000825111806120635750805b1561076b57610809838361227d565b600054610100900460ff166120995760405162461bcd60e51b81526004016108a190612c34565b610c3633611834565b600054610100900460ff166120c95760405162461bcd60e51b81526004016108a190612c34565b600161015f55565b60008260000182815481106120e8576120e86129dc565b9060005260206000200154905092915050565b60008181526001830160205260408120546121425750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b6000818152600183016020526040812054801561223357600061216e600183612b9b565b855490915060009061218290600190612b9b565b90508181146121e75760008660000182815481106121a2576121a26129dc565b90600052602060002001549050808760000184815481106121c5576121c56129dc565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806121f8576121f8612ccf565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b61224681611fb1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6122e55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016108a1565b600080846001600160a01b0316846040516123009190612ce5565b600060405180830381855af49150503d806000811461233b576040519150601f19603f3d011682016040523d82523d6000602084013e612340565b606091505b50915091506123688282604051806060016040528060278152602001612d2260279139612371565b95945050505050565b60608315612380575081610eb5565b8251156123905782518084602001fd5b8160405162461bcd60e51b81526004016108a19190612705565b6000602082840312156123bc57600080fd5b81356001600160e01b031981168114610eb557600080fd5b80356001600160a01b03811681146123eb57600080fd5b919050565b60008083601f84011261240257600080fd5b5081356001600160401b0381111561241957600080fd5b6020830191508360208260061b850101111561243457600080fd5b9250929050565b60008060006040848603121561245057600080fd5b612459846123d4565b925060208401356001600160401b0381111561247457600080fd5b612480868287016123f0565b9497909650939450505050565b60006020828403121561249f57600080fd5b5035919050565b6000602082840312156124b857600080fd5b610eb5826123d4565b60008083601f8401126124d357600080fd5b5081356001600160401b038111156124ea57600080fd5b6020830191508360208260051b850101111561243457600080fd5b6000806020838503121561251857600080fd5b82356001600160401b0381111561252e57600080fd5b61253a858286016124c1565b90969095509350505050565b6000806040838503121561255957600080fd5b82359150612569602084016123d4565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261259957600080fd5b81356001600160401b03808211156125b3576125b3612572565b604051601f8301601f19908116603f011681019082821181831017156125db576125db612572565b816040528381528660208588010111156125f457600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561262757600080fd5b612630836123d4565b915060208301356001600160401b0381111561264b57600080fd5b61265785828601612588565b9150509250929050565b60008060008060006060868803121561267957600080fd5b612682866123d4565b945060208601356001600160401b038082111561269e57600080fd5b6126aa89838a016124c1565b909650945060408801359150808211156126c357600080fd5b506126d0888289016124c1565b969995985093965092949392505050565b60005b838110156126fc5781810151838201526020016126e4565b50506000910152565b60208152600082518060208401526127248160408501602087016126e1565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b838110156127685781518752958201959082019060010161274c565b509495945050505050565b6040815260006127866040830185612738565b82810360208401526123688185612738565b600080604083850312156127ab57600080fd5b50508035926020909101359150565b600080600080604085870312156127d057600080fd5b84356001600160401b03808211156127e757600080fd5b6127f3888389016123f0565b9096509450602087013591508082111561280c57600080fd5b50612819878288016123f0565b95989497509550505050565b6000806000806040858703121561283b57600080fd5b84356001600160401b038082111561285257600080fd5b61285e888389016124c1565b9096509450602087013591508082111561287757600080fd5b50612819878288016124c1565b60008060008060008060008060a0898b0312156128a057600080fd5b6128a9896123d4565b97506128b760208a016123d4565b965060408901356001600160401b03808211156128d357600080fd5b6128df8c838d016124c1565b909850965060608b01359150808211156128f857600080fd5b6129048c838d016124c1565b909650945060808b013591508082111561291d57600080fd5b818b0191508b601f83011261293157600080fd5b81358181111561294057600080fd5b8c602082850101111561295257600080fd5b6020830194508093505050509295985092959890939650565b600080600080600060a0868803121561298357600080fd5b61298c866123d4565b945061299a602087016123d4565b9350604086013592506060860135915060808601356001600160401b038111156129c357600080fd5b6129cf88828901612588565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612a1a57612a1a6129f2565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b8082018082111561075a5761075a6129f2565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612b048160178501602088016126e1565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612b358160288401602088016126e1565b01602801949350505050565b600060208284031215612b5357600080fd5b5051919050565b60208082526021908201527f4d6174657269616c20636f6e74726163742061646472657373206e6f742073656040820152601d60fa1b606082015260800190565b8181038181111561075a5761075a6129f2565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b600060408284031215612bf857600080fd5b604051604081018181106001600160401b0382111715612c1a57612c1a612572565b604052823581526020928301359281019290925250919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761075a5761075a6129f2565b600082612cb357634e487b7160e01b600052601260045260246000fd5b500490565b600081612cc757612cc76129f2565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612cf78184602087016126e1565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220da75a0388817af37d5433ff4131ac59d5e2fb3b32796c15195ef1b72f8f532ef64736f6c63430008110033
Deployed Bytecode Sourcemap
71215:9608:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72200:299;;;;;;;;;;-1:-1:-1;72200:299:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;72200:299:0;;;;;;;;77336:133;;;;;;;;;;-1:-1:-1;77336:133:0;;;;;:::i;:::-;;:::i;:::-;;28255:131;;;;;;;;;;-1:-1:-1;28255:131:0;;;;;:::i;:::-;28329:7;28356:12;;;:6;:12;;;;;:22;;;;28255:131;;;;1962:25:1;;;1950:2;1935:18;28255:131:0;1816:177:1;73735:158:0;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2162:32:1;;;2144:51;;2132:2;2117:18;73735:158:0;1998:203:1;73566:163:0;;;;;;;;;;-1:-1:-1;73566:163:0;;;;;:::i;:::-;;:::i;74371:194::-;;;;;;;;;;-1:-1:-1;74371:194:0;;;;;:::i;:::-;;:::i;28648:147::-;;;;;;;;;;-1:-1:-1;28648:147:0;;;;;:::i;:::-;;:::i;29696:218::-;;;;;;;;;;-1:-1:-1;29696:218:0;;;;;:::i;:::-;;:::i;66125:200::-;;;;;;;;;;-1:-1:-1;66125:200:0;;;;;:::i;:::-;;:::i;66584:225::-;;;;;;:::i;:::-;;:::i;65803:133::-;;;;;;;;;;;;;:::i;76914:416::-;;;;;;;;;;-1:-1:-1;76914:416:0;;;;;:::i;:::-;;:::i;72505:107::-;;;;;;;;;;-1:-1:-1;72592:14:0;;;;;;;;;;;-1:-1:-1;;;72592:14:0;;;;72505:107;;;;72592:14;72505:107;:::i;74035:125::-;;;;;;;;;;-1:-1:-1;19812:10:0;74096:7;74001:22;;;:14;:22;;;;;;74035:125;;78518:141;;;;;;;;;;-1:-1:-1;78518:141:0;;;;;:::i;:::-;;:::i;49659:103::-;;;;;;;;;;;;;:::i;74927:607::-;;;;;;;;;;-1:-1:-1;74927:607:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;71968:226::-;;;;;;;;;;;;;:::i;73106:115::-;;;;;;;;;;-1:-1:-1;73197:18:0;;73106:115;;49008:87;;;;;;;;;;-1:-1:-1;49081:6:0;;-1:-1:-1;;;;;49081:6:0;49008:87;;46421:153;;;;;;;;;;-1:-1:-1;46421:153:0;;;;;:::i;:::-;;:::i;27102:147::-;;;;;;;;;;-1:-1:-1;27102:147:0;;;;;:::i;:::-;;:::i;78919:329::-;;;;;;;;;;-1:-1:-1;78919:329:0;;;;;:::i;:::-;;:::i;74571:154::-;;;;;;;;;;-1:-1:-1;74571:154:0;;;;;:::i;:::-;;:::i;26182:49::-;;;;;;;;;;-1:-1:-1;26182:49:0;26227:4;26182:49;;75665:369;;;;;;;;;;-1:-1:-1;75665:369:0;;;;;:::i;:::-;;:::i;73227:166::-;;;;;;;;;;-1:-1:-1;73227:166:0;;;;;:::i;:::-;;:::i;76040:121::-;;;;;;;;;;-1:-1:-1;76040:121:0;;;;;:::i;:::-;76111:7;76137:18;;;:9;:18;;;;;;;76040:121;72829:271;;;;;;;;;;-1:-1:-1;72829:271:0;;;;;:::i;:::-;-1:-1:-1;;;72829:271:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;10954:33:1;;;10936:52;;10924:2;10909:18;72829:271:0;10792:202:1;46748:142:0;;;;;;;;;;-1:-1:-1;46748:142:0;;;;;:::i;:::-;;:::i;74731:190::-;;;;;;;;;;-1:-1:-1;74731:190:0;;;;;:::i;:::-;19812:10;74812:7;74854:19;;;:5;:19;;;;;;;;74889:26;;;:18;;;;:26;;;;;74731:190;29040:149;;;;;;;;;;-1:-1:-1;29040:149:0;;;;;:::i;:::-;;:::i;79824:171::-;;;;;;;;;;-1:-1:-1;79824:171:0;;;;;:::i;:::-;;:::i;73399:161::-;;;;;;;;;;;;;:::i;80310:378::-;;;;;;;;;;-1:-1:-1;80310:378:0;;;;;:::i;:::-;;:::i;72618:205::-;;;;;;;;;;-1:-1:-1;72618:205:0;;;;;:::i;:::-;-1:-1:-1;;;72618:205:0;;;;;;;;49917:201;;;;;;;;;;-1:-1:-1;49917:201:0;;;;;:::i;:::-;;:::i;72200:299::-;72356:4;-1:-1:-1;;;;;;72386:60:0;;-1:-1:-1;;;72386:60:0;;:107;;;72457:36;72481:11;72457:23;:36::i;:::-;72372:121;72200:299;-1:-1:-1;;72200:299:0:o;77336:133::-;77430:33;77442:6;77450:12;;77430:11;:33::i;:::-;77336:133;;;:::o;73735:158::-;73837:7;;26673:30;73837:7;19812:10;26673;:30::i;:::-;-1:-1:-1;;73863:24:0::1;::::0;-1:-1:-1;;;;;73863:24:0::1;::::0;73735:158::o;73566:163::-;26227:4;26673:30;26227:4;19812:10;26673;:30::i;:::-;-1:-1:-1;73681:24:0::1;:42:::0;;-1:-1:-1;;;;;;73681:42:0::1;-1:-1:-1::0;;;;;73681:42:0;;;::::1;::::0;;;::::1;::::0;;73566:163::o;74371:194::-;26227:4;26673:30;26227:4;19812:10;26673;:30::i;:::-;74479:9:::1;74474:86;74494:19:::0;;::::1;74474:86;;;74529:23;74540:8;;74549:1;74540:11;;;;;;;:::i;:::-;;;;;;;74529:10;:23::i;:::-;74515:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74474:86;;;;74371:194:::0;;;:::o;28648:147::-;28329:7;28356:12;;;:6;:12;;;;;:22;;;26673:30;26684:4;19812:10;26673;:30::i;:::-;28762:25:::1;28773:4;28779:7;28762:10;:25::i;29696:218::-:0;-1:-1:-1;;;;;29792:23:0;;19812:10;29792:23;29784:83;;;;-1:-1:-1;;;29784:83:0;;12216:2:1;29784:83:0;;;12198:21:1;12255:2;12235:18;;;12228:30;12294:34;12274:18;;;12267:62;-1:-1:-1;;;12345:18:1;;;12338:45;12400:19;;29784:83:0;;;;;;;;;29880:26;29892:4;29898:7;29880:11;:26::i;:::-;29696:218;;:::o;66125:200::-;-1:-1:-1;;;;;64675:6:0;64658:23;64666:4;64658:23;64650:80;;;;-1:-1:-1;;;64650:80:0;;;;;;;:::i;:::-;64773:6;-1:-1:-1;;;;;64749:30:0;:20;-1:-1:-1;;;;;;;;;;;56456:65:0;-1:-1:-1;;;;;56456:65:0;;56376:153;64749:20;-1:-1:-1;;;;;64749:30:0;;64741:87;;;;-1:-1:-1;;;64741:87:0;;;;;;;:::i;:::-;66209:36:::1;66227:17;66209;:36::i;:::-;66297:12;::::0;;66307:1:::1;66297:12:::0;;;::::1;::::0;::::1;::::0;;;66256:61:::1;::::0;66278:17;;66297:12;66256:21:::1;:61::i;:::-;66125:200:::0;:::o;66584:225::-;-1:-1:-1;;;;;64675:6:0;64658:23;64666:4;64658:23;64650:80;;;;-1:-1:-1;;;64650:80:0;;;;;;;:::i;:::-;64773:6;-1:-1:-1;;;;;64749:30:0;:20;-1:-1:-1;;;;;;;;;;;56456:65:0;-1:-1:-1;;;;;56456:65:0;;56376:153;64749:20;-1:-1:-1;;;;;64749:30:0;;64741:87;;;;-1:-1:-1;;;64741:87:0;;;;;;;:::i;:::-;66702:36:::1;66720:17;66702;:36::i;:::-;66749:52;66771:17;66790:4;66796;66749:21;:52::i;65803:133::-:0;65881:7;65111:4;-1:-1:-1;;;;;65120:6:0;65103:23;;65095:92;;;;-1:-1:-1;;;65095:92:0;;13458:2:1;65095:92:0;;;13440:21:1;13497:2;13477:18;;;13470:30;13536:34;13516:18;;;13509:62;13607:26;13587:18;;;13580:54;13651:19;;65095:92:0;13256:420:1;65095:92:0;-1:-1:-1;;;;;;;;;;;;65803:133:0;:::o;76914:416::-;77047:3;77072:27;;;77064:54;;;;-1:-1:-1;;;77064:54:0;;13883:2:1;77064:54:0;;;13865:21:1;13922:2;13902:18;;;13895:30;-1:-1:-1;;;13941:18:1;;;13934:44;13995:18;;77064:54:0;13681:338:1;77064:54:0;77130:9;77125:200;77145:6;77141:1;:10;77125:200;;;77163:31;77197:33;;;;;;;;77208:3;;77212:1;77208:6;;;;;;;:::i;:::-;;;;;;;77197:33;;;;77216:10;;77227:1;77216:13;;;;;;;:::i;:::-;;;;;;;77197:33;;;77163:67;;77240:35;77253:6;77261:13;77240:12;:35::i;:::-;-1:-1:-1;77305:3:0;;77125:200;;;;77023:307;76914:416;;;;;:::o;78518:141::-;78616:37;78630:6;78638:14;;78616:13;:37::i;49659:103::-;49081:6;;-1:-1:-1;;;;;49081:6:0;19812:10;49228:23;49220:68;;;;-1:-1:-1;;;49220:68:0;;14226:2:1;49220:68:0;;;14208:21:1;;;14245:18;;;14238:30;14304:34;14284:18;;;14277:62;14356:18;;49220:68:0;14024:356:1;49220:68:0;49724:30:::1;49751:1;49724:18;:30::i;:::-;49659:103::o:0;74927:607::-;-1:-1:-1;;;;;75062:13:0;;75039:20;75062:13;;;:5;:13;;;;;75126:7;:14;74993:16;;;;75062:13;-1:-1:-1;;;;;75112:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75112:29:0;-1:-1:-1;75190:7:0;:14;75084:57;;-1:-1:-1;75148:25:0;;-1:-1:-1;;;;;75176:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75176:29:0;;75148:57;;75214:13;75243:9;75238:255;75262:7;:14;75258:18;;75238:255;;;75292:14;75309:7;75317:1;75309:10;;;;;;;;:::i;:::-;;;;;;;;;75292:27;;75363:1;75334:6;:18;;:26;75353:6;75334:26;;;;;;;;;;;;:30;75330:156;;;75395:6;75377:8;75386:5;75377:15;;;;;;;;:::i;:::-;;;;;;:24;;;;;75430:6;:18;;:26;75449:6;75430:26;;;;;;;;;;;;75412:8;75421:5;75412:15;;;;;;;;:::i;:::-;;;;;;;;;;:44;75469:7;;;;:::i;:::-;;;;75330:156;-1:-1:-1;75278:3:0;;;;:::i;:::-;;;;75238:255;;;-1:-1:-1;75509:8:0;;75519;;-1:-1:-1;74927:607:0;-1:-1:-1;;;;74927:607:0:o;71968:226::-;18026:13;;;;;;;:48;;18062:12;;;;18061:13;18026:48;;;18829:4;9600:19;:23;18042:16;18018:107;;;;-1:-1:-1;;;18018:107:0;;14587:2:1;18018:107:0;;;14569:21:1;14626:2;14606:18;;;14599:30;14665:34;14645:18;;;14638:62;-1:-1:-1;;;14716:18:1;;;14709:44;14770:19;;18018:107:0;14385:410:1;18018:107:0;18138:19;18161:13;;;;;;18160:14;18185:101;;;;18220:13;:20;;-1:-1:-1;;18255:19:0;;;;;18185:101;72018:16:::1;:14;:16::i;:::-;72041:24;:22;:24::i;:::-;72072:32;:30;:32::i;:::-;72111:24;:22;:24::i;:::-;72144:44;26227:4;19812:10:::0;72144::::1;:44::i;:::-;18316:14:::0;18312:68;;;18363:5;18347:21;;-1:-1:-1;;18347:21:0;;;17733:654;71968:226::o;46421:153::-;46511:7;46538:18;;;:12;:18;;;;;:28;;46560:5;46538:21;:28::i;:::-;46531:35;46421:153;-1:-1:-1;;;46421:153:0:o;27102:147::-;27188:4;27212:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27212:29:0;;;;;;;;;;;;;;;27102:147::o;78919:329::-;79084:1;79061:24;;79057:86;;79096:39;19812:10;79122:12;;79096:11;:39::i;:::-;79180:1;79155:26;;79151:92;;79192:43;19812:10;79220:14;;79192:13;:43::i;74571:154::-;74675:4;;26673:30;74675:4;19812:10;26673;:30::i;:::-;-1:-1:-1;;74698:21:0::1;::::0;;;:13:::1;:21;::::0;;;;;::::1;;::::0;74571:154::o;75665:369::-;26227:4;26673:30;26227:4;19812:10;26673;:30::i;:::-;75822:37;;::::1;75814:101;;;::::0;-1:-1:-1;;;75814:101:0;;15002:2:1;75814:101:0::1;::::0;::::1;14984:21:1::0;15041:2;15021:18;;;15014:30;15080:34;15060:18;;;15053:62;-1:-1:-1;;;15131:18:1;;;15124:49;15190:19;;75814:101:0::1;14800:415:1::0;75814:101:0::1;75929:9;75924:105;75944:19:::0;;::::1;75924:105;;;75979:42;75993:8;;76002:1;75993:11;;;;;;;:::i;:::-;;;;;;;76006;;76018:1;76006:14;;;;;;;:::i;:::-;;;;;;;75622:18:::0;;;;:9;:18;;;;;;:31;75540:119;75979:42:::1;75965:3:::0;::::1;::::0;::::1;:::i;:::-;;;;75924:105;;;;75665:369:::0;;;;;:::o;73227:166::-;26227:4;26673:30;26227:4;19812:10;26673;:30::i;:::-;-1:-1:-1;73344:25:0::1;:43:::0;;-1:-1:-1;;;;;;73344:43:0::1;-1:-1:-1::0;;;;;73344:43:0;;;::::1;::::0;;;::::1;::::0;;73227:166::o;46748:142::-;46828:7;46855:18;;;:12;:18;;;;;:27;;:25;:27::i;29040:149::-;28329:7;28356:12;;;:6;:12;;;;;:22;;;26673:30;26684:4;19812:10;26673;:30::i;:::-;29155:26:::1;29167:4;29173:7;29155:11;:26::i;79824:171::-:0;79901:7;79956:33;79982:6;79956:25;:33::i;:::-;-1:-1:-1;;;;;74001:22:0;;73975:7;74001:22;;;:14;:22;;;;;;79927:62;;;;:::i;73399:161::-;73503:7;;26673:30;73503:7;19812:10;26673;:30::i;:::-;-1:-1:-1;;73529:25:0::1;::::0;-1:-1:-1;;;;;73529:25:0::1;::::0;73399:161::o;80310:378::-;80378:25;;-1:-1:-1;;;;;80378:25:0;80370:80;;;;-1:-1:-1;;;80370:80:0;;15552:2:1;80370:80:0;;;15534:21:1;15591:2;15571:18;;;15564:30;15630;15610:18;;;15603:58;15678:18;;80370:80:0;15350:352:1;80370:80:0;80481:25;;-1:-1:-1;;;;;80481:25:0;19812:10;-1:-1:-1;;;;;80465:41:0;;80457:95;;;;-1:-1:-1;;;80457:95:0;;15909:2:1;80457:95:0;;;15891:21:1;15948:2;15928:18;;;15921:30;15987:34;15967:18;;;15960:62;-1:-1:-1;;;16038:18:1;;;16031:39;16087:19;;80457:95:0;15707:405:1;80457:95:0;-1:-1:-1;;;;;80584:13:0;80561:20;80584:13;;;:5;:13;;;;;;;;80632:15;80604:43;;80656:14;:22;;;;;:26;80310:378::o;49917:201::-;49081:6;;-1:-1:-1;;;;;49081:6:0;19812:10;49228:23;49220:68;;;;-1:-1:-1;;;49220:68:0;;14226:2:1;49220:68:0;;;14208:21:1;;;14245:18;;;14238:30;14304:34;14284:18;;;14277:62;14356:18;;49220:68:0;14024:356:1;49220:68:0;-1:-1:-1;;;;;50006:22:0;::::1;49998:73;;;::::0;-1:-1:-1;;;49998:73:0;;16319:2:1;49998:73:0::1;::::0;::::1;16301:21:1::0;16358:2;16338:18;;;16331:30;16397:34;16377:18;;;16370:62;-1:-1:-1;;;16448:18:1;;;16441:36;16494:19;;49998:73:0::1;16117:402:1::0;49998:73:0::1;50082:28;50101:8;50082:18;:28::i;45597:225::-:0;45682:4;-1:-1:-1;;;;;;45706:68:0;;-1:-1:-1;;;45706:68:0;;:108;;;45778:36;45802:11;45778:23;:36::i;77475:238::-;77570:27;77590:6;77570:19;:27::i;:::-;77611:9;77606:102;77626:23;;;77606:102;;;77665:35;77676:6;77684:12;;77697:1;77684:15;;;;;;;:::i;:::-;;;;;;77665:10;:35::i;:::-;77651:3;;;;:::i;:::-;;;;77606:102;;27539:527;27628:22;27636:4;27642:7;27628;:22::i;:::-;27623:436;;27816:52;27855:7;-1:-1:-1;;;;;27816:52:0;27865:2;27816:30;:52::i;:::-;27941:49;27980:4;27987:2;27941:30;:49::i;:::-;27721:292;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27721:292:0;;;;;;;;;;-1:-1:-1;;;27667:380:0;;;;;;;:::i;74166:199::-;74232:21;;;;:13;:21;;;;;;;;:30;74224:71;;;;-1:-1:-1;;;74224:71:0;;17543:2:1;74224:71:0;;;17525:21:1;17582:2;17562:18;;;17555:30;17621;17601:18;;;17594:58;17669:18;;74224:71:0;17341:352:1;74224:71:0;74304:7;:20;;;;;;;;;;;;;;-1:-1:-1;74331:21:0;;;:13;74304:20;74331:21;;;;;:28;;-1:-1:-1;;74331:28:0;;;;;;74166:199::o;46983:169::-;47071:31;47088:4;47094:7;47071:16;:31::i;:::-;47113:18;;;;:12;:18;;;;;:31;;47136:7;47113:22;:31::i;47246:174::-;47335:32;47353:4;47359:7;47335:17;:32::i;:::-;47378:18;;;;:12;:18;;;;;:34;;47404:7;47378:25;:34::i;80694:126::-;26227:4;26673:30;26227:4;19812:10;26673;:30::i;57794:992::-;55747:66;58248:59;;;58244:535;;;58324:37;58343:17;58324:18;:37::i;58244:535::-;58427:17;-1:-1:-1;;;;;58398:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58398:63:0;;;;;;;;-1:-1:-1;;58398:63:0;;;;;;;;;;;;:::i;:::-;;;58394:306;;58628:56;;-1:-1:-1;;;58628:56:0;;18089:2:1;58628:56:0;;;18071:21:1;18128:2;18108:18;;;18101:30;18167:34;18147:18;;;18140:62;-1:-1:-1;;;18218:18:1;;;18211:44;18272:19;;58628:56:0;17887:410:1;58394:306:0;-1:-1:-1;;;;;;;;;;;58512:28:0;;58504:82;;;;-1:-1:-1;;;58504:82:0;;18504:2:1;58504:82:0;;;18486:21:1;18543:2;18523:18;;;18516:30;18582:34;18562:18;;;18555:62;-1:-1:-1;;;18633:18:1;;;18626:39;18682:19;;58504:82:0;18302:405:1;58504:82:0;58462:140;58714:53;58732:17;58751:4;58757:9;58714:17;:53::i;77719:793::-;77834:20;;77820:35;;;;:13;:35;;;;;;;;:43;;:35;:43;77812:83;;;;-1:-1:-1;;;77812:83:0;;18914:2:1;77812:83:0;;;18896:21:1;18953:2;18933:18;;;18926:30;18992:29;18972:18;;;18965:57;19039:18;;77812:83:0;18712:351:1;77812:83:0;77910:24;;-1:-1:-1;;;;;77910:24:0;77902:84;;;;-1:-1:-1;;;77902:84:0;;;;;;;:::i;:::-;19812:10;-1:-1:-1;;;;;78001:22:0;;;77993:49;;;;-1:-1:-1;;;77993:49:0;;19672:2:1;77993:49:0;;;19654:21:1;19711:2;19691:18;;;19684:30;-1:-1:-1;;;19730:18:1;;;19723:44;19784:18;;77993:49:0;19470:338:1;77993:49:0;78117:24;;-1:-1:-1;;;;;78174:13:0;;;78051:44;78174:13;;;:5;:13;;;;;;;;78247:20;;78228:40;;78117:24;78228:18;;:40;;;;;78204:20;;;;78117:24;;;;;78174:13;;78204:64;;78196:115;;;;-1:-1:-1;;;78196:115:0;;20015:2:1;78196:115:0;;;19997:21:1;20054:2;20034:18;;;20027:30;20093:34;20073:18;;;20066:62;-1:-1:-1;;;20144:18:1;;;20137:36;20190:19;;78196:115:0;19813:402:1;78196:115:0;78364:13;:20;;;78320:6;:18;;:40;78339:13;:20;;;78320:40;;;;;;;;;;;;:64;;;;;;;:::i;:::-;;;;-1:-1:-1;;78459:20:0;;78481;;;;78393:113;;-1:-1:-1;;;78393:113:0;;-1:-1:-1;;;;;78393:42:0;;;;;:113;;78444:4;;78451:6;;78459:20;;78393:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77805:707;;77719:793;;:::o;78665:248::-;78764:27;78784:6;78764:19;:27::i;:::-;78805:9;78800:108;78820:25;;;78800:108;;;78861:39;78874:6;78882:14;;78897:1;78882:17;;;;;;;:::i;:::-;;;;;;78861:39;;;;;;;;;;:::i;:::-;:12;:39::i;:::-;78847:3;;;;:::i;:::-;;;;78800:108;;50278:191;50371:6;;;-1:-1:-1;;;;;50388:17:0;;;-1:-1:-1;;;;;;50388:17:0;;;;;;;50421:40;;50371:6;;;50388:17;50371:6;;50421:40;;50352:16;;50421:40;50341:128;50278:191;:::o;48709:97::-;18629:13;;;;;;;18621:69;;;;-1:-1:-1;;;18621:69:0;;;;;;;:::i;:::-;48772:26:::1;:24;:26::i;63803:68::-:0;18629:13;;;;;;;18621:69;;;;-1:-1:-1;;;18621:69:0;;;;;;;:::i;69518:113::-;18629:13;;;;;;;18621:69;;;;-1:-1:-1;;;18621:69:0;;;;;;;:::i;:::-;69589:34:::1;:32;:34::i;30573:112::-:0;30652:25;30663:4;30669:7;30652:10;:25::i;41321:158::-;41395:7;41446:22;41450:3;41462:5;41446:3;:22::i;40850:117::-;40913:7;40940:19;40948:3;36334:18;;36251:109;79254:564;-1:-1:-1;;;;;79379:13:0;;79337:7;79379:13;;;:5;:13;;;;;79407:25;;79436:15;-1:-1:-1;79407:44:0;79399:105;;;;-1:-1:-1;;;79399:105:0;;22111:2:1;79399:105:0;;;22093:21:1;22150:2;22130:18;;;22123:30;22189:34;22169:18;;;22162:62;-1:-1:-1;;;22240:18:1;;;22233:46;22296:19;;79399:105:0;21909:412:1;79399:105:0;79546:25;;79513:18;;79546:30;79542:245;;79592:9;79587:193;79611:7;:14;79607:18;;79587:193;;;79740:6;:18;;:30;79759:7;79767:1;79759:10;;;;;;;;:::i;:::-;;;;;;;;;79740:30;;;;;;;;;;;;79730:6;79706:9;:21;79716:7;79724:1;79716:10;;;;;;;;:::i;:::-;;;;;;;;;79706:21;;;;;;;;;;;;79677:6;:25;;;79659:15;:43;;;;:::i;:::-;79658:69;;;;:::i;:::-;:78;;;;:::i;:::-;79657:113;;;;:::i;:::-;79643:127;;;;:::i;:::-;;-1:-1:-1;79627:3:0;;;;:::i;:::-;;;;79587:193;;;;79802:10;79254:564;-1:-1:-1;;;79254:564:0:o;26795:215::-;26880:4;-1:-1:-1;;;;;;26904:58:0;;-1:-1:-1;;;26904:58:0;;:98;;-1:-1:-1;;;;;;;;;;23594:51:0;;;26966:36;23485:168;80001:303;80068:18;80089:33;80115:6;80089:25;:33::i;:::-;-1:-1:-1;;;;;80154:13:0;;80131:20;80154:13;;;:5;:13;;;;;80202:15;80174:43;;80068:54;;-1:-1:-1;80230:14:0;;80226:73;;-1:-1:-1;;;;;80255:22:0;;;;;;:14;:22;;;;;:36;;80281:10;;80255:22;:36;;80281:10;;80255:36;:::i;:::-;;;;-1:-1:-1;;80061:243:0;;80001:303;:::o;76167:741::-;76280:18;;76266:33;;;;:13;:33;;;;;;;;:41;;:33;:41;76258:79;;;;-1:-1:-1;;;76258:79:0;;22923:2:1;76258:79:0;;;22905:21:1;22962:2;22942:18;;;22935:30;23001:27;22981:18;;;22974:55;23046:18;;76258:79:0;22721:349:1;76258:79:0;76352:24;;-1:-1:-1;;;;;76352:24:0;76344:84;;;;-1:-1:-1;;;76344:84:0;;;;;;;:::i;:::-;76503:24;;76545:63;;-1:-1:-1;;;76545:63:0;;-1:-1:-1;;;;;23267:32:1;;;76545:63:0;;;23249:51:1;76589:18:0;;23316::1;;;23309:34;76503:24:0;;;;76612:18;;;;;76503:24;;76545:35;;23222:18:1;;76545:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:85;;76537:135;;;;-1:-1:-1;;;76537:135:0;;23745:2:1;76537:135:0;;;23727:21:1;23784:2;23764:18;;;23757:30;23823:34;23803:18;;;23796:62;-1:-1:-1;;;23874:18:1;;;23867:35;23919:19;;76537:135:0;23543:401:1;76537:135:0;-1:-1:-1;;;;;76704:13:0;;76681:20;76704:13;;;:5;:13;;;;;;;;76743:18;;76724:38;;:18;;;:38;;;;;:60;;76704:13;;76766:18;;;;;76724:38;;:60;;76766:18;;76724:60;:::i;:::-;;;;-1:-1:-1;;76793:109:0;;-1:-1:-1;;;76793:109:0;;-1:-1:-1;;;;;76793:42:0;;;;;:109;;76836:6;;76852:4;;76859:18;;;76879;;;;;76793:109;;;:::i;21952:451::-;22027:13;22053:19;22085:10;22089:6;22085:1;:10;:::i;:::-;:14;;22098:1;22085:14;:::i;:::-;-1:-1:-1;;;;;22075:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22075:25:0;;22053:47;;-1:-1:-1;;;22111:6:0;22118:1;22111:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22111:15:0;;;;;;;;;-1:-1:-1;;;22137:6:0;22144:1;22137:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22137:15:0;;;;;;;;-1:-1:-1;22168:9:0;22180:10;22184:6;22180:1;:10;:::i;:::-;:14;;22193:1;22180:14;:::i;:::-;22168:26;;22163:135;22200:1;22196;:5;22163:135;;;-1:-1:-1;;;22248:5:0;22256:3;22248:11;22235:25;;;;;;;:::i;:::-;;;;22223:6;22230:1;22223:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;22223:37:0;;;;;;;;-1:-1:-1;22285:1:0;22275:11;;;;;22203:3;;;:::i;:::-;;;22163:135;;;-1:-1:-1;22316:10:0;;22308:55;;;;-1:-1:-1;;;22308:55:0;;24292:2:1;22308:55:0;;;24274:21:1;;;24311:18;;;24304:30;24370:34;24350:18;;;24343:62;24422:18;;22308:55:0;24090:356:1;31197:238:0;31281:22;31289:4;31295:7;31281;:22::i;:::-;31276:152;;31320:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31320:29:0;;;;;;;;;:36;;-1:-1:-1;;31320:36:0;31352:4;31320:36;;;31403:12;19812:10;;19732:98;31403:12;-1:-1:-1;;;;;31376:40:0;31394:7;-1:-1:-1;;;;;31376:40:0;31388:4;31376:40;;;;;;;;;;31197:238;;:::o;40025:152::-;40095:4;40119:50;40124:3;-1:-1:-1;;;;;40144:23:0;;40119:4;:50::i;31567:239::-;31651:22;31659:4;31665:7;31651;:22::i;:::-;31647:152;;;31722:5;31690:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31690:29:0;;;;;;;;;;:37;;-1:-1:-1;;31690:37:0;;;31747:40;19812:10;;31690:12;;31747:40;;31722:5;31747:40;31567:239;;:::o;40353:158::-;40426:4;40450:53;40458:3;-1:-1:-1;;;;;40478:23:0;;40450:7;:53::i;56625:284::-;-1:-1:-1;;;;;9600:19:0;;;56699:106;;;;-1:-1:-1;;;56699:106:0;;24653:2:1;56699:106:0;;;24635:21:1;24692:2;24672:18;;;24665:30;24731:34;24711:18;;;24704:62;-1:-1:-1;;;24782:18:1;;;24775:43;24835:19;;56699:106:0;24451:409:1;56699:106:0;-1:-1:-1;;;;;;;;;;;56816:85:0;;-1:-1:-1;;;;;;56816:85:0;-1:-1:-1;;;;;56816:85:0;;;;;;;;;;56625:284::o;57318:297::-;57461:29;57472:17;57461:10;:29::i;:::-;57519:1;57505:4;:11;:15;:28;;;;57524:9;57505:28;57501:107;;;57550:46;57572:17;57591:4;57550:21;:46::i;48814:113::-;18629:13;;;;;;;18621:69;;;;-1:-1:-1;;;18621:69:0;;;;;;;:::i;:::-;48887:32:::1;19812:10:::0;48887:18:::1;:32::i;69639:111::-:0;18629:13;;;;;;;18621:69;;;;-1:-1:-1;;;18621:69:0;;;;;;;:::i;:::-;69432:1:::1;69720:7;:22:::0;69639:111::o;36714:120::-;36781:7;36808:3;:11;;36820:5;36808:18;;;;;;;;:::i;:::-;;;;;;;;;36801:25;;36714:120;;;;:::o;33940:414::-;34003:4;36133:19;;;:12;;;:19;;;;;;34020:327;;-1:-1:-1;34063:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;34246:18;;34224:19;;;:12;;;:19;;;;;;:40;;;;34279:11;;34020:327;-1:-1:-1;34330:5:0;34323:12;;34530:1420;34596:4;34735:19;;;:12;;;:19;;;;;;34771:15;;34767:1176;;35146:21;35170:14;35183:1;35170:10;:14;:::i;:::-;35219:18;;35146:38;;-1:-1:-1;35199:17:0;;35219:22;;35240:1;;35219:22;:::i;:::-;35199:42;;35275:13;35262:9;:26;35258:405;;35309:17;35329:3;:11;;35341:9;35329:22;;;;;;;;:::i;:::-;;;;;;;;;35309:42;;35483:9;35454:3;:11;;35466:13;35454:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;35568:23;;;:12;;;:23;;;;;:36;;;35258:405;35744:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;35839:3;:12;;:19;35852:5;35839:19;;;;;;;;;;;35832:26;;;35882:4;35875:11;;;;;;;34767:1176;35926:5;35919:12;;;;;57022:155;57089:37;57108:17;57089:18;:37::i;:::-;57142:27;;-1:-1:-1;;;;;57142:27:0;;;;;;;;57022:155;:::o;62055:461::-;62138:12;-1:-1:-1;;;;;9600:19:0;;;62163:88;;;;-1:-1:-1;;;62163:88:0;;25199:2:1;62163:88:0;;;25181:21:1;25238:2;25218:18;;;25211:30;25277:34;25257:18;;;25250:62;-1:-1:-1;;;25328:18:1;;;25321:36;25374:19;;62163:88:0;24997:402:1;62163:88:0;62325:12;62339:23;62366:6;-1:-1:-1;;;;;62366:19:0;62386:4;62366:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62324:67;;;;62409:99;62445:7;62454:10;62409:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;62402:106;62055:461;-1:-1:-1;;;;;62055:461:0:o;14879:712::-;15029:12;15058:7;15054:530;;;-1:-1:-1;15089:10:0;15082:17;;15054:530;15203:17;;:21;15199:374;;15401:10;15395:17;15462:15;15449:10;15445:2;15441:19;15434:44;15199:374;15544:12;15537:20;;-1:-1:-1;;;15537:20:0;;;;;;;;:::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:173;565:20;;-1:-1:-1;;;;;614:31:1;;604:42;;594:70;;660:1;657;650:12;594:70;497:173;;;:::o;675:386::-;757:8;767:6;821:3;814:4;806:6;802:17;798:27;788:55;;839:1;836;829:12;788:55;-1:-1:-1;862:20:1;;-1:-1:-1;;;;;894:30:1;;891:50;;;937:1;934;927:12;891:50;974:4;966:6;962:17;950:29;;1034:3;1027:4;1017:6;1014:1;1010:14;1002:6;998:27;994:38;991:47;988:67;;;1051:1;1048;1041:12;988:67;675:386;;;;;:::o;1066:560::-;1191:6;1199;1207;1260:2;1248:9;1239:7;1235:23;1231:32;1228:52;;;1276:1;1273;1266:12;1228:52;1299:29;1318:9;1299:29;:::i;:::-;1289:39;;1379:2;1368:9;1364:18;1351:32;-1:-1:-1;;;;;1398:6:1;1395:30;1392:50;;;1438:1;1435;1428:12;1392:50;1477:89;1558:7;1549:6;1538:9;1534:22;1477:89;:::i;:::-;1066:560;;1585:8;;-1:-1:-1;1451:115:1;;-1:-1:-1;;;;1066:560:1:o;1631:180::-;1690:6;1743:2;1731:9;1722:7;1718:23;1714:32;1711:52;;;1759:1;1756;1749:12;1711:52;-1:-1:-1;1782:23:1;;1631:180;-1:-1:-1;1631:180:1:o;2206:186::-;2265:6;2318:2;2306:9;2297:7;2293:23;2289:32;2286:52;;;2334:1;2331;2324:12;2286:52;2357:29;2376:9;2357:29;:::i;2397:367::-;2460:8;2470:6;2524:3;2517:4;2509:6;2505:17;2501:27;2491:55;;2542:1;2539;2532:12;2491:55;-1:-1:-1;2565:20:1;;-1:-1:-1;;;;;2597:30:1;;2594:50;;;2640:1;2637;2630:12;2594:50;2677:4;2669:6;2665:17;2653:29;;2737:3;2730:4;2720:6;2717:1;2713:14;2705:6;2701:27;2697:38;2694:47;2691:67;;;2754:1;2751;2744:12;2769:437;2855:6;2863;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2972:9;2959:23;-1:-1:-1;;;;;2997:6:1;2994:30;2991:50;;;3037:1;3034;3027:12;2991:50;3076:70;3138:7;3129:6;3118:9;3114:22;3076:70;:::i;:::-;3165:8;;3050:96;;-1:-1:-1;2769:437:1;-1:-1:-1;;;;2769:437:1:o;3211:254::-;3279:6;3287;3340:2;3328:9;3319:7;3315:23;3311:32;3308:52;;;3356:1;3353;3346:12;3308:52;3392:9;3379:23;3369:33;;3421:38;3455:2;3444:9;3440:18;3421:38;:::i;:::-;3411:48;;3211:254;;;;;:::o;3470:127::-;3531:10;3526:3;3522:20;3519:1;3512:31;3562:4;3559:1;3552:15;3586:4;3583:1;3576:15;3602:718;3644:5;3697:3;3690:4;3682:6;3678:17;3674:27;3664:55;;3715:1;3712;3705:12;3664:55;3751:6;3738:20;-1:-1:-1;;;;;3814:2:1;3810;3807:10;3804:36;;;3820:18;;:::i;:::-;3895:2;3889:9;3863:2;3949:13;;-1:-1:-1;;3945:22:1;;;3969:2;3941:31;3937:40;3925:53;;;3993:18;;;4013:22;;;3990:46;3987:72;;;4039:18;;:::i;:::-;4079:10;4075:2;4068:22;4114:2;4106:6;4099:18;4160:3;4153:4;4148:2;4140:6;4136:15;4132:26;4129:35;4126:55;;;4177:1;4174;4167:12;4126:55;4241:2;4234:4;4226:6;4222:17;4215:4;4207:6;4203:17;4190:54;4288:1;4281:4;4276:2;4268:6;4264:15;4260:26;4253:37;4308:6;4299:15;;;;;;3602:718;;;;:::o;4325:394::-;4402:6;4410;4463:2;4451:9;4442:7;4438:23;4434:32;4431:52;;;4479:1;4476;4469:12;4431:52;4502:29;4521:9;4502:29;:::i;:::-;4492:39;;4582:2;4571:9;4567:18;4554:32;-1:-1:-1;;;;;4601:6:1;4598:30;4595:50;;;4641:1;4638;4631:12;4595:50;4664:49;4705:7;4696:6;4685:9;4681:22;4664:49;:::i;:::-;4654:59;;;4325:394;;;;;:::o;4724:847::-;4855:6;4863;4871;4879;4887;4940:2;4928:9;4919:7;4915:23;4911:32;4908:52;;;4956:1;4953;4946:12;4908:52;4979:29;4998:9;4979:29;:::i;:::-;4969:39;;5059:2;5048:9;5044:18;5031:32;-1:-1:-1;;;;;5123:2:1;5115:6;5112:14;5109:34;;;5139:1;5136;5129:12;5109:34;5178:70;5240:7;5231:6;5220:9;5216:22;5178:70;:::i;:::-;5267:8;;-1:-1:-1;5152:96:1;-1:-1:-1;5355:2:1;5340:18;;5327:32;;-1:-1:-1;5371:16:1;;;5368:36;;;5400:1;5397;5390:12;5368:36;;5439:72;5503:7;5492:8;5481:9;5477:24;5439:72;:::i;:::-;4724:847;;;;-1:-1:-1;4724:847:1;;-1:-1:-1;5530:8:1;;5413:98;4724:847;-1:-1:-1;;;4724:847:1:o;5576:250::-;5661:1;5671:113;5685:6;5682:1;5679:13;5671:113;;;5761:11;;;5755:18;5742:11;;;5735:39;5707:2;5700:10;5671:113;;;-1:-1:-1;;5818:1:1;5800:16;;5793:27;5576:250::o;5831:396::-;5980:2;5969:9;5962:21;5943:4;6012:6;6006:13;6055:6;6050:2;6039:9;6035:18;6028:34;6071:79;6143:6;6138:2;6127:9;6123:18;6118:2;6110:6;6106:15;6071:79;:::i;:::-;6211:2;6190:15;-1:-1:-1;;6186:29:1;6171:45;;;;6218:2;6167:54;;5831:396;-1:-1:-1;;5831:396:1:o;6414:435::-;6467:3;6505:5;6499:12;6532:6;6527:3;6520:19;6558:4;6587:2;6582:3;6578:12;6571:19;;6624:2;6617:5;6613:14;6645:1;6655:169;6669:6;6666:1;6663:13;6655:169;;;6730:13;;6718:26;;6764:12;;;;6799:15;;;;6691:1;6684:9;6655:169;;;-1:-1:-1;6840:3:1;;6414:435;-1:-1:-1;;;;;6414:435:1:o;6854:465::-;7111:2;7100:9;7093:21;7074:4;7137:56;7189:2;7178:9;7174:18;7166:6;7137:56;:::i;:::-;7241:9;7233:6;7229:22;7224:2;7213:9;7209:18;7202:50;7269:44;7306:6;7298;7269:44;:::i;7324:248::-;7392:6;7400;7453:2;7441:9;7432:7;7428:23;7424:32;7421:52;;;7469:1;7466;7459:12;7421:52;-1:-1:-1;;7492:23:1;;;7562:2;7547:18;;;7534:32;;-1:-1:-1;7324:248:1:o;7577:871::-;7759:6;7767;7775;7783;7836:2;7824:9;7815:7;7811:23;7807:32;7804:52;;;7852:1;7849;7842:12;7804:52;7892:9;7879:23;-1:-1:-1;;;;;7962:2:1;7954:6;7951:14;7948:34;;;7978:1;7975;7968:12;7948:34;8017:89;8098:7;8089:6;8078:9;8074:22;8017:89;:::i;:::-;8125:8;;-1:-1:-1;7991:115:1;-1:-1:-1;8213:2:1;8198:18;;8185:32;;-1:-1:-1;8229:16:1;;;8226:36;;;8258:1;8255;8248:12;8226:36;;8297:91;8380:7;8369:8;8358:9;8354:24;8297:91;:::i;:::-;7577:871;;;;-1:-1:-1;8407:8:1;-1:-1:-1;;;;7577:871:1:o;8638:773::-;8760:6;8768;8776;8784;8837:2;8825:9;8816:7;8812:23;8808:32;8805:52;;;8853:1;8850;8843:12;8805:52;8893:9;8880:23;-1:-1:-1;;;;;8963:2:1;8955:6;8952:14;8949:34;;;8979:1;8976;8969:12;8949:34;9018:70;9080:7;9071:6;9060:9;9056:22;9018:70;:::i;:::-;9107:8;;-1:-1:-1;8992:96:1;-1:-1:-1;9195:2:1;9180:18;;9167:32;;-1:-1:-1;9211:16:1;;;9208:36;;;9240:1;9237;9230:12;9208:36;;9279:72;9343:7;9332:8;9321:9;9317:24;9279:72;:::i;9416:1371::-;9576:6;9584;9592;9600;9608;9616;9624;9632;9685:3;9673:9;9664:7;9660:23;9656:33;9653:53;;;9702:1;9699;9692:12;9653:53;9725:29;9744:9;9725:29;:::i;:::-;9715:39;;9773:38;9807:2;9796:9;9792:18;9773:38;:::i;:::-;9763:48;;9862:2;9851:9;9847:18;9834:32;-1:-1:-1;;;;;9926:2:1;9918:6;9915:14;9912:34;;;9942:1;9939;9932:12;9912:34;9981:70;10043:7;10034:6;10023:9;10019:22;9981:70;:::i;:::-;10070:8;;-1:-1:-1;9955:96:1;-1:-1:-1;10158:2:1;10143:18;;10130:32;;-1:-1:-1;10174:16:1;;;10171:36;;;10203:1;10200;10193:12;10171:36;10242:72;10306:7;10295:8;10284:9;10280:24;10242:72;:::i;:::-;10333:8;;-1:-1:-1;10216:98:1;-1:-1:-1;10421:3:1;10406:19;;10393:33;;-1:-1:-1;10438:16:1;;;10435:36;;;10467:1;10464;10457:12;10435:36;10505:8;10494:9;10490:24;10480:34;;10552:7;10545:4;10541:2;10537:13;10533:27;10523:55;;10574:1;10571;10564:12;10523:55;10614:2;10601:16;10640:2;10632:6;10629:14;10626:34;;;10656:1;10653;10646:12;10626:34;10701:7;10696:2;10687:6;10683:2;10679:15;10675:24;10672:37;10669:57;;;10722:1;10719;10712:12;10669:57;10753:2;10749;10745:11;10735:21;;10775:6;10765:16;;;;;9416:1371;;;;;;;;;;;:::o;10999:606::-;11103:6;11111;11119;11127;11135;11188:3;11176:9;11167:7;11163:23;11159:33;11156:53;;;11205:1;11202;11195:12;11156:53;11228:29;11247:9;11228:29;:::i;:::-;11218:39;;11276:38;11310:2;11299:9;11295:18;11276:38;:::i;:::-;11266:48;;11361:2;11350:9;11346:18;11333:32;11323:42;;11412:2;11401:9;11397:18;11384:32;11374:42;;11467:3;11456:9;11452:19;11439:33;-1:-1:-1;;;;;11487:6:1;11484:30;11481:50;;;11527:1;11524;11517:12;11481:50;11550:49;11591:7;11582:6;11571:9;11567:22;11550:49;:::i;:::-;11540:59;;;10999:606;;;;;;;;:::o;11610:127::-;11671:10;11666:3;11662:20;11659:1;11652:31;11702:4;11699:1;11692:15;11726:4;11723:1;11716:15;11742:127;11803:10;11798:3;11794:20;11791:1;11784:31;11834:4;11831:1;11824:15;11858:4;11855:1;11848:15;11874:135;11913:3;11934:17;;;11931:43;;11954:18;;:::i;:::-;-1:-1:-1;12001:1:1;11990:13;;11874:135::o;12430:408::-;12632:2;12614:21;;;12671:2;12651:18;;;12644:30;12710:34;12705:2;12690:18;;12683:62;-1:-1:-1;;;12776:2:1;12761:18;;12754:42;12828:3;12813:19;;12430:408::o;12843:::-;13045:2;13027:21;;;13084:2;13064:18;;;13057:30;13123:34;13118:2;13103:18;;13096:62;-1:-1:-1;;;13189:2:1;13174:18;;13167:42;13241:3;13226:19;;12843:408::o;15220:125::-;15285:9;;;15306:10;;;15303:36;;;15319:18;;:::i;16524:812::-;16935:25;16930:3;16923:38;16905:3;16990:6;16984:13;17006:75;17074:6;17069:2;17064:3;17060:12;17053:4;17045:6;17041:17;17006:75;:::i;:::-;-1:-1:-1;;;17140:2:1;17100:16;;;17132:11;;;17125:40;17190:13;;17212:76;17190:13;17274:2;17266:11;;17259:4;17247:17;;17212:76;:::i;:::-;17308:17;17327:2;17304:26;;16524:812;-1:-1:-1;;;;16524:812:1:o;17698:184::-;17768:6;17821:2;17809:9;17800:7;17796:23;17792:32;17789:52;;;17837:1;17834;17827:12;17789:52;-1:-1:-1;17860:16:1;;17698:184;-1:-1:-1;17698:184:1:o;19068:397::-;19270:2;19252:21;;;19309:2;19289:18;;;19282:30;19348:34;19343:2;19328:18;;19321:62;-1:-1:-1;;;19414:2:1;19399:18;;19392:31;19455:3;19440:19;;19068:397::o;20220:128::-;20287:9;;;20308:11;;;20305:37;;;20322:18;;:::i;20353:627::-;-1:-1:-1;;;;;20704:15:1;;;20686:34;;20756:15;;;;20751:2;20736:18;;20729:43;20803:2;20788:18;;20781:34;20846:2;20831:18;;20824:34;;;;20666:3;20889;20874:19;;20867:32;;;20629:4;20915:19;;;20908:30;20970:3;20955:19;;20353:627::o;20985:507::-;21072:6;21125:2;21113:9;21104:7;21100:23;21096:32;21093:52;;;21141:1;21138;21131:12;21093:52;21174:2;21168:9;21216:2;21208:6;21204:15;21285:6;21273:10;21270:22;-1:-1:-1;;;;;21237:10:1;21234:34;21231:62;21228:88;;;21296:18;;:::i;:::-;21332:2;21325:22;21371:23;;21356:39;;21456:2;21441:18;;;21428:32;21411:15;;;21404:57;;;;-1:-1:-1;21363:6:1;20985:507;-1:-1:-1;20985:507:1:o;21497:407::-;21699:2;21681:21;;;21738:2;21718:18;;;21711:30;21777:34;21772:2;21757:18;;21750:62;-1:-1:-1;;;21843:2:1;21828:18;;21821:41;21894:3;21879:19;;21497:407::o;22326:168::-;22399:9;;;22430;;22447:15;;;22441:22;;22427:37;22417:71;;22468:18;;:::i;22499:217::-;22539:1;22565;22555:132;;22609:10;22604:3;22600:20;22597:1;22590:31;22644:4;22641:1;22634:15;22672:4;22669:1;22662:15;22555:132;-1:-1:-1;22701:9:1;;22499:217::o;23949:136::-;23988:3;24016:5;24006:39;;24025:18;;:::i;:::-;-1:-1:-1;;;24061:18:1;;23949:136::o;24865:127::-;24926:10;24921:3;24917:20;24914:1;24907:31;24957:4;24954:1;24947:15;24981:4;24978:1;24971:15;25404:287;25533:3;25571:6;25565:13;25587:66;25646:6;25641:3;25634:4;25626:6;25622:17;25587:66;:::i;:::-;25669:16;;;;;25404:287;-1:-1:-1;;25404:287:1:o
Swarm Source
ipfs://da75a0388817af37d5433ff4131ac59d5e2fb3b32796c15195ef1b72f8f532ef
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.