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 Delegation
- func (*Delegation) Descriptor() ([]byte, []int)deprecated
- func (x *Delegation) GetAmount() int64
- func (x *Delegation) GetDelegatorAddress() string
- func (*Delegation) ProtoMessage()
- func (x *Delegation) ProtoReflect() protoreflect.Message
- func (x *Delegation) Reset()
- func (x *Delegation) String() string
- type DelegationInfo
- func (*DelegationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationInfo) GetAccount() string
- func (x *DelegationInfo) GetDelegatedAmount() int64
- func (x *DelegationInfo) GetPublicKey() string
- func (x *DelegationInfo) GetUnbondingEntries() []*SimpleUnbondingEntry
- func (*DelegationInfo) ProtoMessage()
- func (x *DelegationInfo) ProtoReflect() protoreflect.Message
- func (x *DelegationInfo) Reset()
- func (x *DelegationInfo) String() string
- type GenesisState
- type MsgClient
- type MsgGridnodeDelegate
- func (*MsgGridnodeDelegate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGridnodeDelegate) GetAmount() int64
- func (x *MsgGridnodeDelegate) GetDelegatorAddress() string
- func (x *MsgGridnodeDelegate) GetTimestamp() int64
- func (x *MsgGridnodeDelegate) GetUniqueId() string
- func (*MsgGridnodeDelegate) ProtoMessage()
- func (x *MsgGridnodeDelegate) ProtoReflect() protoreflect.Message
- func (x *MsgGridnodeDelegate) Reset()
- func (x *MsgGridnodeDelegate) String() string
- type MsgGridnodeDelegateResponse
- func (*MsgGridnodeDelegateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGridnodeDelegateResponse) GetStatus() string
- func (x *MsgGridnodeDelegateResponse) GetTxHash() string
- func (*MsgGridnodeDelegateResponse) ProtoMessage()
- func (x *MsgGridnodeDelegateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgGridnodeDelegateResponse) Reset()
- func (x *MsgGridnodeDelegateResponse) String() string
- type MsgGridnodeUndelegate
- func (*MsgGridnodeUndelegate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGridnodeUndelegate) GetAmount() int64
- func (x *MsgGridnodeUndelegate) GetDelegatorAddress() string
- func (x *MsgGridnodeUndelegate) GetTimestamp() int64
- func (x *MsgGridnodeUndelegate) GetUniqueId() string
- func (*MsgGridnodeUndelegate) ProtoMessage()
- func (x *MsgGridnodeUndelegate) ProtoReflect() protoreflect.Message
- func (x *MsgGridnodeUndelegate) Reset()
- func (x *MsgGridnodeUndelegate) String() string
- type MsgGridnodeUndelegateResponse
- func (*MsgGridnodeUndelegateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGridnodeUndelegateResponse) GetStatus() string
- func (x *MsgGridnodeUndelegateResponse) GetTxHash() string
- func (*MsgGridnodeUndelegateResponse) ProtoMessage()
- func (x *MsgGridnodeUndelegateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgGridnodeUndelegateResponse) Reset()
- func (x *MsgGridnodeUndelegateResponse) String() string
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type QueryAllDelegationsRequest
- func (*QueryAllDelegationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllDelegationsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllDelegationsRequest) ProtoMessage()
- func (x *QueryAllDelegationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllDelegationsRequest) Reset()
- func (x *QueryAllDelegationsRequest) String() string
- type QueryAllDelegationsResponse
- func (*QueryAllDelegationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllDelegationsResponse) GetDelegations() []*DelegationInfo
- func (x *QueryAllDelegationsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllDelegationsResponse) ProtoMessage()
- func (x *QueryAllDelegationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllDelegationsResponse) Reset()
- func (x *QueryAllDelegationsResponse) String() string
- type QueryClient
- type QueryDelegatedAmountRequest
- func (*QueryDelegatedAmountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatedAmountRequest) GetDelegatorAddress() string
- func (*QueryDelegatedAmountRequest) ProtoMessage()
- func (x *QueryDelegatedAmountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatedAmountRequest) Reset()
- func (x *QueryDelegatedAmountRequest) String() string
- type QueryDelegatedAmountResponse
- func (*QueryDelegatedAmountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatedAmountResponse) GetAmount() int64
- func (*QueryDelegatedAmountResponse) ProtoMessage()
- func (x *QueryDelegatedAmountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatedAmountResponse) Reset()
- func (x *QueryDelegatedAmountResponse) String() string
- 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 QueryUnbondingEntriesRequest
- func (*QueryUnbondingEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUnbondingEntriesRequest) GetBondingAccountAddress() string
- func (x *QueryUnbondingEntriesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryUnbondingEntriesRequest) ProtoMessage()
- func (x *QueryUnbondingEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryUnbondingEntriesRequest) Reset()
- func (x *QueryUnbondingEntriesRequest) String() string
- type QueryUnbondingEntriesResponse
- func (*QueryUnbondingEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUnbondingEntriesResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryUnbondingEntriesResponse) GetUnbondingEntries() []*UnbondingEntry
- func (*QueryUnbondingEntriesResponse) ProtoMessage()
- func (x *QueryUnbondingEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryUnbondingEntriesResponse) Reset()
- func (x *QueryUnbondingEntriesResponse) String() string
- type SimpleUnbondingEntry
- func (*SimpleUnbondingEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleUnbondingEntry) GetAmount() int64
- func (x *SimpleUnbondingEntry) GetCompletionTime() int64
- func (*SimpleUnbondingEntry) ProtoMessage()
- func (x *SimpleUnbondingEntry) ProtoReflect() protoreflect.Message
- func (x *SimpleUnbondingEntry) Reset()
- func (x *SimpleUnbondingEntry) String() string
- type UnbondingEntry
- func (*UnbondingEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UnbondingEntry) GetAccount() string
- func (x *UnbondingEntry) GetAmount() int64
- func (x *UnbondingEntry) GetCompletionTime() int64
- func (*UnbondingEntry) ProtoMessage()
- func (x *UnbondingEntry) ProtoReflect() protoreflect.Message
- func (x *UnbondingEntry) Reset()
- func (x *UnbondingEntry) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) DelegateTokens(context.Context, *MsgGridnodeDelegate) (*MsgGridnodeDelegateResponse, error)
- func (UnimplementedMsgServer) UndelegateTokens(context.Context, *MsgGridnodeUndelegate) (*MsgGridnodeUndelegateResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllDelegations(context.Context, *QueryAllDelegationsRequest) (*QueryAllDelegationsResponse, error)
- func (UnimplementedQueryServer) DelegatedAmount(context.Context, *QueryDelegatedAmountRequest) (*QueryDelegatedAmountResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) UnbondingEntries(context.Context, *QueryUnbondingEntriesRequest) (*QueryUnbondingEntriesResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/gridnode.gridnode.v1.Query/Params" Query_DelegatedAmount_FullMethodName = "/gridnode.gridnode.v1.Query/DelegatedAmount" Query_UnbondingEntries_FullMethodName = "/gridnode.gridnode.v1.Query/UnbondingEntries" Query_AllDelegations_FullMethodName = "/gridnode.gridnode.v1.Query/AllDelegations" )
const ( Msg_DelegateTokens_FullMethodName = "/gridnode.gridnode.v1.Msg/DelegateTokens" Msg_UndelegateTokens_FullMethodName = "/gridnode.gridnode.v1.Msg/UndelegateTokens" Msg_UpdateParams_FullMethodName = "/gridnode.gridnode.v1.Msg/UpdateParams" )
Variables ¶
var File_gridnode_gridnode_v1_genesis_proto protoreflect.FileDescriptor
var File_gridnode_gridnode_v1_params_proto protoreflect.FileDescriptor
var File_gridnode_gridnode_v1_query_proto protoreflect.FileDescriptor
var File_gridnode_gridnode_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gridnode.gridnode.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DelegateTokens", Handler: _Msg_DelegateTokens_Handler, }, { MethodName: "UndelegateTokens", Handler: _Msg_UndelegateTokens_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gridnode/gridnode/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: "gridnode.gridnode.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "DelegatedAmount", Handler: _Query_DelegatedAmount_Handler, }, { MethodName: "UnbondingEntries", Handler: _Query_UnbondingEntries_Handler, }, { MethodName: "AllDelegations", Handler: _Query_AllDelegations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gridnode/gridnode/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 Delegation ¶
type Delegation struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Delegation) Descriptor
deprecated
func (*Delegation) Descriptor() ([]byte, []int)
Deprecated: Use Delegation.ProtoReflect.Descriptor instead.
func (*Delegation) GetAmount ¶
func (x *Delegation) GetAmount() int64
func (*Delegation) GetDelegatorAddress ¶
func (x *Delegation) GetDelegatorAddress() string
func (*Delegation) ProtoMessage ¶
func (*Delegation) ProtoMessage()
func (*Delegation) ProtoReflect ¶
func (x *Delegation) ProtoReflect() protoreflect.Message
func (*Delegation) Reset ¶
func (x *Delegation) Reset()
func (*Delegation) String ¶
func (x *Delegation) String() string
type DelegationInfo ¶
type DelegationInfo struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` DelegatedAmount int64 `protobuf:"varint,2,opt,name=delegated_amount,json=delegatedAmount,proto3" json:"delegated_amount,omitempty"` UnbondingEntries []*SimpleUnbondingEntry `protobuf:"bytes,3,rep,name=unbonding_entries,json=unbondingEntries,proto3" json:"unbonding_entries,omitempty"` // New field for unbonding entries PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*DelegationInfo) Descriptor
deprecated
func (*DelegationInfo) Descriptor() ([]byte, []int)
Deprecated: Use DelegationInfo.ProtoReflect.Descriptor instead.
func (*DelegationInfo) GetAccount ¶
func (x *DelegationInfo) GetAccount() string
func (*DelegationInfo) GetDelegatedAmount ¶
func (x *DelegationInfo) GetDelegatedAmount() int64
func (*DelegationInfo) GetPublicKey ¶
func (x *DelegationInfo) GetPublicKey() string
func (*DelegationInfo) GetUnbondingEntries ¶
func (x *DelegationInfo) GetUnbondingEntries() []*SimpleUnbondingEntry
func (*DelegationInfo) ProtoMessage ¶
func (*DelegationInfo) ProtoMessage()
func (*DelegationInfo) ProtoReflect ¶
func (x *DelegationInfo) ProtoReflect() protoreflect.Message
func (*DelegationInfo) Reset ¶
func (x *DelegationInfo) Reset()
func (*DelegationInfo) String ¶
func (x *DelegationInfo) String() string
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the gridnode module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgClient ¶
type MsgClient interface { DelegateTokens(ctx context.Context, in *MsgGridnodeDelegate, opts ...grpc.CallOption) (*MsgGridnodeDelegateResponse, error) UndelegateTokens(ctx context.Context, in *MsgGridnodeUndelegate, opts ...grpc.CallOption) (*MsgGridnodeUndelegateResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgGridnodeDelegate ¶
type MsgGridnodeDelegate struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in Unix format or UniqueId string `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // unique identifier UUID // contains filtered or unexported fields }
MsgGridnodeDelegate is the request type for the Msg/DelegateTokens RPC method.
func (*MsgGridnodeDelegate) Descriptor
deprecated
func (*MsgGridnodeDelegate) Descriptor() ([]byte, []int)
Deprecated: Use MsgGridnodeDelegate.ProtoReflect.Descriptor instead.
func (*MsgGridnodeDelegate) GetAmount ¶
func (x *MsgGridnodeDelegate) GetAmount() int64
func (*MsgGridnodeDelegate) GetDelegatorAddress ¶
func (x *MsgGridnodeDelegate) GetDelegatorAddress() string
func (*MsgGridnodeDelegate) GetTimestamp ¶
func (x *MsgGridnodeDelegate) GetTimestamp() int64
func (*MsgGridnodeDelegate) GetUniqueId ¶
func (x *MsgGridnodeDelegate) GetUniqueId() string
func (*MsgGridnodeDelegate) ProtoMessage ¶
func (*MsgGridnodeDelegate) ProtoMessage()
func (*MsgGridnodeDelegate) ProtoReflect ¶
func (x *MsgGridnodeDelegate) ProtoReflect() protoreflect.Message
func (*MsgGridnodeDelegate) Reset ¶
func (x *MsgGridnodeDelegate) Reset()
func (*MsgGridnodeDelegate) String ¶
func (x *MsgGridnodeDelegate) String() string
type MsgGridnodeDelegateResponse ¶
type MsgGridnodeDelegateResponse struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Transaction hash of the delegated tokens operation Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Status of the operation, e.g., "success" or "failure" // contains filtered or unexported fields }
MsgGridnodeDelegateResponse is the response type for the Msg/DelegateTokens RPC method.
func (*MsgGridnodeDelegateResponse) Descriptor
deprecated
func (*MsgGridnodeDelegateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgGridnodeDelegateResponse.ProtoReflect.Descriptor instead.
func (*MsgGridnodeDelegateResponse) GetStatus ¶
func (x *MsgGridnodeDelegateResponse) GetStatus() string
func (*MsgGridnodeDelegateResponse) GetTxHash ¶
func (x *MsgGridnodeDelegateResponse) GetTxHash() string
func (*MsgGridnodeDelegateResponse) ProtoMessage ¶
func (*MsgGridnodeDelegateResponse) ProtoMessage()
func (*MsgGridnodeDelegateResponse) ProtoReflect ¶
func (x *MsgGridnodeDelegateResponse) ProtoReflect() protoreflect.Message
func (*MsgGridnodeDelegateResponse) Reset ¶
func (x *MsgGridnodeDelegateResponse) Reset()
func (*MsgGridnodeDelegateResponse) String ¶
func (x *MsgGridnodeDelegateResponse) String() string
type MsgGridnodeUndelegate ¶
type MsgGridnodeUndelegate struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in Unix format or UniqueId string `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // unique identifier UUID // contains filtered or unexported fields }
func (*MsgGridnodeUndelegate) Descriptor
deprecated
func (*MsgGridnodeUndelegate) Descriptor() ([]byte, []int)
Deprecated: Use MsgGridnodeUndelegate.ProtoReflect.Descriptor instead.
func (*MsgGridnodeUndelegate) GetAmount ¶
func (x *MsgGridnodeUndelegate) GetAmount() int64
func (*MsgGridnodeUndelegate) GetDelegatorAddress ¶
func (x *MsgGridnodeUndelegate) GetDelegatorAddress() string
func (*MsgGridnodeUndelegate) GetTimestamp ¶
func (x *MsgGridnodeUndelegate) GetTimestamp() int64
func (*MsgGridnodeUndelegate) GetUniqueId ¶
func (x *MsgGridnodeUndelegate) GetUniqueId() string
func (*MsgGridnodeUndelegate) ProtoMessage ¶
func (*MsgGridnodeUndelegate) ProtoMessage()
func (*MsgGridnodeUndelegate) ProtoReflect ¶
func (x *MsgGridnodeUndelegate) ProtoReflect() protoreflect.Message
func (*MsgGridnodeUndelegate) Reset ¶
func (x *MsgGridnodeUndelegate) Reset()
func (*MsgGridnodeUndelegate) String ¶
func (x *MsgGridnodeUndelegate) String() string
type MsgGridnodeUndelegateResponse ¶
type MsgGridnodeUndelegateResponse struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Transaction hash of the delegated tokens operation Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Status of the operation, e.g., "success" or "failure" // contains filtered or unexported fields }
func (*MsgGridnodeUndelegateResponse) Descriptor
deprecated
func (*MsgGridnodeUndelegateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgGridnodeUndelegateResponse.ProtoReflect.Descriptor instead.
func (*MsgGridnodeUndelegateResponse) GetStatus ¶
func (x *MsgGridnodeUndelegateResponse) GetStatus() string
func (*MsgGridnodeUndelegateResponse) GetTxHash ¶
func (x *MsgGridnodeUndelegateResponse) GetTxHash() string
func (*MsgGridnodeUndelegateResponse) ProtoMessage ¶
func (*MsgGridnodeUndelegateResponse) ProtoMessage()
func (*MsgGridnodeUndelegateResponse) ProtoReflect ¶
func (x *MsgGridnodeUndelegateResponse) ProtoReflect() protoreflect.Message
func (*MsgGridnodeUndelegateResponse) Reset ¶
func (x *MsgGridnodeUndelegateResponse) Reset()
func (*MsgGridnodeUndelegateResponse) String ¶
func (x *MsgGridnodeUndelegateResponse) String() string
type MsgServer ¶
type MsgServer interface { DelegateTokens(context.Context, *MsgGridnodeDelegate) (*MsgGridnodeDelegateResponse, error) UndelegateTokens(context.Context, *MsgGridnodeUndelegate) (*MsgGridnodeUndelegateResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the module parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllDelegationsRequest ¶
type QueryAllDelegationsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllDelegationsRequest) Descriptor
deprecated
func (*QueryAllDelegationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllDelegationsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllDelegationsRequest) GetPagination ¶
func (x *QueryAllDelegationsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllDelegationsRequest) ProtoMessage ¶
func (*QueryAllDelegationsRequest) ProtoMessage()
func (*QueryAllDelegationsRequest) ProtoReflect ¶
func (x *QueryAllDelegationsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllDelegationsRequest) Reset ¶
func (x *QueryAllDelegationsRequest) Reset()
func (*QueryAllDelegationsRequest) String ¶
func (x *QueryAllDelegationsRequest) String() string
type QueryAllDelegationsResponse ¶
type QueryAllDelegationsResponse struct { Delegations []*DelegationInfo `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllDelegationsResponse) Descriptor
deprecated
func (*QueryAllDelegationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllDelegationsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllDelegationsResponse) GetDelegations ¶
func (x *QueryAllDelegationsResponse) GetDelegations() []*DelegationInfo
func (*QueryAllDelegationsResponse) GetPagination ¶
func (x *QueryAllDelegationsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllDelegationsResponse) ProtoMessage ¶
func (*QueryAllDelegationsResponse) ProtoMessage()
func (*QueryAllDelegationsResponse) ProtoReflect ¶
func (x *QueryAllDelegationsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllDelegationsResponse) Reset ¶
func (x *QueryAllDelegationsResponse) Reset()
func (*QueryAllDelegationsResponse) String ¶
func (x *QueryAllDelegationsResponse) String() string
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DelegatedAmount queries the amount delegated by a specific account. DelegatedAmount(ctx context.Context, in *QueryDelegatedAmountRequest, opts ...grpc.CallOption) (*QueryDelegatedAmountResponse, error) UnbondingEntries(ctx context.Context, in *QueryUnbondingEntriesRequest, opts ...grpc.CallOption) (*QueryUnbondingEntriesResponse, error) AllDelegations(ctx context.Context, in *QueryAllDelegationsRequest, opts ...grpc.CallOption) (*QueryAllDelegationsResponse, 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 QueryDelegatedAmountRequest ¶
type QueryDelegatedAmountRequest struct { DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` // contains filtered or unexported fields }
QueryDelegatedAmountRequest is the request type for the Query/DelegatedAmount RPC method.
func (*QueryDelegatedAmountRequest) Descriptor
deprecated
func (*QueryDelegatedAmountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDelegatedAmountRequest.ProtoReflect.Descriptor instead.
func (*QueryDelegatedAmountRequest) GetDelegatorAddress ¶
func (x *QueryDelegatedAmountRequest) GetDelegatorAddress() string
func (*QueryDelegatedAmountRequest) ProtoMessage ¶
func (*QueryDelegatedAmountRequest) ProtoMessage()
func (*QueryDelegatedAmountRequest) ProtoReflect ¶
func (x *QueryDelegatedAmountRequest) ProtoReflect() protoreflect.Message
func (*QueryDelegatedAmountRequest) Reset ¶
func (x *QueryDelegatedAmountRequest) Reset()
func (*QueryDelegatedAmountRequest) String ¶
func (x *QueryDelegatedAmountRequest) String() string
type QueryDelegatedAmountResponse ¶
type QueryDelegatedAmountResponse struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
QueryDelegatedAmountResponse is the response type for the Query/DelegatedAmount RPC method.
func (*QueryDelegatedAmountResponse) Descriptor
deprecated
func (*QueryDelegatedAmountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDelegatedAmountResponse.ProtoReflect.Descriptor instead.
func (*QueryDelegatedAmountResponse) GetAmount ¶
func (x *QueryDelegatedAmountResponse) GetAmount() int64
func (*QueryDelegatedAmountResponse) ProtoMessage ¶
func (*QueryDelegatedAmountResponse) ProtoMessage()
func (*QueryDelegatedAmountResponse) ProtoReflect ¶
func (x *QueryDelegatedAmountResponse) ProtoReflect() protoreflect.Message
func (*QueryDelegatedAmountResponse) Reset ¶
func (x *QueryDelegatedAmountResponse) Reset()
func (*QueryDelegatedAmountResponse) String ¶
func (x *QueryDelegatedAmountResponse) String() string
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) // DelegatedAmount queries the amount delegated by a specific account. DelegatedAmount(context.Context, *QueryDelegatedAmountRequest) (*QueryDelegatedAmountResponse, error) UnbondingEntries(context.Context, *QueryUnbondingEntriesRequest) (*QueryUnbondingEntriesResponse, error) AllDelegations(context.Context, *QueryAllDelegationsRequest) (*QueryAllDelegationsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryUnbondingEntriesRequest ¶
type QueryUnbondingEntriesRequest struct { BondingAccountAddress string `` /* 126-byte string literal not displayed */ Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryUnbondingEntriesRequest is the request type for the Query/UnbondingEntries RPC method.
func (*QueryUnbondingEntriesRequest) Descriptor
deprecated
func (*QueryUnbondingEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryUnbondingEntriesRequest.ProtoReflect.Descriptor instead.
func (*QueryUnbondingEntriesRequest) GetBondingAccountAddress ¶
func (x *QueryUnbondingEntriesRequest) GetBondingAccountAddress() string
func (*QueryUnbondingEntriesRequest) GetPagination ¶
func (x *QueryUnbondingEntriesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryUnbondingEntriesRequest) ProtoMessage ¶
func (*QueryUnbondingEntriesRequest) ProtoMessage()
func (*QueryUnbondingEntriesRequest) ProtoReflect ¶
func (x *QueryUnbondingEntriesRequest) ProtoReflect() protoreflect.Message
func (*QueryUnbondingEntriesRequest) Reset ¶
func (x *QueryUnbondingEntriesRequest) Reset()
func (*QueryUnbondingEntriesRequest) String ¶
func (x *QueryUnbondingEntriesRequest) String() string
type QueryUnbondingEntriesResponse ¶
type QueryUnbondingEntriesResponse struct { UnbondingEntries []*UnbondingEntry `protobuf:"bytes,1,rep,name=unbonding_entries,json=unbondingEntries,proto3" json:"unbonding_entries,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryUnbondingEntriesResponse is the response type for the Query/UnbondingEntries RPC method.
func (*QueryUnbondingEntriesResponse) Descriptor
deprecated
func (*QueryUnbondingEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryUnbondingEntriesResponse.ProtoReflect.Descriptor instead.
func (*QueryUnbondingEntriesResponse) GetPagination ¶
func (x *QueryUnbondingEntriesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryUnbondingEntriesResponse) GetUnbondingEntries ¶
func (x *QueryUnbondingEntriesResponse) GetUnbondingEntries() []*UnbondingEntry
func (*QueryUnbondingEntriesResponse) ProtoMessage ¶
func (*QueryUnbondingEntriesResponse) ProtoMessage()
func (*QueryUnbondingEntriesResponse) ProtoReflect ¶
func (x *QueryUnbondingEntriesResponse) ProtoReflect() protoreflect.Message
func (*QueryUnbondingEntriesResponse) Reset ¶
func (x *QueryUnbondingEntriesResponse) Reset()
func (*QueryUnbondingEntriesResponse) String ¶
func (x *QueryUnbondingEntriesResponse) String() string
type SimpleUnbondingEntry ¶
type SimpleUnbondingEntry struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` CompletionTime int64 `protobuf:"varint,2,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // contains filtered or unexported fields }
func (*SimpleUnbondingEntry) Descriptor
deprecated
func (*SimpleUnbondingEntry) Descriptor() ([]byte, []int)
Deprecated: Use SimpleUnbondingEntry.ProtoReflect.Descriptor instead.
func (*SimpleUnbondingEntry) GetAmount ¶
func (x *SimpleUnbondingEntry) GetAmount() int64
func (*SimpleUnbondingEntry) GetCompletionTime ¶
func (x *SimpleUnbondingEntry) GetCompletionTime() int64
func (*SimpleUnbondingEntry) ProtoMessage ¶
func (*SimpleUnbondingEntry) ProtoMessage()
func (*SimpleUnbondingEntry) ProtoReflect ¶
func (x *SimpleUnbondingEntry) ProtoReflect() protoreflect.Message
func (*SimpleUnbondingEntry) Reset ¶
func (x *SimpleUnbondingEntry) Reset()
func (*SimpleUnbondingEntry) String ¶
func (x *SimpleUnbondingEntry) String() string
type UnbondingEntry ¶
type UnbondingEntry struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // This remains a string as it represents an address Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // Use the Coin type from Cosmos SDK CompletionTime int64 `protobuf:"varint,3,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // Use the Timestamp type for time values // contains filtered or unexported fields }
func (*UnbondingEntry) Descriptor
deprecated
func (*UnbondingEntry) Descriptor() ([]byte, []int)
Deprecated: Use UnbondingEntry.ProtoReflect.Descriptor instead.
func (*UnbondingEntry) GetAccount ¶
func (x *UnbondingEntry) GetAccount() string
func (*UnbondingEntry) GetAmount ¶
func (x *UnbondingEntry) GetAmount() int64
func (*UnbondingEntry) GetCompletionTime ¶
func (x *UnbondingEntry) GetCompletionTime() int64
func (*UnbondingEntry) ProtoMessage ¶
func (*UnbondingEntry) ProtoMessage()
func (*UnbondingEntry) ProtoReflect ¶
func (x *UnbondingEntry) ProtoReflect() protoreflect.Message
func (*UnbondingEntry) Reset ¶
func (x *UnbondingEntry) Reset()
func (*UnbondingEntry) String ¶
func (x *UnbondingEntry) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) DelegateTokens ¶
func (UnimplementedMsgServer) DelegateTokens(context.Context, *MsgGridnodeDelegate) (*MsgGridnodeDelegateResponse, error)
func (UnimplementedMsgServer) UndelegateTokens ¶
func (UnimplementedMsgServer) UndelegateTokens(context.Context, *MsgGridnodeUndelegate) (*MsgGridnodeUndelegateResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllDelegations ¶
func (UnimplementedQueryServer) AllDelegations(context.Context, *QueryAllDelegationsRequest) (*QueryAllDelegationsResponse, error)
func (UnimplementedQueryServer) DelegatedAmount ¶
func (UnimplementedQueryServer) DelegatedAmount(context.Context, *QueryDelegatedAmountRequest) (*QueryDelegatedAmountResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) UnbondingEntries ¶
func (UnimplementedQueryServer) UnbondingEntries(context.Context, *QueryUnbondingEntriesRequest) (*QueryUnbondingEntriesResponse, 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.