Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60a06040 | 17566257 | 423 days ago | IN | 0 ETH | 0.03491616 |
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 unstakeToolFlat(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 { _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"); 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 { _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) { this.stakeTools(_msgSender(), toolsToStake); } if (toolsToUnstake.length >= 1) { this.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"},{"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"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"unstakeToolFlat","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
60a06040523060805234801561001457600080fd5b50608051612de361004c600039600081816109af015281816109ef01528181610a8e01528181610ace0152610b5d0152612de36000f3fe60806040526004361061021a5760003560e01c80638265221511610123578063b8113946116100ab578063da9293711161006f578063da92937114610694578063e7eb3b36146106b4578063ef5cfb8c146106c9578063f23a6e61146106e9578063f2fde38b1461071557600080fd5b8063b8113946146105a1578063bc197c81146105cf578063ca15c87314610617578063d374529b14610637578063d547741f1461067457600080fd5b80639c825203116100f25780639c8252031461050c5780639ee2a3a51461052c578063a217fddf1461054c578063a32ede6014610561578063aac86d4e1461058157600080fd5b806382652215146104985780638da5cb5b146104ae5780639010d07c146104cc57806391d14854146104ec57600080fd5b80633659cfe6116101a6578063609355b211610175578063609355b2146103fd5780636f3e7dfa14610420578063715018a6146104405780637a766460146104555780638129fc1c1461048357600080fd5b80633659cfe6146103815780634f1ef286146103a157806352d1902d146103b457806354fd4d50146103c957600080fd5b8063269fe4fa116101ed578063269fe4fa146102d457806327f284ee14610301578063280c9f0e146103215780632f2ff15d1461034157806336568abe1461036157600080fd5b806301ffc9a71461021f5780631d88854514610254578063228c8c0214610276578063248a9ca314610296575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046123b6565b610735565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004612447565b610760565b005b34801561028257600080fd5b506102746102913660046124dd565b6107ad565b3480156102a257600080fd5b506102c66102b136600461255d565b600090815260fb602052604090206001015490565b60405190815260200161024b565b3480156102e057600080fd5b506102e9610863565b6040516001600160a01b03909116815260200161024b565b34801561030d57600080fd5b5061027461031c366004612576565b610882565b34801561032d57600080fd5b5061027461033c366004612591565b6108b2565b34801561034d57600080fd5b5061027461035c3660046125d2565b6108fc565b34801561036d57600080fd5b5061027461037c3660046125d2565b610927565b34801561038d57600080fd5b5061027461039c366004612576565b6109a5565b6102746103af3660046126a0565b610a84565b3480156103c057600080fd5b506102c6610b50565b3480156103d557600080fd5b506040805180820182526005815264312e312e3160d81b6020820152905161024b9190612711565b34801561040957600080fd5b5033600090815261019760205260409020546102c6565b34801561042c57600080fd5b5061027461043b366004612447565b610c03565b34801561044c57600080fd5b50610274610c5a565b34801561046157600080fd5b50610475610470366004612576565b610cc0565b60405161024b92919061277f565b34801561048f57600080fd5b50610274610e41565b3480156104a457600080fd5b50610191546102c6565b3480156104ba57600080fd5b506033546001600160a01b03166102e9565b3480156104d857600080fd5b506102e96104e73660046127a4565b610f24565b3480156104f857600080fd5b5061023f6105073660046125d2565b610f44565b34801561051857600080fd5b506102746105273660046127c6565b610f6f565b34801561053857600080fd5b5061023f61054736600461255d565b611038565b34801561055857600080fd5b506102c6600081565b34801561056d57600080fd5b5061027461057c366004612831565b61105d565b34801561058d57600080fd5b5061027461059c366004612576565b611141565b3480156105ad57600080fd5b506102c66105bc36600461255d565b6000908152610195602052604090205490565b3480156105db57600080fd5b506105fe6105ea366004612890565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161024b565b34801561062357600080fd5b506102c661063236600461255d565b611171565b34801561064357600080fd5b506102c661065236600461255d565b3360009081526101966020908152604080832093835260019093019052205490565b34801561068057600080fd5b5061027461068f3660046125d2565b611189565b3480156106a057600080fd5b506102c66106af366004612576565b6111af565b3480156106c057600080fd5b506102e96111de565b3480156106d557600080fd5b506102746106e4366004612576565b6111fd565b3480156106f557600080fd5b506105fe610704366004612977565b63f23a6e6160e01b95945050505050565b34801561072157600080fd5b50610274610730366004612576565b6112f5565b60006001600160e01b03198216630271189760e51b148061075a575061075a826113bd565b92915050565b610769836113e2565b60005b818110156107a7576107958484848481811061078a5761078a6129e8565b905060400201611445565b8061079f81612a14565b91505061076c565b50505050565b828181146107f35760405162461bcd60e51b815260206004820152600e60248201526d082e4e4c2f240dad2e6dac2e8c6d60931b60448201526064015b60405180910390fd5b60005b8181101561085a576000604051806040016040528088888581811061081d5761081d6129e8565b90506020020135815260200186868581811061083b5761083b6129e8565b9050602002013581525090506108518882611627565b506001016107f6565b50505050505050565b60008061087081336117b5565b5050610192546001600160a01b031690565b600061088e81336117b5565b5061019280546001600160a01b0319166001600160a01b0392909216919091179055565b60006108be81336117b5565b60005b828110156107a7576108ea8484838181106108de576108de6129e8565b90506020020135611819565b806108f481612a14565b9150506108c1565b600082815260fb602052604090206001015461091881336117b5565b61092283836118c8565b505050565b6001600160a01b03811633146109975760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107ea565b6109a182826118eb565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109ed5760405162461bcd60e51b81526004016107ea90612a2d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610a36600080516020612d67833981519152546001600160a01b031690565b6001600160a01b031614610a5c5760405162461bcd60e51b81526004016107ea90612a79565b610a658161190e565b60408051600080825260208201909252610a819183919061191a565b50565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610acc5760405162461bcd60e51b81526004016107ea90612a2d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610b15600080516020612d67833981519152546001600160a01b031690565b6001600160a01b031614610b3b5760405162461bcd60e51b81526004016107ea90612a79565b610b448261190e565b6109a18282600161191a565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bf05760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016107ea565b50600080516020612d6783398151915290565b610c0c836113e2565b60005b818110156107a757610c4884848484818110610c2d57610c2d6129e8565b905060400201803603810190610c439190612ac5565b611627565b80610c5281612a14565b915050610c0f565b6033546001600160a01b03163314610cb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b610cbe6000611a85565b565b6001600160a01b038116600090815261019660205260408120610193546060928392916001600160401b03811115610cfa57610cfa6125fe565b604051908082528060200260200182016040528015610d23578160200160208202803683370190505b50610193549091506000906001600160401b03811115610d4557610d456125fe565b604051908082528060200260200182016040528015610d6e578160200160208202803683370190505b5090506000805b61019354811015610e345760006101938281548110610d9657610d966129e8565b906000526020600020015490506000866001016000838152602001908152602001600020541115610e215780858481518110610dd457610dd46129e8565b60200260200101818152505085600101600082815260200190815260200160002054848481518110610e0857610e086129e8565b602090810291909101015282610e1d81612a14565b9350505b5080610e2c81612a14565b915050610d75565b5091969095509350505050565b600054610100900460ff16610e5c5760005460ff1615610e60565b303b155b610ec35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107ea565b600054610100900460ff16158015610ee5576000805461ffff19166101011790555b610eed611ad7565b610ef5611b06565b610efd611b06565b610f05611b2d565b610f10600033611b5c565b8015610a81576000805461ff001916905550565b600082815261012d60205260408120610f3d9083611b66565b9392505050565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018310610fd157604051631d88854560e01b81523090631d88854590610f9e90339088908890600401612b13565b600060405180830381600087803b158015610fb857600080fd5b505af1158015610fcc573d6000803e3d6000fd5b505050505b600181106107a75760405163379f3efd60e11b81523090636f3e7dfa9061100090339086908690600401612b13565b600060405180830381600087803b15801561101a57600080fd5b505af115801561102e573d6000803e3d6000fd5b5050505050505050565b60008061104581336117b5565b50506000908152610194602052604090205460ff1690565b600061106981336117b5565b8382146110d45760405162461bcd60e51b815260206004820152603360248201527f4d69736d6174636820616d6f756e7473206f6620746f6f6c7320616e642064616044820152721a5b1e481c985d195cc818995a5b99c81cd95d606a1b60648201526084016107ea565b60005b84811015611139576111278686838181106110f4576110f46129e8565b9050602002013585858481811061110d5761110d6129e8565b905060200201356000918252610195602052604090912055565b8061113181612a14565b9150506110d7565b505050505050565b600061114d81336117b5565b5061019880546001600160a01b0319166001600160a01b0392909216919091179055565b600081815261012d6020526040812061075a90611b72565b600082815260fb60205260409020600101546111a581336117b5565b61092283836118eb565b60006111ba82611b7c565b6001600160a01b0383166000908152610197602052604090205461075a9190612b6c565b6000806111eb81336117b5565b5050610198546001600160a01b031690565b610198546001600160a01b03166112565760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20636c61696d20636f6e7472616374206e6f74207365740000000060448201526064016107ea565b610198546001600160a01b0316336001600160a01b0316146112cc5760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920746f6b656e20636c61696d20636f6e747261637420616c6c6f776560448201526819081d1bc818d85b1b60ba1b60648201526084016107ea565b6001600160a01b0316600090815261019660209081526040808320429055610197909152812055565b6033546001600160a01b0316331461134f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b6001600160a01b0381166113b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ea565b610a8181611a85565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611cd6565b60006113ed82611b7c565b6001600160a01b0383166000908152610196602052604090204281559091508115610922576001600160a01b038316600090815261019760205260408120805484929061143b908490612b6c565b9091555050505050565b80356000908152610194602052604090205460ff1615156001146114ab5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420612076616c696420746f6f6c20746f207374616b650000000000000060448201526064016107ea565b610192546001600160a01b03166114d45760405162461bcd60e51b81526004016107ea90612b7f565b61019254604051627eeac760e11b81526001600160a01b0384811660048301528335602483015290911690602083013590829062fdd58e90604401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190612bc0565b10156115ac5760405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f207374616b65206d6f726520746f6f6c73207468616e206044820152641bdddb995960da1b60648201526084016107ea565b6001600160a01b0383166000908152610196602090815260408083208535845260018101835290832080549193928601359290916115eb908490612b6c565b9091555050604051637921219560e11b81526001600160a01b0383169063f242432a90611000908790309088359060208a013590600401612bd9565b80516000908152610194602052604090205460ff16151560011461168d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420612076616c696420746f6f6c20746f20756e7374616b65000000000060448201526064016107ea565b610192546001600160a01b03166116b65760405162461bcd60e51b81526004016107ea90612b7f565b610192546001600160a01b03838116600090815261019660209081526040808320865184526001810183529220549085015192909316929091111561174c5760405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f20756e7374616b65206d6f726520746f6f6c73207468616044820152651b881b195b9d60d21b60648201526084016107ea565b82602001518160010160008560000151815260200190815260200160002060008282546117799190612c11565b909155505082516020840151604051637921219560e11b81526001600160a01b0385169263f242432a926110009230928a929091600401612bd9565b6117bf8282610f44565b6109a1576117d7816001600160a01b03166014611d0b565b6117e2836020611d0b565b6040516020016117f3929190612c24565b60408051601f198184030181529082905262461bcd60e51b82526107ea91600401612711565b6000818152610194602052604090205460ff16156118795760405162461bcd60e51b815260206004820152601c60248201527f546f6f6c2049442068617320616c7265616479206265656e207365740000000060448201526064016107ea565b610193805460018181019092557ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680182905560009182526101946020526040909120805460ff19169091179055565b6118d28282611ea6565b600082815261012d602052604090206109229082611f2c565b6118f58282611f41565b600082815261012d602052604090206109229082611fa8565b60006109a181336117b5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561194d5761092283611fbd565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156119a7575060408051601f3d908101601f191682019092526119a491810190612bc0565b60015b611a0a5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016107ea565b600080516020612d678339815191528114611a795760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016107ea565b50610922838383612059565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16611afe5760405162461bcd60e51b81526004016107ea90612c99565b610cbe61207e565b600054610100900460ff16610cbe5760405162461bcd60e51b81526004016107ea90612c99565b600054610100900460ff16611b545760405162461bcd60e51b81526004016107ea90612c99565b610cbe6120ae565b6109a182826118c8565b6000610f3d83836120dd565b600061075a825490565b6001600160a01b0381166000908152610196602052604081208054421015611bff5760405162461bcd60e51b815260206004820152603060248201527f54696d652073696e6365206c61737420636c61696d206973206c61746572207460448201526f68616e2063757272656e742074696d6560801b60648201526084016107ea565b805460009015610f3d5760005b61019354811015611cce578260010160006101938381548110611c3157611c316129e8565b90600052602060002001548152602001908152602001600020546201518061019560006101938581548110611c6857611c686129e8565b9060005260206000200154815260200190815260200160002054856000015442611c929190612c11565b611c9c9190612ce4565b611ca69190612cfb565b611cb09190612ce4565b611cba9083612b6c565b915080611cc681612a14565b915050611c0c565b509392505050565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b60606000611d1a836002612ce4565b611d25906002612b6c565b6001600160401b03811115611d3c57611d3c6125fe565b6040519080825280601f01601f191660200182016040528015611d66576020820181803683370190505b509050600360fc1b81600081518110611d8157611d816129e8565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611db057611db06129e8565b60200101906001600160f81b031916908160001a9053506000611dd4846002612ce4565b611ddf906001612b6c565b90505b6001811115611e57576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e1357611e136129e8565b1a60f81b828281518110611e2957611e296129e8565b60200101906001600160f81b031916908160001a90535060049490941c93611e5081612d1d565b9050611de2565b508315610f3d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107ea565b611eb08282610f44565b6109a157600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611ee83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f3d836001600160a01b038416612107565b611f4b8282610f44565b156109a157600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f3d836001600160a01b038416612156565b6001600160a01b0381163b61202a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016107ea565b600080516020612d6783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61206283612249565b60008251118061206f5750805b15610922576107a78383612289565b600054610100900460ff166120a55760405162461bcd60e51b81526004016107ea90612c99565b610cbe33611a85565b600054610100900460ff166120d55760405162461bcd60e51b81526004016107ea90612c99565b600161015f55565b60008260000182815481106120f4576120f46129e8565b9060005260206000200154905092915050565b600081815260018301602052604081205461214e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b6000818152600183016020526040812054801561223f57600061217a600183612c11565b855490915060009061218e90600190612c11565b90508181146121f35760008660000182815481106121ae576121ae6129e8565b90600052602060002001549050808760000184815481106121d1576121d16129e8565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061220457612204612d34565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b61225281611fbd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6122f15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016107ea565b600080846001600160a01b03168460405161230c9190612d4a565b600060405180830381855af49150503d8060008114612347576040519150601f19603f3d011682016040523d82523d6000602084013e61234c565b606091505b50915091506123748282604051806060016040528060278152602001612d876027913961237d565b95945050505050565b6060831561238c575081610f3d565b82511561239c5782518084602001fd5b8160405162461bcd60e51b81526004016107ea9190612711565b6000602082840312156123c857600080fd5b81356001600160e01b031981168114610f3d57600080fd5b80356001600160a01b03811681146123f757600080fd5b919050565b60008083601f84011261240e57600080fd5b5081356001600160401b0381111561242557600080fd5b6020830191508360208260061b850101111561244057600080fd5b9250929050565b60008060006040848603121561245c57600080fd5b612465846123e0565b925060208401356001600160401b0381111561248057600080fd5b61248c868287016123fc565b9497909650939450505050565b60008083601f8401126124ab57600080fd5b5081356001600160401b038111156124c257600080fd5b6020830191508360208260051b850101111561244057600080fd5b6000806000806000606086880312156124f557600080fd5b6124fe866123e0565b945060208601356001600160401b038082111561251a57600080fd5b61252689838a01612499565b9096509450604088013591508082111561253f57600080fd5b5061254c88828901612499565b969995985093965092949392505050565b60006020828403121561256f57600080fd5b5035919050565b60006020828403121561258857600080fd5b610f3d826123e0565b600080602083850312156125a457600080fd5b82356001600160401b038111156125ba57600080fd5b6125c685828601612499565b90969095509350505050565b600080604083850312156125e557600080fd5b823591506125f5602084016123e0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261262557600080fd5b81356001600160401b038082111561263f5761263f6125fe565b604051601f8301601f19908116603f01168101908282118183101715612667576126676125fe565b8160405283815286602085880101111561268057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156126b357600080fd5b6126bc836123e0565b915060208301356001600160401b038111156126d757600080fd5b6126e385828601612614565b9150509250929050565b60005b838110156127085781810151838201526020016126f0565b50506000910152565b60208152600082518060208401526127308160408501602087016126ed565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b8381101561277457815187529582019590820190600101612758565b509495945050505050565b6040815260006127926040830185612744565b82810360208401526123748185612744565b600080604083850312156127b757600080fd5b50508035926020909101359150565b600080600080604085870312156127dc57600080fd5b84356001600160401b03808211156127f357600080fd5b6127ff888389016123fc565b9096509450602087013591508082111561281857600080fd5b50612825878288016123fc565b95989497509550505050565b6000806000806040858703121561284757600080fd5b84356001600160401b038082111561285e57600080fd5b61286a88838901612499565b9096509450602087013591508082111561288357600080fd5b5061282587828801612499565b60008060008060008060008060a0898b0312156128ac57600080fd5b6128b5896123e0565b97506128c360208a016123e0565b965060408901356001600160401b03808211156128df57600080fd5b6128eb8c838d01612499565b909850965060608b013591508082111561290457600080fd5b6129108c838d01612499565b909650945060808b013591508082111561292957600080fd5b818b0191508b601f83011261293d57600080fd5b81358181111561294c57600080fd5b8c602082850101111561295e57600080fd5b6020830194508093505050509295985092959890939650565b600080600080600060a0868803121561298f57600080fd5b612998866123e0565b94506129a6602087016123e0565b9350604086013592506060860135915060808601356001600160401b038111156129cf57600080fd5b6129db88828901612614565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612a2657612a266129fe565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b600060408284031215612ad757600080fd5b604051604081018181106001600160401b0382111715612af957612af96125fe565b604052823581526020928301359281019290925250919050565b6001600160a01b03841681526040602080830182905282820184905260009190859060608501845b87811015612b5f578335825282840135838301529284019290840190600101612b3b565b5098975050505050505050565b8082018082111561075a5761075a6129fe565b60208082526021908201527f4d6174657269616c20636f6e74726163742061646472657373206e6f742073656040820152601d60fa1b606082015260800190565b600060208284031215612bd257600080fd5b5051919050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b8181038181111561075a5761075a6129fe565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c5c8160178501602088016126ed565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c8d8160288401602088016126ed565b01602801949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761075a5761075a6129fe565b600082612d1857634e487b7160e01b600052601260045260246000fd5b500490565b600081612d2c57612d2c6129fe565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612d5c8184602087016126ed565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d9a7850940df484fe48d19b34aa6ffcf51140e08f580a933fb66e16b3389226464736f6c63430008110033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80638265221511610123578063b8113946116100ab578063da9293711161006f578063da92937114610694578063e7eb3b36146106b4578063ef5cfb8c146106c9578063f23a6e61146106e9578063f2fde38b1461071557600080fd5b8063b8113946146105a1578063bc197c81146105cf578063ca15c87314610617578063d374529b14610637578063d547741f1461067457600080fd5b80639c825203116100f25780639c8252031461050c5780639ee2a3a51461052c578063a217fddf1461054c578063a32ede6014610561578063aac86d4e1461058157600080fd5b806382652215146104985780638da5cb5b146104ae5780639010d07c146104cc57806391d14854146104ec57600080fd5b80633659cfe6116101a6578063609355b211610175578063609355b2146103fd5780636f3e7dfa14610420578063715018a6146104405780637a766460146104555780638129fc1c1461048357600080fd5b80633659cfe6146103815780634f1ef286146103a157806352d1902d146103b457806354fd4d50146103c957600080fd5b8063269fe4fa116101ed578063269fe4fa146102d457806327f284ee14610301578063280c9f0e146103215780632f2ff15d1461034157806336568abe1461036157600080fd5b806301ffc9a71461021f5780631d88854514610254578063228c8c0214610276578063248a9ca314610296575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046123b6565b610735565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004612447565b610760565b005b34801561028257600080fd5b506102746102913660046124dd565b6107ad565b3480156102a257600080fd5b506102c66102b136600461255d565b600090815260fb602052604090206001015490565b60405190815260200161024b565b3480156102e057600080fd5b506102e9610863565b6040516001600160a01b03909116815260200161024b565b34801561030d57600080fd5b5061027461031c366004612576565b610882565b34801561032d57600080fd5b5061027461033c366004612591565b6108b2565b34801561034d57600080fd5b5061027461035c3660046125d2565b6108fc565b34801561036d57600080fd5b5061027461037c3660046125d2565b610927565b34801561038d57600080fd5b5061027461039c366004612576565b6109a5565b6102746103af3660046126a0565b610a84565b3480156103c057600080fd5b506102c6610b50565b3480156103d557600080fd5b506040805180820182526005815264312e312e3160d81b6020820152905161024b9190612711565b34801561040957600080fd5b5033600090815261019760205260409020546102c6565b34801561042c57600080fd5b5061027461043b366004612447565b610c03565b34801561044c57600080fd5b50610274610c5a565b34801561046157600080fd5b50610475610470366004612576565b610cc0565b60405161024b92919061277f565b34801561048f57600080fd5b50610274610e41565b3480156104a457600080fd5b50610191546102c6565b3480156104ba57600080fd5b506033546001600160a01b03166102e9565b3480156104d857600080fd5b506102e96104e73660046127a4565b610f24565b3480156104f857600080fd5b5061023f6105073660046125d2565b610f44565b34801561051857600080fd5b506102746105273660046127c6565b610f6f565b34801561053857600080fd5b5061023f61054736600461255d565b611038565b34801561055857600080fd5b506102c6600081565b34801561056d57600080fd5b5061027461057c366004612831565b61105d565b34801561058d57600080fd5b5061027461059c366004612576565b611141565b3480156105ad57600080fd5b506102c66105bc36600461255d565b6000908152610195602052604090205490565b3480156105db57600080fd5b506105fe6105ea366004612890565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b0319909116815260200161024b565b34801561062357600080fd5b506102c661063236600461255d565b611171565b34801561064357600080fd5b506102c661065236600461255d565b3360009081526101966020908152604080832093835260019093019052205490565b34801561068057600080fd5b5061027461068f3660046125d2565b611189565b3480156106a057600080fd5b506102c66106af366004612576565b6111af565b3480156106c057600080fd5b506102e96111de565b3480156106d557600080fd5b506102746106e4366004612576565b6111fd565b3480156106f557600080fd5b506105fe610704366004612977565b63f23a6e6160e01b95945050505050565b34801561072157600080fd5b50610274610730366004612576565b6112f5565b60006001600160e01b03198216630271189760e51b148061075a575061075a826113bd565b92915050565b610769836113e2565b60005b818110156107a7576107958484848481811061078a5761078a6129e8565b905060400201611445565b8061079f81612a14565b91505061076c565b50505050565b828181146107f35760405162461bcd60e51b815260206004820152600e60248201526d082e4e4c2f240dad2e6dac2e8c6d60931b60448201526064015b60405180910390fd5b60005b8181101561085a576000604051806040016040528088888581811061081d5761081d6129e8565b90506020020135815260200186868581811061083b5761083b6129e8565b9050602002013581525090506108518882611627565b506001016107f6565b50505050505050565b60008061087081336117b5565b5050610192546001600160a01b031690565b600061088e81336117b5565b5061019280546001600160a01b0319166001600160a01b0392909216919091179055565b60006108be81336117b5565b60005b828110156107a7576108ea8484838181106108de576108de6129e8565b90506020020135611819565b806108f481612a14565b9150506108c1565b600082815260fb602052604090206001015461091881336117b5565b61092283836118c8565b505050565b6001600160a01b03811633146109975760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107ea565b6109a182826118eb565b5050565b6001600160a01b037f00000000000000000000000062d630c818cb1324e69eb3ad2b6bb41e616844851630036109ed5760405162461bcd60e51b81526004016107ea90612a2d565b7f00000000000000000000000062d630c818cb1324e69eb3ad2b6bb41e616844856001600160a01b0316610a36600080516020612d67833981519152546001600160a01b031690565b6001600160a01b031614610a5c5760405162461bcd60e51b81526004016107ea90612a79565b610a658161190e565b60408051600080825260208201909252610a819183919061191a565b50565b6001600160a01b037f00000000000000000000000062d630c818cb1324e69eb3ad2b6bb41e61684485163003610acc5760405162461bcd60e51b81526004016107ea90612a2d565b7f00000000000000000000000062d630c818cb1324e69eb3ad2b6bb41e616844856001600160a01b0316610b15600080516020612d67833981519152546001600160a01b031690565b6001600160a01b031614610b3b5760405162461bcd60e51b81526004016107ea90612a79565b610b448261190e565b6109a18282600161191a565b6000306001600160a01b037f00000000000000000000000062d630c818cb1324e69eb3ad2b6bb41e616844851614610bf05760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016107ea565b50600080516020612d6783398151915290565b610c0c836113e2565b60005b818110156107a757610c4884848484818110610c2d57610c2d6129e8565b905060400201803603810190610c439190612ac5565b611627565b80610c5281612a14565b915050610c0f565b6033546001600160a01b03163314610cb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b610cbe6000611a85565b565b6001600160a01b038116600090815261019660205260408120610193546060928392916001600160401b03811115610cfa57610cfa6125fe565b604051908082528060200260200182016040528015610d23578160200160208202803683370190505b50610193549091506000906001600160401b03811115610d4557610d456125fe565b604051908082528060200260200182016040528015610d6e578160200160208202803683370190505b5090506000805b61019354811015610e345760006101938281548110610d9657610d966129e8565b906000526020600020015490506000866001016000838152602001908152602001600020541115610e215780858481518110610dd457610dd46129e8565b60200260200101818152505085600101600082815260200190815260200160002054848481518110610e0857610e086129e8565b602090810291909101015282610e1d81612a14565b9350505b5080610e2c81612a14565b915050610d75565b5091969095509350505050565b600054610100900460ff16610e5c5760005460ff1615610e60565b303b155b610ec35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107ea565b600054610100900460ff16158015610ee5576000805461ffff19166101011790555b610eed611ad7565b610ef5611b06565b610efd611b06565b610f05611b2d565b610f10600033611b5c565b8015610a81576000805461ff001916905550565b600082815261012d60205260408120610f3d9083611b66565b9392505050565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60018310610fd157604051631d88854560e01b81523090631d88854590610f9e90339088908890600401612b13565b600060405180830381600087803b158015610fb857600080fd5b505af1158015610fcc573d6000803e3d6000fd5b505050505b600181106107a75760405163379f3efd60e11b81523090636f3e7dfa9061100090339086908690600401612b13565b600060405180830381600087803b15801561101a57600080fd5b505af115801561102e573d6000803e3d6000fd5b5050505050505050565b60008061104581336117b5565b50506000908152610194602052604090205460ff1690565b600061106981336117b5565b8382146110d45760405162461bcd60e51b815260206004820152603360248201527f4d69736d6174636820616d6f756e7473206f6620746f6f6c7320616e642064616044820152721a5b1e481c985d195cc818995a5b99c81cd95d606a1b60648201526084016107ea565b60005b84811015611139576111278686838181106110f4576110f46129e8565b9050602002013585858481811061110d5761110d6129e8565b905060200201356000918252610195602052604090912055565b8061113181612a14565b9150506110d7565b505050505050565b600061114d81336117b5565b5061019880546001600160a01b0319166001600160a01b0392909216919091179055565b600081815261012d6020526040812061075a90611b72565b600082815260fb60205260409020600101546111a581336117b5565b61092283836118eb565b60006111ba82611b7c565b6001600160a01b0383166000908152610197602052604090205461075a9190612b6c565b6000806111eb81336117b5565b5050610198546001600160a01b031690565b610198546001600160a01b03166112565760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20636c61696d20636f6e7472616374206e6f74207365740000000060448201526064016107ea565b610198546001600160a01b0316336001600160a01b0316146112cc5760405162461bcd60e51b815260206004820152602960248201527f4f6e6c7920746f6b656e20636c61696d20636f6e747261637420616c6c6f776560448201526819081d1bc818d85b1b60ba1b60648201526084016107ea565b6001600160a01b0316600090815261019660209081526040808320429055610197909152812055565b6033546001600160a01b0316331461134f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b6001600160a01b0381166113b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ea565b610a8181611a85565b60006001600160e01b03198216635a05180f60e01b148061075a575061075a82611cd6565b60006113ed82611b7c565b6001600160a01b0383166000908152610196602052604090204281559091508115610922576001600160a01b038316600090815261019760205260408120805484929061143b908490612b6c565b9091555050505050565b80356000908152610194602052604090205460ff1615156001146114ab5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420612076616c696420746f6f6c20746f207374616b650000000000000060448201526064016107ea565b610192546001600160a01b03166114d45760405162461bcd60e51b81526004016107ea90612b7f565b61019254604051627eeac760e11b81526001600160a01b0384811660048301528335602483015290911690602083013590829062fdd58e90604401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190612bc0565b10156115ac5760405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f207374616b65206d6f726520746f6f6c73207468616e206044820152641bdddb995960da1b60648201526084016107ea565b6001600160a01b0383166000908152610196602090815260408083208535845260018101835290832080549193928601359290916115eb908490612b6c565b9091555050604051637921219560e11b81526001600160a01b0383169063f242432a90611000908790309088359060208a013590600401612bd9565b80516000908152610194602052604090205460ff16151560011461168d5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420612076616c696420746f6f6c20746f20756e7374616b65000000000060448201526064016107ea565b610192546001600160a01b03166116b65760405162461bcd60e51b81526004016107ea90612b7f565b610192546001600160a01b03838116600090815261019660209081526040808320865184526001810183529220549085015192909316929091111561174c5760405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f20756e7374616b65206d6f726520746f6f6c73207468616044820152651b881b195b9d60d21b60648201526084016107ea565b82602001518160010160008560000151815260200190815260200160002060008282546117799190612c11565b909155505082516020840151604051637921219560e11b81526001600160a01b0385169263f242432a926110009230928a929091600401612bd9565b6117bf8282610f44565b6109a1576117d7816001600160a01b03166014611d0b565b6117e2836020611d0b565b6040516020016117f3929190612c24565b60408051601f198184030181529082905262461bcd60e51b82526107ea91600401612711565b6000818152610194602052604090205460ff16156118795760405162461bcd60e51b815260206004820152601c60248201527f546f6f6c2049442068617320616c7265616479206265656e207365740000000060448201526064016107ea565b610193805460018181019092557ffc8af01f449989052b52093a58fc9f42d0b11f0c6dd5dca0463dab62346ccc680182905560009182526101946020526040909120805460ff19169091179055565b6118d28282611ea6565b600082815261012d602052604090206109229082611f2c565b6118f58282611f41565b600082815261012d602052604090206109229082611fa8565b60006109a181336117b5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561194d5761092283611fbd565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156119a7575060408051601f3d908101601f191682019092526119a491810190612bc0565b60015b611a0a5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016107ea565b600080516020612d678339815191528114611a795760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016107ea565b50610922838383612059565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16611afe5760405162461bcd60e51b81526004016107ea90612c99565b610cbe61207e565b600054610100900460ff16610cbe5760405162461bcd60e51b81526004016107ea90612c99565b600054610100900460ff16611b545760405162461bcd60e51b81526004016107ea90612c99565b610cbe6120ae565b6109a182826118c8565b6000610f3d83836120dd565b600061075a825490565b6001600160a01b0381166000908152610196602052604081208054421015611bff5760405162461bcd60e51b815260206004820152603060248201527f54696d652073696e6365206c61737420636c61696d206973206c61746572207460448201526f68616e2063757272656e742074696d6560801b60648201526084016107ea565b805460009015610f3d5760005b61019354811015611cce578260010160006101938381548110611c3157611c316129e8565b90600052602060002001548152602001908152602001600020546201518061019560006101938581548110611c6857611c686129e8565b9060005260206000200154815260200190815260200160002054856000015442611c929190612c11565b611c9c9190612ce4565b611ca69190612cfb565b611cb09190612ce4565b611cba9083612b6c565b915080611cc681612a14565b915050611c0c565b509392505050565b60006001600160e01b03198216637965db0b60e01b148061075a57506301ffc9a760e01b6001600160e01b031983161461075a565b60606000611d1a836002612ce4565b611d25906002612b6c565b6001600160401b03811115611d3c57611d3c6125fe565b6040519080825280601f01601f191660200182016040528015611d66576020820181803683370190505b509050600360fc1b81600081518110611d8157611d816129e8565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611db057611db06129e8565b60200101906001600160f81b031916908160001a9053506000611dd4846002612ce4565b611ddf906001612b6c565b90505b6001811115611e57576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e1357611e136129e8565b1a60f81b828281518110611e2957611e296129e8565b60200101906001600160f81b031916908160001a90535060049490941c93611e5081612d1d565b9050611de2565b508315610f3d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107ea565b611eb08282610f44565b6109a157600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611ee83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f3d836001600160a01b038416612107565b611f4b8282610f44565b156109a157600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f3d836001600160a01b038416612156565b6001600160a01b0381163b61202a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016107ea565b600080516020612d6783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61206283612249565b60008251118061206f5750805b15610922576107a78383612289565b600054610100900460ff166120a55760405162461bcd60e51b81526004016107ea90612c99565b610cbe33611a85565b600054610100900460ff166120d55760405162461bcd60e51b81526004016107ea90612c99565b600161015f55565b60008260000182815481106120f4576120f46129e8565b9060005260206000200154905092915050565b600081815260018301602052604081205461214e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561075a565b50600061075a565b6000818152600183016020526040812054801561223f57600061217a600183612c11565b855490915060009061218e90600190612c11565b90508181146121f35760008660000182815481106121ae576121ae6129e8565b90600052602060002001549050808760000184815481106121d1576121d16129e8565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061220457612204612d34565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061075a565b600091505061075a565b61225281611fbd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6122f15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016107ea565b600080846001600160a01b03168460405161230c9190612d4a565b600060405180830381855af49150503d8060008114612347576040519150601f19603f3d011682016040523d82523d6000602084013e61234c565b606091505b50915091506123748282604051806060016040528060278152602001612d876027913961237d565b95945050505050565b6060831561238c575081610f3d565b82511561239c5782518084602001fd5b8160405162461bcd60e51b81526004016107ea9190612711565b6000602082840312156123c857600080fd5b81356001600160e01b031981168114610f3d57600080fd5b80356001600160a01b03811681146123f757600080fd5b919050565b60008083601f84011261240e57600080fd5b5081356001600160401b0381111561242557600080fd5b6020830191508360208260061b850101111561244057600080fd5b9250929050565b60008060006040848603121561245c57600080fd5b612465846123e0565b925060208401356001600160401b0381111561248057600080fd5b61248c868287016123fc565b9497909650939450505050565b60008083601f8401126124ab57600080fd5b5081356001600160401b038111156124c257600080fd5b6020830191508360208260051b850101111561244057600080fd5b6000806000806000606086880312156124f557600080fd5b6124fe866123e0565b945060208601356001600160401b038082111561251a57600080fd5b61252689838a01612499565b9096509450604088013591508082111561253f57600080fd5b5061254c88828901612499565b969995985093965092949392505050565b60006020828403121561256f57600080fd5b5035919050565b60006020828403121561258857600080fd5b610f3d826123e0565b600080602083850312156125a457600080fd5b82356001600160401b038111156125ba57600080fd5b6125c685828601612499565b90969095509350505050565b600080604083850312156125e557600080fd5b823591506125f5602084016123e0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261262557600080fd5b81356001600160401b038082111561263f5761263f6125fe565b604051601f8301601f19908116603f01168101908282118183101715612667576126676125fe565b8160405283815286602085880101111561268057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156126b357600080fd5b6126bc836123e0565b915060208301356001600160401b038111156126d757600080fd5b6126e385828601612614565b9150509250929050565b60005b838110156127085781810151838201526020016126f0565b50506000910152565b60208152600082518060208401526127308160408501602087016126ed565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b8381101561277457815187529582019590820190600101612758565b509495945050505050565b6040815260006127926040830185612744565b82810360208401526123748185612744565b600080604083850312156127b757600080fd5b50508035926020909101359150565b600080600080604085870312156127dc57600080fd5b84356001600160401b03808211156127f357600080fd5b6127ff888389016123fc565b9096509450602087013591508082111561281857600080fd5b50612825878288016123fc565b95989497509550505050565b6000806000806040858703121561284757600080fd5b84356001600160401b038082111561285e57600080fd5b61286a88838901612499565b9096509450602087013591508082111561288357600080fd5b5061282587828801612499565b60008060008060008060008060a0898b0312156128ac57600080fd5b6128b5896123e0565b97506128c360208a016123e0565b965060408901356001600160401b03808211156128df57600080fd5b6128eb8c838d01612499565b909850965060608b013591508082111561290457600080fd5b6129108c838d01612499565b909650945060808b013591508082111561292957600080fd5b818b0191508b601f83011261293d57600080fd5b81358181111561294c57600080fd5b8c602082850101111561295e57600080fd5b6020830194508093505050509295985092959890939650565b600080600080600060a0868803121561298f57600080fd5b612998866123e0565b94506129a6602087016123e0565b9350604086013592506060860135915060808601356001600160401b038111156129cf57600080fd5b6129db88828901612614565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612a2657612a266129fe565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b600060408284031215612ad757600080fd5b604051604081018181106001600160401b0382111715612af957612af96125fe565b604052823581526020928301359281019290925250919050565b6001600160a01b03841681526040602080830182905282820184905260009190859060608501845b87811015612b5f578335825282840135838301529284019290840190600101612b3b565b5098975050505050505050565b8082018082111561075a5761075a6129fe565b60208082526021908201527f4d6174657269616c20636f6e74726163742061646472657373206e6f742073656040820152601d60fa1b606082015260800190565b600060208284031215612bd257600080fd5b5051919050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b8181038181111561075a5761075a6129fe565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c5c8160178501602088016126ed565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c8d8160288401602088016126ed565b01602801949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b808202811582820484141761075a5761075a6129fe565b600082612d1857634e487b7160e01b600052601260045260246000fd5b500490565b600081612d2c57612d2c6129fe565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612d5c8184602087016126ed565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d9a7850940df484fe48d19b34aa6ffcf51140e08f580a933fb66e16b3389226464736f6c63430008110033
Deployed Bytecode Sourcemap
71213:9276:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72198:299;;;;;;;;;;-1:-1:-1;72198:299:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;72198:299:0;;;;;;;;77338:237;;;;;;;;;;-1:-1:-1;77338:237:0;;;;;:::i;:::-;;:::i;:::-;;76912:418;;;;;;;;;;-1:-1:-1;76912:418:0;;;;;:::i;:::-;;:::i;28253:131::-;;;;;;;;;;-1:-1:-1;28253:131:0;;;;;:::i;:::-;28327:7;28354:12;;;:6;:12;;;;;:22;;;;28253:131;;;;3186:25:1;;;3174:2;3159:18;28253:131:0;3040:177:1;73733:158:0;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;3386:32:1;;;3368:51;;3356:2;3341:18;73733:158:0;3222:203:1;73564:163:0;;;;;;;;;;-1:-1:-1;73564:163:0;;;;;:::i;:::-;;:::i;74369:194::-;;;;;;;;;;-1:-1:-1;74369:194:0;;;;;:::i;:::-;;:::i;28646:147::-;;;;;;;;;;-1:-1:-1;28646:147:0;;;;;:::i;:::-;;:::i;29694:218::-;;;;;;;;;;-1:-1:-1;29694:218:0;;;;;:::i;:::-;;:::i;66123:200::-;;;;;;;;;;-1:-1:-1;66123:200:0;;;;;:::i;:::-;;:::i;66582:225::-;;;;;;:::i;:::-;;:::i;65801:133::-;;;;;;;;;;;;;:::i;72503:107::-;;;;;;;;;;-1:-1:-1;72590:14:0;;;;;;;;;;;-1:-1:-1;;;72590:14:0;;;;72503:107;;;;72590:14;72503:107;:::i;74033:125::-;;;;;;;;;;-1:-1:-1;19810:10:0;74094:7;73999:22;;;:14;:22;;;;;;74033:125;;78324:247;;;;;;;;;;-1:-1:-1;78324:247:0;;;;;:::i;:::-;;:::i;49657:103::-;;;;;;;;;;;;;:::i;74925:607::-;;;;;;;;;;-1:-1:-1;74925:607:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;71966:226::-;;;;;;;;;;;;;:::i;73104:115::-;;;;;;;;;;-1:-1:-1;73195:18:0;;73104:115;;49006:87;;;;;;;;;;-1:-1:-1;49079:6:0;;-1:-1:-1;;;;;49079:6:0;49006:87;;46419:153;;;;;;;;;;-1:-1:-1;46419:153:0;;;;;:::i;:::-;;:::i;27100:147::-;;;;;;;;;;-1:-1:-1;27100:147:0;;;;;:::i;:::-;;:::i;78577:337::-;;;;;;;;;;-1:-1:-1;78577:337:0;;;;;:::i;:::-;;:::i;74569:154::-;;;;;;;;;;-1:-1:-1;74569:154:0;;;;;:::i;:::-;;:::i;26180:49::-;;;;;;;;;;-1:-1:-1;26180:49:0;26225:4;26180:49;;75663:369;;;;;;;;;;-1:-1:-1;75663:369:0;;;;;:::i;:::-;;:::i;73225:166::-;;;;;;;;;;-1:-1:-1;73225:166:0;;;;;:::i;:::-;;:::i;76038:121::-;;;;;;;;;;-1:-1:-1;76038:121:0;;;;;:::i;:::-;76109:7;76135:18;;;:9;:18;;;;;;;76038:121;72827:271;;;;;;;;;;-1:-1:-1;72827:271:0;;;;;:::i;:::-;-1:-1:-1;;;72827:271:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;10954:33:1;;;10936:52;;10924:2;10909:18;72827:271:0;10792:202:1;46746:142:0;;;;;;;;;;-1:-1:-1;46746:142:0;;;;;:::i;:::-;;:::i;74729:190::-;;;;;;;;;;-1:-1:-1;74729:190:0;;;;;:::i;:::-;19810:10;74810:7;74852:19;;;:5;:19;;;;;;;;74887:26;;;:18;;;;:26;;;;;74729:190;29038:149;;;;;;;;;;-1:-1:-1;29038:149:0;;;;;:::i;:::-;;:::i;79490:171::-;;;;;;;;;;-1:-1:-1;79490:171:0;;;;;:::i;:::-;;:::i;73397:161::-;;;;;;;;;;;;;:::i;79976:378::-;;;;;;;;;;-1:-1:-1;79976:378:0;;;;;:::i;:::-;;:::i;72616:205::-;;;;;;;;;;-1:-1:-1;72616:205:0;;;;;:::i;:::-;-1:-1:-1;;;72616:205:0;;;;;;;;49915:201;;;;;;;;;;-1:-1:-1;49915:201:0;;;;;:::i;:::-;;:::i;72198:299::-;72354:4;-1:-1:-1;;;;;;72384:60:0;;-1:-1:-1;;;72384:60:0;;:107;;;72455:36;72479:11;72455:23;:36::i;:::-;72370:121;72198:299;-1:-1:-1;;72198:299:0:o;77338:237::-;77432:27;77452:6;77432:19;:27::i;:::-;77473:9;77468:102;77488:23;;;77468:102;;;77527:35;77538:6;77546:12;;77559:1;77546:15;;;;;;;:::i;:::-;;;;;;77527:10;:35::i;:::-;77513:3;;;;:::i;:::-;;;;77468:102;;;;77338:237;;;:::o;76912:418::-;77047:3;77072:27;;;77064:54;;;;-1:-1:-1;;;77064:54:0;;12216:2:1;77064:54:0;;;12198:21:1;12255:2;12235:18;;;12228:30;-1:-1:-1;;;12274:18:1;;;12267:44;12328:18;;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;76912:418;;;;;:::o;73733:158::-;73835:7;;26671:30;73835:7;19810:10;26671;:30::i;:::-;-1:-1:-1;;73861:24:0::1;::::0;-1:-1:-1;;;;;73861:24:0::1;::::0;73733:158::o;73564:163::-;26225:4;26671:30;26225:4;19810:10;26671;:30::i;:::-;-1:-1:-1;73679:24:0::1;:42:::0;;-1:-1:-1;;;;;;73679:42:0::1;-1:-1:-1::0;;;;;73679:42:0;;;::::1;::::0;;;::::1;::::0;;73564:163::o;74369:194::-;26225:4;26671:30;26225:4;19810:10;26671;:30::i;:::-;74477:9:::1;74472:86;74492:19:::0;;::::1;74472:86;;;74527:23;74538:8;;74547:1;74538:11;;;;;;;:::i;:::-;;;;;;;74527:10;:23::i;:::-;74513:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74472:86;;28646:147:::0;28327:7;28354:12;;;:6;:12;;;;;:22;;;26671:30;26682:4;19810:10;26671;:30::i;:::-;28760:25:::1;28771:4;28777:7;28760:10;:25::i;:::-;28646:147:::0;;;:::o;29694:218::-;-1:-1:-1;;;;;29790:23:0;;19810:10;29790:23;29782:83;;;;-1:-1:-1;;;29782:83:0;;12559:2:1;29782:83:0;;;12541:21:1;12598:2;12578:18;;;12571:30;12637:34;12617:18;;;12610:62;-1:-1:-1;;;12688:18:1;;;12681:45;12743:19;;29782:83:0;12357:411:1;29782:83:0;29878:26;29890:4;29896:7;29878:11;:26::i;:::-;29694:218;;:::o;66123:200::-;-1:-1:-1;;;;;64673:6:0;64656:23;64664:4;64656:23;64648:80;;;;-1:-1:-1;;;64648:80:0;;;;;;;:::i;:::-;64771:6;-1:-1:-1;;;;;64747:30:0;:20;-1:-1:-1;;;;;;;;;;;56454:65:0;-1:-1:-1;;;;;56454:65:0;;56374:153;64747:20;-1:-1:-1;;;;;64747:30:0;;64739:87;;;;-1:-1:-1;;;64739:87:0;;;;;;;:::i;:::-;66207:36:::1;66225:17;66207;:36::i;:::-;66295:12;::::0;;66305:1:::1;66295:12:::0;;;::::1;::::0;::::1;::::0;;;66254:61:::1;::::0;66276:17;;66295:12;66254:21:::1;:61::i;:::-;66123:200:::0;:::o;66582:225::-;-1:-1:-1;;;;;64673:6:0;64656:23;64664:4;64656:23;64648:80;;;;-1:-1:-1;;;64648:80:0;;;;;;;:::i;:::-;64771:6;-1:-1:-1;;;;;64747:30:0;:20;-1:-1:-1;;;;;;;;;;;56454:65:0;-1:-1:-1;;;;;56454:65:0;;56374:153;64747:20;-1:-1:-1;;;;;64747:30:0;;64739:87;;;;-1:-1:-1;;;64739:87:0;;;;;;;:::i;:::-;66700:36:::1;66718:17;66700;:36::i;:::-;66747:52;66769:17;66788:4;66794;66747:21;:52::i;65801:133::-:0;65879:7;65109:4;-1:-1:-1;;;;;65118:6:0;65101:23;;65093:92;;;;-1:-1:-1;;;65093:92:0;;13801:2:1;65093:92:0;;;13783:21:1;13840:2;13820:18;;;13813:30;13879:34;13859:18;;;13852:62;13950:26;13930:18;;;13923:54;13994:19;;65093:92:0;13599:420:1;65093:92:0;-1:-1:-1;;;;;;;;;;;;65801:133:0;:::o;78324:247::-;78422:27;78442:6;78422:19;:27::i;:::-;78463:9;78458:108;78478:25;;;78458:108;;;78519:39;78532:6;78540:14;;78555:1;78540:17;;;;;;;:::i;:::-;;;;;;78519:39;;;;;;;;;;:::i;:::-;:12;:39::i;:::-;78505:3;;;;:::i;:::-;;;;78458:108;;49657:103;49079:6;;-1:-1:-1;;;;;49079:6:0;19810:10;49226:23;49218:68;;;;-1:-1:-1;;;49218:68:0;;14738:2:1;49218:68:0;;;14720:21:1;;;14757:18;;;14750:30;14816:34;14796:18;;;14789:62;14868:18;;49218:68:0;14536:356:1;49218:68:0;49722:30:::1;49749:1;49722:18;:30::i;:::-;49657:103::o:0;74925:607::-;-1:-1:-1;;;;;75060:13:0;;75037:20;75060:13;;;:5;:13;;;;;75124:7;:14;74991:16;;;;75060:13;-1:-1:-1;;;;;75110:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75110:29:0;-1:-1:-1;75188:7:0;:14;75082:57;;-1:-1:-1;75146:25:0;;-1:-1:-1;;;;;75174:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75174:29:0;;75146:57;;75212:13;75241:9;75236:255;75260:7;:14;75256:18;;75236:255;;;75290:14;75307:7;75315:1;75307:10;;;;;;;;:::i;:::-;;;;;;;;;75290:27;;75361:1;75332:6;:18;;:26;75351:6;75332:26;;;;;;;;;;;;:30;75328:156;;;75393:6;75375:8;75384:5;75375:15;;;;;;;;:::i;:::-;;;;;;:24;;;;;75428:6;:18;;:26;75447:6;75428:26;;;;;;;;;;;;75410:8;75419:5;75410:15;;;;;;;;:::i;:::-;;;;;;;;;;:44;75467:7;;;;:::i;:::-;;;;75328:156;-1:-1:-1;75276:3:0;;;;:::i;:::-;;;;75236:255;;;-1:-1:-1;75507:8:0;;75517;;-1:-1:-1;74925:607:0;-1:-1:-1;;;;74925:607:0:o;71966:226::-;18024:13;;;;;;;:48;;18060:12;;;;18059:13;18024:48;;;18827:4;9598:19;:23;18040:16;18016:107;;;;-1:-1:-1;;;18016:107:0;;15099:2:1;18016:107:0;;;15081:21:1;15138:2;15118:18;;;15111:30;15177:34;15157:18;;;15150:62;-1:-1:-1;;;15228:18:1;;;15221:44;15282:19;;18016:107:0;14897:410:1;18016:107:0;18136:19;18159:13;;;;;;18158:14;18183:101;;;;18218:13;:20;;-1:-1:-1;;18253:19:0;;;;;18183:101;72016:16:::1;:14;:16::i;:::-;72039:24;:22;:24::i;:::-;72070:32;:30;:32::i;:::-;72109:24;:22;:24::i;:::-;72142:44;26225:4;19810:10:::0;72142::::1;:44::i;:::-;18314:14:::0;18310:68;;;18361:5;18345:21;;-1:-1:-1;;18345:21:0;;;17731:654;71966:226::o;46419:153::-;46509:7;46536:18;;;:12;:18;;;;;:28;;46558:5;46536:21;:28::i;:::-;46529:35;46419:153;-1:-1:-1;;;46419:153:0:o;27100:147::-;27186:4;27210:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27210:29:0;;;;;;;;;;;;;;;27100:147::o;78577:337::-;78742:1;78719:24;;78715:90;;78754:43;;-1:-1:-1;;;78754:43:0;;:4;;:15;;:43;;19810:10;;78784:12;;;;78754:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78715:90;78842:1;78817:26;;78813:96;;78854:47;;-1:-1:-1;;;78854:47:0;;:4;;:17;;:47;;19810:10;;78886:14;;;;78854:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78577:337;;;;:::o;74569:154::-;74673:4;;26671:30;74673:4;19810:10;26671;:30::i;:::-;-1:-1:-1;;74696:21:0::1;::::0;;;:13:::1;:21;::::0;;;;;::::1;;::::0;74569:154::o;75663:369::-;26225:4;26671:30;26225:4;19810:10;26671;:30::i;:::-;75820:37;;::::1;75812:101;;;::::0;-1:-1:-1;;;75812:101:0;;16363:2:1;75812:101:0::1;::::0;::::1;16345:21:1::0;16402:2;16382:18;;;16375:30;16441:34;16421:18;;;16414:62;-1:-1:-1;;;16492:18:1;;;16485:49;16551:19;;75812:101:0::1;16161:415:1::0;75812:101:0::1;75927:9;75922:105;75942:19:::0;;::::1;75922:105;;;75977:42;75991:8;;76000:1;75991:11;;;;;;;:::i;:::-;;;;;;;76004;;76016:1;76004:14;;;;;;;:::i;:::-;;;;;;;75620:18:::0;;;;:9;:18;;;;;;:31;75538:119;75977:42:::1;75963:3:::0;::::1;::::0;::::1;:::i;:::-;;;;75922:105;;;;75663:369:::0;;;;;:::o;73225:166::-;26225:4;26671:30;26225:4;19810:10;26671;:30::i;:::-;-1:-1:-1;73342:25:0::1;:43:::0;;-1:-1:-1;;;;;;73342:43:0::1;-1:-1:-1::0;;;;;73342:43:0;;;::::1;::::0;;;::::1;::::0;;73225:166::o;46746:142::-;46826:7;46853:18;;;:12;:18;;;;;:27;;:25;:27::i;29038:149::-;28327:7;28354:12;;;:6;:12;;;;;:22;;;26671:30;26682:4;19810:10;26671;:30::i;:::-;29153:26:::1;29165:4;29171:7;29153:11;:26::i;79490:171::-:0;79567:7;79622:33;79648:6;79622:25;:33::i;:::-;-1:-1:-1;;;;;73999:22:0;;73973:7;73999:22;;;:14;:22;;;;;;79593:62;;;;:::i;73397:161::-;73501:7;;26671:30;73501:7;19810:10;26671;:30::i;:::-;-1:-1:-1;;73527:25:0::1;::::0;-1:-1:-1;;;;;73527:25:0::1;::::0;73397:161::o;79976:378::-;80044:25;;-1:-1:-1;;;;;80044:25:0;80036:80;;;;-1:-1:-1;;;80036:80:0;;16913:2:1;80036:80:0;;;16895:21:1;16952:2;16932:18;;;16925:30;16991;16971:18;;;16964:58;17039:18;;80036:80:0;16711:352:1;80036:80:0;80147:25;;-1:-1:-1;;;;;80147:25:0;19810:10;-1:-1:-1;;;;;80131:41:0;;80123:95;;;;-1:-1:-1;;;80123:95:0;;17270:2:1;80123:95:0;;;17252:21:1;17309:2;17289:18;;;17282:30;17348:34;17328:18;;;17321:62;-1:-1:-1;;;17399:18:1;;;17392:39;17448:19;;80123:95:0;17068:405:1;80123:95:0;-1:-1:-1;;;;;80250:13:0;80227:20;80250:13;;;:5;:13;;;;;;;;80298:15;80270:43;;80322:14;:22;;;;;:26;79976:378::o;49915:201::-;49079:6;;-1:-1:-1;;;;;49079:6:0;19810:10;49226:23;49218:68;;;;-1:-1:-1;;;49218:68:0;;14738:2:1;49218:68:0;;;14720:21:1;;;14757:18;;;14750:30;14816:34;14796:18;;;14789:62;14868:18;;49218:68:0;14536:356:1;49218:68:0;-1:-1:-1;;;;;50004:22:0;::::1;49996:73;;;::::0;-1:-1:-1;;;49996:73:0;;17680:2:1;49996:73:0::1;::::0;::::1;17662:21:1::0;17719:2;17699:18;;;17692:30;17758:34;17738:18;;;17731:62;-1:-1:-1;;;17809:18:1;;;17802:36;17855:19;;49996:73:0::1;17478:402:1::0;49996:73:0::1;50080:28;50099:8;50080:18;:28::i;45595:225::-:0;45680:4;-1:-1:-1;;;;;;45704:68:0;;-1:-1:-1;;;45704:68:0;;:108;;;45776:36;45800:11;45776:23;:36::i;79667:303::-;79734:18;79755:33;79781:6;79755:25;:33::i;:::-;-1:-1:-1;;;;;79820:13:0;;79797:20;79820:13;;;:5;:13;;;;;79868:15;79840:43;;79734:54;;-1:-1:-1;79896:14:0;;79892:73;;-1:-1:-1;;;;;79921:22:0;;;;;;:14;:22;;;;;:36;;79947:10;;79921:22;:36;;79947:10;;79921:36;:::i;:::-;;;;-1:-1:-1;;79727:243:0;;79667:303;:::o;76165:741::-;76278:18;;76264:33;;;;:13;:33;;;;;;;;:41;;:33;:41;76256:79;;;;-1:-1:-1;;;76256:79:0;;18087:2:1;76256:79:0;;;18069:21:1;18126:2;18106:18;;;18099:30;18165:27;18145:18;;;18138:55;18210:18;;76256:79:0;17885:349:1;76256:79:0;76350:24;;-1:-1:-1;;;;;76350:24:0;76342:84;;;;-1:-1:-1;;;76342:84:0;;;;;;;:::i;:::-;76501:24;;76543:63;;-1:-1:-1;;;76543:63:0;;-1:-1:-1;;;;;18833:32:1;;;76543:63:0;;;18815:51:1;76587:18:0;;18882::1;;;18875:34;76501:24:0;;;;76610:18;;;;;76501:24;;76543:35;;18788:18:1;;76543:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:85;;76535:135;;;;-1:-1:-1;;;76535:135:0;;19311:2:1;76535:135:0;;;19293:21:1;19350:2;19330:18;;;19323:30;19389:34;19369:18;;;19362:62;-1:-1:-1;;;19440:18:1;;;19433:35;19485:19;;76535:135:0;19109:401:1;76535:135:0;-1:-1:-1;;;;;76702:13:0;;76679:20;76702:13;;;:5;:13;;;;;;;;76741:18;;76722:38;;:18;;;:38;;;;;:60;;76702:13;;76764:18;;;;;76722:38;;:60;;76764:18;;76722:60;:::i;:::-;;;;-1:-1:-1;;76791:109:0;;-1:-1:-1;;;76791:109:0;;-1:-1:-1;;;;;76791:42:0;;;;;:109;;76834:6;;76850:4;;76857:18;;;76877;;;;;76791:109;;;:::i;77581:737::-;77696:20;;77682:35;;;;:13;:35;;;;;;;;:43;;:35;:43;77674:83;;;;-1:-1:-1;;;77674:83:0;;20349:2:1;77674:83:0;;;20331:21:1;20388:2;20368:18;;;20361:30;20427:29;20407:18;;;20400:57;20474:18;;77674:83:0;20147:351:1;77674:83:0;77772:24;;-1:-1:-1;;;;;77772:24:0;77764:84;;;;-1:-1:-1;;;77764:84:0;;;;;;;:::i;:::-;77923:24;;-1:-1:-1;;;;;77980:13:0;;;77857:44;77980:13;;;:5;:13;;;;;;;;78053:20;;78034:40;;77923:24;78034:18;;:40;;;;;78010:20;;;;77923:24;;;;;77980:13;;78010:64;;78002:115;;;;-1:-1:-1;;;78002:115:0;;20705:2:1;78002:115:0;;;20687:21:1;20744:2;20724:18;;;20717:30;20783:34;20763:18;;;20756:62;-1:-1:-1;;;20834:18:1;;;20827:36;20880:19;;78002:115:0;20503:402:1;78002:115:0;78170:13;:20;;;78126:6;:18;;:40;78145:13;:20;;;78126:40;;;;;;;;;;;;:64;;;;;;;:::i;:::-;;;;-1:-1:-1;;78265:20:0;;78287;;;;78199:113;;-1:-1:-1;;;78199:113:0;;-1:-1:-1;;;;;78199:42:0;;;;;:113;;78250:4;;78257:6;;78265:20;;78199:113;;;:::i;27537:527::-;27626:22;27634:4;27640:7;27626;:22::i;:::-;27621:436;;27814:52;27853:7;-1:-1:-1;;;;;27814:52:0;27863:2;27814:30;:52::i;:::-;27939:49;27978:4;27985:2;27939:30;:49::i;:::-;27719:292;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27719:292:0;;;;;;;;;;-1:-1:-1;;;27665:380:0;;;;;;;:::i;74164:199::-;74230:21;;;;:13;:21;;;;;;;;:30;74222:71;;;;-1:-1:-1;;;74222:71:0;;22062:2:1;74222:71:0;;;22044:21:1;22101:2;22081:18;;;22074:30;22140;22120:18;;;22113:58;22188:18;;74222:71:0;21860:352:1;74222:71:0;74302:7;:20;;;;;;;;;;;;;;-1:-1:-1;74329:21:0;;;:13;74302:20;74329:21;;;;;:28;;-1:-1:-1;;74329:28:0;;;;;;74164:199::o;46981:169::-;47069:31;47086:4;47092:7;47069:16;:31::i;:::-;47111:18;;;;:12;:18;;;;;:31;;47134:7;47111:22;:31::i;47244:174::-;47333:32;47351:4;47357:7;47333:17;:32::i;:::-;47376:18;;;;:12;:18;;;;;:34;;47402:7;47376:25;:34::i;80360:126::-;26225:4;26671:30;26225:4;19810:10;26671;:30::i;57792:992::-;55745:66;58246:59;;;58242:535;;;58322:37;58341:17;58322:18;:37::i;58242:535::-;58425:17;-1:-1:-1;;;;;58396:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58396:63:0;;;;;;;;-1:-1:-1;;58396:63:0;;;;;;;;;;;;:::i;:::-;;;58392:306;;58626:56;;-1:-1:-1;;;58626:56:0;;22608:2:1;58626:56:0;;;22590:21:1;22647:2;22627:18;;;22620:30;22686:34;22666:18;;;22659:62;-1:-1:-1;;;22737:18:1;;;22730:44;22791:19;;58626:56:0;22406:410:1;58392:306:0;-1:-1:-1;;;;;;;;;;;58510:28:0;;58502:82;;;;-1:-1:-1;;;58502:82:0;;23023:2:1;58502:82:0;;;23005:21:1;23062:2;23042:18;;;23035:30;23101:34;23081:18;;;23074:62;-1:-1:-1;;;23152:18:1;;;23145:39;23201:19;;58502:82:0;22821:405:1;58502:82:0;58460:140;58712:53;58730:17;58749:4;58755:9;58712:17;:53::i;50276:191::-;50369:6;;;-1:-1:-1;;;;;50386:17:0;;;-1:-1:-1;;;;;;50386:17:0;;;;;;;50419:40;;50369:6;;;50386:17;50369:6;;50419:40;;50350:16;;50419:40;50339:128;50276:191;:::o;48707:97::-;18627:13;;;;;;;18619:69;;;;-1:-1:-1;;;18619:69:0;;;;;;;:::i;:::-;48770:26:::1;:24;:26::i;63801:68::-:0;18627:13;;;;;;;18619:69;;;;-1:-1:-1;;;18619:69:0;;;;;;;:::i;69516:113::-;18627:13;;;;;;;18619:69;;;;-1:-1:-1;;;18619:69:0;;;;;;;:::i;:::-;69587:34:::1;:32;:34::i;30571:112::-:0;30650:25;30661:4;30667:7;30650:10;:25::i;41319:158::-;41393:7;41444:22;41448:3;41460:5;41444:3;:22::i;40848:117::-;40911:7;40938:19;40946:3;36332:18;;36249:109;78920:564;-1:-1:-1;;;;;79045:13:0;;79003:7;79045:13;;;:5;:13;;;;;79073:25;;79102:15;-1:-1:-1;79073:44:0;79065:105;;;;-1:-1:-1;;;79065:105:0;;23845:2:1;79065:105:0;;;23827:21:1;23884:2;23864:18;;;23857:30;23923:34;23903:18;;;23896:62;-1:-1:-1;;;23974:18:1;;;23967:46;24030:19;;79065:105:0;23643:412:1;79065:105:0;79212:25;;79179:18;;79212:30;79208:245;;79258:9;79253:193;79277:7;:14;79273:18;;79253:193;;;79406:6;:18;;:30;79425:7;79433:1;79425:10;;;;;;;;:::i;:::-;;;;;;;;;79406:30;;;;;;;;;;;;79396:6;79372:9;:21;79382:7;79390:1;79382:10;;;;;;;;:::i;:::-;;;;;;;;;79372:21;;;;;;;;;;;;79343:6;:25;;;79325:15;:43;;;;:::i;:::-;79324:69;;;;:::i;:::-;:78;;;;:::i;:::-;79323:113;;;;:::i;:::-;79309:127;;;;:::i;:::-;;-1:-1:-1;79293:3:0;;;;:::i;:::-;;;;79253:193;;;;79468:10;78920:564;-1:-1:-1;;;78920:564:0:o;26793:215::-;26878:4;-1:-1:-1;;;;;;26902:58:0;;-1:-1:-1;;;26902:58:0;;:98;;-1:-1:-1;;;;;;;;;;23592:51:0;;;26964:36;23483:168;21950:451;22025:13;22051:19;22083:10;22087:6;22083:1;:10;:::i;:::-;:14;;22096:1;22083:14;:::i;:::-;-1:-1:-1;;;;;22073:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22073:25:0;;22051:47;;-1:-1:-1;;;22109:6:0;22116:1;22109:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22109:15:0;;;;;;;;;-1:-1:-1;;;22135:6:0;22142:1;22135:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22135:15:0;;;;;;;;-1:-1:-1;22166:9:0;22178:10;22182:6;22178:1;:10;:::i;:::-;:14;;22191:1;22178:14;:::i;:::-;22166:26;;22161:135;22198:1;22194;:5;22161:135;;;-1:-1:-1;;;22246:5:0;22254:3;22246:11;22233:25;;;;;;;:::i;:::-;;;;22221:6;22228:1;22221:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;22221:37:0;;;;;;;;-1:-1:-1;22283:1:0;22273:11;;;;;22201:3;;;:::i;:::-;;;22161:135;;;-1:-1:-1;22314:10:0;;22306:55;;;;-1:-1:-1;;;22306:55:0;;24798:2:1;22306:55:0;;;24780:21:1;;;24817:18;;;24810:30;24876:34;24856:18;;;24849:62;24928:18;;22306:55:0;24596:356:1;31195:238:0;31279:22;31287:4;31293:7;31279;:22::i;:::-;31274:152;;31318:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31318:29:0;;;;;;;;;:36;;-1:-1:-1;;31318:36:0;31350:4;31318:36;;;31401:12;19810:10;;19730:98;31401:12;-1:-1:-1;;;;;31374:40:0;31392:7;-1:-1:-1;;;;;31374:40:0;31386:4;31374:40;;;;;;;;;;31195:238;;:::o;40023:152::-;40093:4;40117:50;40122:3;-1:-1:-1;;;;;40142:23:0;;40117:4;:50::i;31565:239::-;31649:22;31657:4;31663:7;31649;:22::i;:::-;31645:152;;;31720:5;31688:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31688:29:0;;;;;;;;;;:37;;-1:-1:-1;;31688:37:0;;;31745:40;19810:10;;31688:12;;31745:40;;31720:5;31745:40;31565:239;;:::o;40351:158::-;40424:4;40448:53;40456:3;-1:-1:-1;;;;;40476:23:0;;40448:7;:53::i;56623:284::-;-1:-1:-1;;;;;9598:19:0;;;56697:106;;;;-1:-1:-1;;;56697:106:0;;25159:2:1;56697:106:0;;;25141:21:1;25198:2;25178:18;;;25171:30;25237:34;25217:18;;;25210:62;-1:-1:-1;;;25288:18:1;;;25281:43;25341:19;;56697:106:0;24957:409:1;56697:106:0;-1:-1:-1;;;;;;;;;;;56814:85:0;;-1:-1:-1;;;;;;56814:85:0;-1:-1:-1;;;;;56814:85:0;;;;;;;;;;56623:284::o;57316:297::-;57459:29;57470:17;57459:10;:29::i;:::-;57517:1;57503:4;:11;:15;:28;;;;57522:9;57503:28;57499:107;;;57548:46;57570:17;57589:4;57548:21;:46::i;48812:113::-;18627:13;;;;;;;18619:69;;;;-1:-1:-1;;;18619:69:0;;;;;;;:::i;:::-;48885:32:::1;19810:10:::0;48885:18:::1;:32::i;69637:111::-:0;18627:13;;;;;;;18619:69;;;;-1:-1:-1;;;18619:69:0;;;;;;;:::i;:::-;69430:1:::1;69718:7;:22:::0;69637:111::o;36712:120::-;36779:7;36806:3;:11;;36818:5;36806:18;;;;;;;;:::i;:::-;;;;;;;;;36799:25;;36712:120;;;;:::o;33938:414::-;34001:4;36131:19;;;:12;;;:19;;;;;;34018:327;;-1:-1:-1;34061:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;34244:18;;34222:19;;;:12;;;:19;;;;;;:40;;;;34277:11;;34018:327;-1:-1:-1;34328:5:0;34321:12;;34528:1420;34594:4;34733:19;;;:12;;;:19;;;;;;34769:15;;34765:1176;;35144:21;35168:14;35181:1;35168:10;:14;:::i;:::-;35217:18;;35144:38;;-1:-1:-1;35197:17:0;;35217:22;;35238:1;;35217:22;:::i;:::-;35197:42;;35273:13;35260:9;:26;35256:405;;35307:17;35327:3;:11;;35339:9;35327:22;;;;;;;;:::i;:::-;;;;;;;;;35307:42;;35481:9;35452:3;:11;;35464:13;35452:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;35566:23;;;:12;;;:23;;;;;:36;;;35256:405;35742:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;35837:3;:12;;:19;35850:5;35837:19;;;;;;;;;;;35830:26;;;35880:4;35873:11;;;;;;;34765:1176;35924:5;35917:12;;;;;57020:155;57087:37;57106:17;57087:18;:37::i;:::-;57140:27;;-1:-1:-1;;;;;57140:27:0;;;;;;;;57020:155;:::o;62053:461::-;62136:12;-1:-1:-1;;;;;9598:19:0;;;62161:88;;;;-1:-1:-1;;;62161:88:0;;25705:2:1;62161:88:0;;;25687:21:1;25744:2;25724:18;;;25717:30;25783:34;25763:18;;;25756:62;-1:-1:-1;;;25834:18:1;;;25827:36;25880:19;;62161:88:0;25503:402:1;62161:88:0;62323:12;62337:23;62364:6;-1:-1:-1;;;;;62364:19:0;62384:4;62364:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62322:67;;;;62407:99;62443:7;62452:10;62407:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;62400:106;62053:461;-1:-1:-1;;;;;62053:461:0:o;14877:712::-;15027:12;15056:7;15052:530;;;-1:-1:-1;15087:10:0;15080:17;;15052:530;15201:17;;:21;15197:374;;15399:10;15393:17;15460:15;15447:10;15443:2;15439:19;15432:44;15197:374;15542:12;15535:20;;-1:-1:-1;;;15535: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:367::-;1694:8;1704:6;1758:3;1751:4;1743:6;1739:17;1735:27;1725:55;;1776:1;1773;1766:12;1725:55;-1:-1:-1;1799:20:1;;-1:-1:-1;;;;;1831:30:1;;1828:50;;;1874:1;1871;1864:12;1828:50;1911:4;1903:6;1899:17;1887:29;;1971:3;1964:4;1954:6;1951:1;1947:14;1939:6;1935:27;1931:38;1928:47;1925:67;;;1988:1;1985;1978:12;2003:847;2134:6;2142;2150;2158;2166;2219:2;2207:9;2198:7;2194:23;2190:32;2187:52;;;2235:1;2232;2225:12;2187:52;2258:29;2277:9;2258:29;:::i;:::-;2248:39;;2338:2;2327:9;2323:18;2310:32;-1:-1:-1;;;;;2402:2:1;2394:6;2391:14;2388:34;;;2418:1;2415;2408:12;2388:34;2457:70;2519:7;2510:6;2499:9;2495:22;2457:70;:::i;:::-;2546:8;;-1:-1:-1;2431:96:1;-1:-1:-1;2634:2:1;2619:18;;2606:32;;-1:-1:-1;2650:16:1;;;2647:36;;;2679:1;2676;2669:12;2647:36;;2718:72;2782:7;2771:8;2760:9;2756:24;2718:72;:::i;:::-;2003:847;;;;-1:-1:-1;2003:847:1;;-1:-1:-1;2809:8:1;;2692:98;2003:847;-1:-1:-1;;;2003:847:1:o;2855:180::-;2914:6;2967:2;2955:9;2946:7;2942:23;2938:32;2935:52;;;2983:1;2980;2973:12;2935:52;-1:-1:-1;3006:23:1;;2855:180;-1:-1:-1;2855:180:1:o;3430:186::-;3489:6;3542:2;3530:9;3521:7;3517:23;3513:32;3510:52;;;3558:1;3555;3548:12;3510:52;3581:29;3600:9;3581:29;:::i;3621:437::-;3707:6;3715;3768:2;3756:9;3747:7;3743:23;3739:32;3736:52;;;3784:1;3781;3774:12;3736:52;3824:9;3811:23;-1:-1:-1;;;;;3849:6:1;3846:30;3843:50;;;3889:1;3886;3879:12;3843:50;3928:70;3990:7;3981:6;3970:9;3966:22;3928:70;:::i;:::-;4017:8;;3902:96;;-1:-1:-1;3621:437:1;-1:-1:-1;;;;3621:437:1:o;4063:254::-;4131:6;4139;4192:2;4180:9;4171:7;4167:23;4163:32;4160:52;;;4208:1;4205;4198:12;4160:52;4244:9;4231:23;4221:33;;4273:38;4307:2;4296:9;4292:18;4273:38;:::i;:::-;4263:48;;4063:254;;;;;:::o;4322:127::-;4383:10;4378:3;4374:20;4371:1;4364:31;4414:4;4411:1;4404:15;4438:4;4435:1;4428:15;4454:718;4496:5;4549:3;4542:4;4534:6;4530:17;4526:27;4516:55;;4567:1;4564;4557:12;4516:55;4603:6;4590:20;-1:-1:-1;;;;;4666:2:1;4662;4659:10;4656:36;;;4672:18;;:::i;:::-;4747:2;4741:9;4715:2;4801:13;;-1:-1:-1;;4797:22:1;;;4821:2;4793:31;4789:40;4777:53;;;4845:18;;;4865:22;;;4842:46;4839:72;;;4891:18;;:::i;:::-;4931:10;4927:2;4920:22;4966:2;4958:6;4951:18;5012:3;5005:4;5000:2;4992:6;4988:15;4984:26;4981:35;4978:55;;;5029:1;5026;5019:12;4978:55;5093:2;5086:4;5078:6;5074:17;5067:4;5059:6;5055:17;5042:54;5140:1;5133:4;5128:2;5120:6;5116:15;5112:26;5105:37;5160:6;5151:15;;;;;;4454:718;;;;:::o;5177:394::-;5254:6;5262;5315:2;5303:9;5294:7;5290:23;5286:32;5283:52;;;5331:1;5328;5321:12;5283:52;5354:29;5373:9;5354:29;:::i;:::-;5344:39;;5434:2;5423:9;5419:18;5406:32;-1:-1:-1;;;;;5453:6:1;5450:30;5447:50;;;5493:1;5490;5483:12;5447:50;5516:49;5557:7;5548:6;5537:9;5533:22;5516:49;:::i;:::-;5506:59;;;5177:394;;;;;:::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;12773:408::-;12975:2;12957:21;;;13014:2;12994:18;;;12987:30;13053:34;13048:2;13033:18;;13026:62;-1:-1:-1;;;13119:2:1;13104:18;;13097:42;13171:3;13156:19;;12773:408::o;13186:::-;13388:2;13370:21;;;13427:2;13407:18;;;13400:30;13466:34;13461:2;13446:18;;13439:62;-1:-1:-1;;;13532:2:1;13517:18;;13510:42;13584:3;13569:19;;13186:408::o;14024:507::-;14111:6;14164:2;14152:9;14143:7;14139:23;14135:32;14132:52;;;14180:1;14177;14170:12;14132:52;14213:2;14207:9;14255:2;14247:6;14243:15;14324:6;14312:10;14309:22;-1:-1:-1;;;;;14276:10:1;14273:34;14270:62;14267:88;;;14335:18;;:::i;:::-;14371:2;14364:22;14410:23;;14395:39;;14495:2;14480:18;;;14467:32;14450:15;;;14443:57;;;;-1:-1:-1;14402:6:1;14024:507;-1:-1:-1;14024:507:1:o;15312:844::-;-1:-1:-1;;;;;15649:32:1;;15631:51;;15579:2;15701;15719:18;;;15712:30;;;15604:18;;;15777:22;;;15550:4;;15579:2;15856:6;;15830:2;15815:18;;15550:4;15890:240;15904:6;15901:1;15898:13;15890:240;;;15965:20;;15953:33;;16033:15;;;16020:29;16006:12;;;15999:51;16105:15;;;;16070:12;;;;15926:1;15919:9;15890:240;;;-1:-1:-1;16147:3:1;15312:844;-1:-1:-1;;;;;;;;15312:844:1:o;16581:125::-;16646:9;;;16667:10;;;16664:36;;;16680:18;;:::i;18239:397::-;18441:2;18423:21;;;18480:2;18460:18;;;18453:30;18519:34;18514:2;18499:18;;18492:62;-1:-1:-1;;;18585:2:1;18570:18;;18563:31;18626:3;18611:19;;18239:397::o;18920:184::-;18990:6;19043:2;19031:9;19022:7;19018:23;19014:32;19011:52;;;19059:1;19056;19049:12;19011:52;-1:-1:-1;19082:16:1;;18920:184;-1:-1:-1;18920:184:1:o;19515:627::-;-1:-1:-1;;;;;19866:15:1;;;19848:34;;19918:15;;;;19913:2;19898:18;;19891:43;19965:2;19950:18;;19943:34;20008:2;19993:18;;19986:34;;;;19828:3;20051;20036:19;;20029:32;;;19791:4;20077:19;;;20070:30;20132:3;20117:19;;19515:627::o;20910:128::-;20977:9;;;20998:11;;;20995:37;;;21012:18;;:::i;21043:812::-;21454:25;21449:3;21442:38;21424:3;21509:6;21503:13;21525:75;21593:6;21588:2;21583:3;21579:12;21572:4;21564:6;21560:17;21525:75;:::i;:::-;-1:-1:-1;;;21659:2:1;21619:16;;;21651:11;;;21644:40;21709:13;;21731:76;21709:13;21793:2;21785:11;;21778:4;21766:17;;21731:76;:::i;:::-;21827:17;21846:2;21823:26;;21043:812;-1:-1:-1;;;;21043:812:1:o;23231:407::-;23433:2;23415:21;;;23472:2;23452:18;;;23445:30;23511:34;23506:2;23491:18;;23484:62;-1:-1:-1;;;23577:2:1;23562:18;;23555:41;23628:3;23613:19;;23231:407::o;24060:168::-;24133:9;;;24164;;24181:15;;;24175:22;;24161:37;24151:71;;24202:18;;:::i;24233:217::-;24273:1;24299;24289:132;;24343:10;24338:3;24334:20;24331:1;24324:31;24378:4;24375:1;24368:15;24406:4;24403:1;24396:15;24289:132;-1:-1:-1;24435:9:1;;24233:217::o;24455:136::-;24494:3;24522:5;24512:39;;24531:18;;:::i;:::-;-1:-1:-1;;;24567:18:1;;24455:136::o;25371:127::-;25432:10;25427:3;25423:20;25420:1;25413:31;25463:4;25460:1;25453:15;25487:4;25484:1;25477:15;25910:287;26039:3;26077:6;26071:13;26093:66;26152:6;26147:3;26140:4;26132:6;26128:17;26093:66;:::i;:::-;26175:16;;;;;25910:287;-1:-1:-1;;25910:287:1:o
Swarm Source
ipfs://d9a7850940df484fe48d19b34aa6ffcf51140e08f580a933fb66e16b33892264
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
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.