(self, params: object, methodName1: str, optionName1: str, optionName2: str, defaultValue=None)
| 455 | return(signer is not None) |
| 456 | |
| 457 | def handle_api_key_index(self, params: object, methodName1: str, optionName1: str, optionName2: str, defaultValue=None) -> List[Any]: |
| 458 | apiKeyIndex = None |
| 459 | apiKeyIndex, params = self.handle_option_and_params_2(params, methodName1, optionName1, optionName2, defaultValue) |
| 460 | if (apiKeyIndex is None) or (apiKeyIndex < 4) or (apiKeyIndex > 254): |
| 461 | # apiKeyIndex = self.rand_number(2) |
| 462 | apiKeyIndex = 254 |
| 463 | self.options['apiKeyIndex'] = apiKeyIndex # default to a value to avoid overriding other keys |
| 464 | return [self.parse_to_int(apiKeyIndex), params] |
| 465 | |
| 466 | def handle_account_index(self, params: object, methodName1: str, optionName1: str, optionName2: str, defaultValue=None) -> List[Any]: |
| 467 | accountIndex = None |
no test coverage detected