utxverifierv1

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 17 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

View Source
const (
	Query_Params_FullMethodName         = "/utxverifier.v1.Query/Params"
	Query_VerifiedTxHash_FullMethodName = "/utxverifier.v1.Query/VerifiedTxHash"
)
View Source
const (
	Msg_UpdateParams_FullMethodName = "/utxverifier.v1.Msg/UpdateParams"
)

Variables

View Source
var File_utxverifier_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_utxverifier_v1_query_proto protoreflect.FileDescriptor
View Source
var File_utxverifier_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_utxverifier_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "utxverifier.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "utxverifier/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "utxverifier.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "VerifiedTxHash",
			Handler:    _Query_VerifiedTxHash_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "utxverifier/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type GenesisState

type GenesisState struct {

	// Params defines all the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the module genesis state

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

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 MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

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

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {
	SomeValue bool `protobuf:"varint,2,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
	// contains filtered or unexported fields
}

Params defines the set of module parameters.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetSomeValue

func (x *Params) GetSomeValue() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// Params queries all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// VerifiedTxHash queries if a transaction hash is verified on a specific chain.
	VerifiedTxHash(ctx context.Context, in *QueryVerifiedTxHashRequest, opts ...grpc.CallOption) (*QueryVerifiedTxHashResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryParamsRequest

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

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params defines the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Params queries all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// VerifiedTxHash queries if a transaction hash is verified on a specific chain.
	VerifiedTxHash(context.Context, *QueryVerifiedTxHashRequest) (*QueryVerifiedTxHashResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QueryVerifiedTxHashRequest

type QueryVerifiedTxHashRequest struct {

	// chain is the identifier of the chain to query.
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// hash is the hash of the transaction to query.
	TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// contains filtered or unexported fields
}

QueryVerifiedTxHashRequest is the request type for querying if a transaction hash is verified.

func (*QueryVerifiedTxHashRequest) Descriptor deprecated

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

Deprecated: Use QueryVerifiedTxHashRequest.ProtoReflect.Descriptor instead.

func (*QueryVerifiedTxHashRequest) GetChain

func (x *QueryVerifiedTxHashRequest) GetChain() string

func (*QueryVerifiedTxHashRequest) GetTxHash

func (x *QueryVerifiedTxHashRequest) GetTxHash() string

func (*QueryVerifiedTxHashRequest) ProtoMessage

func (*QueryVerifiedTxHashRequest) ProtoMessage()

func (*QueryVerifiedTxHashRequest) ProtoReflect

func (*QueryVerifiedTxHashRequest) Reset

func (x *QueryVerifiedTxHashRequest) Reset()

func (*QueryVerifiedTxHashRequest) String

func (x *QueryVerifiedTxHashRequest) String() string

type QueryVerifiedTxHashResponse

type QueryVerifiedTxHashResponse struct {

	// metadata contains full details if the transaction hash is verified.
	Metadata *VerifiedTxMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// found indicates whether the tx was found in the store.
	Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

QueryVerifiedTxHashResponse is the response type for the Query/VerifiedTxHash RPC method.

func (*QueryVerifiedTxHashResponse) Descriptor deprecated

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

Deprecated: Use QueryVerifiedTxHashResponse.ProtoReflect.Descriptor instead.

func (*QueryVerifiedTxHashResponse) GetFound

func (x *QueryVerifiedTxHashResponse) GetFound() bool

func (*QueryVerifiedTxHashResponse) GetMetadata

func (*QueryVerifiedTxHashResponse) ProtoMessage

func (*QueryVerifiedTxHashResponse) ProtoMessage()

func (*QueryVerifiedTxHashResponse) ProtoReflect

func (*QueryVerifiedTxHashResponse) Reset

func (x *QueryVerifiedTxHashResponse) Reset()

func (*QueryVerifiedTxHashResponse) String

func (x *QueryVerifiedTxHashResponse) String() string

type USDValue

type USDValue struct {
	Amount   string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Decimals uint32 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// contains filtered or unexported fields
}

func (*USDValue) Descriptor deprecated

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

Deprecated: Use USDValue.ProtoReflect.Descriptor instead.

func (*USDValue) GetAmount

func (x *USDValue) GetAmount() string

func (*USDValue) GetDecimals

func (x *USDValue) GetDecimals() uint32

func (*USDValue) ProtoMessage

func (*USDValue) ProtoMessage()

func (*USDValue) ProtoReflect

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

func (*USDValue) Reset

func (x *USDValue) Reset()

func (*USDValue) String

func (x *USDValue) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type VerifiedTxMetadata

type VerifiedTxMetadata struct {
	Minted        bool      `protobuf:"varint,1,opt,name=minted,proto3" json:"minted,omitempty"`                                   // is tokens minted for the tx hash
	PayloadHashes []string  `protobuf:"bytes,2,rep,name=payload_hashes,json=payloadHashes,proto3" json:"payload_hashes,omitempty"` // payload_hashes emitted in the tx
	UsdValue      *USDValue `protobuf:"bytes,3,opt,name=usd_value,json=usdValue,proto3" json:"usd_value,omitempty"`                // usd value emitted in the tx
	Sender        string    `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`                                    // sender of the tx
	// contains filtered or unexported fields
}

VerifiedTxMetadata is a format to store verifiedTxs

func (*VerifiedTxMetadata) Descriptor deprecated

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

Deprecated: Use VerifiedTxMetadata.ProtoReflect.Descriptor instead.

func (*VerifiedTxMetadata) GetMinted

func (x *VerifiedTxMetadata) GetMinted() bool

func (*VerifiedTxMetadata) GetPayloadHashes

func (x *VerifiedTxMetadata) GetPayloadHashes() []string

func (*VerifiedTxMetadata) GetSender

func (x *VerifiedTxMetadata) GetSender() string

func (*VerifiedTxMetadata) GetUsdValue

func (x *VerifiedTxMetadata) GetUsdValue() *USDValue

func (*VerifiedTxMetadata) ProtoMessage

func (*VerifiedTxMetadata) ProtoMessage()

func (*VerifiedTxMetadata) ProtoReflect

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

func (*VerifiedTxMetadata) Reset

func (x *VerifiedTxMetadata) Reset()

func (*VerifiedTxMetadata) String

func (x *VerifiedTxMetadata) String() string

Jump to

Keyboard shortcuts

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