evmos.proto.autogen.py.cosmos.slashing.v1beta1

Classes

GenesisState(params, signing_infos, ...)

GenesisState defines the slashing module's genesis state.

MissedBlock(index, missed)

MissedBlock contains height and missed status as boolean.

MsgBase()

MsgStub(channel, *[, timeout, deadline, ...])

MsgUnjail(validator_addr)

MsgUnjail defines the Msg/Unjail request type

MsgUnjailResponse()

MsgUnjailResponse defines the Msg/Unjail response type

MsgUpdateParams(authority, params)

MsgUpdateParams is the Msg/UpdateParams request type.

MsgUpdateParamsResponse()

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Params(signed_blocks_window, ...)

Params represents the parameters used for by the slashing module.

QueryBase()

QueryParamsRequest()

QueryParamsRequest is the request type for the Query/Params RPC method

QueryParamsResponse(params)

QueryParamsResponse is the response type for the Query/Params RPC method

QuerySigningInfoRequest(cons_address)

QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method

QuerySigningInfoResponse(val_signing_info)

QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method

QuerySigningInfosRequest(pagination)

QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC method

QuerySigningInfosResponse(info, pagination)

QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method

QueryStub(channel, *[, timeout, deadline, ...])

SigningInfo(address, validator_signing_info)

SigningInfo stores validator signing info of corresponding address.

ValidatorMissedBlocks(address, missed_blocks)

ValidatorMissedBlocks contains array of missed blocks of corresponding address.

ValidatorSigningInfo(address, start_height, ...)

ValidatorSigningInfo defines a validator's signing info for monitoring their liveness activity.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.GenesisState(params: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.Params = <object object>, signing_infos: ~typing.List[~evmos.proto.autogen.py.cosmos.slashing.v1beta1.SigningInfo] = <object object>, missed_blocks: ~typing.List[~evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorMissedBlocks] = <object object>)[source]

Bases: Message

GenesisState defines the slashing module’s genesis state.

missed_blocks: List[ValidatorMissedBlocks] = <object object>

missed_blocks represents a map between validator addresses and their missed blocks.

params: Params = <object object>

params defines all the parameters of the module.

signing_infos: List[SigningInfo] = <object object>

signing_infos represents a map between validator addresses and their signing infos.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MissedBlock(index: int = <object object>, missed: bool = <object object>)[source]

Bases: Message

MissedBlock contains height and missed status as boolean.

index: int = <object object>

index is the height at which the block was missed.

missed: bool = <object object>

missed is the missed status.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgBase[source]

Bases: ServiceBase

async unjail(msg_unjail: MsgUnjail) MsgUnjailResponse[source]
async update_params(msg_update_params: MsgUpdateParams) MsgUpdateParamsResponse[source]
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async unjail(msg_unjail: MsgUnjail, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUnjailResponse[source]
async update_params(msg_update_params: MsgUpdateParams, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUpdateParamsResponse[source]
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUnjail(validator_addr: str = <object object>)[source]

Bases: Message

MsgUnjail defines the Msg/Unjail request type

validator_addr: str = <object object>
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUnjailResponse[source]

Bases: Message

MsgUnjailResponse defines the Msg/Unjail response type

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUpdateParams(authority: str = <object object>, params: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.Params = <object object>)[source]

Bases: Message

MsgUpdateParams is the Msg/UpdateParams request type. .. versionadded:: 0.47

authority: str = <object object>

authority is the address that controls the module (defaults to x/gov unless overwritten).

params: Params = <object object>

params defines the x/slashing parameters to update. NOTE: All parameters must be supplied.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUpdateParamsResponse[source]

Bases: Message

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. .. versionadded:: 0.47

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.Params(signed_blocks_window: int = <object object>, min_signed_per_window: bytes = <object object>, downtime_jail_duration: ~datetime.timedelta = <object object>, slash_fraction_double_sign: bytes = <object object>, slash_fraction_downtime: bytes = <object object>)[source]

Bases: Message

Params represents the parameters used for by the slashing module.

downtime_jail_duration: timedelta = <object object>
min_signed_per_window: bytes = <object object>
signed_blocks_window: int = <object object>
slash_fraction_double_sign: bytes = <object object>
slash_fraction_downtime: bytes = <object object>
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QueryBase[source]

Bases: ServiceBase

async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
async signing_info(query_signing_info_request: QuerySigningInfoRequest) QuerySigningInfoResponse[source]
async signing_infos(query_signing_infos_request: QuerySigningInfosRequest) QuerySigningInfosResponse[source]
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QueryParamsRequest[source]

Bases: Message

QueryParamsRequest is the request type for the Query/Params RPC method

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QueryParamsResponse(params: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.Params = <object object>)[source]

Bases: Message

QueryParamsResponse is the response type for the Query/Params RPC method

params: Params = <object object>
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfoRequest(cons_address: str = <object object>)[source]

Bases: Message

QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method

cons_address: str = <object object>

cons_address is the address to query signing info of

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfoResponse(val_signing_info: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorSigningInfo = <object object>)[source]

Bases: Message

QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method

val_signing_info: ValidatorSigningInfo = <object object>

val_signing_info is the signing info of requested val cons address

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfosRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC method

pagination: PageRequest = <object object>
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfosResponse(info: ~typing.List[~evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorSigningInfo] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method

info: List[ValidatorSigningInfo] = <object object>

info is the signing info of all validators

pagination: PageResponse = <object object>
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async params(query_params_request: QueryParamsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryParamsResponse[source]
async signing_info(query_signing_info_request: QuerySigningInfoRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QuerySigningInfoResponse[source]
async signing_infos(query_signing_infos_request: QuerySigningInfosRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QuerySigningInfosResponse[source]
class evmos.proto.autogen.py.cosmos.slashing.v1beta1.SigningInfo(address: str = <object object>, validator_signing_info: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorSigningInfo = <object object>)[source]

Bases: Message

SigningInfo stores validator signing info of corresponding address.

address: str = <object object>

address is the validator address.

validator_signing_info: ValidatorSigningInfo = <object object>

validator_signing_info represents the signing info of this validator.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorMissedBlocks(address: str = <object object>, missed_blocks: ~typing.List[~evmos.proto.autogen.py.cosmos.slashing.v1beta1.MissedBlock] = <object object>)[source]

Bases: Message

ValidatorMissedBlocks contains array of missed blocks of corresponding address.

address: str = <object object>

address is the validator address.

missed_blocks: List[MissedBlock] = <object object>

missed_blocks is an array of missed blocks by the validator.

class evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorSigningInfo(address: str = <object object>, start_height: int = <object object>, index_offset: int = <object object>, jailed_until: ~datetime.datetime = <object object>, tombstoned: bool = <object object>, missed_blocks_counter: int = <object object>)[source]

Bases: Message

ValidatorSigningInfo defines a validator’s signing info for monitoring their liveness activity.

address: str = <object object>
index_offset: int = <object object>

Index which is incremented every time a validator is bonded in a block and _may_ have signed a pre-commit or not. This in conjunction with the signed_blocks_window param determines the index in the missed block bitmap.

jailed_until: datetime = <object object>

Timestamp until which the validator is jailed due to liveness downtime.

missed_blocks_counter: int = <object object>

A counter of missed (unsigned) blocks. It is used to avoid unnecessary reads in the missed block bitmap.

start_height: int = <object object>

Height at which validator was first a candidate OR was un-jailed

tombstoned: bool = <object object>

Whether or not a validator has been tombstoned (killed out of validator set). It is set once the validator commits an equivocation or for any other configured misbehavior.