Documentation ¶
Index ¶
- Variables
- type Amount
- func (*Amount) Descriptor() ([]byte, []int)deprecated
- func (x *Amount) GetCurrency() string
- func (x *Amount) GetExp() int32
- func (x *Amount) GetNumeric() []byte
- func (x *Amount) GetText() string
- func (*Amount) ProtoMessage()
- func (x *Amount) ProtoReflect() protoreflect.Message
- func (x *Amount) Reset()
- func (x *Amount) String() string
- type Delegators
- func (*Delegators) Descriptor() ([]byte, []int)deprecated
- func (x *Delegators) GetDelegators() map[string]*ValidatorsUnclaimed
- func (x *Delegators) GetHeight() uint64
- func (*Delegators) ProtoMessage()
- func (x *Delegators) ProtoReflect() protoreflect.Message
- func (x *Delegators) Reset()
- func (x *Delegators) String() string
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetAccount() string
- func (x *Reward) GetAmounts() []*Amount
- func (x *Reward) GetChainId() string
- func (x *Reward) GetGrouping() string
- func (x *Reward) GetHeight() uint64
- func (x *Reward) GetNetwork() string
- func (x *Reward) GetSequence() uint64
- func (x *Reward) GetTime() *Timestamp
- func (x *Reward) GetType() string
- func (x *Reward) GetValidator() string
- func (x *Reward) GetVersion() string
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type RewardAmount
- func (*RewardAmount) Descriptor() ([]byte, []int)deprecated
- func (x *RewardAmount) GetAmounts() []*Amount
- func (x *RewardAmount) GetValidator() string
- func (*RewardAmount) ProtoMessage()
- func (x *RewardAmount) ProtoReflect() protoreflect.Message
- func (x *RewardAmount) Reset()
- func (x *RewardAmount) String() string
- type RewardTx
- func (*RewardTx) Descriptor() ([]byte, []int)deprecated
- func (x *RewardTx) GetAmounts() []*Amount
- func (x *RewardTx) GetDelegator() string
- func (x *RewardTx) GetHash() string
- func (x *RewardTx) GetHeight() uint64
- func (x *RewardTx) GetRewardRecipients() []string
- func (x *RewardTx) GetRewards() []*RewardAmount
- func (x *RewardTx) GetTimestamp() *Timestamp
- func (x *RewardTx) GetType() string
- func (x *RewardTx) GetValidatorDst() string
- func (x *RewardTx) GetValidatorSrc() string
- func (*RewardTx) ProtoMessage()
- func (x *RewardTx) ProtoReflect() protoreflect.Message
- func (x *RewardTx) Reset()
- func (x *RewardTx) String() string
- type RewardTxs
- type Rewards
- func (*Rewards) Descriptor() ([]byte, []int)deprecated
- func (x *Rewards) GetChainId() string
- func (x *Rewards) GetClaimed() []*SimpleReward
- func (x *Rewards) GetEarned() []*SimpleReward
- func (x *Rewards) GetGrouping() string
- func (x *Rewards) GetHeight() uint64
- func (x *Rewards) GetNetwork() string
- func (x *Rewards) GetSequence() uint64
- func (x *Rewards) GetTime() *Timestamp
- func (x *Rewards) GetType() string
- func (x *Rewards) GetVersion() string
- func (*Rewards) ProtoMessage()
- func (x *Rewards) ProtoReflect() protoreflect.Message
- func (x *Rewards) Reset()
- func (x *Rewards) String() string
- type SimpleReward
- func (*SimpleReward) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleReward) GetAccount() string
- func (x *SimpleReward) GetAmounts() []*Amount
- func (x *SimpleReward) GetHeight() uint64
- func (x *SimpleReward) GetRewardRecipients() []string
- func (x *SimpleReward) GetTime() *Timestamp
- func (x *SimpleReward) GetTxHash() string
- func (x *SimpleReward) GetValidator() string
- func (*SimpleReward) ProtoMessage()
- func (x *SimpleReward) ProtoReflect() protoreflect.Message
- func (x *SimpleReward) Reset()
- func (x *SimpleReward) String() string
- type Timestamp
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)deprecated
- func (x *Tx) GetAmounts() []*Amount
- func (x *Tx) GetDelegator() string
- func (x *Tx) GetHeight() uint64
- func (x *Tx) GetRecipient() []string
- func (x *Tx) GetRewards() []*Amount
- func (x *Tx) GetSender() []string
- func (x *Tx) GetTimestamp() *Timestamp
- func (x *Tx) GetType() string
- func (x *Tx) GetValidator() []string
- func (x *Tx) GetValidatorDst() string
- func (x *Tx) GetValidatorSrc() string
- func (*Tx) ProtoMessage()
- func (x *Tx) ProtoReflect() protoreflect.Message
- func (x *Tx) Reset()
- func (x *Tx) String() string
- type Txs
- type UnclaimedDenoms
- type ValidatorsUnclaimed
- func (*ValidatorsUnclaimed) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorsUnclaimed) GetAmounts() map[string]*UnclaimedDenoms
- func (*ValidatorsUnclaimed) ProtoMessage()
- func (x *ValidatorsUnclaimed) ProtoReflect() protoreflect.Message
- func (x *ValidatorsUnclaimed) Reset()
- func (x *ValidatorsUnclaimed) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_rewstruct_rewstruct_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Amount ¶
type Amount struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` Numeric []byte `protobuf:"bytes,3,opt,name=numeric,proto3" json:"numeric,omitempty"` Exp int32 `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty"` // contains filtered or unexported fields }
func (*Amount) Descriptor
deprecated
func (*Amount) GetCurrency ¶
func (*Amount) GetNumeric ¶
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) ProtoReflect ¶
func (x *Amount) ProtoReflect() protoreflect.Message
type Delegators ¶
type Delegators struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // delegator address Delegators map[string]*ValidatorsUnclaimed `` // delegator address /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Delegators) Descriptor
deprecated
func (*Delegators) Descriptor() ([]byte, []int)
Deprecated: Use Delegators.ProtoReflect.Descriptor instead.
func (*Delegators) GetDelegators ¶
func (x *Delegators) GetDelegators() map[string]*ValidatorsUnclaimed
func (*Delegators) GetHeight ¶
func (x *Delegators) GetHeight() uint64
func (*Delegators) ProtoMessage ¶
func (*Delegators) ProtoMessage()
func (*Delegators) ProtoReflect ¶
func (x *Delegators) ProtoReflect() protoreflect.Message
func (*Delegators) Reset ¶
func (x *Delegators) Reset()
func (*Delegators) String ¶
func (x *Delegators) String() string
type Reward ¶
type Reward struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // delegator Validator string `protobuf:"bytes,4,opt,name=validator,proto3" json:"validator,omitempty"` // validator Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Height uint64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Time *Timestamp `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` // full timestamp of grouped data Grouping string `protobuf:"bytes,8,opt,name=grouping,proto3" json:"grouping,omitempty"` // grouping that was used (like '1h' ) Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` // optional Version string `protobuf:"bytes,10,opt,name=version,proto3" json:"version,omitempty"` //optional Amounts []*Amount `protobuf:"bytes,11,rep,name=amounts,proto3" json:"amounts,omitempty"` // contains filtered or unexported fields }
func (*Reward) Descriptor
deprecated
func (*Reward) GetAccount ¶
func (*Reward) GetAmounts ¶
func (*Reward) GetChainId ¶
func (*Reward) GetGrouping ¶
func (*Reward) GetNetwork ¶
func (*Reward) GetSequence ¶
func (*Reward) GetValidator ¶
func (*Reward) GetVersion ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
type RewardAmount ¶ added in v0.9.18
type RewardAmount struct { Amounts []*Amount `protobuf:"bytes,1,rep,name=amounts,proto3" json:"amounts,omitempty"` Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
RewardAmount represents a delegator reward structure for cosmos base networks
func (*RewardAmount) Descriptor
deprecated
added in
v0.9.18
func (*RewardAmount) Descriptor() ([]byte, []int)
Deprecated: Use RewardAmount.ProtoReflect.Descriptor instead.
func (*RewardAmount) GetAmounts ¶ added in v0.9.18
func (x *RewardAmount) GetAmounts() []*Amount
func (*RewardAmount) GetValidator ¶ added in v0.9.18
func (x *RewardAmount) GetValidator() string
func (*RewardAmount) ProtoMessage ¶ added in v0.9.18
func (*RewardAmount) ProtoMessage()
func (*RewardAmount) ProtoReflect ¶ added in v0.9.18
func (x *RewardAmount) ProtoReflect() protoreflect.Message
func (*RewardAmount) Reset ¶ added in v0.9.18
func (x *RewardAmount) Reset()
func (*RewardAmount) String ¶ added in v0.9.18
func (x *RewardAmount) String() string
type RewardTx ¶ added in v0.9.18
type RewardTx struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Timestamp *Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Delegator string `protobuf:"bytes,5,opt,name=delegator,proto3" json:"delegator,omitempty"` ValidatorSrc string `protobuf:"bytes,6,opt,name=validator_src,json=validatorSrc,proto3" json:"validator_src,omitempty"` ValidatorDst string `protobuf:"bytes,7,opt,name=validator_dst,json=validatorDst,proto3" json:"validator_dst,omitempty"` Amounts []*Amount `protobuf:"bytes,8,rep,name=amounts,proto3" json:"amounts,omitempty"` Rewards []*RewardAmount `protobuf:"bytes,9,rep,name=rewards,proto3" json:"rewards,omitempty"` RewardRecipients []string `protobuf:"bytes,10,rep,name=reward_recipients,json=rewardRecipients,proto3" json:"reward_recipients,omitempty"` // contains filtered or unexported fields }
RewardTx represents a transaction reward structure for cosmos base networks
func (*RewardTx) Descriptor
deprecated
added in
v0.9.18
func (*RewardTx) GetAmounts ¶ added in v0.9.18
func (*RewardTx) GetDelegator ¶ added in v0.9.18
func (*RewardTx) GetRewardRecipients ¶ added in v0.9.19
func (*RewardTx) GetRewards ¶ added in v0.9.18
func (x *RewardTx) GetRewards() []*RewardAmount
func (*RewardTx) GetTimestamp ¶ added in v0.9.18
func (*RewardTx) GetValidatorDst ¶ added in v0.9.18
func (*RewardTx) GetValidatorSrc ¶ added in v0.9.18
func (*RewardTx) ProtoMessage ¶ added in v0.9.18
func (*RewardTx) ProtoMessage()
func (*RewardTx) ProtoReflect ¶ added in v0.9.18
func (x *RewardTx) ProtoReflect() protoreflect.Message
type RewardTxs ¶ added in v0.9.18
type RewardTxs struct { Txs []*RewardTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // contains filtered or unexported fields }
func (*RewardTxs) Descriptor
deprecated
added in
v0.9.18
func (*RewardTxs) ProtoMessage ¶ added in v0.9.18
func (*RewardTxs) ProtoMessage()
func (*RewardTxs) ProtoReflect ¶ added in v0.9.18
func (x *RewardTxs) ProtoReflect() protoreflect.Message
type Rewards ¶
type Rewards struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Time *Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` // full timestamp of grouped data Grouping string `protobuf:"bytes,6,opt,name=grouping,proto3" json:"grouping,omitempty"` // grouping that was used (like '1h' ) Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // optional Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` //optional Claimed []*SimpleReward `protobuf:"bytes,9,rep,name=claimed,proto3" json:"claimed,omitempty"` Earned []*SimpleReward `protobuf:"bytes,10,rep,name=earned,proto3" json:"earned,omitempty"` // contains filtered or unexported fields }
func (*Rewards) Descriptor
deprecated
func (*Rewards) GetChainId ¶
func (*Rewards) GetClaimed ¶
func (x *Rewards) GetClaimed() []*SimpleReward
func (*Rewards) GetEarned ¶
func (x *Rewards) GetEarned() []*SimpleReward
func (*Rewards) GetGrouping ¶
func (*Rewards) GetNetwork ¶
func (*Rewards) GetSequence ¶
func (*Rewards) GetVersion ¶
func (*Rewards) ProtoMessage ¶
func (*Rewards) ProtoMessage()
func (*Rewards) ProtoReflect ¶
func (x *Rewards) ProtoReflect() protoreflect.Message
type SimpleReward ¶
type SimpleReward struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // delegator Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` // validator Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Time *Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // full timestamp of grouped data Amounts []*Amount `protobuf:"bytes,6,rep,name=amounts,proto3" json:"amounts,omitempty"` TxHash string `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` RewardRecipients []string `protobuf:"bytes,8,rep,name=reward_recipients,json=rewardRecipients,proto3" json:"reward_recipients,omitempty"` // contains filtered or unexported fields }
func (*SimpleReward) Descriptor
deprecated
func (*SimpleReward) Descriptor() ([]byte, []int)
Deprecated: Use SimpleReward.ProtoReflect.Descriptor instead.
func (*SimpleReward) GetAccount ¶
func (x *SimpleReward) GetAccount() string
func (*SimpleReward) GetAmounts ¶
func (x *SimpleReward) GetAmounts() []*Amount
func (*SimpleReward) GetHeight ¶
func (x *SimpleReward) GetHeight() uint64
func (*SimpleReward) GetRewardRecipients ¶ added in v0.9.21
func (x *SimpleReward) GetRewardRecipients() []string
func (*SimpleReward) GetTime ¶
func (x *SimpleReward) GetTime() *Timestamp
func (*SimpleReward) GetTxHash ¶ added in v0.9.21
func (x *SimpleReward) GetTxHash() string
func (*SimpleReward) GetValidator ¶
func (x *SimpleReward) GetValidator() string
func (*SimpleReward) ProtoMessage ¶
func (*SimpleReward) ProtoMessage()
func (*SimpleReward) ProtoReflect ¶
func (x *SimpleReward) ProtoReflect() protoreflect.Message
func (*SimpleReward) Reset ¶
func (x *SimpleReward) Reset()
func (*SimpleReward) String ¶
func (x *SimpleReward) String() string
type Timestamp ¶
type Timestamp struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type Tx ¶
type Tx struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Timestamp *Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Sender []string `protobuf:"bytes,4,rep,name=sender,proto3" json:"sender,omitempty"` Recipient []string `protobuf:"bytes,5,rep,name=recipient,proto3" json:"recipient,omitempty"` Validator []string `protobuf:"bytes,6,rep,name=validator,proto3" json:"validator,omitempty"` Delegator string `protobuf:"bytes,7,opt,name=delegator,proto3" json:"delegator,omitempty"` ValidatorSrc string `protobuf:"bytes,8,opt,name=validator_src,json=validatorSrc,proto3" json:"validator_src,omitempty"` ValidatorDst string `protobuf:"bytes,9,opt,name=validator_dst,json=validatorDst,proto3" json:"validator_dst,omitempty"` Amounts []*Amount `protobuf:"bytes,10,rep,name=amounts,proto3" json:"amounts,omitempty"` Rewards []*Amount `protobuf:"bytes,11,rep,name=rewards,proto3" json:"rewards,omitempty"` // contains filtered or unexported fields }
func (*Tx) Descriptor
deprecated
func (*Tx) GetAmounts ¶
func (*Tx) GetDelegator ¶
func (*Tx) GetRecipient ¶
func (*Tx) GetRewards ¶
func (*Tx) GetTimestamp ¶
func (*Tx) GetValidator ¶
func (*Tx) GetValidatorDst ¶
func (*Tx) GetValidatorSrc ¶
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) ProtoReflect ¶
func (x *Tx) ProtoReflect() protoreflect.Message
type Txs ¶
type Txs struct { Txs []*Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // contains filtered or unexported fields }
func (*Txs) Descriptor
deprecated
func (*Txs) ProtoMessage ¶
func (*Txs) ProtoMessage()
func (*Txs) ProtoReflect ¶
func (x *Txs) ProtoReflect() protoreflect.Message
type UnclaimedDenoms ¶
type UnclaimedDenoms struct { Amount map[string]*Amount `` //denom /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UnclaimedDenoms) Descriptor
deprecated
func (*UnclaimedDenoms) Descriptor() ([]byte, []int)
Deprecated: Use UnclaimedDenoms.ProtoReflect.Descriptor instead.
func (*UnclaimedDenoms) GetAmount ¶
func (x *UnclaimedDenoms) GetAmount() map[string]*Amount
func (*UnclaimedDenoms) ProtoMessage ¶
func (*UnclaimedDenoms) ProtoMessage()
func (*UnclaimedDenoms) ProtoReflect ¶
func (x *UnclaimedDenoms) ProtoReflect() protoreflect.Message
func (*UnclaimedDenoms) Reset ¶
func (x *UnclaimedDenoms) Reset()
func (*UnclaimedDenoms) String ¶
func (x *UnclaimedDenoms) String() string
type ValidatorsUnclaimed ¶
type ValidatorsUnclaimed struct { Amounts map[string]*UnclaimedDenoms `` // validator address /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ValidatorsUnclaimed) Descriptor
deprecated
func (*ValidatorsUnclaimed) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorsUnclaimed.ProtoReflect.Descriptor instead.
func (*ValidatorsUnclaimed) GetAmounts ¶
func (x *ValidatorsUnclaimed) GetAmounts() map[string]*UnclaimedDenoms
func (*ValidatorsUnclaimed) ProtoMessage ¶
func (*ValidatorsUnclaimed) ProtoMessage()
func (*ValidatorsUnclaimed) ProtoReflect ¶
func (x *ValidatorsUnclaimed) ProtoReflect() protoreflect.Message
func (*ValidatorsUnclaimed) Reset ¶
func (x *ValidatorsUnclaimed) Reset()
func (*ValidatorsUnclaimed) String ¶
func (x *ValidatorsUnclaimed) String() string
Click to show internal directories.
Click to hide internal directories.