evmos.proto.autogen.py.ibc.core.client.v1

Classes

ClientConsensusStates(client_id, ...)

ClientConsensusStates defines all the stored consensus states for a given client.

ClientUpdateProposal(title, description, ...)

ClientUpdateProposal is a governance proposal.

ConsensusStateWithHeight(height, consensus_state)

ConsensusStateWithHeight defines a consensus state with an additional height field.

GenesisMetadata(key, value)

GenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata

GenesisState(clients, clients_consensus, ...)

GenesisState defines the ibc client submodule's genesis state.

Height(revision_number, revision_height)

Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same.

IdentifiedClientState(client_id, client_state)

IdentifiedClientState defines a client state with an additional client identifier field.

IdentifiedGenesisMetadata(client_id, ...)

IdentifiedGenesisMetadata has the client metadata with the corresponding client id.

MsgBase()

MsgCreateClient(client_state, ...)

MsgCreateClient defines a message to create an IBC client

MsgCreateClientResponse()

MsgCreateClientResponse defines the Msg/CreateClient response type.

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

MsgSubmitMisbehaviour(client_id, ...)

MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour.

MsgSubmitMisbehaviourResponse()

MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response type.

MsgUpdateClient(client_id, header, signer)

MsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header.

MsgUpdateClientResponse()

MsgUpdateClientResponse defines the Msg/UpdateClient response type.

MsgUpgradeClient(client_id, client_state, ...)

MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state

MsgUpgradeClientResponse()

MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.

Params(allowed_clients)

Params defines the set of IBC light client parameters.

QueryBase()

QueryClientParamsRequest()

QueryClientParamsRequest is the request type for the Query/ClientParams RPC method.

QueryClientParamsResponse(params)

QueryClientParamsResponse is the response type for the Query/ClientParams RPC method.

QueryClientStateRequest(client_id)

QueryClientStateRequest is the request type for the Query/ClientState RPC method

QueryClientStateResponse(client_state, ...)

QueryClientStateResponse is the response type for the Query/ClientState RPC method.

QueryClientStatesRequest(pagination)

QueryClientStatesRequest is the request type for the Query/ClientStates RPC method

QueryClientStatesResponse(client_states, ...)

QueryClientStatesResponse is the response type for the Query/ClientStates RPC method.

QueryClientStatusRequest(client_id)

QueryClientStatusRequest is the request type for the Query/ClientStatus RPC method

QueryClientStatusResponse(status)

QueryClientStatusResponse is the response type for the Query/ClientStatus RPC method.

QueryConsensusStateRequest(client_id, ...)

QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method.

QueryConsensusStateResponse(consensus_state, ...)

QueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method

QueryConsensusStatesRequest(client_id, ...)

QueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method.

QueryConsensusStatesResponse(...)

QueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method

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

QueryUpgradedClientStateRequest()

QueryUpgradedClientStateRequest is the request type for the Query/UpgradedClientState RPC method

QueryUpgradedClientStateResponse(...)

QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method.

QueryUpgradedConsensusStateRequest()

QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method

QueryUpgradedConsensusStateResponse(...)

QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.

UpgradeProposal(title, description, plan, ...)

UpgradeProposal is a gov Content type for initiating an IBC breaking upgrade.

class evmos.proto.autogen.py.ibc.core.client.v1.ClientConsensusStates(client_id: str = <object object>, consensus_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight] = <object object>)[source]

Bases: Message

ClientConsensusStates defines all the stored consensus states for a given client.

client_id: str = <object object>

client identifier

consensus_states: List[ConsensusStateWithHeight] = <object object>

consensus states and their heights associated with the client

class evmos.proto.autogen.py.ibc.core.client.v1.ClientUpdateProposal(title: str = <object object>, description: str = <object object>, subject_client_id: str = <object object>, substitute_client_id: str = <object object>)[source]

Bases: Message

