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.
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 EthTxQueue
- func (*EthTxQueue) Descriptor() ([]byte, []int)deprecated
- func (x *EthTxQueue) GetRewards() []*Reward
- func (x *EthTxQueue) GetUnlocks() []*Unlock
- func (*EthTxQueue) ProtoMessage()
- func (x *EthTxQueue) ProtoReflect() protoreflect.Message
- func (x *EthTxQueue) Reset()
- func (x *EthTxQueue) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetEthTxNonce() uint64
- func (x *GenesisState) GetEthTxQueue() *EthTxQueue
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetRewardPool() *RewardPool
- func (x *GenesisState) GetSlashed() []*v1beta1.Coin
- func (x *GenesisState) GetTokens() []*TokenGenesis
- func (x *GenesisState) GetUnlockQueue() []*UnlockQueueGenesis
- func (x *GenesisState) GetValidators() []*Validator
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetDowntimeJailDuration() *durationpb.Duration
- func (x *Params) GetExitingDuration() *durationpb.Duration
- func (x *Params) GetHalvingInterval() int64
- func (x *Params) GetInitialBlockReward() int64
- func (x *Params) GetMaxMissedPerWindow() int64
- func (x *Params) GetMaxValidators() int64
- func (x *Params) GetSignedBlocksWindow() int64
- func (x *Params) GetSlashFractionDoubleSign() []byte
- func (x *Params) GetSlashFractionDowntime() []byte
- func (x *Params) GetUnlockDuration() *durationpb.Duration
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryValidatorRequest
- func (*QueryValidatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorRequest) GetAddress() string
- func (*QueryValidatorRequest) ProtoMessage()
- func (x *QueryValidatorRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorRequest) Reset()
- func (x *QueryValidatorRequest) String() string
- type QueryValidatorResponse
- func (*QueryValidatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorResponse) GetValidator() *Validator
- func (*QueryValidatorResponse) ProtoMessage()
- func (x *QueryValidatorResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorResponse) Reset()
- func (x *QueryValidatorResponse) String() string
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetGas() string
- func (x *Reward) GetGoat() string
- func (x *Reward) GetId() uint64
- func (x *Reward) GetRecipient() []byte
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type RewardPool
- func (*RewardPool) Descriptor() ([]byte, []int)deprecated
- func (x *RewardPool) GetGas() string
- func (x *RewardPool) GetGoat() string
- func (x *RewardPool) GetRemain() string
- func (*RewardPool) ProtoMessage()
- func (x *RewardPool) ProtoReflect() protoreflect.Message
- func (x *RewardPool) Reset()
- func (x *RewardPool) String() string
- type SigningInfo
- type Threshold
- type Token
- type TokenGenesis
- func (*TokenGenesis) Descriptor() ([]byte, []int)deprecated
- func (x *TokenGenesis) GetDenom() string
- func (x *TokenGenesis) GetToken() *Token
- func (*TokenGenesis) ProtoMessage()
- func (x *TokenGenesis) ProtoReflect() protoreflect.Message
- func (x *TokenGenesis) Reset()
- func (x *TokenGenesis) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type Unlock
- func (*Unlock) Descriptor() ([]byte, []int)deprecated
- func (x *Unlock) GetAmount() string
- func (x *Unlock) GetId() uint64
- func (x *Unlock) GetRecipient() []byte
- func (x *Unlock) GetToken() []byte
- func (*Unlock) ProtoMessage()
- func (x *Unlock) ProtoReflect() protoreflect.Message
- func (x *Unlock) Reset()
- func (x *Unlock) String() string
- type UnlockQueueGenesis
- func (*UnlockQueueGenesis) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockQueueGenesis) GetTimestamp() *timestamppb.Timestamp
- func (x *UnlockQueueGenesis) GetUnlocks() []*Unlock
- func (*UnlockQueueGenesis) ProtoMessage()
- func (x *UnlockQueueGenesis) ProtoReflect() protoreflect.Message
- func (x *UnlockQueueGenesis) Reset()
- func (x *UnlockQueueGenesis) String() string
- type Unlocks
- type UnsafeMsgServer
- type UnsafeQueryServer
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetGasReward() string
- func (x *Validator) GetJailedUntil() *timestamppb.Timestamp
- func (x *Validator) GetLocking() []*v1beta1.Coin
- func (x *Validator) GetPower() uint64
- func (x *Validator) GetPubkey() []byte
- func (x *Validator) GetReward() string
- func (x *Validator) GetSigningInfo() *SigningInfo
- func (x *Validator) GetStatus() ValidatorStatus
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type ValidatorStatus
- func (ValidatorStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ValidatorStatus) Enum() *ValidatorStatus
- func (ValidatorStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidatorStatus) Number() protoreflect.EnumNumber
- func (x ValidatorStatus) String() string
- func (ValidatorStatus) Type() protoreflect.EnumType
Constants ¶
const ( Query_Params_FullMethodName = "/goat.locking.v1.Query/Params" Query_Validator_FullMethodName = "/goat.locking.v1.Query/Validator" )
Variables ¶
var ( ValidatorStatus_name = map[int32]string{ 0: "VALIDATOR_STATUS_UNSPECIFIED", 1: "VALIDATOR_STATUS_PENDING", 2: "VALIDATOR_STATUS_ACTIVE", 3: "VALIDATOR_STATUS_TOMBSTONED", 4: "VALIDATOR_STATUS_DOWNGRADE", 5: "VALIDATOR_STATUS_INACTIVE", } ValidatorStatus_value = map[string]int32{ "VALIDATOR_STATUS_UNSPECIFIED": 0, "VALIDATOR_STATUS_PENDING": 1, "VALIDATOR_STATUS_ACTIVE": 2, "VALIDATOR_STATUS_TOMBSTONED": 3, "VALIDATOR_STATUS_DOWNGRADE": 4, "VALIDATOR_STATUS_INACTIVE": 5, } )
Enum value maps for ValidatorStatus.
var File_goat_locking_v1_genesis_proto protoreflect.FileDescriptor
var File_goat_locking_v1_locking_proto protoreflect.FileDescriptor
var File_goat_locking_v1_params_proto protoreflect.FileDescriptor
var File_goat_locking_v1_query_proto protoreflect.FileDescriptor
var File_goat_locking_v1_tx_proto protoreflect.FileDescriptor
var File_goat_locking_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goat.locking.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "goat/locking/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: "goat.locking.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Validator", Handler: _Query_Validator_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "goat/locking/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 EthTxQueue ¶
type EthTxQueue struct { Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` Unlocks []*Unlock `protobuf:"bytes,2,rep,name=unlocks,proto3" json:"unlocks,omitempty"` // contains filtered or unexported fields }
EthTxQueue
func (*EthTxQueue) Descriptor
deprecated
func (*EthTxQueue) Descriptor() ([]byte, []int)
Deprecated: Use EthTxQueue.ProtoReflect.Descriptor instead.
func (*EthTxQueue) GetRewards ¶
func (x *EthTxQueue) GetRewards() []*Reward
func (*EthTxQueue) GetUnlocks ¶
func (x *EthTxQueue) GetUnlocks() []*Unlock
func (*EthTxQueue) ProtoMessage ¶
func (*EthTxQueue) ProtoMessage()
func (*EthTxQueue) ProtoReflect ¶
func (x *EthTxQueue) ProtoReflect() protoreflect.Message
func (*EthTxQueue) Reset ¶
func (x *EthTxQueue) Reset()
func (*EthTxQueue) String ¶
func (x *EthTxQueue) 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"` Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` Tokens []*TokenGenesis `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"` Slashed []*v1beta1.Coin `protobuf:"bytes,4,rep,name=slashed,proto3" json:"slashed,omitempty"` EthTxNonce uint64 `protobuf:"varint,5,opt,name=eth_tx_nonce,json=ethTxNonce,proto3" json:"eth_tx_nonce,omitempty"` EthTxQueue *EthTxQueue `protobuf:"bytes,6,opt,name=eth_tx_queue,json=ethTxQueue,proto3" json:"eth_tx_queue,omitempty"` RewardPool *RewardPool `protobuf:"bytes,7,opt,name=reward_pool,json=rewardPool,proto3" json:"reward_pool,omitempty"` UnlockQueue []*UnlockQueueGenesis `protobuf:"bytes,8,rep,name=unlock_queue,json=unlockQueue,proto3" json:"unlock_queue,omitempty"` // contains filtered or unexported fields }
GenesisState defines the locking module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetEthTxNonce ¶
func (x *GenesisState) GetEthTxNonce() uint64
func (*GenesisState) GetEthTxQueue ¶
func (x *GenesisState) GetEthTxQueue() *EthTxQueue
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetRewardPool ¶
func (x *GenesisState) GetRewardPool() *RewardPool
func (*GenesisState) GetSlashed ¶
func (x *GenesisState) GetSlashed() []*v1beta1.Coin
func (*GenesisState) GetTokens ¶
func (x *GenesisState) GetTokens() []*TokenGenesis
func (*GenesisState) GetUnlockQueue ¶
func (x *GenesisState) GetUnlockQueue() []*UnlockQueueGenesis
func (*GenesisState) GetValidators ¶
func (x *GenesisState) GetValidators() []*Validator
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 { }
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.
Msg defines the Msg service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface {
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg defines the Msg service.
type Params ¶
type Params struct { // the partial unlock duation UnlockDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=unlock_duration,json=unlockDuration,proto3" json:"unlock_duration,omitempty"` // if the token amount is less then threshold, the validator will be the // inactive status the validator operator should wait for long then paritial // unlock duation ExitingDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=exiting_duration,json=exitingDuration,proto3" json:"exiting_duration,omitempty"` DowntimeJailDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=downtime_jail_duration,json=downtimeJailDuration,proto3" json:"downtime_jail_duration,omitempty"` // max_validators is the maximum number of validators. MaxValidators int64 `protobuf:"varint,4,opt,name=max_validators,json=maxValidators,proto3" json:"max_validators,omitempty"` SignedBlocksWindow int64 `protobuf:"varint,5,opt,name=signed_blocks_window,json=signedBlocksWindow,proto3" json:"signed_blocks_window,omitempty"` MaxMissedPerWindow int64 `protobuf:"varint,6,opt,name=max_missed_per_window,json=maxMissedPerWindow,proto3" json:"max_missed_per_window,omitempty"` SlashFractionDoubleSign []byte `` /* 134-byte string literal not displayed */ SlashFractionDowntime []byte `` /* 126-byte string literal not displayed */ HalvingInterval int64 `protobuf:"varint,9,opt,name=halving_interval,json=halvingInterval,proto3" json:"halving_interval,omitempty"` InitialBlockReward int64 `protobuf:"varint,10,opt,name=initial_block_reward,json=initialBlockReward,proto3" json:"initial_block_reward,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetDowntimeJailDuration ¶
func (x *Params) GetDowntimeJailDuration() *durationpb.Duration
func (*Params) GetExitingDuration ¶
func (x *Params) GetExitingDuration() *durationpb.Duration
func (*Params) GetHalvingInterval ¶
func (*Params) GetInitialBlockReward ¶
func (*Params) GetMaxMissedPerWindow ¶
func (*Params) GetMaxValidators ¶
func (*Params) GetSignedBlocksWindow ¶
func (*Params) GetSlashFractionDoubleSign ¶
func (*Params) GetSlashFractionDowntime ¶
func (*Params) GetUnlockDuration ¶
func (x *Params) GetUnlockDuration() *durationpb.Duration
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Validator queries validator state by address. Validator(ctx context.Context, in *QueryValidatorRequest, opts ...grpc.CallOption) (*QueryValidatorResponse, 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.
Query defines the gRPC querier service.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is 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 holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is 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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Validator queries validator state by address. Validator(context.Context, *QueryValidatorRequest) (*QueryValidatorResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
Query defines the gRPC querier service.
type QueryValidatorRequest ¶
type QueryValidatorRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
QueryValidatorRequest
func (*QueryValidatorRequest) Descriptor
deprecated
func (*QueryValidatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorRequest.ProtoReflect.Descriptor instead.
func (*QueryValidatorRequest) GetAddress ¶
func (x *QueryValidatorRequest) GetAddress() string
func (*QueryValidatorRequest) ProtoMessage ¶
func (*QueryValidatorRequest) ProtoMessage()
func (*QueryValidatorRequest) ProtoReflect ¶
func (x *QueryValidatorRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorRequest) Reset ¶
func (x *QueryValidatorRequest) Reset()
func (*QueryValidatorRequest) String ¶
func (x *QueryValidatorRequest) String() string
type QueryValidatorResponse ¶
type QueryValidatorResponse struct { Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
QueryValidatorResponse
func (*QueryValidatorResponse) Descriptor
deprecated
func (*QueryValidatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorResponse.ProtoReflect.Descriptor instead.
func (*QueryValidatorResponse) GetValidator ¶
func (x *QueryValidatorResponse) GetValidator() *Validator
func (*QueryValidatorResponse) ProtoMessage ¶
func (*QueryValidatorResponse) ProtoMessage()
func (*QueryValidatorResponse) ProtoReflect ¶
func (x *QueryValidatorResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorResponse) Reset ¶
func (x *QueryValidatorResponse) Reset()
func (*QueryValidatorResponse) String ¶
func (x *QueryValidatorResponse) String() string
type Reward ¶
type Reward struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Goat string `protobuf:"bytes,3,opt,name=goat,proto3" json:"goat,omitempty"` Gas string `protobuf:"bytes,4,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
Reward
func (*Reward) Descriptor
deprecated
func (*Reward) GetRecipient ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
type RewardPool ¶
type RewardPool struct { // the goat reward for the last block Goat string `protobuf:"bytes,1,opt,name=goat,proto3" json:"goat,omitempty"` // the gas fee for the last block Gas string `protobuf:"bytes,2,opt,name=gas,proto3" json:"gas,omitempty"` // the remain goat reward in the pool Remain string `protobuf:"bytes,3,opt,name=remain,proto3" json:"remain,omitempty"` // contains filtered or unexported fields }
RewardPool
func (*RewardPool) Descriptor
deprecated
func (*RewardPool) Descriptor() ([]byte, []int)
Deprecated: Use RewardPool.ProtoReflect.Descriptor instead.
func (*RewardPool) GetGas ¶
func (x *RewardPool) GetGas() string
func (*RewardPool) GetGoat ¶
func (x *RewardPool) GetGoat() string
func (*RewardPool) GetRemain ¶
func (x *RewardPool) GetRemain() string
func (*RewardPool) ProtoMessage ¶
func (*RewardPool) ProtoMessage()
func (*RewardPool) ProtoReflect ¶
func (x *RewardPool) ProtoReflect() protoreflect.Message
func (*RewardPool) Reset ¶
func (x *RewardPool) Reset()
func (*RewardPool) String ¶
func (x *RewardPool) String() string
type SigningInfo ¶
type SigningInfo struct { // offset of the current sign window Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // missed of the current sign window Missed int64 `protobuf:"varint,2,opt,name=missed,proto3" json:"missed,omitempty"` // contains filtered or unexported fields }
SigningInfo
func (*SigningInfo) Descriptor
deprecated
func (*SigningInfo) Descriptor() ([]byte, []int)
Deprecated: Use SigningInfo.ProtoReflect.Descriptor instead.
func (*SigningInfo) GetMissed ¶
func (x *SigningInfo) GetMissed() int64
func (*SigningInfo) GetOffset ¶
func (x *SigningInfo) GetOffset() int64
func (*SigningInfo) ProtoMessage ¶
func (*SigningInfo) ProtoMessage()
func (*SigningInfo) ProtoReflect ¶
func (x *SigningInfo) ProtoReflect() protoreflect.Message
func (*SigningInfo) Reset ¶
func (x *SigningInfo) Reset()
func (*SigningInfo) String ¶
func (x *SigningInfo) String() string
type Threshold ¶
type Threshold struct { List []*v1beta1.Coin `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
Threshold
func (*Threshold) Descriptor
deprecated
func (*Threshold) ProtoMessage ¶
func (*Threshold) ProtoMessage()
func (*Threshold) ProtoReflect ¶
func (x *Threshold) ProtoReflect() protoreflect.Message
type Token ¶
type Token struct { Weight uint64 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"` Threshold string `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
Token config
func (*Token) Descriptor
deprecated
func (*Token) GetThreshold ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenGenesis ¶
type TokenGenesis struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Token *Token `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
TokenGenesis
func (*TokenGenesis) Descriptor
deprecated
func (*TokenGenesis) Descriptor() ([]byte, []int)
Deprecated: Use TokenGenesis.ProtoReflect.Descriptor instead.
func (*TokenGenesis) GetDenom ¶
func (x *TokenGenesis) GetDenom() string
func (*TokenGenesis) GetToken ¶
func (x *TokenGenesis) GetToken() *Token
func (*TokenGenesis) ProtoMessage ¶
func (*TokenGenesis) ProtoMessage()
func (*TokenGenesis) ProtoReflect ¶
func (x *TokenGenesis) ProtoReflect() protoreflect.Message
func (*TokenGenesis) Reset ¶
func (x *TokenGenesis) Reset()
func (*TokenGenesis) String ¶
func (x *TokenGenesis) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Validator ¶
func (UnimplementedQueryServer) Validator(context.Context, *QueryValidatorRequest) (*QueryValidatorResponse, error)
type Unlock ¶
type Unlock struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Token []byte `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Recipient []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Unlock
func (*Unlock) Descriptor
deprecated
func (*Unlock) GetRecipient ¶
func (*Unlock) ProtoMessage ¶
func (*Unlock) ProtoMessage()
func (*Unlock) ProtoReflect ¶
func (x *Unlock) ProtoReflect() protoreflect.Message
type UnlockQueueGenesis ¶
type UnlockQueueGenesis struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Unlocks []*Unlock `protobuf:"bytes,2,rep,name=unlocks,proto3" json:"unlocks,omitempty"` // contains filtered or unexported fields }
UnlockQueueGenesis
func (*UnlockQueueGenesis) Descriptor
deprecated
func (*UnlockQueueGenesis) Descriptor() ([]byte, []int)
Deprecated: Use UnlockQueueGenesis.ProtoReflect.Descriptor instead.
func (*UnlockQueueGenesis) GetTimestamp ¶
func (x *UnlockQueueGenesis) GetTimestamp() *timestamppb.Timestamp
func (*UnlockQueueGenesis) GetUnlocks ¶
func (x *UnlockQueueGenesis) GetUnlocks() []*Unlock
func (*UnlockQueueGenesis) ProtoMessage ¶
func (*UnlockQueueGenesis) ProtoMessage()
func (*UnlockQueueGenesis) ProtoReflect ¶
func (x *UnlockQueueGenesis) ProtoReflect() protoreflect.Message
func (*UnlockQueueGenesis) Reset ¶
func (x *UnlockQueueGenesis) Reset()
func (*UnlockQueueGenesis) String ¶
func (x *UnlockQueueGenesis) String() string
type Unlocks ¶
type Unlocks struct { Unlocks []*Unlock `protobuf:"bytes,1,rep,name=unlocks,proto3" json:"unlocks,omitempty"` // contains filtered or unexported fields }
Unlocks
func (*Unlocks) Descriptor
deprecated
func (*Unlocks) GetUnlocks ¶
func (*Unlocks) ProtoMessage ¶
func (*Unlocks) ProtoMessage()
func (*Unlocks) ProtoReflect ¶
func (x *Unlocks) ProtoReflect() protoreflect.Message
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 Validator ¶
type Validator struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Power uint64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` // the total locking Locking []*v1beta1.Coin `protobuf:"bytes,3,rep,name=locking,proto3" json:"locking,omitempty"` // unclaimed goat reward Reward string `protobuf:"bytes,4,opt,name=reward,proto3" json:"reward,omitempty"` // unclaimed gas fee rewrad GasReward string `protobuf:"bytes,5,opt,name=gas_reward,json=gasReward,proto3" json:"gas_reward,omitempty"` Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=goat.locking.v1.ValidatorStatus" json:"status,omitempty"` SigningInfo *SigningInfo `protobuf:"bytes,7,opt,name=signing_info,json=signingInfo,proto3" json:"signing_info,omitempty"` // Timestamp until which the validator is jailed due to liveness downtime. JailedUntil *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=jailed_until,json=jailedUntil,proto3" json:"jailed_until,omitempty"` // contains filtered or unexported fields }
Validator
func (*Validator) Descriptor
deprecated
func (*Validator) GetGasReward ¶
func (*Validator) GetJailedUntil ¶
func (x *Validator) GetJailedUntil() *timestamppb.Timestamp
func (*Validator) GetLocking ¶
func (*Validator) GetSigningInfo ¶
func (x *Validator) GetSigningInfo() *SigningInfo
func (*Validator) GetStatus ¶
func (x *Validator) GetStatus() ValidatorStatus
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type ValidatorStatus ¶
type ValidatorStatus int32
ValidatorStatus is the status of a validator.
const ( // UNSPECIFIED defines an invalid validator status. ValidatorStatus_VALIDATOR_STATUS_UNSPECIFIED ValidatorStatus = 0 // Pending means the validator is waitting for ValidatorStatus_VALIDATOR_STATUS_PENDING ValidatorStatus = 1 // Active means the validator is producing and voting new blocks ValidatorStatus_VALIDATOR_STATUS_ACTIVE ValidatorStatus = 2 // Tombstoned means the validator did malicious behaviors like double sign and // killed out ValidatorStatus_VALIDATOR_STATUS_TOMBSTONED ValidatorStatus = 3 // Downgrade means the validator is offline ValidatorStatus_VALIDATOR_STATUS_DOWNGRADE ValidatorStatus = 4 // Inactive means the validator is exiting in progress or exited ValidatorStatus_VALIDATOR_STATUS_INACTIVE ValidatorStatus = 5 )
func (ValidatorStatus) Descriptor ¶
func (ValidatorStatus) Descriptor() protoreflect.EnumDescriptor
func (ValidatorStatus) Enum ¶
func (x ValidatorStatus) Enum() *ValidatorStatus
func (ValidatorStatus) EnumDescriptor
deprecated
func (ValidatorStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidatorStatus.Descriptor instead.
func (ValidatorStatus) Number ¶
func (x ValidatorStatus) Number() protoreflect.EnumNumber
func (ValidatorStatus) String ¶
func (x ValidatorStatus) String() string
func (ValidatorStatus) Type ¶
func (ValidatorStatus) Type() protoreflect.EnumType