evmos.proto.autogen.py.cosmos.slashing.v1beta1
Classes
|
GenesisState defines the slashing module's genesis state. |
|
MissedBlock contains height and missed status as boolean. |
|
|
|
|
|
MsgUnjail defines the Msg/Unjail request type |
MsgUnjailResponse defines the Msg/Unjail response type |
|
|
MsgUpdateParams is the Msg/UpdateParams request type. |
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. |
|
|
Params represents the parameters used for by the slashing module. |
QueryParamsRequest is the request type for the Query/Params RPC method |
|
|
QueryParamsResponse is the response type for the Query/Params RPC method |
|
QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method |
|
QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method |
|
QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC method |
|
QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method |
|
|
|
SigningInfo stores validator signing info of corresponding address. |
|
ValidatorMissedBlocks contains array of missed blocks of corresponding address. |
|
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:
MessageGenesisState 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.
- 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:
MessageMissedBlock contains height and missed status as boolean.
- 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:
MessageMsgUnjail defines the Msg/Unjail request type
- class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUnjailResponse[source]
Bases:
MessageMsgUnjailResponse 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:
MessageMsgUpdateParams is the Msg/UpdateParams request type. .. versionadded:: 0.47
- class evmos.proto.autogen.py.cosmos.slashing.v1beta1.MsgUpdateParamsResponse[source]
Bases:
MessageMsgUpdateParamsResponse 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:
MessageParams represents the parameters used for by the slashing module.
- 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:
MessageQueryParamsRequest 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:
MessageQueryParamsResponse is the response type for the Query/Params RPC method
- class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfoRequest(cons_address: str = <object object>)[source]
Bases:
MessageQuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method
- class evmos.proto.autogen.py.cosmos.slashing.v1beta1.QuerySigningInfoResponse(val_signing_info: ~evmos.proto.autogen.py.cosmos.slashing.v1beta1.ValidatorSigningInfo = <object object>)[source]
Bases:
MessageQuerySigningInfoResponse 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:
MessageQuerySigningInfosRequest 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:
MessageQuerySigningInfosResponse 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:
MessageSigningInfo stores validator signing info of corresponding 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:
MessageValidatorMissedBlocks contains array of missed blocks of corresponding 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:
MessageValidatorSigningInfo defines a validator’s signing info for monitoring their liveness activity.
- 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.