ClientUpdateProposal is a governance proposal. If it passes, the substitute client’s latest consensus state is copied over to the subject client. The proposal handler may fail if the subject and the substitute do not match in client and chain parameters (with exception to latest height, frozen height, and chain-id).

description: str = <object object>

the description of the proposal

subject_client_id: str = <object object>

the client identifier for the client to be updated if the proposal passes

substitute_client_id: str = <object object>

the substitute client identifier for the client standing in for the subject client

title: str = <object object>

the title of the update proposal

class evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight(height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

ConsensusStateWithHeight defines a consensus state with an additional height field.

consensus_state: Any = <object object>

consensus state

height: Height = <object object>

consensus state height

class evmos.proto.autogen.py.ibc.core.client.v1.GenesisMetadata(key: bytes = <object object>, value: bytes = <object object>)[source]

Bases: Message

GenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata

key: bytes = <object object>

store key of metadata without clientID-prefix

value: bytes = <object object>

metadata value

class evmos.proto.autogen.py.ibc.core.client.v1.GenesisState(clients: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState] = <object object>, clients_consensus: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ClientConsensusStates] = <object object>, clients_metadata: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedGenesisMetadata] = <object object>, params: ~evmos.proto.autogen.py.ibc.core.client.v1.Params = <object object>, create_localhost: bool = <object object>, next_client_sequence: int = <object object>)[source]

Bases: Message

GenesisState defines the ibc client submodule’s genesis state.

clients: List[IdentifiedClientState] = <object object>

client states with their corresponding identifiers

clients_consensus: List[ClientConsensusStates] = <object object>

consensus states from each client

clients_metadata: List[IdentifiedGenesisMetadata] = <object object>

metadata from each client

create_localhost: bool = <object object>

create localhost on initialization

next_client_sequence: int = <object object>

the sequence for the next generated client identifier

params: Params = <object object>
class evmos.proto.autogen.py.ibc.core.client.v1.Height(revision_number: int = <object object>, revision_height: int = <object object>)[source]

Bases: Message

Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

revision_height: int = <object object>

the height within the given revision

revision_number: int = <object object>

the revision that the client is currently on

class evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState(client_id: str = <object object>, client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

IdentifiedClientState defines a client state with an additional client identifier field.

client_id: str = <object object>

client identifier

client_state: Any = <object object>

client state

class evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedGenesisMetadata(client_id: str = <object object>, client_metadata: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.GenesisMetadata] = <object object>)[source]

Bases: Message

IdentifiedGenesisMetadata has the client metadata with the corresponding client id.

client_id: str = <object object>
client_metadata: List[GenesisMetadata] = <object object>
class evmos.proto.autogen.py.ibc.core.client.v1.MsgBase[source]

Bases: ServiceBase

async create_client(msg_create_client: MsgCreateClient) MsgCreateClientResponse[source]
async submit_misbehaviour(msg_submit_misbehaviour: MsgSubmitMisbehaviour) MsgSubmitMisbehaviourResponse[source]
async update_client(msg_update_client: MsgUpdateClient) MsgUpdateClientResponse[source]
async upgrade_client(msg_upgrade_client: MsgUpgradeClient) MsgUpgradeClientResponse[source]
class evmos.proto.autogen.py.ibc.core.client.v1.MsgCreateClient(client_state: ~betterproto.lib.google.protobuf.Any = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]

Bases: Message

MsgCreateClient defines a message to create an IBC client

client_state: Any = <object object>

light client state

consensus_state: Any = <object object>

consensus state associated with the client that corresponds to a given height.

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.core.client.v1.MsgCreateClientResponse[source]

Bases: Message

MsgCreateClientResponse defines the Msg/CreateClient response type.

