wasmv1

package
v0.0.0-...-c13f9de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_ibc_lightclients_wasm_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_ibc_lightclients_wasm_v1_query_proto protoreflect.FileDescriptor
View Source
var File_ibc_lightclients_wasm_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_ibc_lightclients_wasm_v1_wasm_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Checksums deprecated

type Checksums struct {
	Checksums [][]byte `protobuf:"bytes,1,rep,name=checksums,proto3" json:"checksums,omitempty"`
	// contains filtered or unexported fields
}

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.

Deprecated: Do not use.

func (*Checksums) Descriptor deprecated

func (*Checksums) Descriptor() ([]byte, []int)

Deprecated: Use Checksums.ProtoReflect.Descriptor instead.

func (*Checksums) GetChecksums

func (x *Checksums) GetChecksums() [][]byte

func (*Checksums) ProtoMessage

func (*Checksums) ProtoMessage()

func (*Checksums) ProtoReflect

func (x *Checksums) ProtoReflect() protoreflect.Message

func (*Checksums) Reset

func (x *Checksums) Reset()

func (*Checksums) String

func (x *Checksums) String() string

type ClientMessage

type ClientMessage struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ClientMessage) Descriptor deprecated

func (*ClientMessage) Descriptor() ([]byte, []int)

Deprecated: Use ClientMessage.ProtoReflect.Descriptor instead.

func (*ClientMessage) GetData

func (x *ClientMessage) GetData() []byte

func (*ClientMessage) ProtoMessage

func (*ClientMessage) ProtoMessage()

func (*ClientMessage) ProtoReflect

func (x *ClientMessage) ProtoReflect() protoreflect.Message

func (*ClientMessage) Reset

func (x *ClientMessage) Reset()

func (*ClientMessage) String

func (x *ClientMessage) String() string

type ClientState

type ClientState struct {

	// bytes encoding the client state of the underlying light client
	// implemented as a Wasm contract.
	Data         []byte     `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Checksum     []byte     `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
	LatestHeight *v1.Height `protobuf:"bytes,3,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"`
	// contains filtered or unexported fields
}

Wasm light client's Client state

func (*ClientState) Descriptor deprecated

func (*ClientState) Descriptor() ([]byte, []int)

Deprecated: Use ClientState.ProtoReflect.Descriptor instead.

func (*ClientState) GetChecksum

func (x *ClientState) GetChecksum() []byte

func (*ClientState) GetData

func (x *ClientState) GetData() []byte

func (*ClientState) GetLatestHeight

func (x *ClientState) GetLatestHeight() *v1.Height

func (*ClientState) ProtoMessage

func (*ClientState) ProtoMessage()

func (*ClientState) ProtoReflect

func (x *ClientState) ProtoReflect() protoreflect.Message

func (*ClientState) Reset

func (x *ClientState) Reset()

func (*ClientState) String

func (x *ClientState) String() string

type ConsensusState

type ConsensusState struct {

	// bytes encoding the consensus state of the underlying light client
	// implemented as a Wasm contract.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Wasm light client's ConsensusState

func (*ConsensusState) Descriptor deprecated

func (*ConsensusState) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusState.ProtoReflect.Descriptor instead.

func (*ConsensusState) GetData

func (x *ConsensusState) GetData() []byte

func (*ConsensusState) ProtoMessage

func (*ConsensusState) ProtoMessage()

func (*ConsensusState) ProtoReflect

func (x *ConsensusState) ProtoReflect() protoreflect.Message

func (*ConsensusState) Reset

func (x *ConsensusState) Reset()

func (*ConsensusState) String

func (x *ConsensusState) String() string

type Contract

type Contract struct {

	// contract byte code
	CodeBytes []byte `protobuf:"bytes,1,opt,name=code_bytes,json=codeBytes,proto3" json:"code_bytes,omitempty"`
	// contains filtered or unexported fields
}

Contract stores contract code

func (*Contract) Descriptor deprecated

func (*Contract) Descriptor() ([]byte, []int)

Deprecated: Use Contract.ProtoReflect.Descriptor instead.

func (*Contract) GetCodeBytes

func (x *Contract) GetCodeBytes() []byte

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) ProtoReflect

func (x *Contract) ProtoReflect() protoreflect.Message

func (*Contract) Reset

func (x *Contract) Reset()

func (*Contract) String

func (x *Contract) String() string

type GenesisState

