Human Protocol SDK
v2.0.0
v2.0.0
  • Typescript SDK​
    • Encryption
      • Encryption
      • EncryptionUtils
    • Escrow
      • EscrowClient
      • EscrowUtils
    • KVStore
      • KVStoreClient
    • Staking
      • StakingClient
    • Operator
      • OperatorUtils
    • Storage
      • StorageClient
    • Statistics
      • StatisticsClient
  • Python SDK
    • agreement
      • bootstrap
      • measures
      • utils
    • encryption
      • encryption
      • legacy_encryption
      • encryption_utils
    • escrow
      • escrow_client
      • escrow_utils
    • kvstore
      • kvstore_client
    • staking
      • staking_client
      • staking_utils
    • operator
      • operator_utils
    • statistics
      • statistics_client
    • storage
      • storage_client
      • storage_utils
    • constants
    • filter
    • utils
  • CHANGELOG
Powered by GitBook
On this page
  • class human_protocol_sdk.constants.ChainId(value)
  • class human_protocol_sdk.constants.Role(value)
  • class human_protocol_sdk.constants.Status(value)
  1. Python SDK

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

Paid = 3

Partial = 2

Pending = 1

Last updated 1 year ago