Human Protocol SDK
v2.0.0
Search
K

constants

class human_protocol_sdk.constants.ChainId(value)

Bases: Enum
Enum for chain IDs.

AVALANCHE = 43114

AVALANCHE_TESTNET = 43113

BSC_MAINNET = 56

BSC_TESTNET = 97

CELO = 42220

CELO_ALFAJORES = 44787

GOERLI = 5

LOCALHOST = 1338

MAINNET = 1

MOONBASE_ALPHA = 1287

MOONBEAM = 1284

POLYGON = 137

POLYGON_MUMBAI = 80001

RINKEBY = 4

SKALE = 1273227453

class human_protocol_sdk.constants.Role(value)

Bases: Enum
Enum for roles.

exchange_oracle = 'Exchange Oracle'

job_launcher = 'Job Launcher'

recording_oracle = 'Recording Oracle'

reputation_oracle = 'Reputation Oracle'

validator = 'Validator'

class human_protocol_sdk.constants.Status(value)

Bases: Enum
Enum for escrow statuses.

Cancelled = 5

Complete = 4

Launched = 0

Partial = 2

Pending = 1

Last modified 1mo ago