@@ -17,11 +17,11 @@ print(
1717
1818## Module
1919
20- ### * class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None)
20+ ### * class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None, registration_needed=None, registration_instructions=None )
2121
2222Bases: ` object `
2323
24- #### \_\_ init_ \_ (chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None)
24+ #### \_\_ init_ \_ (chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None, registration_needed=None, registration_instructions=None )
2525
2626Initializes an LeaderData instance.
2727
@@ -44,6 +44,8 @@ Initializes an LeaderData instance.
4444 * ** webhook_url** (` Optional ` [ ` str ` ] ) – Webhook url
4545 * ** url** (` Optional ` [ ` str ` ] ) – Url
4646 * ** job_types** (` Optional ` [ ` List ` [ ` str ` ]] ) – Job types
47+ * ** registration_needed** (` Optional ` [ ` bool ` ] ) – True,
48+ * ** registration_instructions** (` Optional ` [ ` str ` ] ) – Instructions url,
4749
4850### * class* human_protocol_sdk.operator.operator_utils.LeaderFilter(chain_id, role=None)
4951
@@ -59,17 +61,19 @@ Initializes a LeaderFilter instance.
5961 * ** chain_id** ([ ` ChainId ` ] ( human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId ) ) – Chain Id to request data
6062 * ** role** (` Optional ` [ ` str ` ] ) – Leader role
6163
62- ### * class* human_protocol_sdk.operator.operator_utils.Operator(address, role, url='', job_types=[ ] )
64+ ### * class* human_protocol_sdk.operator.operator_utils.Operator(address, role, url='', job_types=[ ] , registration_needed=None, registration_instructions=None )
6365
6466Bases: ` object `
6567
66- #### \_\_ init_ \_ (address, role, url='', job_types=[ ] )
68+ #### \_\_ init_ \_ (address, role, url='', job_types=[ ] , registration_needed=None, registration_instructions=None )
6769
6870Initializes an Operator instance.
6971
7072* ** Parameters:**
7173 * ** address** (` str ` ) – Operator address
7274 * ** role** (` str ` ) – Role of the operator
75+ * ** registration_needed** (` Optional ` [ ` bool ` ] ) – True,
76+ * ** registration_instructions** (` Optional ` [ ` str ` ] ) – Instructions url,
7377
7478### * class* human_protocol_sdk.operator.operator_utils.OperatorUtils
7579
@@ -129,8 +133,6 @@ Get the reputation network operators of the specified address.
129133 * ** chain_id** ([ ` ChainId ` ] ( human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId ) ) – Network in which the reputation network exists
130134 * ** address** (` str ` ) – Address of the reputation oracle
131135 * ** role** (` Optional ` [ ` str ` ] ) – (Optional) Role of the operator
132- * ** Parem job_types:**
133- (Optional) Job types of the operator
134136* ** Return type:**
135137 ` List ` [[ ` Operator ` ] ( #human_protocol_sdk.operator.operator_utils.Operator )]
136138* ** Returns:**
0 commit comments