evmos.proto.autogen.py.ibc.lightclients.wasm.v1

Classes

Checksums(checksums)

Checksums defines a list of all checksums that are stored Deprecated: This message is deprecated in favor of storing the checksums using a Collections.KeySet.

ClientMessage(data)

Wasm light client message (either header(s) or misbehaviour)

ClientState(data, checksum, latest_height)

Wasm light client's Client state

ConsensusState(data)

Wasm light client's ConsensusState

Contract(code_bytes)

Contract stores contract code

GenesisState(contracts)

GenesisState defines 08-wasm's keeper genesis state

MsgBase()

MsgMigrateContract(signer, client_id, ...)

MsgMigrateContract defines the request type for the MigrateContract rpc.

MsgMigrateContractResponse()

MsgMigrateContractResponse defines the response type for the MigrateContract rpc

MsgRemoveChecksum(signer, checksum)

MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.

MsgRemoveChecksumResponse()

MsgStoreChecksumResponse defines the response type for the StoreCode rpc

MsgStoreCode(signer, wasm_byte_code)

MsgStoreCode defines the request type for the StoreCode rpc.

MsgStoreCodeResponse(checksum)

MsgStoreCodeResponse defines the response type for the StoreCode rpc

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

QueryBase()

QueryChecksumsRequest(pagination)

QueryChecksumsRequest is the request type for the Query/Checksums RPC method.

QueryChecksumsResponse(checksums, pagination)

QueryChecksumsResponse is the response type for the Query/Checksums RPC method.

QueryCodeRequest(checksum)

QueryCodeRequest is the request type for the Query/Code RPC method.

QueryCodeResponse(data)

QueryCodeResponse is the response type for the Query/Code RPC method.

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

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.Checksums(checksums: ~typing.List[bytes] = <object object>)[source]

Bases: Message

Checksums defines a list of all checksums that are stored Deprecated: This message is deprecated in favor of storing the checksums using a Collections.KeySet.

checksums: List[bytes] = <object object>
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.ClientMessage(data: bytes = <object object>)[source]

Bases: Message

Wasm light client message (either header(s) or misbehaviour)

data: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.ClientState(data: bytes = <object object>, checksum: bytes = <object object>, latest_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>)[source]

Bases: Message

Wasm light client’s Client state

checksum: bytes = <object object>
data: bytes = <object object>

bytes encoding the client state of the underlying light client implemented as a Wasm contract.

latest_height: Height = <object object>
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.ConsensusState(data: bytes = <object object>)[source]

Bases: Message

Wasm light client’s ConsensusState

data: bytes = <object object>

bytes encoding the consensus state of the underlying light client implemented as a Wasm contract.

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.Contract(code_bytes: bytes = <object object>)[source]

Bases: Message

Contract stores contract code

code_bytes: bytes = <object object>

contract byte code

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.GenesisState(contracts: ~typing.List[~evmos.proto.autogen.py.ibc.lightclients.wasm.v1.Contract] = <object object>)[source]

Bases: Message

GenesisState defines 08-wasm’s keeper genesis state

contracts: List[Contract] = <object object>

uploaded light client wasm contracts

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgBase[source]

Bases: ServiceBase

async migrate_contract(msg_migrate_contract: MsgMigrateContract) MsgMigrateContractResponse[source]
async remove_checksum(msg_remove_checksum: MsgRemoveChecksum) MsgRemoveChecksumResponse[source]
async store_code(msg_store_code: MsgStoreCode) MsgStoreCodeResponse[source]
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgMigrateContract(signer: str = <object object>, client_id: str = <object object>, checksum: bytes = <object object>, msg: bytes = <object object>)[source]

Bases: Message

MsgMigrateContract defines the request type for the MigrateContract rpc.

checksum: bytes = <object object>

checksum is the sha256 hash of the new wasm byte code for the contract

client_id: str = <object object>

the client id of the contract

msg: bytes = <object object>

the json encoded message to be passed to the contract on migration

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgMigrateContractResponse[source]

Bases: Message

MsgMigrateContractResponse defines the response type for the MigrateContract rpc

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgRemoveChecksum(signer: str = <object object>, checksum: bytes = <object object>)[source]

Bases: Message

MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.

checksum: bytes = <object object>

checksum is the sha256 hash to be removed from the store

signer: str = <object object>

signer address

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse[source]

Bases: Message

MsgStoreChecksumResponse defines the response type for the StoreCode rpc

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgStoreCode(signer: str = <object object>, wasm_byte_code: bytes = <object object>)[source]

Bases: Message

MsgStoreCode defines the request type for the StoreCode rpc.

signer: str = <object object>

signer address

wasm_byte_code: bytes = <object object>

wasm byte code of light client contract. It can be raw or gzip compressed

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.MsgStoreCodeResponse(checksum: bytes = <object object>)[source]

Bases: Message

MsgStoreCodeResponse defines the response type for the StoreCode rpc

checksum: bytes = <object object>

checksum is the sha256 hash of the stored code

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.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 migrate_contract(msg_migrate_contract: MsgMigrateContract, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgMigrateContractResponse[source]
async remove_checksum(msg_remove_checksum: MsgRemoveChecksum, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgRemoveChecksumResponse[source]
async store_code(msg_store_code: MsgStoreCode, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgStoreCodeResponse[source]
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.QueryBase[source]

Bases: ServiceBase

async checksums(query_checksums_request: QueryChecksumsRequest) QueryChecksumsResponse[source]
async code(query_code_request: QueryCodeRequest) QueryCodeResponse[source]
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.QueryChecksumsRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryChecksumsRequest is the request type for the Query/Checksums RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.QueryChecksumsResponse(checksums: ~typing.List[str] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryChecksumsResponse is the response type for the Query/Checksums RPC method.

checksums: List[str] = <object object>

checksums is a list of the hex encoded checksums of all wasm codes stored.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.QueryCodeRequest(checksum: str = <object object>)[source]

Bases: Message

QueryCodeRequest is the request type for the Query/Code RPC method.

checksum: str = <object object>

checksum is a hex encoded string of the code stored.

class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.QueryCodeResponse(data: bytes = <object object>)[source]

Bases: Message

QueryCodeResponse is the response type for the Query/Code RPC method.

data: bytes = <object object>
class evmos.proto.autogen.py.ibc.lightclients.wasm.v1.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 checksums(query_checksums_request: QueryChecksumsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryChecksumsResponse[source]
async code(query_code_request: QueryCodeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCodeResponse[source]