mirror of https://github.com/nucypher/nucypher.git
Remove old and no longer used code associated with operator information.
parent
ccb5a7631a
commit
6064ee01b1
|
@ -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!"""
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue