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
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CustomParams
- func (*CustomParams) Descriptor() ([]byte, []int)deprecated
- func (x *CustomParams) GetDepositRatio() string
- func (x *CustomParams) GetQuorum() string
- func (x *CustomParams) GetVotingPeriod() *durationpb.Duration
- func (*CustomParams) ProtoMessage()
- func (x *CustomParams) ProtoReflect() protoreflect.Message
- func (x *CustomParams) Reset()
- func (x *CustomParams) String() string
- type EGFParamsdeprecated
- func (*EGFParams) Descriptor() ([]byte, []int)deprecated
- func (x *EGFParams) GetClaimRatio() string
- func (x *EGFParams) GetEgfDepositThreshold() *v1beta1.Coin
- func (*EGFParams) ProtoMessage()
- func (x *EGFParams) ProtoReflect() protoreflect.Message
- func (x *EGFParams) Reset()
- func (x *EGFParams) String() string
- type LegacyParamsdeprecated
- func (*LegacyParams) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyParams) GetBurnProposalDepositPrevote() bool
- func (x *LegacyParams) GetBurnVoteQuorum() bool
- func (x *LegacyParams) GetBurnVoteVeto() bool
- func (x *LegacyParams) GetMaxDepositPeriod() *durationpb.Duration
- func (x *LegacyParams) GetMinDeposit() []*v1beta1.Coin
- func (x *LegacyParams) GetMinInitialDeposit() *v1beta1.Coin
- func (x *LegacyParams) GetMinInitialDepositRatio() string
- func (x *LegacyParams) GetMsgType() string
- func (x *LegacyParams) GetQuorum() string
- func (x *LegacyParams) GetThreshold() string
- func (x *LegacyParams) GetVetoThreshold() string
- func (x *LegacyParams) GetVotingPeriod() *durationpb.Duration
- func (*LegacyParams) ProtoMessage()
- func (x *LegacyParams) ProtoReflect() protoreflect.Message
- func (x *LegacyParams) Reset()
- func (x *LegacyParams) String() string
- type MsgClient
- type MsgServer
- type MsgUpdateCustomParams
- func (*MsgUpdateCustomParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateCustomParams) GetAuthority() string
- func (x *MsgUpdateCustomParams) GetCustomParams() *CustomParams
- func (x *MsgUpdateCustomParams) GetMsgUrl() string
- func (*MsgUpdateCustomParams) ProtoMessage()
- func (x *MsgUpdateCustomParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCustomParams) Reset()
- func (x *MsgUpdateCustomParams) String() string
- type MsgUpdateCustomParamsResponse
- func (*MsgUpdateCustomParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateCustomParamsResponse) ProtoMessage()
- func (x *MsgUpdateCustomParamsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCustomParamsResponse) Reset()
- func (x *MsgUpdateCustomParamsResponse) String() string
- type MsgUpdateEGFParamsdeprecated
- func (*MsgUpdateEGFParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateEGFParams) GetAuthority() string
- func (x *MsgUpdateEGFParams) GetParams() *EGFParams
- func (*MsgUpdateEGFParams) ProtoMessage()
- func (x *MsgUpdateEGFParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateEGFParams) Reset()
- func (x *MsgUpdateEGFParams) String() string
- type MsgUpdateFXParamsdeprecated
- func (*MsgUpdateFXParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateFXParams) GetAuthority() string
- func (x *MsgUpdateFXParams) GetParams() *Params
- func (*MsgUpdateFXParams) ProtoMessage()
- func (x *MsgUpdateFXParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateFXParams) Reset()
- func (x *MsgUpdateFXParams) String() string
- type MsgUpdateParamsdeprecated
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *LegacyParams
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateStore
- func (*MsgUpdateStore) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateStore) GetAuthority() string
- func (x *MsgUpdateStore) GetUpdateStores() []*UpdateStore
- func (*MsgUpdateStore) ProtoMessage()
- func (x *MsgUpdateStore) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateStore) Reset()
- func (x *MsgUpdateStore) String() string
- type MsgUpdateStoreResponse
- type MsgUpdateSwitchParams
- func (*MsgUpdateSwitchParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateSwitchParams) GetAuthority() string
- func (x *MsgUpdateSwitchParams) GetParams() *SwitchParams
- func (*MsgUpdateSwitchParams) ProtoMessage()
- func (x *MsgUpdateSwitchParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateSwitchParams) Reset()
- func (x *MsgUpdateSwitchParams) String() string
- type MsgUpdateSwitchParamsResponse
- func (*MsgUpdateSwitchParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateSwitchParamsResponse) ProtoMessage()
- func (x *MsgUpdateSwitchParamsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateSwitchParamsResponse) Reset()
- func (x *MsgUpdateSwitchParamsResponse) String() string
- type Paramsdeprecated
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetBurnProposalDepositPrevote() bool
- func (x *Params) GetBurnVoteQuorum() bool
- func (x *Params) GetBurnVoteVeto() bool
- func (x *Params) GetMaxDepositPeriod() *durationpb.Duration
- func (x *Params) GetMinDeposit() []*v1beta1.Coin
- func (x *Params) GetMinInitialDeposit() *v1beta1.Coin
- func (x *Params) GetMinInitialDepositRatio() string
- func (x *Params) GetMsgType() string
- func (x *Params) GetQuorum() string
- func (x *Params) GetThreshold() string
- func (x *Params) GetVetoThreshold() string
- func (x *Params) GetVotingPeriod() *durationpb.Duration
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryCustomParamsRequest
- func (*QueryCustomParamsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCustomParamsRequest) GetMsgUrl() string
- func (*QueryCustomParamsRequest) ProtoMessage()
- func (x *QueryCustomParamsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCustomParamsRequest) Reset()
- func (x *QueryCustomParamsRequest) String() string
- type QueryCustomParamsResponse
- func (*QueryCustomParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCustomParamsResponse) GetParams() *CustomParams
- func (*QueryCustomParamsResponse) ProtoMessage()
- func (x *QueryCustomParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCustomParamsResponse) Reset()
- func (x *QueryCustomParamsResponse) String() string
- type QueryServer
- type QuerySwitchParamsRequest
- type QuerySwitchParamsResponse
- func (*QuerySwitchParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySwitchParamsResponse) GetParams() *SwitchParams
- func (*QuerySwitchParamsResponse) ProtoMessage()
- func (x *QuerySwitchParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySwitchParamsResponse) Reset()
- func (x *QuerySwitchParamsResponse) String() string
- type SwitchParams
- func (*SwitchParams) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchParams) GetDisableMsgTypes() []string
- func (x *SwitchParams) GetDisablePrecompiles() []string
- func (*SwitchParams) ProtoMessage()
- func (x *SwitchParams) ProtoReflect() protoreflect.Message
- func (x *SwitchParams) Reset()
- func (x *SwitchParams) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) UpdateCustomParams(context.Context, *MsgUpdateCustomParams) (*MsgUpdateCustomParamsResponse, error)
- func (UnimplementedMsgServer) UpdateStore(context.Context, *MsgUpdateStore) (*MsgUpdateStoreResponse, error)
- func (UnimplementedMsgServer) UpdateSwitchParams(context.Context, *MsgUpdateSwitchParams) (*MsgUpdateSwitchParamsResponse, error)
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
- type UpdateStore
- func (*UpdateStore) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStore) GetKey() string
- func (x *UpdateStore) GetOldValue() string
- func (x *UpdateStore) GetSpace() string
- func (x *UpdateStore) GetValue() string
- func (*UpdateStore) ProtoMessage()
- func (x *UpdateStore) ProtoReflect() protoreflect.Message
- func (x *UpdateStore) Reset()
- func (x *UpdateStore) String() string
Constants ¶
const ( Query_SwitchParams_FullMethodName = "/fx.gov.v1.Query/SwitchParams" Query_CustomParams_FullMethodName = "/fx.gov.v1.Query/CustomParams" )
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 ¶
var File_fx_gov_v1_gov_legacy_proto protoreflect.FileDescriptor
var File_fx_gov_v1_params_proto protoreflect.FileDescriptor
var File_fx_gov_v1_query_proto protoreflect.FileDescriptor
var File_fx_gov_v1_tx_proto protoreflect.FileDescriptor
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)
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) GetClaimRatio ¶
func (*EGFParams) GetEgfDepositThreshold ¶
func (*EGFParams) ProtoMessage ¶
func (*EGFParams) ProtoMessage()
func (*EGFParams) ProtoReflect ¶
func (x *EGFParams) ProtoReflect() protoreflect.Message
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 (x *MsgUpdateCustomParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateCustomParamsResponse) Reset ¶
func (x *MsgUpdateCustomParamsResponse) Reset()
func (*MsgUpdateCustomParamsResponse) String ¶
func (x *MsgUpdateCustomParamsResponse) String() 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 (x *MsgUpdateSwitchParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateSwitchParamsResponse) Reset ¶
func (x *MsgUpdateSwitchParamsResponse) Reset()
func (*MsgUpdateSwitchParamsResponse) String ¶
func (x *MsgUpdateSwitchParamsResponse) String() 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) GetBurnProposalDepositPrevote ¶
func (*Params) GetBurnVoteQuorum ¶
func (*Params) GetBurnVoteVeto ¶
func (*Params) GetMaxDepositPeriod ¶
func (x *Params) GetMaxDepositPeriod() *durationpb.Duration
func (*Params) GetMinDeposit ¶
func (*Params) GetMinInitialDeposit ¶
func (*Params) GetMinInitialDepositRatio ¶
func (*Params) GetMsgType ¶
func (*Params) GetThreshold ¶
func (*Params) GetVetoThreshold ¶
func (*Params) GetVotingPeriod ¶
func (x *Params) GetVotingPeriod() *durationpb.Duration
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
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 (x *QueryCustomParamsResponse) ProtoReflect() protoreflect.Message
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 (x *QuerySwitchParamsResponse) ProtoReflect() protoreflect.Message
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) UpdateCustomParams ¶
func (UnimplementedMsgServer) UpdateCustomParams(context.Context, *MsgUpdateCustomParams) (*MsgUpdateCustomParamsResponse, error)
func (UnimplementedMsgServer) UpdateStore ¶
func (UnimplementedMsgServer) UpdateStore(context.Context, *MsgUpdateStore) (*MsgUpdateStoreResponse, error)
func (UnimplementedMsgServer) UpdateSwitchParams ¶
func (UnimplementedMsgServer) UpdateSwitchParams(context.Context, *MsgUpdateSwitchParams) (*MsgUpdateSwitchParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) CustomParams ¶
func (UnimplementedQueryServer) CustomParams(context.Context, *QueryCustomParamsRequest) (*QueryCustomParamsResponse, error)
func (UnimplementedQueryServer) SwitchParams ¶
func (UnimplementedQueryServer) SwitchParams(context.Context, *QuerySwitchParamsRequest) (*QuerySwitchParamsResponse, error)
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