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.
Index ¶
- Constants
- Variables
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type DepositRecord
- func (*DepositRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DepositRecord) GetAmount() string
- func (x *DepositRecord) GetDenom() string
- func (x *DepositRecord) GetDepositEpochNumber() uint64
- func (x *DepositRecord) GetHostZoneId() string
- func (x *DepositRecord) GetId() uint64
- func (x *DepositRecord) GetSource() DepositRecord_Source
- func (x *DepositRecord) GetStatus() DepositRecord_Status
- func (*DepositRecord) ProtoMessage()
- func (x *DepositRecord) ProtoReflect() protoreflect.Message
- func (x *DepositRecord) Reset()
- func (x *DepositRecord) String() string
- type DepositRecord_Source
- func (DepositRecord_Source) Descriptor() protoreflect.EnumDescriptor
- func (x DepositRecord_Source) Enum() *DepositRecord_Source
- func (DepositRecord_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x DepositRecord_Source) Number() protoreflect.EnumNumber
- func (x DepositRecord_Source) String() string
- func (DepositRecord_Source) Type() protoreflect.EnumType
- type DepositRecord_Status
- func (DepositRecord_Status) Descriptor() protoreflect.EnumDescriptor
- func (x DepositRecord_Status) Enum() *DepositRecord_Status
- func (DepositRecord_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x DepositRecord_Status) Number() protoreflect.EnumNumber
- func (x DepositRecord_Status) String() string
- func (DepositRecord_Status) Type() protoreflect.EnumType
- type EpochUnbondingRecord
- func (*EpochUnbondingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *EpochUnbondingRecord) GetEpochNumber() uint64
- func (x *EpochUnbondingRecord) GetHostZoneUnbondings() []*HostZoneUnbonding
- func (*EpochUnbondingRecord) ProtoMessage()
- func (x *EpochUnbondingRecord) ProtoReflect() protoreflect.Message
- func (x *EpochUnbondingRecord) Reset()
- func (x *EpochUnbondingRecord) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetDepositRecordCount() uint64
- func (x *GenesisState) GetDepositRecordList() []*DepositRecord
- func (x *GenesisState) GetEpochUnbondingRecordList() []*EpochUnbondingRecord
- func (x *GenesisState) GetLsmTokenDepositList() []*LSMTokenDeposit
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPortId() string
- func (x *GenesisState) GetUserRedemptionRecordCount() uint64
- func (x *GenesisState) GetUserRedemptionRecordList() []*UserRedemptionRecord
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type HostZoneUnbonding
- func (*HostZoneUnbonding) Descriptor() ([]byte, []int)deprecated
- func (x *HostZoneUnbonding) GetDenom() string
- func (x *HostZoneUnbonding) GetHostZoneId() string
- func (x *HostZoneUnbonding) GetNativeTokenAmount() string
- func (x *HostZoneUnbonding) GetStTokenAmount() string
- func (x *HostZoneUnbonding) GetStatus() HostZoneUnbonding_Status
- func (x *HostZoneUnbonding) GetUnbondingTime() uint64
- func (x *HostZoneUnbonding) GetUserRedemptionRecords() []string
- func (*HostZoneUnbonding) ProtoMessage()
- func (x *HostZoneUnbonding) ProtoReflect() protoreflect.Message
- func (x *HostZoneUnbonding) Reset()
- func (x *HostZoneUnbonding) String() string
- type HostZoneUnbonding_Status
- func (HostZoneUnbonding_Status) Descriptor() protoreflect.EnumDescriptor
- func (x HostZoneUnbonding_Status) Enum() *HostZoneUnbonding_Status
- func (HostZoneUnbonding_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x HostZoneUnbonding_Status) Number() protoreflect.EnumNumber
- func (x HostZoneUnbonding_Status) String() string
- func (HostZoneUnbonding_Status) Type() protoreflect.EnumType
- type LSMTokenDeposit
- func (*LSMTokenDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *LSMTokenDeposit) GetAmount() string
- func (x *LSMTokenDeposit) GetChainId() string
- func (x *LSMTokenDeposit) GetDenom() string
- func (x *LSMTokenDeposit) GetDepositId() string
- func (x *LSMTokenDeposit) GetIbcDenom() string
- func (x *LSMTokenDeposit) GetStToken() *v1beta1.Coin
- func (x *LSMTokenDeposit) GetStakerAddress() string
- func (x *LSMTokenDeposit) GetStatus() LSMTokenDeposit_Status
- func (x *LSMTokenDeposit) GetValidatorAddress() string
- func (*LSMTokenDeposit) ProtoMessage()
- func (x *LSMTokenDeposit) ProtoReflect() protoreflect.Message
- func (x *LSMTokenDeposit) Reset()
- func (x *LSMTokenDeposit) String() string
- type LSMTokenDeposit_Status
- func (LSMTokenDeposit_Status) Descriptor() protoreflect.EnumDescriptor
- func (x LSMTokenDeposit_Status) Enum() *LSMTokenDeposit_Status
- func (LSMTokenDeposit_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x LSMTokenDeposit_Status) Number() protoreflect.EnumNumber
- func (x LSMTokenDeposit_Status) String() string
- func (LSMTokenDeposit_Status) Type() protoreflect.EnumType
- type Params
- type QueryAllDepositRecordRequest
- func (*QueryAllDepositRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllDepositRecordRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllDepositRecordRequest) ProtoMessage()
- func (x *QueryAllDepositRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllDepositRecordRequest) Reset()
- func (x *QueryAllDepositRecordRequest) String() string
- type QueryAllDepositRecordResponse
- func (*QueryAllDepositRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllDepositRecordResponse) GetDepositRecord() []*DepositRecord
- func (x *QueryAllDepositRecordResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllDepositRecordResponse) ProtoMessage()
- func (x *QueryAllDepositRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllDepositRecordResponse) Reset()
- func (x *QueryAllDepositRecordResponse) String() string
- type QueryAllEpochUnbondingRecordRequest
- func (*QueryAllEpochUnbondingRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllEpochUnbondingRecordRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllEpochUnbondingRecordRequest) ProtoMessage()
- func (x *QueryAllEpochUnbondingRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllEpochUnbondingRecordRequest) Reset()
- func (x *QueryAllEpochUnbondingRecordRequest) String() string
- type QueryAllEpochUnbondingRecordResponse
- func (*QueryAllEpochUnbondingRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllEpochUnbondingRecordResponse) GetEpochUnbondingRecord() []*EpochUnbondingRecord
- func (x *QueryAllEpochUnbondingRecordResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllEpochUnbondingRecordResponse) ProtoMessage()
- func (x *QueryAllEpochUnbondingRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllEpochUnbondingRecordResponse) Reset()
- func (x *QueryAllEpochUnbondingRecordResponse) String() string
- type QueryAllUserRedemptionRecordForUserRequest
- func (*QueryAllUserRedemptionRecordForUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUserRedemptionRecordForUserRequest) GetAddress() string
- func (x *QueryAllUserRedemptionRecordForUserRequest) GetChainId() string
- func (x *QueryAllUserRedemptionRecordForUserRequest) GetDay() uint64
- func (x *QueryAllUserRedemptionRecordForUserRequest) GetLimit() uint64
- func (x *QueryAllUserRedemptionRecordForUserRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllUserRedemptionRecordForUserRequest) ProtoMessage()
- func (x *QueryAllUserRedemptionRecordForUserRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllUserRedemptionRecordForUserRequest) Reset()
- func (x *QueryAllUserRedemptionRecordForUserRequest) String() string
- type QueryAllUserRedemptionRecordForUserResponse
- func (*QueryAllUserRedemptionRecordForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUserRedemptionRecordForUserResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllUserRedemptionRecordForUserResponse) GetUserRedemptionRecord() []*UserRedemptionRecord
- func (*QueryAllUserRedemptionRecordForUserResponse) ProtoMessage()
- func (x *QueryAllUserRedemptionRecordForUserResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllUserRedemptionRecordForUserResponse) Reset()
- func (x *QueryAllUserRedemptionRecordForUserResponse) String() string
- type QueryAllUserRedemptionRecordRequest
- func (*QueryAllUserRedemptionRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUserRedemptionRecordRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllUserRedemptionRecordRequest) ProtoMessage()
- func (x *QueryAllUserRedemptionRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllUserRedemptionRecordRequest) Reset()
- func (x *QueryAllUserRedemptionRecordRequest) String() string
- type QueryAllUserRedemptionRecordResponse
- func (*QueryAllUserRedemptionRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUserRedemptionRecordResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllUserRedemptionRecordResponse) GetUserRedemptionRecord() []*UserRedemptionRecord
- func (*QueryAllUserRedemptionRecordResponse) ProtoMessage()
- func (x *QueryAllUserRedemptionRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllUserRedemptionRecordResponse) Reset()
- func (x *QueryAllUserRedemptionRecordResponse) String() string
- type QueryClient
- type QueryDepositRecordByHostRequest
- func (*QueryDepositRecordByHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDepositRecordByHostRequest) GetHostZoneId() string
- func (*QueryDepositRecordByHostRequest) ProtoMessage()
- func (x *QueryDepositRecordByHostRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDepositRecordByHostRequest) Reset()
- func (x *QueryDepositRecordByHostRequest) String() string
- type QueryDepositRecordByHostResponse
- func (*QueryDepositRecordByHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDepositRecordByHostResponse) GetDepositRecord() []*DepositRecord
- func (*QueryDepositRecordByHostResponse) ProtoMessage()
- func (x *QueryDepositRecordByHostResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDepositRecordByHostResponse) Reset()
- func (x *QueryDepositRecordByHostResponse) String() string
- type QueryGetDepositRecordRequest
- func (*QueryGetDepositRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetDepositRecordRequest) GetId() uint64
- func (*QueryGetDepositRecordRequest) ProtoMessage()
- func (x *QueryGetDepositRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetDepositRecordRequest) Reset()
- func (x *QueryGetDepositRecordRequest) String() string
- type QueryGetDepositRecordResponse
- func (*QueryGetDepositRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetDepositRecordResponse) GetDepositRecord() *DepositRecord
- func (*QueryGetDepositRecordResponse) ProtoMessage()
- func (x *QueryGetDepositRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetDepositRecordResponse) Reset()
- func (x *QueryGetDepositRecordResponse) String() string
- type QueryGetEpochUnbondingRecordRequest
- func (*QueryGetEpochUnbondingRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetEpochUnbondingRecordRequest) GetEpochNumber() uint64
- func (*QueryGetEpochUnbondingRecordRequest) ProtoMessage()
- func (x *QueryGetEpochUnbondingRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetEpochUnbondingRecordRequest) Reset()
- func (x *QueryGetEpochUnbondingRecordRequest) String() string
- type QueryGetEpochUnbondingRecordResponse
- func (*QueryGetEpochUnbondingRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetEpochUnbondingRecordResponse) GetEpochUnbondingRecord() *EpochUnbondingRecord
- func (*QueryGetEpochUnbondingRecordResponse) ProtoMessage()
- func (x *QueryGetEpochUnbondingRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetEpochUnbondingRecordResponse) Reset()
- func (x *QueryGetEpochUnbondingRecordResponse) String() string
- type QueryGetUserRedemptionRecordRequest
- func (*QueryGetUserRedemptionRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUserRedemptionRecordRequest) GetId() string
- func (*QueryGetUserRedemptionRecordRequest) ProtoMessage()
- func (x *QueryGetUserRedemptionRecordRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetUserRedemptionRecordRequest) Reset()
- func (x *QueryGetUserRedemptionRecordRequest) String() string
- type QueryGetUserRedemptionRecordResponse
- func (*QueryGetUserRedemptionRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUserRedemptionRecordResponse) GetUserRedemptionRecord() *UserRedemptionRecord
- func (*QueryGetUserRedemptionRecordResponse) ProtoMessage()
- func (x *QueryGetUserRedemptionRecordResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetUserRedemptionRecordResponse) Reset()
- func (x *QueryGetUserRedemptionRecordResponse) String() string
- type QueryLSMDepositRequest
- func (*QueryLSMDepositRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLSMDepositRequest) GetChainId() string
- func (x *QueryLSMDepositRequest) GetDenom() string
- func (*QueryLSMDepositRequest) ProtoMessage()
- func (x *QueryLSMDepositRequest) ProtoReflect() protoreflect.Message
- func (x *QueryLSMDepositRequest) Reset()
- func (x *QueryLSMDepositRequest) String() string
- type QueryLSMDepositResponse
- func (*QueryLSMDepositResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLSMDepositResponse) GetDeposit() *LSMTokenDeposit
- func (*QueryLSMDepositResponse) ProtoMessage()
- func (x *QueryLSMDepositResponse) ProtoReflect() protoreflect.Message
- func (x *QueryLSMDepositResponse) Reset()
- func (x *QueryLSMDepositResponse) String() string
- type QueryLSMDepositsRequest
- func (*QueryLSMDepositsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLSMDepositsRequest) GetChainId() string
- func (x *QueryLSMDepositsRequest) GetStatus() string
- func (x *QueryLSMDepositsRequest) GetValidatorAddress() string
- func (*QueryLSMDepositsRequest) ProtoMessage()
- func (x *QueryLSMDepositsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryLSMDepositsRequest) Reset()
- func (x *QueryLSMDepositsRequest) String() string
- type QueryLSMDepositsResponse
- func (*QueryLSMDepositsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLSMDepositsResponse) GetDeposits() []*LSMTokenDeposit
- func (*QueryLSMDepositsResponse) ProtoMessage()
- func (x *QueryLSMDepositsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryLSMDepositsResponse) Reset()
- func (x *QueryLSMDepositsResponse) 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 TransferCallback
- type TransferLSMTokenCallback
- func (*TransferLSMTokenCallback) Descriptor() ([]byte, []int)deprecated
- func (x *TransferLSMTokenCallback) GetDeposit() *LSMTokenDeposit
- func (*TransferLSMTokenCallback) ProtoMessage()
- func (x *TransferLSMTokenCallback) ProtoReflect() protoreflect.Message
- func (x *TransferLSMTokenCallback) Reset()
- func (x *TransferLSMTokenCallback) String() string
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) DepositRecord(context.Context, *QueryGetDepositRecordRequest) (*QueryGetDepositRecordResponse, error)
- func (UnimplementedQueryServer) DepositRecordAll(context.Context, *QueryAllDepositRecordRequest) (*QueryAllDepositRecordResponse, error)
- func (UnimplementedQueryServer) DepositRecordByHost(context.Context, *QueryDepositRecordByHostRequest) (*QueryDepositRecordByHostResponse, error)
- func (UnimplementedQueryServer) EpochUnbondingRecord(context.Context, *QueryGetEpochUnbondingRecordRequest) (*QueryGetEpochUnbondingRecordResponse, error)
- func (UnimplementedQueryServer) EpochUnbondingRecordAll(context.Context, *QueryAllEpochUnbondingRecordRequest) (*QueryAllEpochUnbondingRecordResponse, error)
- func (UnimplementedQueryServer) LSMDeposit(context.Context, *QueryLSMDepositRequest) (*QueryLSMDepositResponse, error)
- func (UnimplementedQueryServer) LSMDeposits(context.Context, *QueryLSMDepositsRequest) (*QueryLSMDepositsResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) UserRedemptionRecord(context.Context, *QueryGetUserRedemptionRecordRequest) (*QueryGetUserRedemptionRecordResponse, error)
- func (UnimplementedQueryServer) UserRedemptionRecordAll(context.Context, *QueryAllUserRedemptionRecordRequest) (*QueryAllUserRedemptionRecordResponse, error)
- func (UnimplementedQueryServer) UserRedemptionRecordForUser(context.Context, *QueryAllUserRedemptionRecordForUserRequest) (*QueryAllUserRedemptionRecordForUserResponse, error)
- type UnsafeQueryServer
- type UserRedemptionRecord
- func (*UserRedemptionRecord) Descriptor() ([]byte, []int)deprecated
- func (x *UserRedemptionRecord) GetClaimIsPending() bool
- func (x *UserRedemptionRecord) GetDenom() string
- func (x *UserRedemptionRecord) GetEpochNumber() uint64
- func (x *UserRedemptionRecord) GetHostZoneId() string
- func (x *UserRedemptionRecord) GetId() string
- func (x *UserRedemptionRecord) GetNativeTokenAmount() string
- func (x *UserRedemptionRecord) GetReceiver() string
- func (x *UserRedemptionRecord) GetStTokenAmount() string
- func (*UserRedemptionRecord) ProtoMessage()
- func (x *UserRedemptionRecord) ProtoReflect() protoreflect.Message
- func (x *UserRedemptionRecord) Reset()
- func (x *UserRedemptionRecord) String() string
Constants ¶
const ( Query_Params_FullMethodName = "/stride.records.Query/Params" Query_UserRedemptionRecord_FullMethodName = "/stride.records.Query/UserRedemptionRecord" Query_UserRedemptionRecordAll_FullMethodName = "/stride.records.Query/UserRedemptionRecordAll" Query_UserRedemptionRecordForUser_FullMethodName = "/stride.records.Query/UserRedemptionRecordForUser" Query_EpochUnbondingRecord_FullMethodName = "/stride.records.Query/EpochUnbondingRecord" Query_EpochUnbondingRecordAll_FullMethodName = "/stride.records.Query/EpochUnbondingRecordAll" Query_DepositRecord_FullMethodName = "/stride.records.Query/DepositRecord" Query_DepositRecordAll_FullMethodName = "/stride.records.Query/DepositRecordAll" Query_DepositRecordByHost_FullMethodName = "/stride.records.Query/DepositRecordByHost" Query_LSMDeposit_FullMethodName = "/stride.records.Query/LSMDeposit" Query_LSMDeposits_FullMethodName = "/stride.records.Query/LSMDeposits" )
Variables ¶
var ( DepositRecord_Status_name = map[int32]string{ 0: "TRANSFER_QUEUE", 2: "TRANSFER_IN_PROGRESS", 1: "DELEGATION_QUEUE", 3: "DELEGATION_IN_PROGRESS", } DepositRecord_Status_value = map[string]int32{ "TRANSFER_QUEUE": 0, "TRANSFER_IN_PROGRESS": 2, "DELEGATION_QUEUE": 1, "DELEGATION_IN_PROGRESS": 3, } )
Enum value maps for DepositRecord_Status.
var ( DepositRecord_Source_name = map[int32]string{ 0: "STRIDE", 1: "WITHDRAWAL_ICA", } DepositRecord_Source_value = map[string]int32{ "STRIDE": 0, "WITHDRAWAL_ICA": 1, } )
Enum value maps for DepositRecord_Source.
var ( HostZoneUnbonding_Status_name = map[int32]string{ 0: "UNBONDING_QUEUE", 3: "UNBONDING_IN_PROGRESS", 1: "EXIT_TRANSFER_QUEUE", 4: "EXIT_TRANSFER_IN_PROGRESS", 2: "CLAIMABLE", } HostZoneUnbonding_Status_value = map[string]int32{ "UNBONDING_QUEUE": 0, "UNBONDING_IN_PROGRESS": 3, "EXIT_TRANSFER_QUEUE": 1, "EXIT_TRANSFER_IN_PROGRESS": 4, "CLAIMABLE": 2, } )
Enum value maps for HostZoneUnbonding_Status.
var ( LSMTokenDeposit_Status_name = map[int32]string{ 0: "DEPOSIT_PENDING", 1: "TRANSFER_QUEUE", 2: "TRANSFER_IN_PROGRESS", 3: "TRANSFER_FAILED", 4: "DETOKENIZATION_QUEUE", 5: "DETOKENIZATION_IN_PROGRESS", 6: "DETOKENIZATION_FAILED", } LSMTokenDeposit_Status_value = map[string]int32{ "DEPOSIT_PENDING": 0, "TRANSFER_QUEUE": 1, "TRANSFER_IN_PROGRESS": 2, "TRANSFER_FAILED": 3, "DETOKENIZATION_QUEUE": 4, "DETOKENIZATION_IN_PROGRESS": 5, "DETOKENIZATION_FAILED": 6, } )
Enum value maps for LSMTokenDeposit_Status.
var File_stride_records_callbacks_proto protoreflect.FileDescriptor
var File_stride_records_genesis_proto protoreflect.FileDescriptor
var File_stride_records_params_proto protoreflect.FileDescriptor
var File_stride_records_query_proto protoreflect.FileDescriptor
var File_stride_records_records_proto protoreflect.FileDescriptor
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "stride.records.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "UserRedemptionRecord", Handler: _Query_UserRedemptionRecord_Handler, }, { MethodName: "UserRedemptionRecordAll", Handler: _Query_UserRedemptionRecordAll_Handler, }, { MethodName: "UserRedemptionRecordForUser", Handler: _Query_UserRedemptionRecordForUser_Handler, }, { MethodName: "EpochUnbondingRecord", Handler: _Query_EpochUnbondingRecord_Handler, }, { MethodName: "EpochUnbondingRecordAll", Handler: _Query_EpochUnbondingRecordAll_Handler, }, { MethodName: "DepositRecord", Handler: _Query_DepositRecord_Handler, }, { MethodName: "DepositRecordAll", Handler: _Query_DepositRecordAll_Handler, }, { MethodName: "DepositRecordByHost", Handler: _Query_DepositRecordByHost_Handler, }, { MethodName: "LSMDeposit", Handler: _Query_LSMDeposit_Handler, }, { MethodName: "LSMDeposits", Handler: _Query_LSMDeposits_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "stride/records/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 RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type DepositRecord ¶
type DepositRecord struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` HostZoneId string `protobuf:"bytes,4,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` Status DepositRecord_Status `protobuf:"varint,6,opt,name=status,proto3,enum=stride.records.DepositRecord_Status" json:"status,omitempty"` DepositEpochNumber uint64 `protobuf:"varint,7,opt,name=deposit_epoch_number,json=depositEpochNumber,proto3" json:"deposit_epoch_number,omitempty"` Source DepositRecord_Source `protobuf:"varint,8,opt,name=source,proto3,enum=stride.records.DepositRecord_Source" json:"source,omitempty"` // contains filtered or unexported fields }
func (*DepositRecord) Descriptor
deprecated
func (*DepositRecord) Descriptor() ([]byte, []int)
Deprecated: Use DepositRecord.ProtoReflect.Descriptor instead.
func (*DepositRecord) GetAmount ¶
func (x *DepositRecord) GetAmount() string
func (*DepositRecord) GetDenom ¶
func (x *DepositRecord) GetDenom() string
func (*DepositRecord) GetDepositEpochNumber ¶
func (x *DepositRecord) GetDepositEpochNumber() uint64
func (*DepositRecord) GetHostZoneId ¶
func (x *DepositRecord) GetHostZoneId() string
func (*DepositRecord) GetId ¶
func (x *DepositRecord) GetId() uint64
func (*DepositRecord) GetSource ¶
func (x *DepositRecord) GetSource() DepositRecord_Source
func (*DepositRecord) GetStatus ¶
func (x *DepositRecord) GetStatus() DepositRecord_Status
func (*DepositRecord) ProtoMessage ¶
func (*DepositRecord) ProtoMessage()
func (*DepositRecord) ProtoReflect ¶
func (x *DepositRecord) ProtoReflect() protoreflect.Message
func (*DepositRecord) Reset ¶
func (x *DepositRecord) Reset()
func (*DepositRecord) String ¶
func (x *DepositRecord) String() string
type DepositRecord_Source ¶
type DepositRecord_Source int32
const ( DepositRecord_STRIDE DepositRecord_Source = 0 DepositRecord_WITHDRAWAL_ICA DepositRecord_Source = 1 )
func (DepositRecord_Source) Descriptor ¶
func (DepositRecord_Source) Descriptor() protoreflect.EnumDescriptor
func (DepositRecord_Source) Enum ¶
func (x DepositRecord_Source) Enum() *DepositRecord_Source
func (DepositRecord_Source) EnumDescriptor
deprecated
func (DepositRecord_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use DepositRecord_Source.Descriptor instead.
func (DepositRecord_Source) Number ¶
func (x DepositRecord_Source) Number() protoreflect.EnumNumber
func (DepositRecord_Source) String ¶
func (x DepositRecord_Source) String() string
func (DepositRecord_Source) Type ¶
func (DepositRecord_Source) Type() protoreflect.EnumType
type DepositRecord_Status ¶
type DepositRecord_Status int32
const ( // in transfer queue to be sent to the delegation ICA DepositRecord_TRANSFER_QUEUE DepositRecord_Status = 0 // transfer in progress (IBC packet sent, ack not received) DepositRecord_TRANSFER_IN_PROGRESS DepositRecord_Status = 2 // in staking queue on delegation ICA DepositRecord_DELEGATION_QUEUE DepositRecord_Status = 1 // staking in progress (ICA packet sent, ack not received) DepositRecord_DELEGATION_IN_PROGRESS DepositRecord_Status = 3 )
func (DepositRecord_Status) Descriptor ¶
func (DepositRecord_Status) Descriptor() protoreflect.EnumDescriptor
func (DepositRecord_Status) Enum ¶
func (x DepositRecord_Status) Enum() *DepositRecord_Status
func (DepositRecord_Status) EnumDescriptor
deprecated
func (DepositRecord_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use DepositRecord_Status.Descriptor instead.
func (DepositRecord_Status) Number ¶
func (x DepositRecord_Status) Number() protoreflect.EnumNumber
func (DepositRecord_Status) String ¶
func (x DepositRecord_Status) String() string
func (DepositRecord_Status) Type ¶
func (DepositRecord_Status) Type() protoreflect.EnumType
type EpochUnbondingRecord ¶
type EpochUnbondingRecord struct { EpochNumber uint64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` HostZoneUnbondings []*HostZoneUnbonding `protobuf:"bytes,3,rep,name=host_zone_unbondings,json=hostZoneUnbondings,proto3" json:"host_zone_unbondings,omitempty"` // contains filtered or unexported fields }
func (*EpochUnbondingRecord) Descriptor
deprecated
func (*EpochUnbondingRecord) Descriptor() ([]byte, []int)
Deprecated: Use EpochUnbondingRecord.ProtoReflect.Descriptor instead.
func (*EpochUnbondingRecord) GetEpochNumber ¶
func (x *EpochUnbondingRecord) GetEpochNumber() uint64
func (*EpochUnbondingRecord) GetHostZoneUnbondings ¶
func (x *EpochUnbondingRecord) GetHostZoneUnbondings() []*HostZoneUnbonding
func (*EpochUnbondingRecord) ProtoMessage ¶
func (*EpochUnbondingRecord) ProtoMessage()
func (*EpochUnbondingRecord) ProtoReflect ¶
func (x *EpochUnbondingRecord) ProtoReflect() protoreflect.Message
func (*EpochUnbondingRecord) Reset ¶
func (x *EpochUnbondingRecord) Reset()
func (*EpochUnbondingRecord) String ¶
func (x *EpochUnbondingRecord) String() string
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` UserRedemptionRecordList []*UserRedemptionRecord `` /* 137-byte string literal not displayed */ UserRedemptionRecordCount uint64 `` /* 141-byte string literal not displayed */ EpochUnbondingRecordList []*EpochUnbondingRecord `` /* 137-byte string literal not displayed */ DepositRecordList []*DepositRecord `protobuf:"bytes,7,rep,name=deposit_record_list,json=depositRecordList,proto3" json:"deposit_record_list,omitempty"` DepositRecordCount uint64 `protobuf:"varint,8,opt,name=deposit_record_count,json=depositRecordCount,proto3" json:"deposit_record_count,omitempty"` LsmTokenDepositList []*LSMTokenDeposit `protobuf:"bytes,9,rep,name=lsm_token_deposit_list,json=lsmTokenDepositList,proto3" json:"lsm_token_deposit_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the records module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetDepositRecordCount ¶
func (x *GenesisState) GetDepositRecordCount() uint64
func (*GenesisState) GetDepositRecordList ¶
func (x *GenesisState) GetDepositRecordList() []*DepositRecord
func (*GenesisState) GetEpochUnbondingRecordList ¶
func (x *GenesisState) GetEpochUnbondingRecordList() []*EpochUnbondingRecord
func (*GenesisState) GetLsmTokenDepositList ¶
func (x *GenesisState) GetLsmTokenDepositList() []*LSMTokenDeposit
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPortId ¶
func (x *GenesisState) GetPortId() string
func (*GenesisState) GetUserRedemptionRecordCount ¶
func (x *GenesisState) GetUserRedemptionRecordCount() uint64
func (*GenesisState) GetUserRedemptionRecordList ¶
func (x *GenesisState) GetUserRedemptionRecordList() []*UserRedemptionRecord
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 HostZoneUnbonding ¶
type HostZoneUnbonding struct { StTokenAmount string `protobuf:"bytes,1,opt,name=st_token_amount,json=stTokenAmount,proto3" json:"st_token_amount,omitempty"` NativeTokenAmount string `protobuf:"bytes,2,opt,name=native_token_amount,json=nativeTokenAmount,proto3" json:"native_token_amount,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` HostZoneId string `protobuf:"bytes,4,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` UnbondingTime uint64 `protobuf:"varint,5,opt,name=unbonding_time,json=unbondingTime,proto3" json:"unbonding_time,omitempty"` Status HostZoneUnbonding_Status `protobuf:"varint,6,opt,name=status,proto3,enum=stride.records.HostZoneUnbonding_Status" json:"status,omitempty"` UserRedemptionRecords []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HostZoneUnbonding) Descriptor
deprecated
func (*HostZoneUnbonding) Descriptor() ([]byte, []int)
Deprecated: Use HostZoneUnbonding.ProtoReflect.Descriptor instead.
func (*HostZoneUnbonding) GetDenom ¶
func (x *HostZoneUnbonding) GetDenom() string
func (*HostZoneUnbonding) GetHostZoneId ¶
func (x *HostZoneUnbonding) GetHostZoneId() string
func (*HostZoneUnbonding) GetNativeTokenAmount ¶
func (x *HostZoneUnbonding) GetNativeTokenAmount() string
func (*HostZoneUnbonding) GetStTokenAmount ¶
func (x *HostZoneUnbonding) GetStTokenAmount() string
func (*HostZoneUnbonding) GetStatus ¶
func (x *HostZoneUnbonding) GetStatus() HostZoneUnbonding_Status
func (*HostZoneUnbonding) GetUnbondingTime ¶
func (x *HostZoneUnbonding) GetUnbondingTime() uint64
func (*HostZoneUnbonding) GetUserRedemptionRecords ¶
func (x *HostZoneUnbonding) GetUserRedemptionRecords() []string
func (*HostZoneUnbonding) ProtoMessage ¶
func (*HostZoneUnbonding) ProtoMessage()
func (*HostZoneUnbonding) ProtoReflect ¶
func (x *HostZoneUnbonding) ProtoReflect() protoreflect.Message
func (*HostZoneUnbonding) Reset ¶
func (x *HostZoneUnbonding) Reset()
func (*HostZoneUnbonding) String ¶
func (x *HostZoneUnbonding) String() string
type HostZoneUnbonding_Status ¶
type HostZoneUnbonding_Status int32
const ( // tokens bonded on delegate account HostZoneUnbonding_UNBONDING_QUEUE HostZoneUnbonding_Status = 0 HostZoneUnbonding_UNBONDING_IN_PROGRESS HostZoneUnbonding_Status = 3 // unbonding completed on delegate account HostZoneUnbonding_EXIT_TRANSFER_QUEUE HostZoneUnbonding_Status = 1 HostZoneUnbonding_EXIT_TRANSFER_IN_PROGRESS HostZoneUnbonding_Status = 4 // transfer success HostZoneUnbonding_CLAIMABLE HostZoneUnbonding_Status = 2 )
func (HostZoneUnbonding_Status) Descriptor ¶
func (HostZoneUnbonding_Status) Descriptor() protoreflect.EnumDescriptor
func (HostZoneUnbonding_Status) Enum ¶
func (x HostZoneUnbonding_Status) Enum() *HostZoneUnbonding_Status
func (HostZoneUnbonding_Status) EnumDescriptor
deprecated
func (HostZoneUnbonding_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use HostZoneUnbonding_Status.Descriptor instead.
func (HostZoneUnbonding_Status) Number ¶
func (x HostZoneUnbonding_Status) Number() protoreflect.EnumNumber
func (HostZoneUnbonding_Status) String ¶
func (x HostZoneUnbonding_Status) String() string
func (HostZoneUnbonding_Status) Type ¶
func (HostZoneUnbonding_Status) Type() protoreflect.EnumType
type LSMTokenDeposit ¶
type LSMTokenDeposit struct { DepositId string `protobuf:"bytes,1,opt,name=deposit_id,json=depositId,proto3" json:"deposit_id,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` IbcDenom string `protobuf:"bytes,4,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"` StakerAddress string `protobuf:"bytes,5,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"` ValidatorAddress string `protobuf:"bytes,6,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Amount string `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"` StToken *v1beta1.Coin `protobuf:"bytes,8,opt,name=st_token,json=stToken,proto3" json:"st_token,omitempty"` Status LSMTokenDeposit_Status `protobuf:"varint,9,opt,name=status,proto3,enum=stride.records.LSMTokenDeposit_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*LSMTokenDeposit) Descriptor
deprecated
func (*LSMTokenDeposit) Descriptor() ([]byte, []int)
Deprecated: Use LSMTokenDeposit.ProtoReflect.Descriptor instead.
func (*LSMTokenDeposit) GetAmount ¶
func (x *LSMTokenDeposit) GetAmount() string
func (*LSMTokenDeposit) GetChainId ¶
func (x *LSMTokenDeposit) GetChainId() string
func (*LSMTokenDeposit) GetDenom ¶
func (x *LSMTokenDeposit) GetDenom() string
func (*LSMTokenDeposit) GetDepositId ¶
func (x *LSMTokenDeposit) GetDepositId() string
func (*LSMTokenDeposit) GetIbcDenom ¶
func (x *LSMTokenDeposit) GetIbcDenom() string
func (*LSMTokenDeposit) GetStToken ¶
func (x *LSMTokenDeposit) GetStToken() *v1beta1.Coin
func (*LSMTokenDeposit) GetStakerAddress ¶
func (x *LSMTokenDeposit) GetStakerAddress() string
func (*LSMTokenDeposit) GetStatus ¶
func (x *LSMTokenDeposit) GetStatus() LSMTokenDeposit_Status
func (*LSMTokenDeposit) GetValidatorAddress ¶
func (x *LSMTokenDeposit) GetValidatorAddress() string
func (*LSMTokenDeposit) ProtoMessage ¶
func (*LSMTokenDeposit) ProtoMessage()
func (*LSMTokenDeposit) ProtoReflect ¶
func (x *LSMTokenDeposit) ProtoReflect() protoreflect.Message
func (*LSMTokenDeposit) Reset ¶
func (x *LSMTokenDeposit) Reset()
func (*LSMTokenDeposit) String ¶
func (x *LSMTokenDeposit) String() string
type LSMTokenDeposit_Status ¶
type LSMTokenDeposit_Status int32
const ( LSMTokenDeposit_DEPOSIT_PENDING LSMTokenDeposit_Status = 0 LSMTokenDeposit_TRANSFER_QUEUE LSMTokenDeposit_Status = 1 LSMTokenDeposit_TRANSFER_IN_PROGRESS LSMTokenDeposit_Status = 2 LSMTokenDeposit_TRANSFER_FAILED LSMTokenDeposit_Status = 3 LSMTokenDeposit_DETOKENIZATION_QUEUE LSMTokenDeposit_Status = 4 LSMTokenDeposit_DETOKENIZATION_IN_PROGRESS LSMTokenDeposit_Status = 5 LSMTokenDeposit_DETOKENIZATION_FAILED LSMTokenDeposit_Status = 6 )
func (LSMTokenDeposit_Status) Descriptor ¶
func (LSMTokenDeposit_Status) Descriptor() protoreflect.EnumDescriptor
func (LSMTokenDeposit_Status) Enum ¶
func (x LSMTokenDeposit_Status) Enum() *LSMTokenDeposit_Status
func (LSMTokenDeposit_Status) EnumDescriptor
deprecated
func (LSMTokenDeposit_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use LSMTokenDeposit_Status.Descriptor instead.
func (LSMTokenDeposit_Status) Number ¶
func (x LSMTokenDeposit_Status) Number() protoreflect.EnumNumber
func (LSMTokenDeposit_Status) String ¶
func (x LSMTokenDeposit_Status) String() string
func (LSMTokenDeposit_Status) Type ¶
func (LSMTokenDeposit_Status) Type() protoreflect.EnumType
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 QueryAllDepositRecordRequest ¶
type QueryAllDepositRecordRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllDepositRecordRequest) Descriptor
deprecated
func (*QueryAllDepositRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllDepositRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryAllDepositRecordRequest) GetPagination ¶
func (x *QueryAllDepositRecordRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllDepositRecordRequest) ProtoMessage ¶
func (*QueryAllDepositRecordRequest) ProtoMessage()
func (*QueryAllDepositRecordRequest) ProtoReflect ¶
func (x *QueryAllDepositRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryAllDepositRecordRequest) Reset ¶
func (x *QueryAllDepositRecordRequest) Reset()
func (*QueryAllDepositRecordRequest) String ¶
func (x *QueryAllDepositRecordRequest) String() string
type QueryAllDepositRecordResponse ¶
type QueryAllDepositRecordResponse struct { DepositRecord []*DepositRecord `protobuf:"bytes,1,rep,name=deposit_record,json=depositRecord,proto3" json:"deposit_record,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllDepositRecordResponse) Descriptor
deprecated
func (*QueryAllDepositRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllDepositRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryAllDepositRecordResponse) GetDepositRecord ¶
func (x *QueryAllDepositRecordResponse) GetDepositRecord() []*DepositRecord
func (*QueryAllDepositRecordResponse) GetPagination ¶
func (x *QueryAllDepositRecordResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllDepositRecordResponse) ProtoMessage ¶
func (*QueryAllDepositRecordResponse) ProtoMessage()
func (*QueryAllDepositRecordResponse) ProtoReflect ¶
func (x *QueryAllDepositRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryAllDepositRecordResponse) Reset ¶
func (x *QueryAllDepositRecordResponse) Reset()
func (*QueryAllDepositRecordResponse) String ¶
func (x *QueryAllDepositRecordResponse) String() string
type QueryAllEpochUnbondingRecordRequest ¶
type QueryAllEpochUnbondingRecordRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllEpochUnbondingRecordRequest) Descriptor
deprecated
func (*QueryAllEpochUnbondingRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllEpochUnbondingRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryAllEpochUnbondingRecordRequest) GetPagination ¶
func (x *QueryAllEpochUnbondingRecordRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllEpochUnbondingRecordRequest) ProtoMessage ¶
func (*QueryAllEpochUnbondingRecordRequest) ProtoMessage()
func (*QueryAllEpochUnbondingRecordRequest) ProtoReflect ¶
func (x *QueryAllEpochUnbondingRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryAllEpochUnbondingRecordRequest) Reset ¶
func (x *QueryAllEpochUnbondingRecordRequest) Reset()
func (*QueryAllEpochUnbondingRecordRequest) String ¶
func (x *QueryAllEpochUnbondingRecordRequest) String() string
type QueryAllEpochUnbondingRecordResponse ¶
type QueryAllEpochUnbondingRecordResponse struct { EpochUnbondingRecord []*EpochUnbondingRecord `protobuf:"bytes,1,rep,name=epoch_unbonding_record,json=epochUnbondingRecord,proto3" json:"epoch_unbonding_record,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllEpochUnbondingRecordResponse) Descriptor
deprecated
func (*QueryAllEpochUnbondingRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllEpochUnbondingRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryAllEpochUnbondingRecordResponse) GetEpochUnbondingRecord ¶
func (x *QueryAllEpochUnbondingRecordResponse) GetEpochUnbondingRecord() []*EpochUnbondingRecord
func (*QueryAllEpochUnbondingRecordResponse) GetPagination ¶
func (x *QueryAllEpochUnbondingRecordResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllEpochUnbondingRecordResponse) ProtoMessage ¶
func (*QueryAllEpochUnbondingRecordResponse) ProtoMessage()
func (*QueryAllEpochUnbondingRecordResponse) ProtoReflect ¶
func (x *QueryAllEpochUnbondingRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryAllEpochUnbondingRecordResponse) Reset ¶
func (x *QueryAllEpochUnbondingRecordResponse) Reset()
func (*QueryAllEpochUnbondingRecordResponse) String ¶
func (x *QueryAllEpochUnbondingRecordResponse) String() string
type QueryAllUserRedemptionRecordForUserRequest ¶
type QueryAllUserRedemptionRecordForUserRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Day uint64 `protobuf:"varint,2,opt,name=day,proto3" json:"day,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
Query UserRedemptionRecords by chainId / userId pair
func (*QueryAllUserRedemptionRecordForUserRequest) Descriptor
deprecated
func (*QueryAllUserRedemptionRecordForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUserRedemptionRecordForUserRequest.ProtoReflect.Descriptor instead.
func (*QueryAllUserRedemptionRecordForUserRequest) GetAddress ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) GetAddress() string
func (*QueryAllUserRedemptionRecordForUserRequest) GetChainId ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) GetChainId() string
func (*QueryAllUserRedemptionRecordForUserRequest) GetDay ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) GetDay() uint64
func (*QueryAllUserRedemptionRecordForUserRequest) GetLimit ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) GetLimit() uint64
func (*QueryAllUserRedemptionRecordForUserRequest) GetPagination ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllUserRedemptionRecordForUserRequest) ProtoMessage ¶
func (*QueryAllUserRedemptionRecordForUserRequest) ProtoMessage()
func (*QueryAllUserRedemptionRecordForUserRequest) ProtoReflect ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) ProtoReflect() protoreflect.Message
func (*QueryAllUserRedemptionRecordForUserRequest) Reset ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) Reset()
func (*QueryAllUserRedemptionRecordForUserRequest) String ¶
func (x *QueryAllUserRedemptionRecordForUserRequest) String() string
type QueryAllUserRedemptionRecordForUserResponse ¶
type QueryAllUserRedemptionRecordForUserResponse struct { UserRedemptionRecord []*UserRedemptionRecord `protobuf:"bytes,1,rep,name=user_redemption_record,json=userRedemptionRecord,proto3" json:"user_redemption_record,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllUserRedemptionRecordForUserResponse) Descriptor
deprecated
func (*QueryAllUserRedemptionRecordForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUserRedemptionRecordForUserResponse.ProtoReflect.Descriptor instead.
func (*QueryAllUserRedemptionRecordForUserResponse) GetPagination ¶
func (x *QueryAllUserRedemptionRecordForUserResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllUserRedemptionRecordForUserResponse) GetUserRedemptionRecord ¶
func (x *QueryAllUserRedemptionRecordForUserResponse) GetUserRedemptionRecord() []*UserRedemptionRecord
func (*QueryAllUserRedemptionRecordForUserResponse) ProtoMessage ¶
func (*QueryAllUserRedemptionRecordForUserResponse) ProtoMessage()
func (*QueryAllUserRedemptionRecordForUserResponse) ProtoReflect ¶
func (x *QueryAllUserRedemptionRecordForUserResponse) ProtoReflect() protoreflect.Message
func (*QueryAllUserRedemptionRecordForUserResponse) Reset ¶
func (x *QueryAllUserRedemptionRecordForUserResponse) Reset()
func (*QueryAllUserRedemptionRecordForUserResponse) String ¶
func (x *QueryAllUserRedemptionRecordForUserResponse) String() string
type QueryAllUserRedemptionRecordRequest ¶
type QueryAllUserRedemptionRecordRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllUserRedemptionRecordRequest) Descriptor
deprecated
func (*QueryAllUserRedemptionRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUserRedemptionRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryAllUserRedemptionRecordRequest) GetPagination ¶
func (x *QueryAllUserRedemptionRecordRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllUserRedemptionRecordRequest) ProtoMessage ¶
func (*QueryAllUserRedemptionRecordRequest) ProtoMessage()
func (*QueryAllUserRedemptionRecordRequest) ProtoReflect ¶
func (x *QueryAllUserRedemptionRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryAllUserRedemptionRecordRequest) Reset ¶
func (x *QueryAllUserRedemptionRecordRequest) Reset()
func (*QueryAllUserRedemptionRecordRequest) String ¶
func (x *QueryAllUserRedemptionRecordRequest) String() string
type QueryAllUserRedemptionRecordResponse ¶
type QueryAllUserRedemptionRecordResponse struct { UserRedemptionRecord []*UserRedemptionRecord `protobuf:"bytes,1,rep,name=user_redemption_record,json=userRedemptionRecord,proto3" json:"user_redemption_record,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllUserRedemptionRecordResponse) Descriptor
deprecated
func (*QueryAllUserRedemptionRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUserRedemptionRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryAllUserRedemptionRecordResponse) GetPagination ¶
func (x *QueryAllUserRedemptionRecordResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllUserRedemptionRecordResponse) GetUserRedemptionRecord ¶
func (x *QueryAllUserRedemptionRecordResponse) GetUserRedemptionRecord() []*UserRedemptionRecord
func (*QueryAllUserRedemptionRecordResponse) ProtoMessage ¶
func (*QueryAllUserRedemptionRecordResponse) ProtoMessage()
func (*QueryAllUserRedemptionRecordResponse) ProtoReflect ¶
func (x *QueryAllUserRedemptionRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryAllUserRedemptionRecordResponse) Reset ¶
func (x *QueryAllUserRedemptionRecordResponse) Reset()
func (*QueryAllUserRedemptionRecordResponse) String ¶
func (x *QueryAllUserRedemptionRecordResponse) 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) // Queries a UserRedemptionRecord by id. UserRedemptionRecord(ctx context.Context, in *QueryGetUserRedemptionRecordRequest, opts ...grpc.CallOption) (*QueryGetUserRedemptionRecordResponse, error) // Queries a list of UserRedemptionRecord items. UserRedemptionRecordAll(ctx context.Context, in *QueryAllUserRedemptionRecordRequest, opts ...grpc.CallOption) (*QueryAllUserRedemptionRecordResponse, error) // Queries a list of UserRedemptionRecord items by chainId / userId pair. UserRedemptionRecordForUser(ctx context.Context, in *QueryAllUserRedemptionRecordForUserRequest, opts ...grpc.CallOption) (*QueryAllUserRedemptionRecordForUserResponse, error) // Queries a EpochUnbondingRecord by id. EpochUnbondingRecord(ctx context.Context, in *QueryGetEpochUnbondingRecordRequest, opts ...grpc.CallOption) (*QueryGetEpochUnbondingRecordResponse, error) // Queries a list of EpochUnbondingRecord items. EpochUnbondingRecordAll(ctx context.Context, in *QueryAllEpochUnbondingRecordRequest, opts ...grpc.CallOption) (*QueryAllEpochUnbondingRecordResponse, error) // Queries a DepositRecord by id. DepositRecord(ctx context.Context, in *QueryGetDepositRecordRequest, opts ...grpc.CallOption) (*QueryGetDepositRecordResponse, error) // Queries a list of DepositRecord items. DepositRecordAll(ctx context.Context, in *QueryAllDepositRecordRequest, opts ...grpc.CallOption) (*QueryAllDepositRecordResponse, error) // Queries a list of DepositRecord items for a given host zone DepositRecordByHost(ctx context.Context, in *QueryDepositRecordByHostRequest, opts ...grpc.CallOption) (*QueryDepositRecordByHostResponse, error) // Queries the existing LSMTokenDeposits for one specific deposit LSMDeposit(ctx context.Context, in *QueryLSMDepositRequest, opts ...grpc.CallOption) (*QueryLSMDepositResponse, error) // Queries the existing LSMTokenDeposits for all which match filters // // intended use: // ...stakeibc/lsm_deposits?chain_id=X&validator_address=Y&status=Z LSMDeposits(ctx context.Context, in *QueryLSMDepositsRequest, opts ...grpc.CallOption) (*QueryLSMDepositsResponse, 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 QueryDepositRecordByHostRequest ¶
type QueryDepositRecordByHostRequest struct { HostZoneId string `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` // contains filtered or unexported fields }
func (*QueryDepositRecordByHostRequest) Descriptor
deprecated
func (*QueryDepositRecordByHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDepositRecordByHostRequest.ProtoReflect.Descriptor instead.
func (*QueryDepositRecordByHostRequest) GetHostZoneId ¶
func (x *QueryDepositRecordByHostRequest) GetHostZoneId() string
func (*QueryDepositRecordByHostRequest) ProtoMessage ¶
func (*QueryDepositRecordByHostRequest) ProtoMessage()
func (*QueryDepositRecordByHostRequest) ProtoReflect ¶
func (x *QueryDepositRecordByHostRequest) ProtoReflect() protoreflect.Message
func (*QueryDepositRecordByHostRequest) Reset ¶
func (x *QueryDepositRecordByHostRequest) Reset()
func (*QueryDepositRecordByHostRequest) String ¶
func (x *QueryDepositRecordByHostRequest) String() string
type QueryDepositRecordByHostResponse ¶
type QueryDepositRecordByHostResponse struct { DepositRecord []*DepositRecord `protobuf:"bytes,1,rep,name=deposit_record,json=depositRecord,proto3" json:"deposit_record,omitempty"` // contains filtered or unexported fields }
func (*QueryDepositRecordByHostResponse) Descriptor
deprecated
func (*QueryDepositRecordByHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDepositRecordByHostResponse.ProtoReflect.Descriptor instead.
func (*QueryDepositRecordByHostResponse) GetDepositRecord ¶
func (x *QueryDepositRecordByHostResponse) GetDepositRecord() []*DepositRecord
func (*QueryDepositRecordByHostResponse) ProtoMessage ¶
func (*QueryDepositRecordByHostResponse) ProtoMessage()
func (*QueryDepositRecordByHostResponse) ProtoReflect ¶
func (x *QueryDepositRecordByHostResponse) ProtoReflect() protoreflect.Message
func (*QueryDepositRecordByHostResponse) Reset ¶
func (x *QueryDepositRecordByHostResponse) Reset()
func (*QueryDepositRecordByHostResponse) String ¶
func (x *QueryDepositRecordByHostResponse) String() string
type QueryGetDepositRecordRequest ¶
type QueryGetDepositRecordRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetDepositRecordRequest) Descriptor
deprecated
func (*QueryGetDepositRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetDepositRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryGetDepositRecordRequest) GetId ¶
func (x *QueryGetDepositRecordRequest) GetId() uint64
func (*QueryGetDepositRecordRequest) ProtoMessage ¶
func (*QueryGetDepositRecordRequest) ProtoMessage()
func (*QueryGetDepositRecordRequest) ProtoReflect ¶
func (x *QueryGetDepositRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryGetDepositRecordRequest) Reset ¶
func (x *QueryGetDepositRecordRequest) Reset()
func (*QueryGetDepositRecordRequest) String ¶
func (x *QueryGetDepositRecordRequest) String() string
type QueryGetDepositRecordResponse ¶
type QueryGetDepositRecordResponse struct { DepositRecord *DepositRecord `protobuf:"bytes,1,opt,name=deposit_record,json=depositRecord,proto3" json:"deposit_record,omitempty"` // contains filtered or unexported fields }
func (*QueryGetDepositRecordResponse) Descriptor
deprecated
func (*QueryGetDepositRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetDepositRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryGetDepositRecordResponse) GetDepositRecord ¶
func (x *QueryGetDepositRecordResponse) GetDepositRecord() *DepositRecord
func (*QueryGetDepositRecordResponse) ProtoMessage ¶
func (*QueryGetDepositRecordResponse) ProtoMessage()
func (*QueryGetDepositRecordResponse) ProtoReflect ¶
func (x *QueryGetDepositRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryGetDepositRecordResponse) Reset ¶
func (x *QueryGetDepositRecordResponse) Reset()
func (*QueryGetDepositRecordResponse) String ¶
func (x *QueryGetDepositRecordResponse) String() string
type QueryGetEpochUnbondingRecordRequest ¶
type QueryGetEpochUnbondingRecordRequest struct { EpochNumber uint64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` // contains filtered or unexported fields }
func (*QueryGetEpochUnbondingRecordRequest) Descriptor
deprecated
func (*QueryGetEpochUnbondingRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetEpochUnbondingRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryGetEpochUnbondingRecordRequest) GetEpochNumber ¶
func (x *QueryGetEpochUnbondingRecordRequest) GetEpochNumber() uint64
func (*QueryGetEpochUnbondingRecordRequest) ProtoMessage ¶
func (*QueryGetEpochUnbondingRecordRequest) ProtoMessage()
func (*QueryGetEpochUnbondingRecordRequest) ProtoReflect ¶
func (x *QueryGetEpochUnbondingRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryGetEpochUnbondingRecordRequest) Reset ¶
func (x *QueryGetEpochUnbondingRecordRequest) Reset()
func (*QueryGetEpochUnbondingRecordRequest) String ¶
func (x *QueryGetEpochUnbondingRecordRequest) String() string
type QueryGetEpochUnbondingRecordResponse ¶
type QueryGetEpochUnbondingRecordResponse struct { EpochUnbondingRecord *EpochUnbondingRecord `protobuf:"bytes,1,opt,name=epoch_unbonding_record,json=epochUnbondingRecord,proto3" json:"epoch_unbonding_record,omitempty"` // contains filtered or unexported fields }
func (*QueryGetEpochUnbondingRecordResponse) Descriptor
deprecated
func (*QueryGetEpochUnbondingRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetEpochUnbondingRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryGetEpochUnbondingRecordResponse) GetEpochUnbondingRecord ¶
func (x *QueryGetEpochUnbondingRecordResponse) GetEpochUnbondingRecord() *EpochUnbondingRecord
func (*QueryGetEpochUnbondingRecordResponse) ProtoMessage ¶
func (*QueryGetEpochUnbondingRecordResponse) ProtoMessage()
func (*QueryGetEpochUnbondingRecordResponse) ProtoReflect ¶
func (x *QueryGetEpochUnbondingRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryGetEpochUnbondingRecordResponse) Reset ¶
func (x *QueryGetEpochUnbondingRecordResponse) Reset()
func (*QueryGetEpochUnbondingRecordResponse) String ¶
func (x *QueryGetEpochUnbondingRecordResponse) String() string
type QueryGetUserRedemptionRecordRequest ¶
type QueryGetUserRedemptionRecordRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetUserRedemptionRecordRequest) Descriptor
deprecated
func (*QueryGetUserRedemptionRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUserRedemptionRecordRequest.ProtoReflect.Descriptor instead.
func (*QueryGetUserRedemptionRecordRequest) GetId ¶
func (x *QueryGetUserRedemptionRecordRequest) GetId() string
func (*QueryGetUserRedemptionRecordRequest) ProtoMessage ¶
func (*QueryGetUserRedemptionRecordRequest) ProtoMessage()
func (*QueryGetUserRedemptionRecordRequest) ProtoReflect ¶
func (x *QueryGetUserRedemptionRecordRequest) ProtoReflect() protoreflect.Message
func (*QueryGetUserRedemptionRecordRequest) Reset ¶
func (x *QueryGetUserRedemptionRecordRequest) Reset()
func (*QueryGetUserRedemptionRecordRequest) String ¶
func (x *QueryGetUserRedemptionRecordRequest) String() string
type QueryGetUserRedemptionRecordResponse ¶
type QueryGetUserRedemptionRecordResponse struct { UserRedemptionRecord *UserRedemptionRecord `protobuf:"bytes,1,opt,name=user_redemption_record,json=userRedemptionRecord,proto3" json:"user_redemption_record,omitempty"` // contains filtered or unexported fields }
func (*QueryGetUserRedemptionRecordResponse) Descriptor
deprecated
func (*QueryGetUserRedemptionRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUserRedemptionRecordResponse.ProtoReflect.Descriptor instead.
func (*QueryGetUserRedemptionRecordResponse) GetUserRedemptionRecord ¶
func (x *QueryGetUserRedemptionRecordResponse) GetUserRedemptionRecord() *UserRedemptionRecord
func (*QueryGetUserRedemptionRecordResponse) ProtoMessage ¶
func (*QueryGetUserRedemptionRecordResponse) ProtoMessage()
func (*QueryGetUserRedemptionRecordResponse) ProtoReflect ¶
func (x *QueryGetUserRedemptionRecordResponse) ProtoReflect() protoreflect.Message
func (*QueryGetUserRedemptionRecordResponse) Reset ¶
func (x *QueryGetUserRedemptionRecordResponse) Reset()
func (*QueryGetUserRedemptionRecordResponse) String ¶
func (x *QueryGetUserRedemptionRecordResponse) String() string
type QueryLSMDepositRequest ¶
type QueryLSMDepositRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
func (*QueryLSMDepositRequest) Descriptor
deprecated
func (*QueryLSMDepositRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryLSMDepositRequest.ProtoReflect.Descriptor instead.
func (*QueryLSMDepositRequest) GetChainId ¶
func (x *QueryLSMDepositRequest) GetChainId() string
func (*QueryLSMDepositRequest) GetDenom ¶
func (x *QueryLSMDepositRequest) GetDenom() string
func (*QueryLSMDepositRequest) ProtoMessage ¶
func (*QueryLSMDepositRequest) ProtoMessage()
func (*QueryLSMDepositRequest) ProtoReflect ¶
func (x *QueryLSMDepositRequest) ProtoReflect() protoreflect.Message
func (*QueryLSMDepositRequest) Reset ¶
func (x *QueryLSMDepositRequest) Reset()
func (*QueryLSMDepositRequest) String ¶
func (x *QueryLSMDepositRequest) String() string
type QueryLSMDepositResponse ¶
type QueryLSMDepositResponse struct { Deposit *LSMTokenDeposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"` // contains filtered or unexported fields }
func (*QueryLSMDepositResponse) Descriptor
deprecated
func (*QueryLSMDepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryLSMDepositResponse.ProtoReflect.Descriptor instead.
func (*QueryLSMDepositResponse) GetDeposit ¶
func (x *QueryLSMDepositResponse) GetDeposit() *LSMTokenDeposit
func (*QueryLSMDepositResponse) ProtoMessage ¶
func (*QueryLSMDepositResponse) ProtoMessage()
func (*QueryLSMDepositResponse) ProtoReflect ¶
func (x *QueryLSMDepositResponse) ProtoReflect() protoreflect.Message
func (*QueryLSMDepositResponse) Reset ¶
func (x *QueryLSMDepositResponse) Reset()
func (*QueryLSMDepositResponse) String ¶
func (x *QueryLSMDepositResponse) String() string
type QueryLSMDepositsRequest ¶
type QueryLSMDepositsRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*QueryLSMDepositsRequest) Descriptor
deprecated
func (*QueryLSMDepositsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryLSMDepositsRequest.ProtoReflect.Descriptor instead.
func (*QueryLSMDepositsRequest) GetChainId ¶
func (x *QueryLSMDepositsRequest) GetChainId() string
func (*QueryLSMDepositsRequest) GetStatus ¶
func (x *QueryLSMDepositsRequest) GetStatus() string
func (*QueryLSMDepositsRequest) GetValidatorAddress ¶
func (x *QueryLSMDepositsRequest) GetValidatorAddress() string
func (*QueryLSMDepositsRequest) ProtoMessage ¶
func (*QueryLSMDepositsRequest) ProtoMessage()
func (*QueryLSMDepositsRequest) ProtoReflect ¶
func (x *QueryLSMDepositsRequest) ProtoReflect() protoreflect.Message
func (*QueryLSMDepositsRequest) Reset ¶
func (x *QueryLSMDepositsRequest) Reset()
func (*QueryLSMDepositsRequest) String ¶
func (x *QueryLSMDepositsRequest) String() string
type QueryLSMDepositsResponse ¶
type QueryLSMDepositsResponse struct { Deposits []*LSMTokenDeposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"` // contains filtered or unexported fields }
func (*QueryLSMDepositsResponse) Descriptor
deprecated
func (*QueryLSMDepositsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryLSMDepositsResponse.ProtoReflect.Descriptor instead.
func (*QueryLSMDepositsResponse) GetDeposits ¶
func (x *QueryLSMDepositsResponse) GetDeposits() []*LSMTokenDeposit
func (*QueryLSMDepositsResponse) ProtoMessage ¶
func (*QueryLSMDepositsResponse) ProtoMessage()
func (*QueryLSMDepositsResponse) ProtoReflect ¶
func (x *QueryLSMDepositsResponse) ProtoReflect() protoreflect.Message
func (*QueryLSMDepositsResponse) Reset ¶
func (x *QueryLSMDepositsResponse) Reset()
func (*QueryLSMDepositsResponse) String ¶
func (x *QueryLSMDepositsResponse) 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) // Queries a UserRedemptionRecord by id. UserRedemptionRecord(context.Context, *QueryGetUserRedemptionRecordRequest) (*QueryGetUserRedemptionRecordResponse, error) // Queries a list of UserRedemptionRecord items. UserRedemptionRecordAll(context.Context, *QueryAllUserRedemptionRecordRequest) (*QueryAllUserRedemptionRecordResponse, error) // Queries a list of UserRedemptionRecord items by chainId / userId pair. UserRedemptionRecordForUser(context.Context, *QueryAllUserRedemptionRecordForUserRequest) (*QueryAllUserRedemptionRecordForUserResponse, error) // Queries a EpochUnbondingRecord by id. EpochUnbondingRecord(context.Context, *QueryGetEpochUnbondingRecordRequest) (*QueryGetEpochUnbondingRecordResponse, error) // Queries a list of EpochUnbondingRecord items. EpochUnbondingRecordAll(context.Context, *QueryAllEpochUnbondingRecordRequest) (*QueryAllEpochUnbondingRecordResponse, error) // Queries a DepositRecord by id. DepositRecord(context.Context, *QueryGetDepositRecordRequest) (*QueryGetDepositRecordResponse, error) // Queries a list of DepositRecord items. DepositRecordAll(context.Context, *QueryAllDepositRecordRequest) (*QueryAllDepositRecordResponse, error) // Queries a list of DepositRecord items for a given host zone DepositRecordByHost(context.Context, *QueryDepositRecordByHostRequest) (*QueryDepositRecordByHostResponse, error) // Queries the existing LSMTokenDeposits for one specific deposit LSMDeposit(context.Context, *QueryLSMDepositRequest) (*QueryLSMDepositResponse, error) // Queries the existing LSMTokenDeposits for all which match filters // // intended use: // ...stakeibc/lsm_deposits?chain_id=X&validator_address=Y&status=Z LSMDeposits(context.Context, *QueryLSMDepositsRequest) (*QueryLSMDepositsResponse, 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 TransferCallback ¶
type TransferCallback struct { DepositRecordId uint64 `protobuf:"varint,1,opt,name=deposit_record_id,json=depositRecordId,proto3" json:"deposit_record_id,omitempty"` // contains filtered or unexported fields }
func (*TransferCallback) Descriptor
deprecated
func (*TransferCallback) Descriptor() ([]byte, []int)
Deprecated: Use TransferCallback.ProtoReflect.Descriptor instead.
func (*TransferCallback) GetDepositRecordId ¶
func (x *TransferCallback) GetDepositRecordId() uint64
func (*TransferCallback) ProtoMessage ¶
func (*TransferCallback) ProtoMessage()
func (*TransferCallback) ProtoReflect ¶
func (x *TransferCallback) ProtoReflect() protoreflect.Message
func (*TransferCallback) Reset ¶
func (x *TransferCallback) Reset()
func (*TransferCallback) String ¶
func (x *TransferCallback) String() string
type TransferLSMTokenCallback ¶
type TransferLSMTokenCallback struct { Deposit *LSMTokenDeposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"` // contains filtered or unexported fields }
func (*TransferLSMTokenCallback) Descriptor
deprecated
func (*TransferLSMTokenCallback) Descriptor() ([]byte, []int)
Deprecated: Use TransferLSMTokenCallback.ProtoReflect.Descriptor instead.
func (*TransferLSMTokenCallback) GetDeposit ¶
func (x *TransferLSMTokenCallback) GetDeposit() *LSMTokenDeposit
func (*TransferLSMTokenCallback) ProtoMessage ¶
func (*TransferLSMTokenCallback) ProtoMessage()
func (*TransferLSMTokenCallback) ProtoReflect ¶
func (x *TransferLSMTokenCallback) ProtoReflect() protoreflect.Message
func (*TransferLSMTokenCallback) Reset ¶
func (x *TransferLSMTokenCallback) Reset()
func (*TransferLSMTokenCallback) String ¶
func (x *TransferLSMTokenCallback) String() string
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) DepositRecord ¶
func (UnimplementedQueryServer) DepositRecord(context.Context, *QueryGetDepositRecordRequest) (*QueryGetDepositRecordResponse, error)
func (UnimplementedQueryServer) DepositRecordAll ¶
func (UnimplementedQueryServer) DepositRecordAll(context.Context, *QueryAllDepositRecordRequest) (*QueryAllDepositRecordResponse, error)
func (UnimplementedQueryServer) DepositRecordByHost ¶
func (UnimplementedQueryServer) DepositRecordByHost(context.Context, *QueryDepositRecordByHostRequest) (*QueryDepositRecordByHostResponse, error)
func (UnimplementedQueryServer) EpochUnbondingRecord ¶
func (UnimplementedQueryServer) EpochUnbondingRecord(context.Context, *QueryGetEpochUnbondingRecordRequest) (*QueryGetEpochUnbondingRecordResponse, error)
func (UnimplementedQueryServer) EpochUnbondingRecordAll ¶
func (UnimplementedQueryServer) EpochUnbondingRecordAll(context.Context, *QueryAllEpochUnbondingRecordRequest) (*QueryAllEpochUnbondingRecordResponse, error)
func (UnimplementedQueryServer) LSMDeposit ¶
func (UnimplementedQueryServer) LSMDeposit(context.Context, *QueryLSMDepositRequest) (*QueryLSMDepositResponse, error)
func (UnimplementedQueryServer) LSMDeposits ¶
func (UnimplementedQueryServer) LSMDeposits(context.Context, *QueryLSMDepositsRequest) (*QueryLSMDepositsResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) UserRedemptionRecord ¶
func (UnimplementedQueryServer) UserRedemptionRecord(context.Context, *QueryGetUserRedemptionRecordRequest) (*QueryGetUserRedemptionRecordResponse, error)
func (UnimplementedQueryServer) UserRedemptionRecordAll ¶
func (UnimplementedQueryServer) UserRedemptionRecordAll(context.Context, *QueryAllUserRedemptionRecordRequest) (*QueryAllUserRedemptionRecordResponse, error)
func (UnimplementedQueryServer) UserRedemptionRecordForUser ¶
func (UnimplementedQueryServer) UserRedemptionRecordForUser(context.Context, *QueryAllUserRedemptionRecordForUserRequest) (*QueryAllUserRedemptionRecordForUserResponse, error)
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 UserRedemptionRecord ¶
type UserRedemptionRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // {chain_id}.{epoch}.{receiver} Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` NativeTokenAmount string `protobuf:"bytes,4,opt,name=native_token_amount,json=nativeTokenAmount,proto3" json:"native_token_amount,omitempty"` Denom string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"` HostZoneId string `protobuf:"bytes,6,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"` EpochNumber uint64 `protobuf:"varint,7,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"` ClaimIsPending bool `protobuf:"varint,8,opt,name=claim_is_pending,json=claimIsPending,proto3" json:"claim_is_pending,omitempty"` StTokenAmount string `protobuf:"bytes,9,opt,name=st_token_amount,json=stTokenAmount,proto3" json:"st_token_amount,omitempty"` // contains filtered or unexported fields }
func (*UserRedemptionRecord) Descriptor
deprecated
func (*UserRedemptionRecord) Descriptor() ([]byte, []int)
Deprecated: Use UserRedemptionRecord.ProtoReflect.Descriptor instead.
func (*UserRedemptionRecord) GetClaimIsPending ¶
func (x *UserRedemptionRecord) GetClaimIsPending() bool
func (*UserRedemptionRecord) GetDenom ¶
func (x *UserRedemptionRecord) GetDenom() string
func (*UserRedemptionRecord) GetEpochNumber ¶
func (x *UserRedemptionRecord) GetEpochNumber() uint64
func (*UserRedemptionRecord) GetHostZoneId ¶
func (x *UserRedemptionRecord) GetHostZoneId() string
func (*UserRedemptionRecord) GetId ¶
func (x *UserRedemptionRecord) GetId() string
func (*UserRedemptionRecord) GetNativeTokenAmount ¶
func (x *UserRedemptionRecord) GetNativeTokenAmount() string
func (*UserRedemptionRecord) GetReceiver ¶
func (x *UserRedemptionRecord) GetReceiver() string
func (*UserRedemptionRecord) GetStTokenAmount ¶
func (x *UserRedemptionRecord) GetStTokenAmount() string
func (*UserRedemptionRecord) ProtoMessage ¶
func (*UserRedemptionRecord) ProtoMessage()
func (*UserRedemptionRecord) ProtoReflect ¶
func (x *UserRedemptionRecord) ProtoReflect() protoreflect.Message
func (*UserRedemptionRecord) Reset ¶
func (x *UserRedemptionRecord) Reset()
func (*UserRedemptionRecord) String ¶
func (x *UserRedemptionRecord) String() string