govv1

package
v8.0.0-...-70924ed Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 19 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_SwitchParams_FullMethodName = "/fx.gov.v1.Query/SwitchParams"
	Query_CustomParams_FullMethodName = "/fx.gov.v1.Query/CustomParams"
)
View Source
const (
	Msg_UpdateStore_FullMethodName        = "/fx.gov.v1.Msg/UpdateStore"
	Msg_UpdateSwitchParams_FullMethodName = "/fx.gov.v1.Msg/UpdateSwitchParams"
	Msg_UpdateCustomParams_FullMethodName = "/fx.gov.v1.Msg/UpdateCustomParams"
)

Variables

View Source
var File_fx_gov_v1_gov_legacy_proto protoreflect.FileDescriptor
View Source
var File_fx_gov_v1_params_proto protoreflect.FileDescriptor
View Source
var File_fx_gov_v1_query_proto protoreflect.FileDescriptor
View Source
var File_fx_gov_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fx.gov.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateStore",
			Handler:    _Msg_UpdateStore_Handler,
		},
		{
			MethodName: "UpdateSwitchParams",
			Handler:    _Msg_UpdateSwitchParams_Handler,
		},
		{
			MethodName: "UpdateCustomParams",
			Handler:    _Msg_UpdateCustomParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fx/gov/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: "fx.gov.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SwitchParams",
			Handler:    _Query_SwitchParams_Handler,
		},
		{
			MethodName: "CustomParams",
			Handler:    _Query_CustomParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fx/gov/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 CustomParams

type CustomParams struct {

	// For EGF parameters, what percentage of deposit is required to enter the
	DepositRatio string `protobuf:"bytes,1,opt,name=deposit_ratio,json=depositRatio,proto3" json:"deposit_ratio,omitempty"`
	// Duration of the voting period.
	VotingPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
	// Minimum percentage of total stake needed to vote for a result to be
	// considered valid.
	Quorum string `protobuf:"bytes,3,opt,name=quorum,proto3" json:"quorum,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomParams) Descriptor deprecated

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

Deprecated: Use CustomParams.ProtoReflect.Descriptor instead.

func (*CustomParams) GetDepositRatio

func (x *CustomParams) GetDepositRatio() string

func (*CustomParams) GetQuorum

func (x *CustomParams) GetQuorum() string

func (*CustomParams) GetVotingPeriod

func (x *CustomParams) GetVotingPeriod() *durationpb.Duration

func (*CustomParams) ProtoMessage

func (*CustomParams) ProtoMessage()

func (*CustomParams) ProtoReflect

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

func (*CustomParams) Reset

func (x *CustomParams) Reset()

func (*CustomParams) String

func (x *CustomParams) String() string

type EGFParams deprecated

type EGFParams struct {
	EgfDepositThreshold *v1beta1.Coin `protobuf:"bytes,1,opt,name=egf_deposit_threshold,json=egfDepositThreshold,proto3" json:"egf_deposit_threshold,omitempty"`
	ClaimRatio          string        `protobuf:"bytes,2,opt,name=claim_ratio,json=claimRatio,proto3" json:"claim_ratio,omitempty"`
	// contains filtered or unexported fields
}

Deprecated

Deprecated: Do not use.

func (*EGFParams) Descriptor deprecated

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

Deprecated: Use EGFParams.ProtoReflect.Descriptor instead.

func (*EGFParams) GetClaimRatio

func (x *EGFParams) GetClaimRatio() string

func (*EGFParams) GetEgfDepositThreshold

func (x *EGFParams) GetEgfDepositThreshold() *v1beta1.Coin

func (*EGFParams) ProtoMessage

func (*EGFParams) ProtoMessage()

func (*EGFParams) ProtoReflect

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

func (*EGFParams) Reset

func (x *EGFParams) Reset()

func (*EGFParams) String

func (x *EGFParams) String() string

type LegacyParams deprecated

type LegacyParams struct {
	MsgType           string               `protobuf:"bytes,1,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"`
	MinDeposit        []*v1beta1.Coin      `protobuf:"bytes,2,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
	MinInitialDeposit *v1beta1.Coin        `protobuf:"bytes,3,opt,name=min_initial_deposit,json=minInitialDeposit,proto3" json:"min_initial_deposit,omitempty"`
	VotingPeriod      *durationpb.Duration `protobuf:"bytes,4,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
	Quorum            string               `protobuf:"bytes,5,opt,name=quorum,proto3" json:"quorum,omitempty"`
	MaxDepositPeriod  *durationpb.Duration `protobuf:"bytes,6,opt,name=max_deposit_period,json=maxDepositPeriod,proto3" json:"max_deposit_period,omitempty"`
	Threshold         string               `protobuf:"bytes,7,opt,name=threshold,proto3" json:"threshold,omitempty"`
	VetoThreshold     string               `protobuf:"bytes,8,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"`
	// The ratio representing the proportion of the deposit value that must be
	// paid at proposal submission.
	MinInitialDepositRatio string `` /* 131-byte string literal not displayed */
	// burn deposits if a proposal does not meet quorum
	BurnVoteQuorum bool `protobuf:"varint,10,opt,name=burn_vote_quorum,json=burnVoteQuorum,proto3" json:"burn_vote_quorum,omitempty"`
	// burn deposits if the proposal does not enter voting period
	BurnProposalDepositPrevote bool `` /* 145-byte string literal not displayed */
	// burn deposits if quorum with vote type no_veto is met
	BurnVoteVeto bool `protobuf:"varint,12,opt,name=burn_vote_veto,json=burnVoteVeto,proto3" json:"burn_vote_veto,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

Deprecated: Do not use.

func (*LegacyParams) Descriptor deprecated

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

Deprecated: Use LegacyParams.ProtoReflect.Descriptor instead.

func (*LegacyParams) GetBurnProposalDepositPrevote

func (x *LegacyParams) GetBurnProposalDepositPrevote() bool

func (*LegacyParams) GetBurnVoteQuorum

func (x *LegacyParams) GetBurnVoteQuorum() bool

func (*LegacyParams) GetBurnVoteVeto

func (x *LegacyParams) GetBurnVoteVeto() bool

func (*LegacyParams) GetMaxDepositPeriod

func (x *LegacyParams) GetMaxDepositPeriod() *durationpb.Duration

func (*LegacyParams) GetMinDeposit

func (x *LegacyParams) GetMinDeposit() []*v1beta1.Coin

func (*LegacyParams) GetMinInitialDeposit

func (x *LegacyParams) GetMinInitialDeposit() *v1beta1.Coin

func (*LegacyParams) GetMinInitialDepositRatio

func (x *LegacyParams) GetMinInitialDepositRatio() string

func (*LegacyParams) GetMsgType

func (x *LegacyParams) GetMsgType() string

func (*LegacyParams) GetQuorum

func (x *LegacyParams) GetQuorum() string

func (*LegacyParams) GetThreshold

func (x *LegacyParams) GetThreshold() string

func (*LegacyParams) GetVetoThreshold

func (x *LegacyParams) GetVetoThreshold() string

func (*LegacyParams) GetVotingPeriod

func (x *LegacyParams) GetVotingPeriod() *durationpb.Duration

func (*LegacyParams) ProtoMessage

func (*LegacyParams) ProtoMessage()

func (*LegacyParams) ProtoReflect

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

func (*LegacyParams) Reset

func (x *LegacyParams) Reset()

func (*LegacyParams) String

func (x *LegacyParams) String() string

type MsgClient

type MsgClient interface {
	UpdateStore(ctx context.Context, in *MsgUpdateStore, opts ...grpc.CallOption) (*MsgUpdateStoreResponse, error)
	UpdateSwitchParams(ctx context.Context, in *MsgUpdateSwitchParams, opts ...grpc.CallOption) (*MsgUpdateSwitchParamsResponse, error)
	UpdateCustomParams(ctx context.Context, in *MsgUpdateCustomParams, opts ...grpc.CallOption) (*MsgUpdateCustomParamsResponse, 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 {
	UpdateStore(context.Context, *MsgUpdateStore) (*MsgUpdateStoreResponse, error)
	UpdateSwitchParams(context.Context, *MsgUpdateSwitchParams) (*MsgUpdateSwitchParamsResponse, error)
	UpdateCustomParams(context.Context, *MsgUpdateCustomParams) (*MsgUpdateCustomParamsResponse, error)
	// contains filtered or unexported methods
}

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

type MsgUpdateCustomParams

type MsgUpdateCustomParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	MsgUrl    string `protobuf:"bytes,2,opt,name=msg_url,json=msgUrl,proto3" json:"msg_url,omitempty"`
	// NOTE: All parameters must be supplied.
	CustomParams *CustomParams `protobuf:"bytes,3,opt,name=custom_params,json=customParams,proto3" json:"custom_params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateCustomParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateCustomParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateCustomParams) GetAuthority

func (x *MsgUpdateCustomParams) GetAuthority() string

func (*MsgUpdateCustomParams) GetCustomParams

func (x *MsgUpdateCustomParams) GetCustomParams() *CustomParams

func (*MsgUpdateCustomParams) GetMsgUrl

func (x *MsgUpdateCustomParams) GetMsgUrl() string

func (*MsgUpdateCustomParams) ProtoMessage

func (*MsgUpdateCustomParams) ProtoMessage()

func (*MsgUpdateCustomParams) ProtoReflect

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

func (*MsgUpdateCustomParams) Reset

func (x *MsgUpdateCustomParams) Reset()

func (*MsgUpdateCustomParams) String

func (x *MsgUpdateCustomParams) String() string

type MsgUpdateCustomParamsResponse

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

func (*MsgUpdateCustomParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateCustomParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateCustomParamsResponse) ProtoMessage

func (*MsgUpdateCustomParamsResponse) ProtoMessage()

func (*MsgUpdateCustomParamsResponse) ProtoReflect

func (*MsgUpdateCustomParamsResponse) Reset

func (x *MsgUpdateCustomParamsResponse) Reset()

func (*MsgUpdateCustomParamsResponse) String

type MsgUpdateEGFParams deprecated

type MsgUpdateEGFParams struct {

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

MsgUpdateBaseParams is the Msg/UpdateParams request type. Deprecated: Do not use.

Deprecated: Do not use.

func (*MsgUpdateEGFParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateEGFParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateEGFParams) GetAuthority

func (x *MsgUpdateEGFParams) GetAuthority() string

func (*MsgUpdateEGFParams) GetParams

func (x *MsgUpdateEGFParams) GetParams() *EGFParams

func (*MsgUpdateEGFParams) ProtoMessage

func (*MsgUpdateEGFParams) ProtoMessage()

func (*MsgUpdateEGFParams) ProtoReflect

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

func (*MsgUpdateEGFParams) Reset

func (x *MsgUpdateEGFParams) Reset()

func (*MsgUpdateEGFParams) String

func (x *MsgUpdateEGFParams) String() string

type MsgUpdateFXParams deprecated

type MsgUpdateFXParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// 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. Deprecated: Do not use.

Deprecated: Do not use.

func (*MsgUpdateFXParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateFXParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateFXParams) GetAuthority

func (x *MsgUpdateFXParams) GetAuthority() string

func (*MsgUpdateFXParams) GetParams

func (x *MsgUpdateFXParams) GetParams() *Params

func (*MsgUpdateFXParams) ProtoMessage

func (*MsgUpdateFXParams) ProtoMessage()

func (*MsgUpdateFXParams) ProtoReflect

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

func (*MsgUpdateFXParams) Reset

func (x *MsgUpdateFXParams) Reset()

func (*MsgUpdateFXParams) String

func (x *MsgUpdateFXParams) String() string

type MsgUpdateParams deprecated

type MsgUpdateParams struct {
	Authority string        `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    *LegacyParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

Deprecated: Do not use.

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() *LegacyParams

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 MsgUpdateStore

type MsgUpdateStore struct {

	// authority is the address of the governance account.
	Authority    string         `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	UpdateStores []*UpdateStore `protobuf:"bytes,2,rep,name=update_stores,json=updateStores,proto3" json:"update_stores,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateStore) Descriptor deprecated

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

Deprecated: Use MsgUpdateStore.ProtoReflect.Descriptor instead.

func (*MsgUpdateStore) GetAuthority

func (x *MsgUpdateStore) GetAuthority() string

func (*MsgUpdateStore) GetUpdateStores

func (x *MsgUpdateStore) GetUpdateStores() []*UpdateStore

func (*MsgUpdateStore) ProtoMessage

func (*MsgUpdateStore) ProtoMessage()

func (*MsgUpdateStore) ProtoReflect

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

func (*MsgUpdateStore) Reset

func (x *MsgUpdateStore) Reset()

func (*MsgUpdateStore) String

func (x *MsgUpdateStore) String() string

type MsgUpdateStoreResponse

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

func (*MsgUpdateStoreResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateStoreResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateStoreResponse) ProtoMessage

func (*MsgUpdateStoreResponse) ProtoMessage()

func (*MsgUpdateStoreResponse) ProtoReflect

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

func (*MsgUpdateStoreResponse) Reset

func (x *MsgUpdateStoreResponse) Reset()

func (*MsgUpdateStoreResponse) String

func (x *MsgUpdateStoreResponse) String() string

type MsgUpdateSwitchParams

type MsgUpdateSwitchParams struct {

	// authority is the address of the governance account.
	Authority string        `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    *SwitchParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateSwitchParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateSwitchParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateSwitchParams) GetAuthority

func (x *MsgUpdateSwitchParams) GetAuthority() string

func (*MsgUpdateSwitchParams) GetParams

func (x *MsgUpdateSwitchParams) GetParams() *SwitchParams

func (*MsgUpdateSwitchParams) ProtoMessage

func (*MsgUpdateSwitchParams) ProtoMessage()

func (*MsgUpdateSwitchParams) ProtoReflect

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

func (*MsgUpdateSwitchParams) Reset

func (x *MsgUpdateSwitchParams) Reset()

func (*MsgUpdateSwitchParams) String

func (x *MsgUpdateSwitchParams) String() string

type MsgUpdateSwitchParamsResponse

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

func (*MsgUpdateSwitchParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateSwitchParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateSwitchParamsResponse) ProtoMessage

func (*MsgUpdateSwitchParamsResponse) ProtoMessage()

func (*MsgUpdateSwitchParamsResponse) ProtoReflect

func (*MsgUpdateSwitchParamsResponse) Reset

func (x *MsgUpdateSwitchParamsResponse) Reset()

func (*MsgUpdateSwitchParamsResponse) String

type Params deprecated

type Params struct {
	MsgType           string               `protobuf:"bytes,1,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"`
	MinDeposit        []*v1beta1.Coin      `protobuf:"bytes,2,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
	MinInitialDeposit *v1beta1.Coin        `protobuf:"bytes,3,opt,name=min_initial_deposit,json=minInitialDeposit,proto3" json:"min_initial_deposit,omitempty"`
	VotingPeriod      *durationpb.Duration `protobuf:"bytes,4,opt,name=voting_period,json=votingPeriod,proto3" json:"voting_period,omitempty"`
	Quorum            string               `protobuf:"bytes,5,opt,name=quorum,proto3" json:"quorum,omitempty"`
	MaxDepositPeriod  *durationpb.Duration `protobuf:"bytes,6,opt,name=max_deposit_period,json=maxDepositPeriod,proto3" json:"max_deposit_period,omitempty"`
	Threshold         string               `protobuf:"bytes,7,opt,name=threshold,proto3" json:"threshold,omitempty"`
	VetoThreshold     string               `protobuf:"bytes,8,opt,name=veto_threshold,json=vetoThreshold,proto3" json:"veto_threshold,omitempty"`
	// The ratio representing the proportion of the deposit value that must be
	// paid at proposal submission.
	MinInitialDepositRatio string `` /* 131-byte string literal not displayed */
	// burn deposits if a proposal does not meet quorum
	BurnVoteQuorum bool `protobuf:"varint,10,opt,name=burn_vote_quorum,json=burnVoteQuorum,proto3" json:"burn_vote_quorum,omitempty"`
	// burn deposits if the proposal does not enter voting period
	BurnProposalDepositPrevote bool `` /* 145-byte string literal not displayed */
	// burn deposits if quorum with vote type no_veto is met
	BurnVoteVeto bool `protobuf:"varint,12,opt,name=burn_vote_veto,json=burnVoteVeto,proto3" json:"burn_vote_veto,omitempty"`
	// contains filtered or unexported fields
}

Deprecated Params defines the fx x/gov module params

Deprecated: Do not use.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBurnProposalDepositPrevote

func (x *Params) GetBurnProposalDepositPrevote() bool

func (*Params) GetBurnVoteQuorum

func (x *Params) GetBurnVoteQuorum() bool

func (*Params) GetBurnVoteVeto

func (x *Params) GetBurnVoteVeto() bool

func (*Params) GetMaxDepositPeriod

func (x *Params) GetMaxDepositPeriod() *durationpb.Duration

func (*Params) GetMinDeposit

func (x *Params) GetMinDeposit() []*v1beta1.Coin

func (*Params) GetMinInitialDeposit

func (x *Params) GetMinInitialDeposit() *v1beta1.Coin

func (*Params) GetMinInitialDepositRatio

func (x *Params) GetMinInitialDepositRatio() string

func (*Params) GetMsgType

func (x *Params) GetMsgType() string

func (*Params) GetQuorum

func (x *Params) GetQuorum() string

func (*Params) GetThreshold

func (x *Params) GetThreshold() string

func (*Params) GetVetoThreshold

func (x *Params) GetVetoThreshold() string

func (*Params) GetVotingPeriod

func (x *Params) GetVotingPeriod() *durationpb.Duration

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 {
	SwitchParams(ctx context.Context, in *QuerySwitchParamsRequest, opts ...grpc.CallOption) (*QuerySwitchParamsResponse, error)
	CustomParams(ctx context.Context, in *QueryCustomParamsRequest, opts ...grpc.CallOption) (*QueryCustomParamsResponse, 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 QueryCustomParamsRequest

type QueryCustomParamsRequest struct {
	MsgUrl string `protobuf:"bytes,1,opt,name=msg_url,json=msgUrl,proto3" json:"msg_url,omitempty"`
	// contains filtered or unexported fields
}

QueryCustomParamsRequest is the request type for the Query/CustomParams RPC method.

func (*QueryCustomParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryCustomParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryCustomParamsRequest) GetMsgUrl

func (x *QueryCustomParamsRequest) GetMsgUrl() string

func (*QueryCustomParamsRequest) ProtoMessage

func (*QueryCustomParamsRequest) ProtoMessage()

func (*QueryCustomParamsRequest) ProtoReflect

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

func (*QueryCustomParamsRequest) Reset

func (x *QueryCustomParamsRequest) Reset()

func (*QueryCustomParamsRequest) String

func (x *QueryCustomParamsRequest) String() string

type QueryCustomParamsResponse

type QueryCustomParamsResponse struct {
	Params *CustomParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryCustomParamsResponse is the response type for the Query/CustomParams RPC method.

func (*QueryCustomParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryCustomParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryCustomParamsResponse) GetParams

func (x *QueryCustomParamsResponse) GetParams() *CustomParams

func (*QueryCustomParamsResponse) ProtoMessage

func (*QueryCustomParamsResponse) ProtoMessage()

func (*QueryCustomParamsResponse) ProtoReflect

func (*QueryCustomParamsResponse) Reset

func (x *QueryCustomParamsResponse) Reset()

func (*QueryCustomParamsResponse) String

func (x *QueryCustomParamsResponse) String() string

type QueryServer

type QueryServer interface {
	SwitchParams(context.Context, *QuerySwitchParamsRequest) (*QuerySwitchParamsResponse, error)
	CustomParams(context.Context, *QueryCustomParamsRequest) (*QueryCustomParamsResponse, error)
	// contains filtered or unexported methods
}

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

type QuerySwitchParamsRequest

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

QueryEGFParamsRequest is the request type for the Query/EGFParams RPC method.

func (*QuerySwitchParamsRequest) Descriptor deprecated

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

Deprecated: Use QuerySwitchParamsRequest.ProtoReflect.Descriptor instead.

func (*QuerySwitchParamsRequest) ProtoMessage

func (*QuerySwitchParamsRequest) ProtoMessage()

func (*QuerySwitchParamsRequest) ProtoReflect

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

func (*QuerySwitchParamsRequest) Reset

func (x *QuerySwitchParamsRequest) Reset()

func (*QuerySwitchParamsRequest) String

func (x *QuerySwitchParamsRequest) String() string

type QuerySwitchParamsResponse

type QuerySwitchParamsResponse struct {
	Params *SwitchParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryEGFParamsResponse is the response type for the Query/EGFParams RPC method.

func (*QuerySwitchParamsResponse) Descriptor deprecated

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

Deprecated: Use QuerySwitchParamsResponse.ProtoReflect.Descriptor instead.

func (*QuerySwitchParamsResponse) GetParams

func (x *QuerySwitchParamsResponse) GetParams() *SwitchParams

func (*QuerySwitchParamsResponse) ProtoMessage

func (*QuerySwitchParamsResponse) ProtoMessage()

func (*QuerySwitchParamsResponse) ProtoReflect

func (*QuerySwitchParamsResponse) Reset

func (x *QuerySwitchParamsResponse) Reset()

func (*QuerySwitchParamsResponse) String

func (x *QuerySwitchParamsResponse) String() string

type SwitchParams

type SwitchParams struct {
	DisablePrecompiles []string `protobuf:"bytes,1,rep,name=disable_precompiles,json=disablePrecompiles,proto3" json:"disable_precompiles,omitempty"`
	DisableMsgTypes    []string `protobuf:"bytes,2,rep,name=disable_msg_types,json=disableMsgTypes,proto3" json:"disable_msg_types,omitempty"`
	// contains filtered or unexported fields
}

func (*SwitchParams) Descriptor deprecated

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

Deprecated: Use SwitchParams.ProtoReflect.Descriptor instead.

func (*SwitchParams) GetDisableMsgTypes

func (x *SwitchParams) GetDisableMsgTypes() []string

func (*SwitchParams) GetDisablePrecompiles

func (x *SwitchParams) GetDisablePrecompiles() []string

func (*SwitchParams) ProtoMessage

func (*SwitchParams) ProtoMessage()

func (*SwitchParams) ProtoReflect

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

func (*SwitchParams) Reset

func (x *SwitchParams) Reset()

func (*SwitchParams) String

func (x *SwitchParams) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) UpdateStore

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

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 UpdateStore

type UpdateStore struct {
	Space    string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	OldValue string `protobuf:"bytes,3,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	Value    string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStore) Descriptor deprecated

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

Deprecated: Use UpdateStore.ProtoReflect.Descriptor instead.

func (*UpdateStore) GetKey

func (x *UpdateStore) GetKey() string

func (*UpdateStore) GetOldValue

func (x *UpdateStore) GetOldValue() string

func (*UpdateStore) GetSpace

func (x *UpdateStore) GetSpace() string

func (*UpdateStore) GetValue

func (x *UpdateStore) GetValue() string

func (*UpdateStore) ProtoMessage

func (*UpdateStore) ProtoMessage()

func (*UpdateStore) ProtoReflect

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

func (*UpdateStore) Reset

func (x *UpdateStore) Reset()

func (*UpdateStore) String

func (x *UpdateStore) String() string

Jump to

Keyboard shortcuts

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