evmos.proto.autogen.py.ibc.lightclients.solomachine.v2

Classes

ChannelStateData(path, channel)

ChannelStateData returns the SignBytes data for channel state verification.

ClientState(sequence, is_frozen, ...)

ClientState defines a solo machine client that tracks the current consensus state and if the client is frozen.

ClientStateData(path, client_state)

ClientStateData returns the SignBytes data for client state verification.

ConnectionStateData(path, connection)

ConnectionStateData returns the SignBytes data for connection state verification.

ConsensusState(public_key, diversifier, ...)

ConsensusState defines a solo machine consensus state.

ConsensusStateData(path, consensus_state)

ConsensusStateData returns the SignBytes data for consensus state verification.

DataType(*values)

DataType defines the type of solo machine proof being created.

Header(sequence, timestamp, signature, ...)

Header defines a solo machine consensus header

HeaderData(new_pub_key, new_diversifier)

HeaderData returns the SignBytes data for update verification.

Misbehaviour(client_id, sequence, ...)

Misbehaviour defines misbehaviour for a solo machine which consists of a sequence and two signatures over different messages at that sequence.

NextSequenceRecvData(path, next_seq_recv)

NextSequenceRecvData returns the SignBytes data for verification of the next sequence to be received.

PacketAcknowledgementData(path, acknowledgement)

PacketAcknowledgementData returns the SignBytes data for acknowledgement verification.

PacketCommitmentData(path, commitment)

PacketCommitmentData returns the SignBytes data for packet commitment verification.

PacketReceiptAbsenceData(path)

PacketReceiptAbsenceData returns the SignBytes data for packet receipt absence verification.

SignBytes(sequence, timestamp, diversifier, ...)

SignBytes defines the signed bytes used for signature verification.

SignatureAndData(signature, data_type, data, ...)

SignatureAndData contains a signature and the data signed over to create that signature.

TimestampedSignatureData(signature_data, ...)

TimestampedSignatureData contains the signature data and the timestamp of the signature.

class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ChannelStateData(path: bytes = <object object>, channel: ~evmos.proto.autogen.py.ibc.core.channel.v1.Channel = <object object>)[source]

Bases: Message

ChannelStateData returns the SignBytes data for channel state verification.

channel: ___core_channel_v1__.Channel = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ClientState(sequence: int = <object object>, is_frozen: bool = <object object>, consensus_state: ~evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ConsensusState = <object object>, allow_update_after_proposal: bool = <object object>)[source]

Bases: Message

ClientState defines a solo machine client that tracks the current consensus state and if the client is frozen.

allow_update_after_proposal: bool = <object object>

when set to true, will allow governance to update a solo machine client. The client will be unfrozen if it is frozen.

consensus_state: ConsensusState = <object object>
is_frozen: bool = <object object>

frozen sequence of the solo machine

sequence: int = <object object>

latest sequence of the client state

