Remove old and no longer used code associated with operator information.

pull/3479/head
derekpierre 2024-04-15 13:45:45 -04:00
parent ccb5a7631a
commit 6064ee01b1
No known key found for this signature in database
2 changed files with 0 additions and 12 deletions

View File

@ -962,13 +962,6 @@ class Operator(BaseActor):
color="green",
)
def get_work_is_needed_check(self):
def func(self):
# we have not confirmed yet
return not self.is_confirmed
return func
class PolicyAuthor(NucypherTokenActor):
"""Alice base class for blockchain operations, mocking up new policies!"""

View File

@ -446,11 +446,6 @@ class TACoApplicationAgent(StakerSamplingApplicationAgent):
operator_confirmed: bool
operator_start_timestamp: int
class OperatorInfo(NamedTuple):
address: ChecksumAddress
confirmed: bool
start_timestamp: Timestamp
@contract_api(CONTRACT_CALL)
def get_min_authorization(self) -> int:
result = self.contract.functions.minimumAuthorization().call()