crsv1

package
v0.0.0-...-739a9b5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: Apache-2.0 Imports: 22 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.

Index

Constants

View Source
const (
	Query_Decision_FullMethodName = "/samricotta.crs.v1.Query/Decision"
	Query_Params_FullMethodName   = "/samricotta.crs.v1.Query/Params"
)
View Source
const (
	Msg_CreateDecision_FullMethodName = "/samricotta.crs.v1.Msg/CreateDecision"
	Msg_Commit_FullMethodName         = "/samricotta.crs.v1.Msg/Commit"
	Msg_Reveal_FullMethodName         = "/samricotta.crs.v1.Msg/Reveal"
	Msg_UpdateParams_FullMethodName   = "/samricotta.crs.v1.Msg/UpdateParams"
)

Variables

View Source
var File_samricotta_crs_v1_query_proto protoreflect.FileDescriptor
View Source
var File_samricotta_crs_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_samricotta_crs_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "samricotta.crs.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDecision",
			Handler:    _Msg_CreateDecision_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _Msg_Commit_Handler,
		},
		{
			MethodName: "Reveal",
			Handler:    _Msg_Reveal_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "samricotta/crs/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: "samricotta.crs.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Decision",
			Handler:    _Query_Decision_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "samricotta/crs/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 Commit

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

func (*Commit) Descriptor deprecated

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetCommit

func (x *Commit) GetCommit() []byte

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type Decision

type Decision struct {
	EntryFee      *v1beta1.Coin          `protobuf:"bytes,1,opt,name=entry_fee,json=entryFee,proto3" json:"entry_fee,omitempty"`
	Options       [][]byte               `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	CommitTimeout *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=commit_timeout,json=commitTimeout,proto3" json:"commit_timeout,omitempty"`
	RevealTimeout *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=reveal_timeout,json=revealTimeout,proto3" json:"reveal_timeout,omitempty"`
	Refund        bool                   `protobuf:"varint,5,opt,name=refund,proto3" json:"refund,omitempty"`
	// if refund is true, only the funds from participants that did not reveal will be sent to this address
	PayoutAddress string `protobuf:"bytes,6,opt,name=payout_address,json=payoutAddress,proto3" json:"payout_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Decision) Descriptor deprecated

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

Deprecated: Use Decision.ProtoReflect.Descriptor instead.

func (*Decision) GetCommitTimeout

func (x *Decision) GetCommitTimeout() *timestamppb.Timestamp

func (*Decision) GetEntryFee

func (x *Decision) GetEntryFee() *v1beta1.Coin

func (*Decision) GetOptions

func (x *Decision) GetOptions() [][]byte

func (*Decision) GetPayoutAddress

func (x *Decision) GetPayoutAddress() string

func (*Decision) GetRefund

func (x *Decision) GetRefund() bool

func (*Decision) GetRevealTimeout

func (x *Decision) GetRevealTimeout() *timestamppb.Timestamp

func (*Decision) ProtoMessage

func (*Decision) ProtoMessage()

func (*Decision) ProtoReflect

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

func (*Decision) Reset

func (x *Decision) Reset()

func (*Decision) String

func (x *Decision) String() string

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 is the state that must be provided at genesis.

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 {
	CreateDecision(ctx context.Context, in *MsgCreateDecision, opts ...grpc.CallOption) (*MsgCreateDecisionResponse, error)
	Commit(ctx context.Context, in *MsgCommit, opts ...grpc.CallOption) (*MsgCommitResponse, error)
	Reveal(ctx context.Context, in *MsgReveal, opts ...grpc.CallOption) (*MsgRevealResponse, error)
	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 MsgCommit

type MsgCommit struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// id of the decision
	DecisionId uint64 `protobuf:"varint,2,opt,name=decision_id,json=decisionId,proto3" json:"decision_id,omitempty"`
	// hash of the commit, must be sha256(decision_id + ":" + option_chosen + ":" + salt)
	// salt must be exactly 32 bytes
	Commit []byte `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCommit) Descriptor deprecated

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

Deprecated: Use MsgCommit.ProtoReflect.Descriptor instead.

func (*MsgCommit) GetCommit

func (x *MsgCommit) GetCommit() []byte

func (*MsgCommit) GetDecisionId

func (x *MsgCommit) GetDecisionId() uint64

func (*MsgCommit) GetSender

func (x *MsgCommit) GetSender() string

func (*MsgCommit) ProtoMessage

func (*MsgCommit) ProtoMessage()

func (*MsgCommit) ProtoReflect

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

func (*MsgCommit) Reset

func (x *MsgCommit) Reset()

func (*MsgCommit) String

func (x *MsgCommit) String() string

type MsgCommitResponse

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

func (*MsgCommitResponse) Descriptor deprecated

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

Deprecated: Use MsgCommitResponse.ProtoReflect.Descriptor instead.

func (*MsgCommitResponse) ProtoMessage

func (*MsgCommitResponse) ProtoMessage()

func (*MsgCommitResponse) ProtoReflect

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

func (*MsgCommitResponse) Reset

func (x *MsgCommitResponse) Reset()

func (*MsgCommitResponse) String

func (x *MsgCommitResponse) String() string

type MsgCreateDecision

type MsgCreateDecision struct {

	// creator of the decision, can be a user or a module
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// options for the decision for example political candidate names or game moves.
	// It can also be empty to allow use cases like a price oracle or a RNG.
	Options [][]byte `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// time in which the commit can be done in seconds
	CommitDuration uint64 `protobuf:"varint,3,opt,name=commit_duration,json=commitDuration,proto3" json:"commit_duration,omitempty"`
	// time in which the reveal can be done in seconds
	RevealDuration uint64 `protobuf:"varint,4,opt,name=reveal_duration,json=revealDuration,proto3" json:"reveal_duration,omitempty"`
	// entry price for the decision
	EntryFee *v1beta1.Coin `protobuf:"bytes,5,opt,name=entry_fee,json=entryFee,proto3" json:"entry_fee,omitempty"`
	// if the entry fee should be refunded to participants after the reveal period ends
	Refund bool `protobuf:"varint,6,opt,name=refund,proto3" json:"refund,omitempty"`
	// address to which send the entry fees to, if refund is true, only the fees of the
	// participants which NOT revealed will be sent to this address (sort of a slashing)
	SendFundsTo string `protobuf:"bytes,7,opt,name=send_funds_to,json=sendFundsTo,proto3" json:"send_funds_to,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateDecision represents a request to create a new decision-making process.

func (*MsgCreateDecision) Descriptor deprecated

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

Deprecated: Use MsgCreateDecision.ProtoReflect.Descriptor instead.

func (*MsgCreateDecision) GetCommitDuration

func (x *MsgCreateDecision) GetCommitDuration() uint64

func (*MsgCreateDecision) GetEntryFee

func (x *MsgCreateDecision) GetEntryFee() *v1beta1.Coin

func (*MsgCreateDecision) GetOptions

func (x *MsgCreateDecision) GetOptions() [][]byte

func (*MsgCreateDecision) GetRefund

func (x *MsgCreateDecision) GetRefund() bool

func (*MsgCreateDecision) GetRevealDuration

func (x *MsgCreateDecision) GetRevealDuration() uint64

func (*MsgCreateDecision) GetSendFundsTo

func (x *MsgCreateDecision) GetSendFundsTo() string

func (*MsgCreateDecision) GetSender

func (x *MsgCreateDecision) GetSender() string

func (*MsgCreateDecision) ProtoMessage

func (*MsgCreateDecision) ProtoMessage()

func (*MsgCreateDecision) ProtoReflect

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

func (*MsgCreateDecision) Reset

func (x *MsgCreateDecision) Reset()

func (*MsgCreateDecision) String

func (x *MsgCreateDecision) String() string

type MsgCreateDecisionResponse

type MsgCreateDecisionResponse struct {

	// id of the decision, must be provided in the commit and reveal messages
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCreateDecisionResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateDecisionResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateDecisionResponse) GetId

func (x *MsgCreateDecisionResponse) GetId() uint64

func (*MsgCreateDecisionResponse) ProtoMessage

func (*MsgCreateDecisionResponse) ProtoMessage()

func (*MsgCreateDecisionResponse) ProtoReflect

func (*MsgCreateDecisionResponse) Reset

func (x *MsgCreateDecisionResponse) Reset()

func (*MsgCreateDecisionResponse) String

func (x *MsgCreateDecisionResponse) String() string

type MsgReveal

type MsgReveal struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// id of the decision to reveal
	DecisionId uint64 `protobuf:"varint,2,opt,name=decision_id,json=decisionId,proto3" json:"decision_id,omitempty"`
	// salt used in the commit
	Salt []byte `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty"`
	// option chosen
	OptionChosen []byte `protobuf:"bytes,4,opt,name=option_chosen,json=optionChosen,proto3" json:"option_chosen,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgReveal) Descriptor deprecated

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

Deprecated: Use MsgReveal.ProtoReflect.Descriptor instead.

func (*MsgReveal) GetDecisionId

func (x *MsgReveal) GetDecisionId() uint64

func (*MsgReveal) GetOptionChosen

func (x *MsgReveal) GetOptionChosen() []byte

func (*MsgReveal) GetSalt

func (x *MsgReveal) GetSalt() []byte

func (*MsgReveal) GetSender

func (x *MsgReveal) GetSender() string

func (*MsgReveal) ProtoMessage

func (*MsgReveal) ProtoMessage()

func (*MsgReveal) ProtoReflect

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

func (*MsgReveal) Reset

func (x *MsgReveal) Reset()

func (*MsgReveal) String

func (x *MsgReveal) String() string

type MsgRevealResponse

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

func (*MsgRevealResponse) Descriptor deprecated

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

Deprecated: Use MsgRevealResponse.ProtoReflect.Descriptor instead.

func (*MsgRevealResponse) ProtoMessage

func (*MsgRevealResponse) ProtoMessage()

func (*MsgRevealResponse) ProtoReflect

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

func (*MsgRevealResponse) Reset

func (x *MsgRevealResponse) Reset()

func (*MsgRevealResponse) String

func (x *MsgRevealResponse) String() string

type MsgServer

type MsgServer interface {
	CreateDecision(context.Context, *MsgCreateDecision) (*MsgCreateDecisionResponse, error)
	Commit(context.Context, *MsgCommit) (*MsgCommitResponse, error)
	Reveal(context.Context, *MsgReveal) (*MsgRevealResponse, error)
	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 that controls the module
	// NOTE: Defaults to the governance module unless overwritten.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the module 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.

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.

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 {
	CommitTimeout uint64 `protobuf:"varint,1,opt,name=commit_timeout,json=commitTimeout,proto3" json:"commit_timeout,omitempty"` // in seconds
	RevealTimeout uint64 `protobuf:"varint,2,opt,name=reveal_timeout,json=revealTimeout,proto3" json:"reveal_timeout,omitempty"` // in seconds
	// contains filtered or unexported fields
}

Params defines the parameters of the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetCommitTimeout

func (x *Params) GetCommitTimeout() uint64

func (*Params) GetRevealTimeout

func (x *Params) GetRevealTimeout() uint64

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 {
	// Counter returns the current counter value.
	Decision(ctx context.Context, in *QueryDecisionRequest, opts ...grpc.CallOption) (*QueryDecisionResponse, error)
	// Params returns the module parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryDecisionRequest

type QueryDecisionRequest struct {

	// id defines the id of the decision to query for.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryDecisionRequest) Descriptor deprecated

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

Deprecated: Use QueryDecisionRequest.ProtoReflect.Descriptor instead.

func (*QueryDecisionRequest) GetId

func (x *QueryDecisionRequest) GetId() uint64

func (*QueryDecisionRequest) ProtoMessage

func (*QueryDecisionRequest) ProtoMessage()

func (*QueryDecisionRequest) ProtoReflect

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

func (*QueryDecisionRequest) Reset

func (x *QueryDecisionRequest) Reset()

func (*QueryDecisionRequest) String

func (x *QueryDecisionRequest) String() string

type QueryDecisionResponse

type QueryDecisionResponse struct {

	// decision defines the decision for the given id.
	Decision *Decision `protobuf:"bytes,1,opt,name=decision,proto3" json:"decision,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryDecisionResponse) Descriptor deprecated

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

Deprecated: Use QueryDecisionResponse.ProtoReflect.Descriptor instead.

func (*QueryDecisionResponse) GetDecision

func (x *QueryDecisionResponse) GetDecision() *Decision

func (*QueryDecisionResponse) ProtoMessage

func (*QueryDecisionResponse) ProtoMessage()

func (*QueryDecisionResponse) ProtoReflect

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

func (*QueryDecisionResponse) Reset

func (x *QueryDecisionResponse) Reset()

func (*QueryDecisionResponse) String

func (x *QueryDecisionResponse) String() string

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 {
	// Counter returns the current counter value.
	Decision(context.Context, *QueryDecisionRequest) (*QueryDecisionResponse, error)
	// Params returns the module parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// contains filtered or unexported methods
}

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

type Reveal

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

func (*Reveal) Descriptor deprecated

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

Deprecated: Use Reveal.ProtoReflect.Descriptor instead.

func (*Reveal) GetOption

func (x *Reveal) GetOption() []byte

func (*Reveal) ProtoMessage

func (*Reveal) ProtoMessage()

func (*Reveal) ProtoReflect

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

func (*Reveal) Reset

func (x *Reveal) Reset()

func (*Reveal) String

func (x *Reveal) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Commit

func (UnimplementedMsgServer) CreateDecision

func (UnimplementedMsgServer) Reveal

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Decision

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.

Jump to

Keyboard shortcuts

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