class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ClientStateData(path: bytes = <object object>, client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

ClientStateData returns the SignBytes data for client state verification.

client_state: betterproto_lib_google_protobuf.Any = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ConnectionStateData(path: bytes = <object object>, connection: ~evmos.proto.autogen.py.ibc.core.connection.v1.ConnectionEnd = <object object>)[source]

Bases: Message

ConnectionStateData returns the SignBytes data for connection state verification.

connection: ___core_connection_v1__.ConnectionEnd = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ConsensusState(public_key: ~betterproto.lib.google.protobuf.Any = <object object>, diversifier: str = <object object>, timestamp: int = <object object>)[source]

Bases: Message

ConsensusState defines a solo machine consensus state. The sequence of a consensus state is contained in the “height” key used in storing the consensus state.

diversifier: str = <object object>

diversifier allows the same public key to be re-used across different solo machine clients (potentially on different chains) without being considered misbehaviour.

public_key: betterproto_lib_google_protobuf.Any = <object object>

public key of the solo machine

timestamp: int = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.ConsensusStateData(path: bytes = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

ConsensusStateData returns the SignBytes data for consensus state verification.

consensus_state: betterproto_lib_google_protobuf.Any = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.DataType(*values)[source]

Bases: Enum

DataType defines the type of solo machine proof being created. This is done to preserve uniqueness of different data sign byte encodings.

DATA_TYPE_CHANNEL_STATE = 4

Data type for channel state verification

DATA_TYPE_CLIENT_STATE = 1

Data type for client state verification

DATA_TYPE_CONNECTION_STATE = 3

Data type for connection state verification

DATA_TYPE_CONSENSUS_STATE = 2

Data type for consensus state verification

DATA_TYPE_HEADER = 9

Data type for header verification

DATA_TYPE_NEXT_SEQUENCE_RECV = 8

Data type for next sequence recv verification

DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6

Data type for packet acknowledgement verification

DATA_TYPE_PACKET_COMMITMENT = 5

Data type for packet commitment verification

DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7

Data type for packet receipt absence verification

DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0

Default State

class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.Header(sequence: int = <object object>, timestamp: int = <object object>, signature: bytes = <object object>, new_public_key: ~betterproto.lib.google.protobuf.Any = <object object>, new_diversifier: str = <object object>)[source]

Bases: Message

Header defines a solo machine consensus header

new_diversifier: str = <object object>
new_public_key: betterproto_lib_google_protobuf.Any = <object object>
sequence: int = <object object>

sequence to update solo machine public key at

signature: bytes = <object object>
timestamp: int = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.HeaderData(new_pub_key: ~betterproto.lib.google.protobuf.Any = <object object>, new_diversifier: str = <object object>)[source]

Bases: Message

HeaderData returns the SignBytes data for update verification.

new_diversifier: str = <object object>

header diversifier

new_pub_key: betterproto_lib_google_protobuf.Any = <object object>

header public key

class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.Misbehaviour(client_id: str = <object object>, sequence: int = <object object>, signature_one: ~evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.SignatureAndData = <object object>, signature_two: ~evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.SignatureAndData = <object object>)[source]

Bases: Message

Misbehaviour defines misbehaviour for a solo machine which consists of a sequence and two signatures over different messages at that sequence.

client_id: str = <object object>
sequence: int = <object object>
signature_one: SignatureAndData = <object object>
signature_two: SignatureAndData = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.NextSequenceRecvData(path: bytes = <object object>, next_seq_recv: int = <object object>)[source]

Bases: Message

NextSequenceRecvData returns the SignBytes data for verification of the next sequence to be received.

next_seq_recv: int = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.PacketAcknowledgementData(path: bytes = <object object>, acknowledgement: bytes = <object object>)[source]

Bases: Message

PacketAcknowledgementData returns the SignBytes data for acknowledgement verification.

acknowledgement: bytes = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.PacketCommitmentData(path: bytes = <object object>, commitment: bytes = <object object>)[source]

Bases: Message

PacketCommitmentData returns the SignBytes data for packet commitment verification.

commitment: bytes = <object object>
path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData(path: bytes = <object object>)[source]

Bases: Message

PacketReceiptAbsenceData returns the SignBytes data for packet receipt absence verification.

path: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.SignBytes(sequence: int = <object object>, timestamp: int = <object object>, diversifier: str = <object object>, data_type: ~evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.DataType = <object object>, data: bytes = <object object>)[source]

Bases: Message

SignBytes defines the signed bytes used for signature verification.

data: bytes = <object object>

marshaled data

data_type: DataType = <object object>

type of the data used

diversifier: str = <object object>
sequence: int = <object object>
timestamp: int = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.SignatureAndData(signature: bytes = <object object>, data_type: ~evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.DataType = <object object>, data: bytes = <object object>, timestamp: int = <object object>)[source]

Bases: Message

SignatureAndData contains a signature and the data signed over to create that signature.

data: bytes = <object object>
data_type: DataType = <object object>
signature: bytes = <object object>
timestamp: int = <object object>
class evmos.proto.autogen.py.ibc.lightclients.solomachine.v2.TimestampedSignatureData(signature_data: bytes = <object object>, timestamp: int = <object object>)[source]

Bases: Message

TimestampedSignatureData contains the signature data and the timestamp of the signature.

signature_data: bytes = <object object>
timestamp: int = <object object>