records

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
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

View Source
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.

View Source
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.

View 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.

View Source
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.

View Source
var File_stride_records_callbacks_proto protoreflect.FileDescriptor
View Source
var File_stride_records_genesis_proto protoreflect.FileDescriptor
View Source
var File_stride_records_params_proto protoreflect.FileDescriptor
View Source
var File_stride_records_query_proto protoreflect.FileDescriptor
View Source
var File_stride_records_records_proto protoreflect.FileDescriptor
View Source
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) Enum

func (DepositRecord_Source) EnumDescriptor deprecated

func (DepositRecord_Source) EnumDescriptor() ([]byte, []int)

Deprecated: Use DepositRecord_Source.Descriptor instead.

func (DepositRecord_Source) Number

func (DepositRecord_Source) String

func (x DepositRecord_Source) String() string

func (DepositRecord_Source) Type

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) Enum

func (DepositRecord_Status) EnumDescriptor deprecated

func (DepositRecord_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use DepositRecord_Status.Descriptor instead.

func (DepositRecord_Status) Number

func (DepositRecord_Status) String

func (x DepositRecord_Status) String() string

func (DepositRecord_Status) Type

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

func (HostZoneUnbonding_Status) EnumDescriptor deprecated

func (HostZoneUnbonding_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use HostZoneUnbonding_Status.Descriptor instead.

func (HostZoneUnbonding_Status) Number

func (HostZoneUnbonding_Status) String

func (x HostZoneUnbonding_Status) String() string

func (HostZoneUnbonding_Status) Type

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) Enum

func (LSMTokenDeposit_Status) EnumDescriptor deprecated

func (LSMTokenDeposit_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use LSMTokenDeposit_Status.Descriptor instead.

func (LSMTokenDeposit_Status) Number

func (LSMTokenDeposit_Status) String

func (x LSMTokenDeposit_Status) String() string

func (LSMTokenDeposit_Status) Type

type Params

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

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type 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 (*QueryAllDepositRecordRequest) Reset

func (x *QueryAllDepositRecordRequest) Reset()

func (*QueryAllDepositRecordRequest) 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 (*QueryAllDepositRecordResponse) ProtoMessage

func (*QueryAllDepositRecordResponse) ProtoMessage()

func (*QueryAllDepositRecordResponse) ProtoReflect

func (*QueryAllDepositRecordResponse) Reset

func (x *QueryAllDepositRecordResponse) Reset()

func (*QueryAllDepositRecordResponse) 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 (*QueryAllEpochUnbondingRecordRequest) ProtoMessage

func (*QueryAllEpochUnbondingRecordRequest) ProtoMessage()

func (*QueryAllEpochUnbondingRecordRequest) ProtoReflect

func (*QueryAllEpochUnbondingRecordRequest) Reset

func (*QueryAllEpochUnbondingRecordRequest) 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 (*QueryAllEpochUnbondingRecordResponse) ProtoMessage

func (*QueryAllEpochUnbondingRecordResponse) ProtoMessage()

func (*QueryAllEpochUnbondingRecordResponse) ProtoReflect

func (*QueryAllEpochUnbondingRecordResponse) Reset

func (*QueryAllEpochUnbondingRecordResponse) 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

Deprecated: Use QueryAllUserRedemptionRecordForUserRequest.ProtoReflect.Descriptor instead.

func (*QueryAllUserRedemptionRecordForUserRequest) GetAddress

func (*QueryAllUserRedemptionRecordForUserRequest) GetChainId

func (*QueryAllUserRedemptionRecordForUserRequest) GetDay

func (*QueryAllUserRedemptionRecordForUserRequest) GetLimit

func (*QueryAllUserRedemptionRecordForUserRequest) GetPagination

func (*QueryAllUserRedemptionRecordForUserRequest) ProtoMessage

func (*QueryAllUserRedemptionRecordForUserRequest) ProtoReflect

func (*QueryAllUserRedemptionRecordForUserRequest) Reset

func (*QueryAllUserRedemptionRecordForUserRequest) 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

Deprecated: Use QueryAllUserRedemptionRecordForUserResponse.ProtoReflect.Descriptor instead.

func (*QueryAllUserRedemptionRecordForUserResponse) GetPagination

func (*QueryAllUserRedemptionRecordForUserResponse) GetUserRedemptionRecord

func (x *QueryAllUserRedemptionRecordForUserResponse) GetUserRedemptionRecord() []*UserRedemptionRecord

func (*QueryAllUserRedemptionRecordForUserResponse) ProtoMessage

func (*QueryAllUserRedemptionRecordForUserResponse) ProtoReflect

func (*QueryAllUserRedemptionRecordForUserResponse) Reset

func (*QueryAllUserRedemptionRecordForUserResponse) 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 (*QueryAllUserRedemptionRecordRequest) ProtoMessage

func (*QueryAllUserRedemptionRecordRequest) ProtoMessage()

func (*QueryAllUserRedemptionRecordRequest) ProtoReflect

func (*QueryAllUserRedemptionRecordRequest) Reset

func (*QueryAllUserRedemptionRecordRequest) 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 (*QueryAllUserRedemptionRecordResponse) GetUserRedemptionRecord

func (x *QueryAllUserRedemptionRecordResponse) GetUserRedemptionRecord() []*UserRedemptionRecord

func (*QueryAllUserRedemptionRecordResponse) ProtoMessage

func (*QueryAllUserRedemptionRecordResponse) ProtoMessage()

func (*QueryAllUserRedemptionRecordResponse) ProtoReflect

func (*QueryAllUserRedemptionRecordResponse) Reset

func (*QueryAllUserRedemptionRecordResponse) 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 (*QueryDepositRecordByHostRequest) Reset

func (*QueryDepositRecordByHostRequest) 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 (*QueryDepositRecordByHostResponse) Reset

func (*QueryDepositRecordByHostResponse) 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 (*QueryGetDepositRecordRequest) ProtoMessage

func (*QueryGetDepositRecordRequest) ProtoMessage()

func (*QueryGetDepositRecordRequest) ProtoReflect

func (*QueryGetDepositRecordRequest) Reset

func (x *QueryGetDepositRecordRequest) Reset()

func (*QueryGetDepositRecordRequest) 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 (*QueryGetDepositRecordResponse) Reset

func (x *QueryGetDepositRecordResponse) Reset()

func (*QueryGetDepositRecordResponse) 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 (*QueryGetEpochUnbondingRecordRequest) Reset

func (*QueryGetEpochUnbondingRecordRequest) 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 (*QueryGetEpochUnbondingRecordResponse) Reset

func (*QueryGetEpochUnbondingRecordResponse) 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 (*QueryGetUserRedemptionRecordRequest) ProtoMessage

func (*QueryGetUserRedemptionRecordRequest) ProtoMessage()

func (*QueryGetUserRedemptionRecordRequest) ProtoReflect

func (*QueryGetUserRedemptionRecordRequest) Reset

func (*QueryGetUserRedemptionRecordRequest) 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 (*QueryGetUserRedemptionRecordResponse) Reset

func (*QueryGetUserRedemptionRecordResponse) 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) Params

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

Jump to

Keyboard shortcuts

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