type GenesisState struct {

	// uploaded light client wasm contracts
	Contracts []*Contract `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines 08-wasm's keeper genesis state

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetContracts

func (x *GenesisState) GetContracts() []*Contract

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgMigrateContract

type MsgMigrateContract struct {

	// signer address
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// the client id of the contract
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// checksum is the sha256 hash of the new wasm byte code for the contract
	Checksum []byte `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// the json encoded message to be passed to the contract on migration
	Msg []byte `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

MsgMigrateContract defines the request type for the MigrateContract rpc.

func (*MsgMigrateContract) Descriptor deprecated

func (*MsgMigrateContract) Descriptor() ([]byte, []int)

Deprecated: Use MsgMigrateContract.ProtoReflect.Descriptor instead.

func (*MsgMigrateContract) GetChecksum

func (x *MsgMigrateContract) GetChecksum() []byte

func (*MsgMigrateContract) GetClientId

func (x *MsgMigrateContract) GetClientId() string

func (*MsgMigrateContract) GetMsg

func (x *MsgMigrateContract) GetMsg() []byte

func (*MsgMigrateContract) GetSigner

func (x *MsgMigrateContract) GetSigner() string

func (*MsgMigrateContract) ProtoMessage

func (*MsgMigrateContract) ProtoMessage()

func (*MsgMigrateContract) ProtoReflect

func (x *MsgMigrateContract) ProtoReflect() protoreflect.Message

func (*MsgMigrateContract) Reset

func (x *MsgMigrateContract) Reset()

func (*MsgMigrateContract) String

func (x *MsgMigrateContract) String() string

type MsgMigrateContractResponse

type MsgMigrateContractResponse struct {
	// contains filtered or unexported fields
}

MsgMigrateContractResponse defines the response type for the MigrateContract rpc

func (*MsgMigrateContractResponse) Descriptor deprecated

func (*MsgMigrateContractResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgMigrateContractResponse.ProtoReflect.Descriptor instead.

func (*MsgMigrateContractResponse) ProtoMessage

func (*MsgMigrateContractResponse) ProtoMessage()

func (*MsgMigrateContractResponse) ProtoReflect

func (*MsgMigrateContractResponse) Reset

func (x *MsgMigrateContractResponse) Reset()

func (*MsgMigrateContractResponse) String

func (x *MsgMigrateContractResponse) String() string

type MsgRemoveChecksum

type MsgRemoveChecksum struct {

	// signer address
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// checksum is the sha256 hash to be removed from the store
	Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc.

func (*MsgRemoveChecksum) Descriptor deprecated

func (*MsgRemoveChecksum) Descriptor() ([]byte, []int)

Deprecated: Use MsgRemoveChecksum.ProtoReflect.Descriptor instead.

func (*MsgRemoveChecksum) GetChecksum

func (x *MsgRemoveChecksum) GetChecksum() []byte

func (*MsgRemoveChecksum) GetSigner

func (x *MsgRemoveChecksum) GetSigner() string

func (*MsgRemoveChecksum) ProtoMessage

func (*MsgRemoveChecksum) ProtoMessage()

func (*MsgRemoveChecksum) ProtoReflect

func (x *MsgRemoveChecksum) ProtoReflect() protoreflect.Message

func (*MsgRemoveChecksum) Reset

func (x *MsgRemoveChecksum) Reset()

func (*MsgRemoveChecksum) String

func (x *MsgRemoveChecksum) String() string

type MsgRemoveChecksumResponse

type MsgRemoveChecksumResponse struct {
	// contains filtered or unexported fields
}

MsgStoreChecksumResponse defines the response type for the StoreCode rpc

func (*MsgRemoveChecksumResponse) Descriptor deprecated

func (*MsgRemoveChecksumResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgRemoveChecksumResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveChecksumResponse) ProtoMessage

func (*MsgRemoveChecksumResponse) ProtoMessage()

func (*MsgRemoveChecksumResponse) ProtoReflect

func (*MsgRemoveChecksumResponse) Reset

func (x *MsgRemoveChecksumResponse) Reset()

func (*MsgRemoveChecksumResponse) String

func (x *MsgRemoveChecksumResponse) String() string

type MsgStoreCode

type MsgStoreCode struct {

	// signer address
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// wasm byte code of light client contract. It can be raw or gzip compressed
	WasmByteCode []byte `protobuf:"bytes,2,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty"`
	// contains filtered or unexported fields
}

MsgStoreCode defines the request type for the StoreCode rpc.

func (*MsgStoreCode) Descriptor deprecated

func (*MsgStoreCode) Descriptor() ([]byte, []int)

Deprecated: Use MsgStoreCode.ProtoReflect.Descriptor instead.

func (*MsgStoreCode) GetSigner

func (x *MsgStoreCode) GetSigner() string

func (*MsgStoreCode) GetWasmByteCode

func (x *MsgStoreCode) GetWasmByteCode() []byte

func (*MsgStoreCode) ProtoMessage

func (*MsgStoreCode) ProtoMessage()

func (*MsgStoreCode) ProtoReflect

func (x *MsgStoreCode) ProtoReflect() protoreflect.Message

func (*MsgStoreCode) Reset

func (x *MsgStoreCode) Reset()

func (*MsgStoreCode) String

func (x *MsgStoreCode) String() string

type MsgStoreCodeResponse

type MsgStoreCodeResponse struct {

	// checksum is the sha256 hash of the stored code
	Checksum []byte `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

MsgStoreCodeResponse defines the response type for the StoreCode rpc

func (*MsgStoreCodeResponse) Descriptor deprecated

func (*MsgStoreCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgStoreCodeResponse.ProtoReflect.Descriptor instead.

func (*MsgStoreCodeResponse) GetChecksum

func (x *MsgStoreCodeResponse) GetChecksum() []byte

func (*MsgStoreCodeResponse) ProtoMessage

func (*MsgStoreCodeResponse) ProtoMessage()

func (*MsgStoreCodeResponse) ProtoReflect

func (x *MsgStoreCodeResponse) ProtoReflect() protoreflect.Message

func (*MsgStoreCodeResponse) Reset

func (x *MsgStoreCodeResponse) Reset()

func (*MsgStoreCodeResponse) String

func (x *MsgStoreCodeResponse) String() string

type QueryChecksumsRequest

type QueryChecksumsRequest struct {

	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryChecksumsRequest) Descriptor deprecated

func (*QueryChecksumsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryChecksumsRequest.ProtoReflect.Descriptor instead.

func (*QueryChecksumsRequest) GetPagination

func (x *QueryChecksumsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryChecksumsRequest) ProtoMessage

func (*QueryChecksumsRequest) ProtoMessage()

func (*QueryChecksumsRequest) ProtoReflect

func (x *QueryChecksumsRequest) ProtoReflect() protoreflect.Message

func (*QueryChecksumsRequest) Reset

func (x *QueryChecksumsRequest) Reset()

func (*QueryChecksumsRequest) String

func (x *QueryChecksumsRequest) String() string

type QueryChecksumsResponse

type QueryChecksumsResponse struct {

	// checksums is a list of the hex encoded checksums of all wasm codes stored.
	Checksums []string `protobuf:"bytes,1,rep,name=checksums,proto3" json:"checksums,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryChecksumsResponse) Descriptor deprecated

func (*QueryChecksumsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryChecksumsResponse.ProtoReflect.Descriptor instead.

func (*QueryChecksumsResponse) GetChecksums

func (x *QueryChecksumsResponse) GetChecksums() []string

func (*QueryChecksumsResponse) GetPagination

func (x *QueryChecksumsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryChecksumsResponse) ProtoMessage

func (*QueryChecksumsResponse) ProtoMessage()

func (*QueryChecksumsResponse) ProtoReflect

func (x *QueryChecksumsResponse) ProtoReflect() protoreflect.Message

func (*QueryChecksumsResponse) Reset

func (x *QueryChecksumsResponse) Reset()

func (*QueryChecksumsResponse) String

func (x *QueryChecksumsResponse) String() string

type QueryCodeRequest

type QueryCodeRequest struct {

	// checksum is a hex encoded string of the code stored.
	Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryCodeRequest) Descriptor deprecated

func (*QueryCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryCodeRequest.ProtoReflect.Descriptor instead.

func (*QueryCodeRequest) GetChecksum

func (x *QueryCodeRequest) GetChecksum() string

func (*QueryCodeRequest) ProtoMessage

func (*QueryCodeRequest) ProtoMessage()

func (*QueryCodeRequest) ProtoReflect

func (x *QueryCodeRequest) ProtoReflect() protoreflect.Message

func (*QueryCodeRequest) Reset

func (x *QueryCodeRequest) Reset()

func (*QueryCodeRequest) String

func (x *QueryCodeRequest) String() string

type QueryCodeResponse

type QueryCodeResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryCodeResponse) Descriptor deprecated

func (*QueryCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryCodeResponse.ProtoReflect.Descriptor instead.

func (*QueryCodeResponse) GetData

func (x *QueryCodeResponse) GetData() []byte

func (*QueryCodeResponse) ProtoMessage

func (*QueryCodeResponse) ProtoMessage()

func (*QueryCodeResponse) ProtoReflect

func (x *QueryCodeResponse) ProtoReflect() protoreflect.Message

func (*QueryCodeResponse) Reset

func (x *QueryCodeResponse) Reset()

func (*QueryCodeResponse) String

func (x *QueryCodeResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL