nucypher

Submodules

exception DevelopmentInstallationRequired(importable_name: str, *args, **kwargs)

Bases: RuntimeError

MESSAGE = '\n A development installation of nucypher is required to import {importable_name}. \n Please follow the installation instructions published at:\n https://docs.nucypher.com/en/latest/installation.html\n '
class WorklockParameters

Bases: tuple, typing.Generic

token_supply: NuNits = None
start_bid_date: Timestamp = None
end_bid_date: Timestamp = None
end_cancellation_date: Timestamp = None
boosting_refund: int = None
staking_periods: int = None
min_allowed_bid: Wei = None
class StakingEscrowParameters

Bases: tuple, typing.Generic

seconds_per_period: int = None
minting_coefficient: int = None
lock_duration_coefficient_1: int = None
lock_duration_coefficient_2: int = None
maximum_rewarded_periods: int = None
first_phase_total_supply: NuNits = None
first_phase_max_issuance: NuNits = None
min_locked_periods: PeriodDelta = None
min_allowable_locked_tokens: NuNits = None
max_allowable_locked_tokens: NuNits = None
min_worker_periods: PeriodDelta = None
class SubStakeInfo(first_period, last_period, locked_value)

Bases: tuple

property first_period

Alias for field number 0

property last_period

Alias for field number 1

property locked_value

Alias for field number 2

class RawSubStakeInfo(first_period, last_period, periods, locked_value)

Bases: tuple

property first_period

Alias for field number 0

property last_period

Alias for field number 1

property periods

Alias for field number 2

property locked_value

Alias for field number 3

class Downtime(start_period, end_period)

Bases: tuple

property start_period

Alias for field number 0

property end_period

Alias for field number 1

class StakerFlags(wind_down_flag, restake_flag, measure_work_flag, snapshot_flag)

Bases: tuple

property wind_down_flag

Alias for field number 0

property restake_flag

Alias for field number 1

property measure_work_flag

Alias for field number 2

property snapshot_flag

Alias for field number 3

class StakerInfo(value, current_committed_period, next_committed_period, last_committed_period, lock_restake_until_period, completed_work, worker_start_period, worker, flags)

Bases: tuple

property value

Alias for field number 0

property current_committed_period

Alias for field number 1

property next_committed_period

Alias for field number 2

property last_committed_period

Alias for field number 3

property lock_restake_until_period

Alias for field number 4

property completed_work

Alias for field number 5

property worker_start_period

Alias for field number 6

property worker

Alias for field number 7

property flags

Alias for field number 8