class evmos.proto.autogen.py.ibc.core.client.v1.MsgStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async create_client(msg_create_client: MsgCreateClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgCreateClientResponse[source]
async submit_misbehaviour(msg_submit_misbehaviour: MsgSubmitMisbehaviour, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgSubmitMisbehaviourResponse[source]
async update_client(msg_update_client: MsgUpdateClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgUpdateClientResponse[source]
async upgrade_client(msg_upgrade_client: MsgUpgradeClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgUpgradeClientResponse[source]
class evmos.proto.autogen.py.ibc.core.client.v1.MsgSubmitMisbehaviour(client_id: str = <object object>, misbehaviour: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]

Bases: Message

MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour.

client_id: str = <object object>

client unique identifier

misbehaviour: Any = <object object>

misbehaviour used for freezing the light client

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.core.client.v1.MsgSubmitMisbehaviourResponse[source]

Bases: Message

MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response type.

class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpdateClient(client_id: str = <object object>, header: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]

Bases: Message

MsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header.

client_id: str = <object object>

client unique identifier

header: Any = <object object>

header to update the light client

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpdateClientResponse[source]

Bases: Message

MsgUpdateClientResponse defines the Msg/UpdateClient response type.

class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpgradeClient(client_id: str = <object object>, client_state: ~betterproto.lib.google.protobuf.Any = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof_upgrade_client: bytes = <object object>, proof_upgrade_consensus_state: bytes = <object object>, signer: str = <object object>)[source]

Bases: Message

MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state

client_id: str = <object object>

client unique identifier

client_state: Any = <object object>

upgraded client state

consensus_state: Any = <object object>

upgraded consensus state, only contains enough information to serve as a basis of trust in update logic

proof_upgrade_client: bytes = <object object>

proof that old chain committed to new client

proof_upgrade_consensus_state: bytes = <object object>

proof that old chain committed to new consensus state

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpgradeClientResponse[source]

Bases: Message

MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.

class evmos.proto.autogen.py.ibc.core.client.v1.Params(allowed_clients: ~typing.List[str] = <object object>)[source]

Bases: Message

Params defines the set of IBC light client parameters.

allowed_clients: List[str] = <object object>

allowed_clients defines the list of allowed client state types.

class evmos.proto.autogen.py.ibc.core.client.v1.QueryBase[source]

Bases: ServiceBase

async client_params(query_client_params_request: QueryClientParamsRequest) QueryClientParamsResponse[source]
async client_state(query_client_state_request: QueryClientStateRequest) QueryClientStateResponse[source]
async client_states(query_client_states_request: QueryClientStatesRequest) QueryClientStatesResponse[source]
async client_status(query_client_status_request: QueryClientStatusRequest) QueryClientStatusResponse[source]
async consensus_state(query_consensus_state_request: QueryConsensusStateRequest) QueryConsensusStateResponse[source]
async consensus_states(query_consensus_states_request: QueryConsensusStatesRequest) QueryConsensusStatesResponse[source]
async upgraded_client_state(query_upgraded_client_state_request: QueryUpgradedClientStateRequest) QueryUpgradedClientStateResponse[source]
async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest) QueryUpgradedConsensusStateResponse[source]
class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientParamsRequest[source]

Bases: Message

QueryClientParamsRequest is the request type for the Query/ClientParams RPC method.

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientParamsResponse(params: ~evmos.proto.autogen.py.ibc.core.client.v1.Params = <object object>)[source]

Bases: Message

QueryClientParamsResponse is the response type for the Query/ClientParams RPC method.

params: Params = <object object>

params defines the parameters of the module.

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStateRequest(client_id: str = <object object>)[source]

Bases: Message

QueryClientStateRequest is the request type for the Query/ClientState RPC method

client_id: str = <object object>

client state unique identifier

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStateResponse(client_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof: bytes = <object object>, proof_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>)[source]

Bases: Message

QueryClientStateResponse is the response type for the Query/ClientState RPC method. Besides the client state, it includes a proof and the height from which the proof was retrieved.

client_state: Any = <object object>

client state associated with the request identifier

proof: bytes = <object object>

merkle proof of existence

proof_height: Height = <object object>

height at which the proof was retrieved

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatesRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryClientStatesRequest is the request type for the Query/ClientStates RPC method

pagination: PageRequest = <object object>

pagination request

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatesResponse(client_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryClientStatesResponse is the response type for the Query/ClientStates RPC method.

client_states: List[IdentifiedClientState] = <object object>

list of stored ClientStates of the chain.

pagination: PageResponse = <object object>

pagination response

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatusRequest(client_id: str = <object object>)[source]

Bases: Message

QueryClientStatusRequest is the request type for the Query/ClientStatus RPC method

client_id: str = <object object>

client unique identifier

class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatusResponse(status: str = <object object>)[source]

Bases: Message

QueryClientStatusResponse is the response type for the Query/ClientStatus RPC method. It returns the current status of the IBC client.

status: str = <object object>
class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStateRequest(client_id: str = <object object>, revision_number: int = <object object>, revision_height: int = <object object>, latest_height: bool = <object object>)[source]

Bases: Message

QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.

client_id: str = <object object>

client identifier

latest_height: bool = <object object>

latest_height overrrides the height field and queries the latest stored ConsensusState

revision_height: int = <object object>

consensus state revision height

revision_number: int = <object object>

consensus state revision number

class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStateResponse(consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof: bytes = <object object>, proof_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>)[source]

Bases: Message

QueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method

consensus_state: Any = <object object>

consensus state associated with the client identifier at the given height

proof: bytes = <object object>

merkle proof of existence

proof_height: Height = <object object>

height at which the proof was retrieved

class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStatesRequest(client_id: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method.

client_id: str = <object object>

client identifier

pagination: PageRequest = <object object>

pagination request

class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStatesResponse(consensus_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method

consensus_states: List[ConsensusStateWithHeight] = <object object>

consensus states associated with the identifier

pagination: PageResponse = <object object>

pagination response

class evmos.proto.autogen.py.ibc.core.client.v1.QueryStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async client_params(query_client_params_request: QueryClientParamsRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientParamsResponse[source]
async client_state(query_client_state_request: QueryClientStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStateResponse[source]
async client_states(query_client_states_request: QueryClientStatesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStatesResponse[source]
async client_status(query_client_status_request: QueryClientStatusRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStatusResponse[source]
async consensus_state(query_consensus_state_request: QueryConsensusStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryConsensusStateResponse[source]
async consensus_states(query_consensus_states_request: QueryConsensusStatesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryConsensusStatesResponse[source]
async upgraded_client_state(query_upgraded_client_state_request: QueryUpgradedClientStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryUpgradedClientStateResponse[source]
async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryUpgradedConsensusStateResponse[source]
class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedClientStateRequest[source]

Bases: Message

QueryUpgradedClientStateRequest is the request type for the Query/UpgradedClientState RPC method

class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedClientStateResponse(upgraded_client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method.

upgraded_client_state: Any = <object object>

client state associated with the request identifier

class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedConsensusStateRequest[source]

Bases: Message

QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method

class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedConsensusStateResponse(upgraded_consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.

upgraded_consensus_state: Any = <object object>

Consensus state associated with the request identifier

class evmos.proto.autogen.py.ibc.core.client.v1.UpgradeProposal(title: str = <object object>, description: str = <object object>, plan: ~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan = <object object>, upgraded_client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

UpgradeProposal is a gov Content type for initiating an IBC breaking upgrade.

description: str = <object object>
plan: Plan = <object object>
title: str = <object object>
upgraded_client_state: Any = <object object>

An UpgradedClientState must be provided to perform an IBC breaking upgrade. This will make the chain commit to the correct upgraded (self) client state before the upgrade occurs, so that connecting chains can verify that the new upgraded client is valid by verifying a proof on the previous version of the chain. This will allow IBC connections to persist smoothly across planned chain upgrades