Documentation ¶
Index ¶
- Variables
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type BondStatus
- type DVPair
- func (*DVPair) Descriptor() ([]byte, []int)
- func (m *DVPair) Marshal() (dAtA []byte, err error)
- func (m *DVPair) MarshalTo(dAtA []byte) (int, error)
- func (m *DVPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DVPair) ProtoMessage()
- func (m *DVPair) Reset()
- func (m *DVPair) Size() (n int)
- func (m *DVPair) String() string
- func (m *DVPair) Unmarshal(dAtA []byte) error
- func (m *DVPair) XXX_DiscardUnknown()
- func (m *DVPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DVPair) XXX_Merge(src proto.Message)
- func (m *DVPair) XXX_Size() int
- func (m *DVPair) XXX_Unmarshal(b []byte) error
- type DVPairs
- func (*DVPairs) Descriptor() ([]byte, []int)
- func (m *DVPairs) GetPairs() []DVPair
- func (m *DVPairs) Marshal() (dAtA []byte, err error)
- func (m *DVPairs) MarshalTo(dAtA []byte) (int, error)
- func (m *DVPairs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DVPairs) ProtoMessage()
- func (m *DVPairs) Reset()
- func (m *DVPairs) Size() (n int)
- func (m *DVPairs) String() string
- func (m *DVPairs) Unmarshal(dAtA []byte) error
- func (m *DVPairs) XXX_DiscardUnknown()
- func (m *DVPairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DVPairs) XXX_Merge(src proto.Message)
- func (m *DVPairs) XXX_Size() int
- func (m *DVPairs) XXX_Unmarshal(b []byte) error
- type DVVTriplet
- func (*DVVTriplet) Descriptor() ([]byte, []int)
- func (m *DVVTriplet) Marshal() (dAtA []byte, err error)
- func (m *DVVTriplet) MarshalTo(dAtA []byte) (int, error)
- func (m *DVVTriplet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DVVTriplet) ProtoMessage()
- func (m *DVVTriplet) Reset()
- func (m *DVVTriplet) Size() (n int)
- func (m *DVVTriplet) String() string
- func (m *DVVTriplet) Unmarshal(dAtA []byte) error
- func (m *DVVTriplet) XXX_DiscardUnknown()
- func (m *DVVTriplet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DVVTriplet) XXX_Merge(src proto.Message)
- func (m *DVVTriplet) XXX_Size() int
- func (m *DVVTriplet) XXX_Unmarshal(b []byte) error
- type DVVTriplets
- func (*DVVTriplets) Descriptor() ([]byte, []int)
- func (m *DVVTriplets) GetTriplets() []DVVTriplet
- func (m *DVVTriplets) Marshal() (dAtA []byte, err error)
- func (m *DVVTriplets) MarshalTo(dAtA []byte) (int, error)
- func (m *DVVTriplets) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DVVTriplets) ProtoMessage()
- func (m *DVVTriplets) Reset()
- func (m *DVVTriplets) Size() (n int)
- func (m *DVVTriplets) String() string
- func (m *DVVTriplets) Unmarshal(dAtA []byte) error
- func (m *DVVTriplets) XXX_DiscardUnknown()
- func (m *DVVTriplets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DVVTriplets) XXX_Merge(src proto.Message)
- func (m *DVVTriplets) XXX_Size() int
- func (m *DVVTriplets) XXX_Unmarshal(b []byte) error
- type Delegation
- func (*Delegation) Descriptor() ([]byte, []int)
- func (m *Delegation) Marshal() (dAtA []byte, err error)
- func (m *Delegation) MarshalTo(dAtA []byte) (int, error)
- func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Delegation) ProtoMessage()
- func (m *Delegation) Reset()
- func (m *Delegation) Size() (n int)
- func (m *Delegation) String() string
- func (m *Delegation) Unmarshal(dAtA []byte) error
- func (m *Delegation) XXX_DiscardUnknown()
- func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegation) XXX_Merge(src proto.Message)
- func (m *Delegation) XXX_Size() int
- func (m *Delegation) XXX_Unmarshal(b []byte) error
- type DelegationNFT
- func (*DelegationNFT) Descriptor() ([]byte, []int)
- func (m *DelegationNFT) Marshal() (dAtA []byte, err error)
- func (m *DelegationNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationNFT) ProtoMessage()
- func (m *DelegationNFT) Reset()
- func (m *DelegationNFT) Size() (n int)
- func (m *DelegationNFT) String() string
- func (m *DelegationNFT) Unmarshal(dAtA []byte) error
- func (m *DelegationNFT) XXX_DiscardUnknown()
- func (m *DelegationNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationNFT) XXX_Merge(src proto.Message)
- func (m *DelegationNFT) XXX_Size() int
- func (m *DelegationNFT) XXX_Unmarshal(b []byte) error
- type Description
- func (*Description) Descriptor() ([]byte, []int)
- func (this *Description) Equal(that interface{}) bool
- func (m *Description) GetDetails() string
- func (m *Description) GetIdentity() string
- func (m *Description) GetMoniker() string
- func (m *Description) GetSecurityContact() string
- func (m *Description) GetWebsite() string
- func (m *Description) Marshal() (dAtA []byte, err error)
- func (m *Description) MarshalTo(dAtA []byte) (int, error)
- func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Description) ProtoMessage()
- func (m *Description) Reset()
- func (m *Description) Size() (n int)
- func (m *Description) String() string
- func (m *Description) Unmarshal(dAtA []byte) error
- func (m *Description) XXX_DiscardUnknown()
- func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Description) XXX_Merge(src proto.Message)
- func (m *Description) XXX_Size() int
- func (m *Description) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDelegations() []Delegation
- func (m *GenesisState) GetDelegationsNft() []DelegationNFT
- func (m *GenesisState) GetExported() bool
- func (m *GenesisState) GetLastValidatorPowers() []LastValidatorPower
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetUnbondingDelegations() []UnbondingDelegation
- func (m *GenesisState) GetValidators() []Validator
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type LastValidatorPower
- func (*LastValidatorPower) Descriptor() ([]byte, []int)
- func (m *LastValidatorPower) Marshal() (dAtA []byte, err error)
- func (m *LastValidatorPower) MarshalTo(dAtA []byte) (int, error)
- func (m *LastValidatorPower) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LastValidatorPower) ProtoMessage()
- func (m *LastValidatorPower) Reset()
- func (m *LastValidatorPower) Size() (n int)
- func (m *LastValidatorPower) String() string
- func (m *LastValidatorPower) Unmarshal(dAtA []byte) error
- func (m *LastValidatorPower) XXX_DiscardUnknown()
- func (m *LastValidatorPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastValidatorPower) XXX_Merge(src proto.Message)
- func (m *LastValidatorPower) XXX_Size() int
- func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeclareCandidate
- func (*MsgDeclareCandidate) Descriptor() ([]byte, []int)
- func (m *MsgDeclareCandidate) Marshal() (dAtA []byte, err error)
- func (m *MsgDeclareCandidate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeclareCandidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeclareCandidate) ProtoMessage()
- func (m *MsgDeclareCandidate) Reset()
- func (m *MsgDeclareCandidate) Size() (n int)
- func (m *MsgDeclareCandidate) String() string
- func (m *MsgDeclareCandidate) Unmarshal(dAtA []byte) error
- func (m *MsgDeclareCandidate) XXX_DiscardUnknown()
- func (m *MsgDeclareCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeclareCandidate) XXX_Merge(src proto.Message)
- func (m *MsgDeclareCandidate) XXX_Size() int
- func (m *MsgDeclareCandidate) XXX_Unmarshal(b []byte) error
- type MsgDeclareCandidateResponse
- func (*MsgDeclareCandidateResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeclareCandidateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeclareCandidateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeclareCandidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeclareCandidateResponse) ProtoMessage()
- func (m *MsgDeclareCandidateResponse) Reset()
- func (m *MsgDeclareCandidateResponse) Size() (n int)
- func (m *MsgDeclareCandidateResponse) String() string
- func (m *MsgDeclareCandidateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeclareCandidateResponse) XXX_DiscardUnknown()
- func (m *MsgDeclareCandidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeclareCandidateResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeclareCandidateResponse) XXX_Size() int
- func (m *MsgDeclareCandidateResponse) XXX_Unmarshal(b []byte) error
- type MsgDelegate
- func (*MsgDelegate) Descriptor() ([]byte, []int)
- func (m *MsgDelegate) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegate) ProtoMessage()
- func (m *MsgDelegate) Reset()
- func (m *MsgDelegate) Size() (n int)
- func (m *MsgDelegate) String() string
- func (m *MsgDelegate) Unmarshal(dAtA []byte) error
- func (m *MsgDelegate) XXX_DiscardUnknown()
- func (m *MsgDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegate) XXX_Merge(src proto.Message)
- func (m *MsgDelegate) XXX_Size() int
- func (m *MsgDelegate) XXX_Unmarshal(b []byte) error
- type MsgDelegateNFT
- func (*MsgDelegateNFT) Descriptor() ([]byte, []int)
- func (m *MsgDelegateNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateNFT) ProtoMessage()
- func (m *MsgDelegateNFT) Reset()
- func (m *MsgDelegateNFT) Size() (n int)
- func (m *MsgDelegateNFT) String() string
- func (m *MsgDelegateNFT) Unmarshal(dAtA []byte) error
- func (m *MsgDelegateNFT) XXX_DiscardUnknown()
- func (m *MsgDelegateNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateNFT) XXX_Merge(src proto.Message)
- func (m *MsgDelegateNFT) XXX_Size() int
- func (m *MsgDelegateNFT) XXX_Unmarshal(b []byte) error
- type MsgDelegateNFTResponse
- func (*MsgDelegateNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgDelegateNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateNFTResponse) ProtoMessage()
- func (m *MsgDelegateNFTResponse) Reset()
- func (m *MsgDelegateNFTResponse) Size() (n int)
- func (m *MsgDelegateNFTResponse) String() string
- func (m *MsgDelegateNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDelegateNFTResponse) XXX_DiscardUnknown()
- func (m *MsgDelegateNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgDelegateNFTResponse) XXX_Size() int
- func (m *MsgDelegateNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgDelegateResponse
- func (*MsgDelegateResponse) Descriptor() ([]byte, []int)
- func (m *MsgDelegateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDelegateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDelegateResponse) ProtoMessage()
- func (m *MsgDelegateResponse) Reset()
- func (m *MsgDelegateResponse) Size() (n int)
- func (m *MsgDelegateResponse) String() string
- func (m *MsgDelegateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDelegateResponse) XXX_DiscardUnknown()
- func (m *MsgDelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDelegateResponse) XXX_Merge(src proto.Message)
- func (m *MsgDelegateResponse) XXX_Size() int
- func (m *MsgDelegateResponse) XXX_Unmarshal(b []byte) error
- type MsgEditCandidate
- func (*MsgEditCandidate) Descriptor() ([]byte, []int)
- func (m *MsgEditCandidate) GetDescription() Description
- func (m *MsgEditCandidate) GetRewardAddress() string
- func (m *MsgEditCandidate) GetValidatorAddress() string
- func (m *MsgEditCandidate) Marshal() (dAtA []byte, err error)
- func (m *MsgEditCandidate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditCandidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditCandidate) ProtoMessage()
- func (m *MsgEditCandidate) Reset()
- func (m *MsgEditCandidate) Size() (n int)
- func (m *MsgEditCandidate) String() string
- func (m *MsgEditCandidate) Unmarshal(dAtA []byte) error
- func (m *MsgEditCandidate) XXX_DiscardUnknown()
- func (m *MsgEditCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditCandidate) XXX_Merge(src proto.Message)
- func (m *MsgEditCandidate) XXX_Size() int
- func (m *MsgEditCandidate) XXX_Unmarshal(b []byte) error
- type MsgEditCandidateResponse
- func (*MsgEditCandidateResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditCandidateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditCandidateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditCandidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditCandidateResponse) ProtoMessage()
- func (m *MsgEditCandidateResponse) Reset()
- func (m *MsgEditCandidateResponse) Size() (n int)
- func (m *MsgEditCandidateResponse) String() string
- func (m *MsgEditCandidateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditCandidateResponse) XXX_DiscardUnknown()
- func (m *MsgEditCandidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditCandidateResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditCandidateResponse) XXX_Size() int
- func (m *MsgEditCandidateResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetOffline
- func (*MsgSetOffline) Descriptor() ([]byte, []int)
- func (m *MsgSetOffline) Marshal() (dAtA []byte, err error)
- func (m *MsgSetOffline) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetOffline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetOffline) ProtoMessage()
- func (m *MsgSetOffline) Reset()
- func (m *MsgSetOffline) Size() (n int)
- func (m *MsgSetOffline) String() string
- func (m *MsgSetOffline) Unmarshal(dAtA []byte) error
- func (m *MsgSetOffline) XXX_DiscardUnknown()
- func (m *MsgSetOffline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetOffline) XXX_Merge(src proto.Message)
- func (m *MsgSetOffline) XXX_Size() int
- func (m *MsgSetOffline) XXX_Unmarshal(b []byte) error
- type MsgSetOfflineResponse
- func (*MsgSetOfflineResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetOfflineResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetOfflineResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetOfflineResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetOfflineResponse) ProtoMessage()
- func (m *MsgSetOfflineResponse) Reset()
- func (m *MsgSetOfflineResponse) Size() (n int)
- func (m *MsgSetOfflineResponse) String() string
- func (m *MsgSetOfflineResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetOfflineResponse) XXX_DiscardUnknown()
- func (m *MsgSetOfflineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetOfflineResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetOfflineResponse) XXX_Size() int
- func (m *MsgSetOfflineResponse) XXX_Unmarshal(b []byte) error
- type MsgSetOnline
- func (*MsgSetOnline) Descriptor() ([]byte, []int)
- func (m *MsgSetOnline) Marshal() (dAtA []byte, err error)
- func (m *MsgSetOnline) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetOnline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetOnline) ProtoMessage()
- func (m *MsgSetOnline) Reset()
- func (m *MsgSetOnline) Size() (n int)
- func (m *MsgSetOnline) String() string
- func (m *MsgSetOnline) Unmarshal(dAtA []byte) error
- func (m *MsgSetOnline) XXX_DiscardUnknown()
- func (m *MsgSetOnline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetOnline) XXX_Merge(src proto.Message)
- func (m *MsgSetOnline) XXX_Size() int
- func (m *MsgSetOnline) XXX_Unmarshal(b []byte) error
- type MsgSetOnlineResponse
- func (*MsgSetOnlineResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetOnlineResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetOnlineResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetOnlineResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetOnlineResponse) ProtoMessage()
- func (m *MsgSetOnlineResponse) Reset()
- func (m *MsgSetOnlineResponse) Size() (n int)
- func (m *MsgSetOnlineResponse) String() string
- func (m *MsgSetOnlineResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetOnlineResponse) XXX_DiscardUnknown()
- func (m *MsgSetOnlineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetOnlineResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetOnlineResponse) XXX_Size() int
- func (m *MsgSetOnlineResponse) XXX_Unmarshal(b []byte) error
- type MsgUnbond
- func (*MsgUnbond) Descriptor() ([]byte, []int)
- func (m *MsgUnbond) Marshal() (dAtA []byte, err error)
- func (m *MsgUnbond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnbond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnbond) ProtoMessage()
- func (m *MsgUnbond) Reset()
- func (m *MsgUnbond) Size() (n int)
- func (m *MsgUnbond) String() string
- func (m *MsgUnbond) Unmarshal(dAtA []byte) error
- func (m *MsgUnbond) XXX_DiscardUnknown()
- func (m *MsgUnbond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnbond) XXX_Merge(src proto.Message)
- func (m *MsgUnbond) XXX_Size() int
- func (m *MsgUnbond) XXX_Unmarshal(b []byte) error
- type MsgUnbondNFT
- func (*MsgUnbondNFT) Descriptor() ([]byte, []int)
- func (m *MsgUnbondNFT) Marshal() (dAtA []byte, err error)
- func (m *MsgUnbondNFT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnbondNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnbondNFT) ProtoMessage()
- func (m *MsgUnbondNFT) Reset()
- func (m *MsgUnbondNFT) Size() (n int)
- func (m *MsgUnbondNFT) String() string
- func (m *MsgUnbondNFT) Unmarshal(dAtA []byte) error
- func (m *MsgUnbondNFT) XXX_DiscardUnknown()
- func (m *MsgUnbondNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnbondNFT) XXX_Merge(src proto.Message)
- func (m *MsgUnbondNFT) XXX_Size() int
- func (m *MsgUnbondNFT) XXX_Unmarshal(b []byte) error
- type MsgUnbondNFTResponse
- func (*MsgUnbondNFTResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnbondNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnbondNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnbondNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnbondNFTResponse) ProtoMessage()
- func (m *MsgUnbondNFTResponse) Reset()
- func (m *MsgUnbondNFTResponse) Size() (n int)
- func (m *MsgUnbondNFTResponse) String() string
- func (m *MsgUnbondNFTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnbondNFTResponse) XXX_DiscardUnknown()
- func (m *MsgUnbondNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnbondNFTResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnbondNFTResponse) XXX_Size() int
- func (m *MsgUnbondNFTResponse) XXX_Unmarshal(b []byte) error
- type MsgUnbondResponse
- func (*MsgUnbondResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnbondResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnbondResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnbondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnbondResponse) ProtoMessage()
- func (m *MsgUnbondResponse) Reset()
- func (m *MsgUnbondResponse) Size() (n int)
- func (m *MsgUnbondResponse) String() string
- func (m *MsgUnbondResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnbondResponse) XXX_DiscardUnknown()
- func (m *MsgUnbondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnbondResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnbondResponse) XXX_Size() int
- func (m *MsgUnbondResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBondDenom() string
- func (m *Params) GetHistoricalEntries() uint32
- func (m *Params) GetMaxDelegations() uint32
- func (m *Params) GetMaxEntries() uint32
- func (m *Params) GetMaxValidators() uint32
- func (m *Params) GetUnbondingTime() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryValidatorParams
- func (*QueryValidatorParams) Descriptor() ([]byte, []int)
- func (m *QueryValidatorParams) GetValidatorAddr() string
- func (m *QueryValidatorParams) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorParams) ProtoMessage()
- func (m *QueryValidatorParams) Reset()
- func (m *QueryValidatorParams) Size() (n int)
- func (m *QueryValidatorParams) String() string
- func (m *QueryValidatorParams) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorParams) XXX_DiscardUnknown()
- func (m *QueryValidatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorParams) XXX_Merge(src proto.Message)
- func (m *QueryValidatorParams) XXX_Size() int
- func (m *QueryValidatorParams) XXX_Unmarshal(b []byte) error
- type QueryValidatorsParams
- func (*QueryValidatorsParams) Descriptor() ([]byte, []int)
- func (m *QueryValidatorsParams) GetLimit() int32
- func (m *QueryValidatorsParams) GetPage() int32
- func (m *QueryValidatorsParams) GetStatus() string
- func (m *QueryValidatorsParams) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorsParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorsParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorsParams) ProtoMessage()
- func (m *QueryValidatorsParams) Reset()
- func (m *QueryValidatorsParams) Size() (n int)
- func (m *QueryValidatorsParams) String() string
- func (m *QueryValidatorsParams) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorsParams) XXX_DiscardUnknown()
- func (m *QueryValidatorsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorsParams) XXX_Merge(src proto.Message)
- func (m *QueryValidatorsParams) XXX_Size() int
- func (m *QueryValidatorsParams) XXX_Unmarshal(b []byte) error
- type UnbondingDelegation
- func (*UnbondingDelegation) Descriptor() ([]byte, []int)
- func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)
- func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingDelegation) ProtoMessage()
- func (m *UnbondingDelegation) Reset()
- func (m *UnbondingDelegation) Size() (n int)
- func (m *UnbondingDelegation) String() string
- func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error
- func (m *UnbondingDelegation) XXX_DiscardUnknown()
- func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingDelegation) XXX_Merge(src proto.Message)
- func (m *UnbondingDelegation) XXX_Size() int
- func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error
- type UnbondingDelegationEntry
- func (*UnbondingDelegationEntry) Descriptor() ([]byte, []int)
- func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)
- func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingDelegationEntry) ProtoMessage()
- func (m *UnbondingDelegationEntry) Reset()
- func (m *UnbondingDelegationEntry) Size() (n int)
- func (m *UnbondingDelegationEntry) String() string
- func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error
- func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()
- func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)
- func (m *UnbondingDelegationEntry) XXX_Size() int
- func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error
- type UnbondingDelegationNFTEntry
- func (*UnbondingDelegationNFTEntry) Descriptor() ([]byte, []int)
- func (m *UnbondingDelegationNFTEntry) Marshal() (dAtA []byte, err error)
- func (m *UnbondingDelegationNFTEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingDelegationNFTEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingDelegationNFTEntry) ProtoMessage()
- func (m *UnbondingDelegationNFTEntry) Reset()
- func (m *UnbondingDelegationNFTEntry) Size() (n int)
- func (m *UnbondingDelegationNFTEntry) String() string
- func (m *UnbondingDelegationNFTEntry) Unmarshal(dAtA []byte) error
- func (m *UnbondingDelegationNFTEntry) XXX_DiscardUnknown()
- func (m *UnbondingDelegationNFTEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingDelegationNFTEntry) XXX_Merge(src proto.Message)
- func (m *UnbondingDelegationNFTEntry) XXX_Size() int
- func (m *UnbondingDelegationNFTEntry) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) DeclareCandidate(ctx context.Context, req *MsgDeclareCandidate) (*MsgDeclareCandidateResponse, error)
- func (*UnimplementedMsgServer) Delegate(ctx context.Context, req *MsgDelegate) (*MsgDelegateResponse, error)
- func (*UnimplementedMsgServer) DelegateNFT(ctx context.Context, req *MsgDelegateNFT) (*MsgDelegateNFTResponse, error)
- func (*UnimplementedMsgServer) EditCandidate(ctx context.Context, req *MsgEditCandidate) (*MsgEditCandidateResponse, error)
- func (*UnimplementedMsgServer) SetOffline(ctx context.Context, req *MsgSetOffline) (*MsgSetOfflineResponse, error)
- func (*UnimplementedMsgServer) SetOnline(ctx context.Context, req *MsgSetOnline) (*MsgSetOnlineResponse, error)
- func (*UnimplementedMsgServer) Unbond(ctx context.Context, req *MsgUnbond) (*MsgUnbondResponse, error)
- func (*UnimplementedMsgServer) UnbondNFT(ctx context.Context, req *MsgUnbondNFT) (*MsgUnbondNFTResponse, error)
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetDescription() Description
- func (m *Validator) GetJailed() bool
- func (m *Validator) GetOnline() bool
- func (m *Validator) GetPubKey() *types.Any
- func (m *Validator) GetRewardAddress() string
- func (m *Validator) GetStatus() BondStatus
- func (m *Validator) GetUnbondingCompletionTime() time.Time
- func (m *Validator) GetUnbondingHeight() int64
- func (m *Validator) GetValAddress() string
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthDelegation = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDelegation = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDelegation = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDelegationNft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDelegationNft = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDelegationNft = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthValidator = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowValidator = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group") )
var BondStatus_name = map[int32]string{
0: "BOND_STATUS_UNSPECIFIED",
1: "BOND_STATUS_UNBONDED",
2: "BOND_STATUS_UNBONDING",
3: "BOND_STATUS_BONDED",
}
var BondStatus_value = map[string]int32{
"BOND_STATUS_UNSPECIFIED": 0,
"BOND_STATUS_UNBONDED": 1,
"BOND_STATUS_UNBONDING": 2,
"BOND_STATUS_BONDED": 3,
}
Functions ¶
func RegisterMsgServer ¶
Types ¶
type BondStatus ¶
type BondStatus int32
const ( // UNSPECIFIED defines an invalid validator status. Unspecified BondStatus = 0 // UNBONDED defines a validator that is not bonded. Unbonded BondStatus = 1 // UNBONDING defines a validator that is unbonding. Unbonding BondStatus = 2 // BONDED defines a validator that is bonded. Bonded BondStatus = 3 )
func (BondStatus) EnumDescriptor ¶
func (BondStatus) EnumDescriptor() ([]byte, []int)
func (BondStatus) String ¶
func (x BondStatus) String() string
type DVPair ¶
type DVPair struct { DelegatorAddress string `` /* 134-byte string literal not displayed */ ValidatorAddress string `` /* 134-byte string literal not displayed */ }
It is intended to be used as a marshalable pointer. For example, a DVPair can be used to construct the key to getting an UnbondingDelegation from state.
func (*DVPair) Descriptor ¶
func (*DVPair) MarshalToSizedBuffer ¶
func (*DVPair) ProtoMessage ¶
func (*DVPair) ProtoMessage()
func (*DVPair) XXX_DiscardUnknown ¶
func (m *DVPair) XXX_DiscardUnknown()
func (*DVPair) XXX_Marshal ¶
func (*DVPair) XXX_Unmarshal ¶
type DVPairs ¶
type DVPairs struct {
Pairs []DVPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs"`
}
DVPairs defines an array of DVPair objects.
func (*DVPairs) Descriptor ¶
func (*DVPairs) MarshalToSizedBuffer ¶
func (*DVPairs) ProtoMessage ¶
func (*DVPairs) ProtoMessage()
func (*DVPairs) XXX_DiscardUnknown ¶
func (m *DVPairs) XXX_DiscardUnknown()
func (*DVPairs) XXX_Marshal ¶
func (*DVPairs) XXX_Unmarshal ¶
type DVVTriplet ¶
type DVVTriplet struct { DelegatorAddress string `` /* 134-byte string literal not displayed */ ValidatorSrcAddress string `` /* 149-byte string literal not displayed */ ValidatorDstAddress string `` /* 149-byte string literal not displayed */ }
DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data. It is intended to be used as a marshalable pointer. For example, a DVVTriplet can be used to construct the key to getting a Redelegation from state.
func (*DVVTriplet) Descriptor ¶
func (*DVVTriplet) Descriptor() ([]byte, []int)
func (*DVVTriplet) Marshal ¶
func (m *DVVTriplet) Marshal() (dAtA []byte, err error)
func (*DVVTriplet) MarshalToSizedBuffer ¶
func (m *DVVTriplet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DVVTriplet) ProtoMessage ¶
func (*DVVTriplet) ProtoMessage()
func (*DVVTriplet) Reset ¶
func (m *DVVTriplet) Reset()
func (*DVVTriplet) Size ¶
func (m *DVVTriplet) Size() (n int)
func (*DVVTriplet) String ¶
func (m *DVVTriplet) String() string
func (*DVVTriplet) Unmarshal ¶
func (m *DVVTriplet) Unmarshal(dAtA []byte) error
func (*DVVTriplet) XXX_DiscardUnknown ¶
func (m *DVVTriplet) XXX_DiscardUnknown()
func (*DVVTriplet) XXX_Marshal ¶
func (m *DVVTriplet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DVVTriplet) XXX_Merge ¶
func (m *DVVTriplet) XXX_Merge(src proto.Message)
func (*DVVTriplet) XXX_Size ¶
func (m *DVVTriplet) XXX_Size() int
func (*DVVTriplet) XXX_Unmarshal ¶
func (m *DVVTriplet) XXX_Unmarshal(b []byte) error
type DVVTriplets ¶
type DVVTriplets struct {
Triplets []DVVTriplet `protobuf:"bytes,1,rep,name=triplets,proto3" json:"triplets"`
}
DVVTriplets defines an array of DVVTriplet objects.
func (*DVVTriplets) Descriptor ¶
func (*DVVTriplets) Descriptor() ([]byte, []int)
func (*DVVTriplets) GetTriplets ¶
func (m *DVVTriplets) GetTriplets() []DVVTriplet
func (*DVVTriplets) Marshal ¶
func (m *DVVTriplets) Marshal() (dAtA []byte, err error)
func (*DVVTriplets) MarshalToSizedBuffer ¶
func (m *DVVTriplets) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DVVTriplets) ProtoMessage ¶
func (*DVVTriplets) ProtoMessage()
func (*DVVTriplets) Reset ¶
func (m *DVVTriplets) Reset()
func (*DVVTriplets) Size ¶
func (m *DVVTriplets) Size() (n int)
func (*DVVTriplets) String ¶
func (m *DVVTriplets) String() string
func (*DVVTriplets) Unmarshal ¶
func (m *DVVTriplets) Unmarshal(dAtA []byte) error
func (*DVVTriplets) XXX_DiscardUnknown ¶
func (m *DVVTriplets) XXX_DiscardUnknown()
func (*DVVTriplets) XXX_Marshal ¶
func (m *DVVTriplets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DVVTriplets) XXX_Merge ¶
func (m *DVVTriplets) XXX_Merge(src proto.Message)
func (*DVVTriplets) XXX_Size ¶
func (m *DVVTriplets) XXX_Size() int
func (*DVVTriplets) XXX_Unmarshal ¶
func (m *DVVTriplets) XXX_Unmarshal(b []byte) error
type Delegation ¶
type Delegation struct { // delegator_address is the bech32-encoded address of the delegator. DelegatorAddress string `` /* 134-byte string literal not displayed */ // validator_address is the bech32-encoded address of the validator. ValidatorAddress string `` /* 134-byte string literal not displayed */ // coin is delegate token denom and amount Coin github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin" yaml:"coin"` //tokens_base is the base number of tokens that you will receive if you want to cancel the delegation TokensBase github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */ }
Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.
func (*Delegation) Descriptor ¶
func (*Delegation) Descriptor() ([]byte, []int)
func (*Delegation) Marshal ¶
func (m *Delegation) Marshal() (dAtA []byte, err error)
func (*Delegation) MarshalToSizedBuffer ¶
func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Delegation) ProtoMessage ¶
func (*Delegation) ProtoMessage()
func (*Delegation) Reset ¶
func (m *Delegation) Reset()
func (*Delegation) Size ¶
func (m *Delegation) Size() (n int)
func (*Delegation) String ¶
func (m *Delegation) String() string
func (*Delegation) Unmarshal ¶
func (m *Delegation) Unmarshal(dAtA []byte) error
func (*Delegation) XXX_DiscardUnknown ¶
func (m *Delegation) XXX_DiscardUnknown()
func (*Delegation) XXX_Marshal ¶
func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Delegation) XXX_Merge ¶
func (m *Delegation) XXX_Merge(src proto.Message)
func (*Delegation) XXX_Size ¶
func (m *Delegation) XXX_Size() int
func (*Delegation) XXX_Unmarshal ¶
func (m *Delegation) XXX_Unmarshal(b []byte) error
type DelegationNFT ¶
type DelegationNFT struct { DelegatorAddress string `` /* 134-byte string literal not displayed */ ValidatorAddress string `` /* 134-byte string literal not displayed */ Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` TokenId string `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` Quantity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"quantity" yaml:"quantity"` Coin github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,6,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin" yaml:"coin"` }
func (*DelegationNFT) Descriptor ¶
func (*DelegationNFT) Descriptor() ([]byte, []int)
func (*DelegationNFT) Marshal ¶
func (m *DelegationNFT) Marshal() (dAtA []byte, err error)
func (*DelegationNFT) MarshalToSizedBuffer ¶
func (m *DelegationNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegationNFT) ProtoMessage ¶
func (*DelegationNFT) ProtoMessage()
func (*DelegationNFT) Reset ¶
func (m *DelegationNFT) Reset()
func (*DelegationNFT) Size ¶
func (m *DelegationNFT) Size() (n int)
func (*DelegationNFT) String ¶
func (m *DelegationNFT) String() string
func (*DelegationNFT) Unmarshal ¶
func (m *DelegationNFT) Unmarshal(dAtA []byte) error
func (*DelegationNFT) XXX_DiscardUnknown ¶
func (m *DelegationNFT) XXX_DiscardUnknown()
func (*DelegationNFT) XXX_Marshal ¶
func (m *DelegationNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationNFT) XXX_Merge ¶
func (m *DelegationNFT) XXX_Merge(src proto.Message)
func (*DelegationNFT) XXX_Size ¶
func (m *DelegationNFT) XXX_Size() int
func (*DelegationNFT) XXX_Unmarshal ¶
func (m *DelegationNFT) XXX_Unmarshal(b []byte) error
type Description ¶
type Description struct { // moniker defines a human-readable name for the validator. Moniker string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker,omitempty" yaml:"moniker"` // identity defines an optional identity signature (ex. UPort or Keybase). Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty" yaml:"identity"` // website defines an optional website link. Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty" yaml:"website"` // security_contact defines an optional email for security contact. SecurityContact string `` /* 130-byte string literal not displayed */ // details define other optional details. Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty" yaml:"details"` }
func (*Description) Descriptor ¶
func (*Description) Descriptor() ([]byte, []int)
func (*Description) Equal ¶
func (this *Description) Equal(that interface{}) bool
func (*Description) GetDetails ¶
func (m *Description) GetDetails() string
func (*Description) GetIdentity ¶
func (m *Description) GetIdentity() string
func (*Description) GetMoniker ¶
func (m *Description) GetMoniker() string
func (*Description) GetSecurityContact ¶
func (m *Description) GetSecurityContact() string
func (*Description) GetWebsite ¶
func (m *Description) GetWebsite() string
func (*Description) Marshal ¶
func (m *Description) Marshal() (dAtA []byte, err error)
func (*Description) MarshalToSizedBuffer ¶
func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) Reset ¶
func (m *Description) Reset()
func (*Description) Size ¶
func (m *Description) Size() (n int)
func (*Description) String ¶
func (m *Description) String() string
func (*Description) Unmarshal ¶
func (m *Description) Unmarshal(dAtA []byte) error
func (*Description) XXX_DiscardUnknown ¶
func (m *Description) XXX_DiscardUnknown()
func (*Description) XXX_Marshal ¶
func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Description) XXX_Merge ¶
func (m *Description) XXX_Merge(src proto.Message)
func (*Description) XXX_Size ¶
func (m *Description) XXX_Size() int
func (*Description) XXX_Unmarshal ¶
func (m *Description) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of related to deposit. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. LastTotalPower github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */ // last_validator_powers is a special index that provides a historical list // of the last-block's bonded validators. LastValidatorPowers []LastValidatorPower `` /* 139-byte string literal not displayed */ // delegations defines the validator set at genesis. Validators []Validator `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators" yaml:"validators"` // delegations defines the delegations active at genesis. Delegations []Delegation `protobuf:"bytes,5,rep,name=delegations,proto3" json:"delegations" yaml:"delegations"` //delegations_nft defines ther delegations via nft active at genesis DelegationsNft []DelegationNFT `protobuf:"bytes,6,rep,name=delegations_nft,json=delegationsNft,proto3" json:"delegations_nft" yaml:"delegations_nft"` // unbonding_delegations defines the unbonding delegations active at genesis. UnbondingDelegations []UnbondingDelegation `` /* 140-byte string literal not displayed */ Exported bool `protobuf:"varint,8,opt,name=exported,proto3" json:"exported,omitempty"` }
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDelegations ¶
func (m *GenesisState) GetDelegations() []Delegation
func (*GenesisState) GetDelegationsNft ¶
func (m *GenesisState) GetDelegationsNft() []DelegationNFT
func (*GenesisState) GetExported ¶
func (m *GenesisState) GetExported() bool
func (*GenesisState) GetLastValidatorPowers ¶
func (m *GenesisState) GetLastValidatorPowers() []LastValidatorPower
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetUnbondingDelegations ¶
func (m *GenesisState) GetUnbondingDelegations() []UnbondingDelegation
func (*GenesisState) GetValidators ¶
func (m *GenesisState) GetValidators() []Validator
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LastValidatorPower ¶
type LastValidatorPower struct { // address is the address of the validator. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // power defines the power of the validator. Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` }
LastValidatorPower required for validator set update logic.
func (*LastValidatorPower) Descriptor ¶
func (*LastValidatorPower) Descriptor() ([]byte, []int)
func (*LastValidatorPower) Marshal ¶
func (m *LastValidatorPower) Marshal() (dAtA []byte, err error)
func (*LastValidatorPower) MarshalTo ¶
func (m *LastValidatorPower) MarshalTo(dAtA []byte) (int, error)
func (*LastValidatorPower) MarshalToSizedBuffer ¶
func (m *LastValidatorPower) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LastValidatorPower) ProtoMessage ¶
func (*LastValidatorPower) ProtoMessage()
func (*LastValidatorPower) Reset ¶
func (m *LastValidatorPower) Reset()
func (*LastValidatorPower) Size ¶
func (m *LastValidatorPower) Size() (n int)
func (*LastValidatorPower) String ¶
func (m *LastValidatorPower) String() string
func (*LastValidatorPower) Unmarshal ¶
func (m *LastValidatorPower) Unmarshal(dAtA []byte) error
func (*LastValidatorPower) XXX_DiscardUnknown ¶
func (m *LastValidatorPower) XXX_DiscardUnknown()
func (*LastValidatorPower) XXX_Marshal ¶
func (m *LastValidatorPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastValidatorPower) XXX_Merge ¶
func (m *LastValidatorPower) XXX_Merge(src proto.Message)
func (*LastValidatorPower) XXX_Size ¶
func (m *LastValidatorPower) XXX_Size() int
func (*LastValidatorPower) XXX_Unmarshal ¶
func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { DeclareCandidate(ctx context.Context, in *MsgDeclareCandidate, opts ...grpc.CallOption) (*MsgDeclareCandidateResponse, error) Delegate(ctx context.Context, in *MsgDelegate, opts ...grpc.CallOption) (*MsgDelegateResponse, error) DelegateNFT(ctx context.Context, in *MsgDelegateNFT, opts ...grpc.CallOption) (*MsgDelegateNFTResponse, error) SetOnline(ctx context.Context, in *MsgSetOnline, opts ...grpc.CallOption) (*MsgSetOnlineResponse, error) SetOffline(ctx context.Context, in *MsgSetOffline, opts ...grpc.CallOption) (*MsgSetOfflineResponse, error) Unbond(ctx context.Context, in *MsgUnbond, opts ...grpc.CallOption) (*MsgUnbondResponse, error) UnbondNFT(ctx context.Context, in *MsgUnbondNFT, opts ...grpc.CallOption) (*MsgUnbondNFTResponse, error) EditCandidate(ctx context.Context, in *MsgEditCandidate, opts ...grpc.CallOption) (*MsgEditCandidateResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDeclareCandidate ¶
type MsgDeclareCandidate struct { Commission github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ ValidatorAddr string `protobuf:"bytes,2,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty" yaml:"validator_addr"` RewardAddr string `protobuf:"bytes,3,opt,name=reward_addr,json=rewardAddr,proto3" json:"reward_addr,omitempty" yaml:"reward_addr"` Stake github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=stake,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"stake" yaml:"stake"` Description Description `protobuf:"bytes,5,opt,name=description,proto3" json:"description" yaml:"description"` PubKey *types.Any `protobuf:"bytes,6,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty" yaml:"pub_key"` }
func (*MsgDeclareCandidate) Descriptor ¶
func (*MsgDeclareCandidate) Descriptor() ([]byte, []int)
func (*MsgDeclareCandidate) Marshal ¶
func (m *MsgDeclareCandidate) Marshal() (dAtA []byte, err error)
func (*MsgDeclareCandidate) MarshalTo ¶
func (m *MsgDeclareCandidate) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeclareCandidate) MarshalToSizedBuffer ¶
func (m *MsgDeclareCandidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeclareCandidate) ProtoMessage ¶
func (*MsgDeclareCandidate) ProtoMessage()
func (*MsgDeclareCandidate) Reset ¶
func (m *MsgDeclareCandidate) Reset()
func (*MsgDeclareCandidate) Size ¶
func (m *MsgDeclareCandidate) Size() (n int)
func (*MsgDeclareCandidate) String ¶
func (m *MsgDeclareCandidate) String() string
func (*MsgDeclareCandidate) Unmarshal ¶
func (m *MsgDeclareCandidate) Unmarshal(dAtA []byte) error
func (*MsgDeclareCandidate) XXX_DiscardUnknown ¶
func (m *MsgDeclareCandidate) XXX_DiscardUnknown()
func (*MsgDeclareCandidate) XXX_Marshal ¶
func (m *MsgDeclareCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeclareCandidate) XXX_Merge ¶
func (m *MsgDeclareCandidate) XXX_Merge(src proto.Message)
func (*MsgDeclareCandidate) XXX_Size ¶
func (m *MsgDeclareCandidate) XXX_Size() int
func (*MsgDeclareCandidate) XXX_Unmarshal ¶
func (m *MsgDeclareCandidate) XXX_Unmarshal(b []byte) error
type MsgDeclareCandidateResponse ¶
type MsgDeclareCandidateResponse struct { }
func (*MsgDeclareCandidateResponse) Descriptor ¶
func (*MsgDeclareCandidateResponse) Descriptor() ([]byte, []int)
func (*MsgDeclareCandidateResponse) Marshal ¶
func (m *MsgDeclareCandidateResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeclareCandidateResponse) MarshalTo ¶
func (m *MsgDeclareCandidateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeclareCandidateResponse) MarshalToSizedBuffer ¶
func (m *MsgDeclareCandidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeclareCandidateResponse) ProtoMessage ¶
func (*MsgDeclareCandidateResponse) ProtoMessage()
func (*MsgDeclareCandidateResponse) Reset ¶
func (m *MsgDeclareCandidateResponse) Reset()
func (*MsgDeclareCandidateResponse) Size ¶
func (m *MsgDeclareCandidateResponse) Size() (n int)
func (*MsgDeclareCandidateResponse) String ¶
func (m *MsgDeclareCandidateResponse) String() string
func (*MsgDeclareCandidateResponse) Unmarshal ¶
func (m *MsgDeclareCandidateResponse) Unmarshal(dAtA []byte) error
func (*MsgDeclareCandidateResponse) XXX_DiscardUnknown ¶
func (m *MsgDeclareCandidateResponse) XXX_DiscardUnknown()
func (*MsgDeclareCandidateResponse) XXX_Marshal ¶
func (m *MsgDeclareCandidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeclareCandidateResponse) XXX_Merge ¶
func (m *MsgDeclareCandidateResponse) XXX_Merge(src proto.Message)
func (*MsgDeclareCandidateResponse) XXX_Size ¶
func (m *MsgDeclareCandidateResponse) XXX_Size() int
func (*MsgDeclareCandidateResponse) XXX_Unmarshal ¶
func (m *MsgDeclareCandidateResponse) XXX_Unmarshal(b []byte) error
type MsgDelegate ¶
type MsgDelegate struct { DelegatorAddress string `` /* 134-byte string literal not displayed */ ValidatorAddress string `` /* 134-byte string literal not displayed */ Coin github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin" yaml:"coin"` }
func (*MsgDelegate) Descriptor ¶
func (*MsgDelegate) Descriptor() ([]byte, []int)
func (*MsgDelegate) Marshal ¶
func (m *MsgDelegate) Marshal() (dAtA []byte, err error)
func (*MsgDelegate) MarshalToSizedBuffer ¶
func (m *MsgDelegate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegate) ProtoMessage ¶
func (*MsgDelegate) ProtoMessage()
func (*MsgDelegate) Reset ¶
func (m *MsgDelegate) Reset()
func (*MsgDelegate) Size ¶
func (m *MsgDelegate) Size() (n int)
func (*MsgDelegate) String ¶
func (m *MsgDelegate) String() string
func (*MsgDelegate) Unmarshal ¶
func (m *MsgDelegate) Unmarshal(dAtA []byte) error
func (*MsgDelegate) XXX_DiscardUnknown ¶
func (m *MsgDelegate) XXX_DiscardUnknown()
func (*MsgDelegate) XXX_Marshal ¶
func (m *MsgDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegate) XXX_Merge ¶
func (m *MsgDelegate) XXX_Merge(src proto.Message)
func (*MsgDelegate) XXX_Size ¶
func (m *MsgDelegate) XXX_Size() int
func (*MsgDelegate) XXX_Unmarshal ¶
func (m *MsgDelegate) XXX_Unmarshal(b []byte) error
type MsgDelegateNFT ¶
type MsgDelegateNFT struct { DelegatorAddress string `` /* 134-byte string literal not displayed */ ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address" yaml:"validator_address"` TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` Quantity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"quantity" yaml:"quantity"` }
func (*MsgDelegateNFT) Descriptor ¶
func (*MsgDelegateNFT) Descriptor() ([]byte, []int)
func (*MsgDelegateNFT) Marshal ¶
func (m *MsgDelegateNFT) Marshal() (dAtA []byte, err error)
func (*MsgDelegateNFT) MarshalToSizedBuffer ¶
func (m *MsgDelegateNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateNFT) ProtoMessage ¶
func (*MsgDelegateNFT) ProtoMessage()
func (*MsgDelegateNFT) Reset ¶
func (m *MsgDelegateNFT) Reset()
func (*MsgDelegateNFT) Size ¶
func (m *MsgDelegateNFT) Size() (n int)
func (*MsgDelegateNFT) String ¶
func (m *MsgDelegateNFT) String() string
func (*MsgDelegateNFT) Unmarshal ¶
func (m *MsgDelegateNFT) Unmarshal(dAtA []byte) error
func (*MsgDelegateNFT) XXX_DiscardUnknown ¶
func (m *MsgDelegateNFT) XXX_DiscardUnknown()
func (*MsgDelegateNFT) XXX_Marshal ¶
func (m *MsgDelegateNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateNFT) XXX_Merge ¶
func (m *MsgDelegateNFT) XXX_Merge(src proto.Message)
func (*MsgDelegateNFT) XXX_Size ¶
func (m *MsgDelegateNFT) XXX_Size() int
func (*MsgDelegateNFT) XXX_Unmarshal ¶
func (m *MsgDelegateNFT) XXX_Unmarshal(b []byte) error
type MsgDelegateNFTResponse ¶
type MsgDelegateNFTResponse struct { }
func (*MsgDelegateNFTResponse) Descriptor ¶
func (*MsgDelegateNFTResponse) Descriptor() ([]byte, []int)
func (*MsgDelegateNFTResponse) Marshal ¶
func (m *MsgDelegateNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgDelegateNFTResponse) MarshalTo ¶
func (m *MsgDelegateNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgDelegateNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateNFTResponse) ProtoMessage ¶
func (*MsgDelegateNFTResponse) ProtoMessage()
func (*MsgDelegateNFTResponse) Reset ¶
func (m *MsgDelegateNFTResponse) Reset()
func (*MsgDelegateNFTResponse) Size ¶
func (m *MsgDelegateNFTResponse) Size() (n int)
func (*MsgDelegateNFTResponse) String ¶
func (m *MsgDelegateNFTResponse) String() string
func (*MsgDelegateNFTResponse) Unmarshal ¶
func (m *MsgDelegateNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgDelegateNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgDelegateNFTResponse) XXX_DiscardUnknown()
func (*MsgDelegateNFTResponse) XXX_Marshal ¶
func (m *MsgDelegateNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateNFTResponse) XXX_Merge ¶
func (m *MsgDelegateNFTResponse) XXX_Merge(src proto.Message)
func (*MsgDelegateNFTResponse) XXX_Size ¶
func (m *MsgDelegateNFTResponse) XXX_Size() int
func (*MsgDelegateNFTResponse) XXX_Unmarshal ¶
func (m *MsgDelegateNFTResponse) XXX_Unmarshal(b []byte) error
type MsgDelegateResponse ¶
type MsgDelegateResponse struct { }
func (*MsgDelegateResponse) Descriptor ¶
func (*MsgDelegateResponse) Descriptor() ([]byte, []int)
func (*MsgDelegateResponse) Marshal ¶
func (m *MsgDelegateResponse) Marshal() (dAtA []byte, err error)
func (*MsgDelegateResponse) MarshalTo ¶
func (m *MsgDelegateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDelegateResponse) MarshalToSizedBuffer ¶
func (m *MsgDelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDelegateResponse) ProtoMessage ¶
func (*MsgDelegateResponse) ProtoMessage()
func (*MsgDelegateResponse) Reset ¶
func (m *MsgDelegateResponse) Reset()
func (*MsgDelegateResponse) Size ¶
func (m *MsgDelegateResponse) Size() (n int)
func (*MsgDelegateResponse) String ¶
func (m *MsgDelegateResponse) String() string
func (*MsgDelegateResponse) Unmarshal ¶
func (m *MsgDelegateResponse) Unmarshal(dAtA []byte) error
func (*MsgDelegateResponse) XXX_DiscardUnknown ¶
func (m *MsgDelegateResponse) XXX_DiscardUnknown()
func (*MsgDelegateResponse) XXX_Marshal ¶
func (m *MsgDelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDelegateResponse) XXX_Merge ¶
func (m *MsgDelegateResponse) XXX_Merge(src proto.Message)
func (*MsgDelegateResponse) XXX_Size ¶
func (m *MsgDelegateResponse) XXX_Size() int
func (*MsgDelegateResponse) XXX_Unmarshal ¶
func (m *MsgDelegateResponse) XXX_Unmarshal(b []byte) error
type MsgEditCandidate ¶
type MsgEditCandidate struct { ValidatorAddress string `` /* 134-byte string literal not displayed */ RewardAddress string `protobuf:"bytes,2,opt,name=reward_address,json=rewardAddress,proto3" json:"reward_address,omitempty" yaml:"reward_address"` Description Description `protobuf:"bytes,3,opt,name=description,proto3" json:"description" yaml:"description"` }
func (*MsgEditCandidate) Descriptor ¶
func (*MsgEditCandidate) Descriptor() ([]byte, []int)
func (*MsgEditCandidate) GetDescription ¶
func (m *MsgEditCandidate) GetDescription() Description
func (*MsgEditCandidate) GetRewardAddress ¶
func (m *MsgEditCandidate) GetRewardAddress() string
func (*MsgEditCandidate) GetValidatorAddress ¶
func (m *MsgEditCandidate) GetValidatorAddress() string
func (*MsgEditCandidate) Marshal ¶
func (m *MsgEditCandidate) Marshal() (dAtA []byte, err error)
func (*MsgEditCandidate) MarshalToSizedBuffer ¶
func (m *MsgEditCandidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditCandidate) ProtoMessage ¶
func (*MsgEditCandidate) ProtoMessage()
func (*MsgEditCandidate) Reset ¶
func (m *MsgEditCandidate) Reset()
func (*MsgEditCandidate) Size ¶
func (m *MsgEditCandidate) Size() (n int)
func (*MsgEditCandidate) String ¶
func (m *MsgEditCandidate) String() string
func (*MsgEditCandidate) Unmarshal ¶
func (m *MsgEditCandidate) Unmarshal(dAtA []byte) error
func (*MsgEditCandidate) XXX_DiscardUnknown ¶
func (m *MsgEditCandidate) XXX_DiscardUnknown()
func (*MsgEditCandidate) XXX_Marshal ¶
func (m *MsgEditCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditCandidate) XXX_Merge ¶
func (m *MsgEditCandidate) XXX_Merge(src proto.Message)
func (*MsgEditCandidate) XXX_Size ¶
func (m *MsgEditCandidate) XXX_Size() int
func (*MsgEditCandidate) XXX_Unmarshal ¶
func (m *MsgEditCandidate) XXX_Unmarshal(b []byte) error
type MsgEditCandidateResponse ¶
type MsgEditCandidateResponse struct { }
func (*MsgEditCandidateResponse) Descriptor ¶
func (*MsgEditCandidateResponse) Descriptor() ([]byte, []int)
func (*MsgEditCandidateResponse) Marshal ¶
func (m *MsgEditCandidateResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditCandidateResponse) MarshalTo ¶
func (m *MsgEditCandidateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditCandidateResponse) MarshalToSizedBuffer ¶
func (m *MsgEditCandidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditCandidateResponse) ProtoMessage ¶
func (*MsgEditCandidateResponse) ProtoMessage()
func (*MsgEditCandidateResponse) Reset ¶
func (m *MsgEditCandidateResponse) Reset()
func (*MsgEditCandidateResponse) Size ¶
func (m *MsgEditCandidateResponse) Size() (n int)
func (*MsgEditCandidateResponse) String ¶
func (m *MsgEditCandidateResponse) String() string
func (*MsgEditCandidateResponse) Unmarshal ¶
func (m *MsgEditCandidateResponse) Unmarshal(dAtA []byte) error
func (*MsgEditCandidateResponse) XXX_DiscardUnknown ¶
func (m *MsgEditCandidateResponse) XXX_DiscardUnknown()
func (*MsgEditCandidateResponse) XXX_Marshal ¶
func (m *MsgEditCandidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditCandidateResponse) XXX_Merge ¶
func (m *MsgEditCandidateResponse) XXX_Merge(src proto.Message)
func (*MsgEditCandidateResponse) XXX_Size ¶
func (m *MsgEditCandidateResponse) XXX_Size() int
func (*MsgEditCandidateResponse) XXX_Unmarshal ¶
func (m *MsgEditCandidateResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { DeclareCandidate(context.Context, *MsgDeclareCandidate) (*MsgDeclareCandidateResponse, error) Delegate(context.Context, *MsgDelegate) (*MsgDelegateResponse, error) DelegateNFT(context.Context, *MsgDelegateNFT) (*MsgDelegateNFTResponse, error) SetOnline(context.Context, *MsgSetOnline) (*MsgSetOnlineResponse, error) SetOffline(context.Context, *MsgSetOffline) (*MsgSetOfflineResponse, error) Unbond(context.Context, *MsgUnbond) (*MsgUnbondResponse, error) UnbondNFT(context.Context, *MsgUnbondNFT) (*MsgUnbondNFTResponse, error) EditCandidate(context.Context, *MsgEditCandidate) (*MsgEditCandidateResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetOffline ¶
type MsgSetOffline struct {
ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address" yaml:"validator_address"`
}
func (*MsgSetOffline) Descriptor ¶
func (*MsgSetOffline) Descriptor() ([]byte, []int)
func (*MsgSetOffline) Marshal ¶
func (m *MsgSetOffline) Marshal() (dAtA []byte, err error)
func (*MsgSetOffline) MarshalToSizedBuffer ¶
func (m *MsgSetOffline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetOffline) ProtoMessage ¶
func (*MsgSetOffline) ProtoMessage()
func (*MsgSetOffline) Reset ¶
func (m *MsgSetOffline) Reset()
func (*MsgSetOffline) Size ¶
func (m *MsgSetOffline) Size() (n int)
func (*MsgSetOffline) String ¶
func (m *MsgSetOffline) String() string
func (*MsgSetOffline) Unmarshal ¶
func (m *MsgSetOffline) Unmarshal(dAtA []byte) error
func (*MsgSetOffline) XXX_DiscardUnknown ¶
func (m *MsgSetOffline) XXX_DiscardUnknown()
func (*MsgSetOffline) XXX_Marshal ¶
func (m *MsgSetOffline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetOffline) XXX_Merge ¶
func (m *MsgSetOffline) XXX_Merge(src proto.Message)
func (*MsgSetOffline) XXX_Size ¶
func (m *MsgSetOffline) XXX_Size() int
func (*MsgSetOffline) XXX_Unmarshal ¶
func (m *MsgSetOffline) XXX_Unmarshal(b []byte) error
type MsgSetOfflineResponse ¶
type MsgSetOfflineResponse struct { }
func (*MsgSetOfflineResponse) Descriptor ¶
func (*MsgSetOfflineResponse) Descriptor() ([]byte, []int)
func (*MsgSetOfflineResponse) Marshal ¶
func (m *MsgSetOfflineResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetOfflineResponse) MarshalTo ¶
func (m *MsgSetOfflineResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetOfflineResponse) MarshalToSizedBuffer ¶
func (m *MsgSetOfflineResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetOfflineResponse) ProtoMessage ¶
func (*MsgSetOfflineResponse) ProtoMessage()
func (*MsgSetOfflineResponse) Reset ¶
func (m *MsgSetOfflineResponse) Reset()
func (*MsgSetOfflineResponse) Size ¶
func (m *MsgSetOfflineResponse) Size() (n int)
func (*MsgSetOfflineResponse) String ¶
func (m *MsgSetOfflineResponse) String() string
func (*MsgSetOfflineResponse) Unmarshal ¶
func (m *MsgSetOfflineResponse) Unmarshal(dAtA []byte) error
func (*MsgSetOfflineResponse) XXX_DiscardUnknown ¶
func (m *MsgSetOfflineResponse) XXX_DiscardUnknown()
func (*MsgSetOfflineResponse) XXX_Marshal ¶
func (m *MsgSetOfflineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetOfflineResponse) XXX_Merge ¶
func (m *MsgSetOfflineResponse) XXX_Merge(src proto.Message)
func (*MsgSetOfflineResponse) XXX_Size ¶
func (m *MsgSetOfflineResponse) XXX_Size() int
func (*MsgSetOfflineResponse) XXX_Unmarshal ¶
func (m *MsgSetOfflineResponse) XXX_Unmarshal(b []byte) error
type MsgSetOnline ¶
type MsgSetOnline struct {
ValidatorAddress string `` /* 134-byte string literal not displayed */
}
func (*MsgSetOnline) Descriptor ¶
func (*MsgSetOnline) Descriptor() ([]byte, []int)
func (*MsgSetOnline) Marshal ¶
func (m *MsgSetOnline) Marshal() (dAtA []byte, err error)
func (*MsgSetOnline) MarshalToSizedBuffer ¶
func (m *MsgSetOnline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetOnline) ProtoMessage ¶
func (*MsgSetOnline) ProtoMessage()
func (*MsgSetOnline) Reset ¶
func (m *MsgSetOnline) Reset()
func (*MsgSetOnline) Size ¶
func (m *MsgSetOnline) Size() (n int)
func (*MsgSetOnline) String ¶
func (m *MsgSetOnline) String() string
func (*MsgSetOnline) Unmarshal ¶
func (m *MsgSetOnline) Unmarshal(dAtA []byte) error
func (*MsgSetOnline) XXX_DiscardUnknown ¶
func (m *MsgSetOnline) XXX_DiscardUnknown()
func (*MsgSetOnline) XXX_Marshal ¶
func (m *MsgSetOnline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetOnline) XXX_Merge ¶
func (m *MsgSetOnline) XXX_Merge(src proto.Message)
func (*MsgSetOnline) XXX_Size ¶
func (m *MsgSetOnline) XXX_Size() int
func (*MsgSetOnline) XXX_Unmarshal ¶
func (m *MsgSetOnline) XXX_Unmarshal(b []byte) error
type MsgSetOnlineResponse ¶
type MsgSetOnlineResponse struct { }
func (*MsgSetOnlineResponse) Descriptor ¶
func (*MsgSetOnlineResponse) Descriptor() ([]byte, []int)
func (*MsgSetOnlineResponse) Marshal ¶
func (m *MsgSetOnlineResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetOnlineResponse) MarshalTo ¶
func (m *MsgSetOnlineResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetOnlineResponse) MarshalToSizedBuffer ¶
func (m *MsgSetOnlineResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetOnlineResponse) ProtoMessage ¶
func (*MsgSetOnlineResponse) ProtoMessage()
func (*MsgSetOnlineResponse) Reset ¶
func (m *MsgSetOnlineResponse) Reset()
func (*MsgSetOnlineResponse) Size ¶
func (m *MsgSetOnlineResponse) Size() (n int)
func (*MsgSetOnlineResponse) String ¶
func (m *MsgSetOnlineResponse) String() string
func (*MsgSetOnlineResponse) Unmarshal ¶
func (m *MsgSetOnlineResponse) Unmarshal(dAtA []byte) error
func (*MsgSetOnlineResponse) XXX_DiscardUnknown ¶
func (m *MsgSetOnlineResponse) XXX_DiscardUnknown()
func (*MsgSetOnlineResponse) XXX_Marshal ¶
func (m *MsgSetOnlineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetOnlineResponse) XXX_Merge ¶
func (m *MsgSetOnlineResponse) XXX_Merge(src proto.Message)
func (*MsgSetOnlineResponse) XXX_Size ¶
func (m *MsgSetOnlineResponse) XXX_Size() int
func (*MsgSetOnlineResponse) XXX_Unmarshal ¶
func (m *MsgSetOnlineResponse) XXX_Unmarshal(b []byte) error
type MsgUnbond ¶
type MsgUnbond struct { ValidatorAddress string `` /* 134-byte string literal not displayed */ DelegatorAddress string `` /* 134-byte string literal not displayed */ Coin github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin" yaml:"coin"` }
func (*MsgUnbond) Descriptor ¶
func (*MsgUnbond) MarshalToSizedBuffer ¶
func (*MsgUnbond) ProtoMessage ¶
func (*MsgUnbond) ProtoMessage()
func (*MsgUnbond) XXX_DiscardUnknown ¶
func (m *MsgUnbond) XXX_DiscardUnknown()
func (*MsgUnbond) XXX_Marshal ¶
func (*MsgUnbond) XXX_Unmarshal ¶
type MsgUnbondNFT ¶
type MsgUnbondNFT struct { ValidatorAddress string `` /* 134-byte string literal not displayed */ DelegatorAddress string `` /* 134-byte string literal not displayed */ TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` Quantity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"quantity" yaml:"quantity"` }
func (*MsgUnbondNFT) Descriptor ¶
func (*MsgUnbondNFT) Descriptor() ([]byte, []int)
func (*MsgUnbondNFT) Marshal ¶
func (m *MsgUnbondNFT) Marshal() (dAtA []byte, err error)
func (*MsgUnbondNFT) MarshalToSizedBuffer ¶
func (m *MsgUnbondNFT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnbondNFT) ProtoMessage ¶
func (*MsgUnbondNFT) ProtoMessage()
func (*MsgUnbondNFT) Reset ¶
func (m *MsgUnbondNFT) Reset()
func (*MsgUnbondNFT) Size ¶
func (m *MsgUnbondNFT) Size() (n int)
func (*MsgUnbondNFT) String ¶
func (m *MsgUnbondNFT) String() string
func (*MsgUnbondNFT) Unmarshal ¶
func (m *MsgUnbondNFT) Unmarshal(dAtA []byte) error
func (*MsgUnbondNFT) XXX_DiscardUnknown ¶
func (m *MsgUnbondNFT) XXX_DiscardUnknown()
func (*MsgUnbondNFT) XXX_Marshal ¶
func (m *MsgUnbondNFT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnbondNFT) XXX_Merge ¶
func (m *MsgUnbondNFT) XXX_Merge(src proto.Message)
func (*MsgUnbondNFT) XXX_Size ¶
func (m *MsgUnbondNFT) XXX_Size() int
func (*MsgUnbondNFT) XXX_Unmarshal ¶
func (m *MsgUnbondNFT) XXX_Unmarshal(b []byte) error
type MsgUnbondNFTResponse ¶
type MsgUnbondNFTResponse struct { }
func (*MsgUnbondNFTResponse) Descriptor ¶
func (*MsgUnbondNFTResponse) Descriptor() ([]byte, []int)
func (*MsgUnbondNFTResponse) Marshal ¶
func (m *MsgUnbondNFTResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnbondNFTResponse) MarshalTo ¶
func (m *MsgUnbondNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnbondNFTResponse) MarshalToSizedBuffer ¶
func (m *MsgUnbondNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnbondNFTResponse) ProtoMessage ¶
func (*MsgUnbondNFTResponse) ProtoMessage()
func (*MsgUnbondNFTResponse) Reset ¶
func (m *MsgUnbondNFTResponse) Reset()
func (*MsgUnbondNFTResponse) Size ¶
func (m *MsgUnbondNFTResponse) Size() (n int)
func (*MsgUnbondNFTResponse) String ¶
func (m *MsgUnbondNFTResponse) String() string
func (*MsgUnbondNFTResponse) Unmarshal ¶
func (m *MsgUnbondNFTResponse) Unmarshal(dAtA []byte) error
func (*MsgUnbondNFTResponse) XXX_DiscardUnknown ¶
func (m *MsgUnbondNFTResponse) XXX_DiscardUnknown()
func (*MsgUnbondNFTResponse) XXX_Marshal ¶
func (m *MsgUnbondNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnbondNFTResponse) XXX_Merge ¶
func (m *MsgUnbondNFTResponse) XXX_Merge(src proto.Message)
func (*MsgUnbondNFTResponse) XXX_Size ¶
func (m *MsgUnbondNFTResponse) XXX_Size() int
func (*MsgUnbondNFTResponse) XXX_Unmarshal ¶
func (m *MsgUnbondNFTResponse) XXX_Unmarshal(b []byte) error
type MsgUnbondResponse ¶
type MsgUnbondResponse struct { }
func (*MsgUnbondResponse) Descriptor ¶
func (*MsgUnbondResponse) Descriptor() ([]byte, []int)
func (*MsgUnbondResponse) Marshal ¶
func (m *MsgUnbondResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnbondResponse) MarshalTo ¶
func (m *MsgUnbondResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnbondResponse) MarshalToSizedBuffer ¶
func (m *MsgUnbondResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnbondResponse) ProtoMessage ¶
func (*MsgUnbondResponse) ProtoMessage()
func (*MsgUnbondResponse) Reset ¶
func (m *MsgUnbondResponse) Reset()
func (*MsgUnbondResponse) Size ¶
func (m *MsgUnbondResponse) Size() (n int)
func (*MsgUnbondResponse) String ¶
func (m *MsgUnbondResponse) String() string
func (*MsgUnbondResponse) Unmarshal ¶
func (m *MsgUnbondResponse) Unmarshal(dAtA []byte) error
func (*MsgUnbondResponse) XXX_DiscardUnknown ¶
func (m *MsgUnbondResponse) XXX_DiscardUnknown()
func (*MsgUnbondResponse) XXX_Marshal ¶
func (m *MsgUnbondResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnbondResponse) XXX_Merge ¶
func (m *MsgUnbondResponse) XXX_Merge(src proto.Message)
func (*MsgUnbondResponse) XXX_Size ¶
func (m *MsgUnbondResponse) XXX_Size() int
func (*MsgUnbondResponse) XXX_Unmarshal ¶
func (m *MsgUnbondResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // unbonding_time is the time duration of unbonding. UnbondingTime time.Duration `protobuf:"bytes,1,opt,name=unbonding_time,json=unbondingTime,proto3,stdduration" json:"unbonding_time" yaml:"unbonding_time"` // max_validators is the maximum number of validators. MaxValidators uint32 `protobuf:"varint,2,opt,name=max_validators,json=maxValidators,proto3" json:"max_validators,omitempty" yaml:"max_validators"` // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). MaxEntries uint32 `protobuf:"varint,3,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty" yaml:"max_entries"` // historical_entries is the number of historical entries to persist. HistoricalEntries uint32 `` /* 139-byte string literal not displayed */ // max_delegations is the number of max delegations count of validator MaxDelegations uint32 `` /* 127-byte string literal not displayed */ // bond_denom defines the bondable coin denomination. BondDenom string `protobuf:"bytes,6,opt,name=bond_denom,json=bondDenom,proto3" json:"bond_denom,omitempty" yaml:"bond_denom"` }
func (*Params) Descriptor ¶
func (*Params) GetBondDenom ¶
func (*Params) GetHistoricalEntries ¶
func (*Params) GetMaxDelegations ¶
func (*Params) GetMaxEntries ¶
func (*Params) GetMaxValidators ¶
func (*Params) GetUnbondingTime ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryValidatorParams ¶
type QueryValidatorParams struct {
ValidatorAddr string `protobuf:"bytes,1,opt,name=ValidatorAddr,proto3" json:"validator_addr" yaml:"validator_addr"`
}
func (*QueryValidatorParams) Descriptor ¶
func (*QueryValidatorParams) Descriptor() ([]byte, []int)
func (*QueryValidatorParams) GetValidatorAddr ¶
func (m *QueryValidatorParams) GetValidatorAddr() string
func (*QueryValidatorParams) Marshal ¶
func (m *QueryValidatorParams) Marshal() (dAtA []byte, err error)
func (*QueryValidatorParams) MarshalTo ¶
func (m *QueryValidatorParams) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorParams) MarshalToSizedBuffer ¶
func (m *QueryValidatorParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorParams) ProtoMessage ¶
func (*QueryValidatorParams) ProtoMessage()
func (*QueryValidatorParams) Reset ¶
func (m *QueryValidatorParams) Reset()
func (*QueryValidatorParams) Size ¶
func (m *QueryValidatorParams) Size() (n int)
func (*QueryValidatorParams) String ¶
func (m *QueryValidatorParams) String() string
func (*QueryValidatorParams) Unmarshal ¶
func (m *QueryValidatorParams) Unmarshal(dAtA []byte) error
func (*QueryValidatorParams) XXX_DiscardUnknown ¶
func (m *QueryValidatorParams) XXX_DiscardUnknown()
func (*QueryValidatorParams) XXX_Marshal ¶
func (m *QueryValidatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorParams) XXX_Merge ¶
func (m *QueryValidatorParams) XXX_Merge(src proto.Message)
func (*QueryValidatorParams) XXX_Size ¶
func (m *QueryValidatorParams) XXX_Size() int
func (*QueryValidatorParams) XXX_Unmarshal ¶
func (m *QueryValidatorParams) XXX_Unmarshal(b []byte) error
type QueryValidatorsParams ¶
type QueryValidatorsParams struct { Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"` Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"` }
func (*QueryValidatorsParams) Descriptor ¶
func (*QueryValidatorsParams) Descriptor() ([]byte, []int)
func (*QueryValidatorsParams) GetLimit ¶
func (m *QueryValidatorsParams) GetLimit() int32
func (*QueryValidatorsParams) GetPage ¶
func (m *QueryValidatorsParams) GetPage() int32
func (*QueryValidatorsParams) GetStatus ¶
func (m *QueryValidatorsParams) GetStatus() string
func (*QueryValidatorsParams) Marshal ¶
func (m *QueryValidatorsParams) Marshal() (dAtA []byte, err error)
func (*QueryValidatorsParams) MarshalTo ¶
func (m *QueryValidatorsParams) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorsParams) MarshalToSizedBuffer ¶
func (m *QueryValidatorsParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorsParams) ProtoMessage ¶
func (*QueryValidatorsParams) ProtoMessage()
func (*QueryValidatorsParams) Reset ¶
func (m *QueryValidatorsParams) Reset()
func (*QueryValidatorsParams) Size ¶
func (m *QueryValidatorsParams) Size() (n int)
func (*QueryValidatorsParams) String ¶
func (m *QueryValidatorsParams) String() string
func (*QueryValidatorsParams) Unmarshal ¶
func (m *QueryValidatorsParams) Unmarshal(dAtA []byte) error
func (*QueryValidatorsParams) XXX_DiscardUnknown ¶
func (m *QueryValidatorsParams) XXX_DiscardUnknown()
func (*QueryValidatorsParams) XXX_Marshal ¶
func (m *QueryValidatorsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorsParams) XXX_Merge ¶
func (m *QueryValidatorsParams) XXX_Merge(src proto.Message)
func (*QueryValidatorsParams) XXX_Size ¶
func (m *QueryValidatorsParams) XXX_Size() int
func (*QueryValidatorsParams) XXX_Unmarshal ¶
func (m *QueryValidatorsParams) XXX_Unmarshal(b []byte) error
type UnbondingDelegation ¶
type UnbondingDelegation struct { // delegator_address is the bech32-encoded address of the delegator. DelegatorAddress string `` /* 134-byte string literal not displayed */ // validator_address is the bech32-encoded address of the validator. ValidatorAddress string `` /* 134-byte string literal not displayed */ Entries []*UnbondingDelegationEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty" yaml:"entries"` }
UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.
func (*UnbondingDelegation) Descriptor ¶
func (*UnbondingDelegation) Descriptor() ([]byte, []int)
func (*UnbondingDelegation) Marshal ¶
func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)
func (*UnbondingDelegation) MarshalTo ¶
func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingDelegation) MarshalToSizedBuffer ¶
func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingDelegation) ProtoMessage ¶
func (*UnbondingDelegation) ProtoMessage()
func (*UnbondingDelegation) Reset ¶
func (m *UnbondingDelegation) Reset()
func (*UnbondingDelegation) Size ¶
func (m *UnbondingDelegation) Size() (n int)
func (*UnbondingDelegation) String ¶
func (m *UnbondingDelegation) String() string
func (*UnbondingDelegation) Unmarshal ¶
func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error
func (*UnbondingDelegation) XXX_DiscardUnknown ¶
func (m *UnbondingDelegation) XXX_DiscardUnknown()
func (*UnbondingDelegation) XXX_Marshal ¶
func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingDelegation) XXX_Merge ¶
func (m *UnbondingDelegation) XXX_Merge(src proto.Message)
func (*UnbondingDelegation) XXX_Size ¶
func (m *UnbondingDelegation) XXX_Size() int
func (*UnbondingDelegation) XXX_Unmarshal ¶
func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error
type UnbondingDelegationEntry ¶
type UnbondingDelegationEntry struct { // UnbondingDelegationEntry defines an unbonding object with relevant metadata. CreationHeight int64 `` /* 127-byte string literal not displayed */ // completion_time is the unix time for unbonding completion. CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` // initial_balance defines the tokens initially scheduled to receive at completion. InitialBalance github_com_cosmos_cosmos_sdk_types.Coin `` /* 167-byte string literal not displayed */ // balance defines the tokens to receive at completion. Balance github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"balance" yaml:"balance"` }
UnbondingDelegationEntry defines an unbonding object with relevant metadata.
func (*UnbondingDelegationEntry) Descriptor ¶
func (*UnbondingDelegationEntry) Descriptor() ([]byte, []int)
func (*UnbondingDelegationEntry) Marshal ¶
func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)
func (*UnbondingDelegationEntry) MarshalTo ¶
func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingDelegationEntry) MarshalToSizedBuffer ¶
func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingDelegationEntry) ProtoMessage ¶
func (*UnbondingDelegationEntry) ProtoMessage()
func (*UnbondingDelegationEntry) Reset ¶
func (m *UnbondingDelegationEntry) Reset()
func (*UnbondingDelegationEntry) Size ¶
func (m *UnbondingDelegationEntry) Size() (n int)
func (*UnbondingDelegationEntry) String ¶
func (m *UnbondingDelegationEntry) String() string
func (*UnbondingDelegationEntry) Unmarshal ¶
func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error
func (*UnbondingDelegationEntry) XXX_DiscardUnknown ¶
func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()
func (*UnbondingDelegationEntry) XXX_Marshal ¶
func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingDelegationEntry) XXX_Merge ¶
func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)
func (*UnbondingDelegationEntry) XXX_Size ¶
func (m *UnbondingDelegationEntry) XXX_Size() int
func (*UnbondingDelegationEntry) XXX_Unmarshal ¶
func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error
type UnbondingDelegationNFTEntry ¶
type UnbondingDelegationNFTEntry struct { CreationHeight int64 `` /* 127-byte string literal not displayed */ CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` TokenId string `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" yaml:"token_id"` Quantity github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"quantity" yaml:"quantity"` Balance github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,6,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"balance" yaml:"balance"` }
func (*UnbondingDelegationNFTEntry) Descriptor ¶
func (*UnbondingDelegationNFTEntry) Descriptor() ([]byte, []int)
func (*UnbondingDelegationNFTEntry) Marshal ¶
func (m *UnbondingDelegationNFTEntry) Marshal() (dAtA []byte, err error)
func (*UnbondingDelegationNFTEntry) MarshalTo ¶
func (m *UnbondingDelegationNFTEntry) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingDelegationNFTEntry) MarshalToSizedBuffer ¶
func (m *UnbondingDelegationNFTEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingDelegationNFTEntry) ProtoMessage ¶
func (*UnbondingDelegationNFTEntry) ProtoMessage()
func (*UnbondingDelegationNFTEntry) Reset ¶
func (m *UnbondingDelegationNFTEntry) Reset()
func (*UnbondingDelegationNFTEntry) Size ¶
func (m *UnbondingDelegationNFTEntry) Size() (n int)
func (*UnbondingDelegationNFTEntry) String ¶
func (m *UnbondingDelegationNFTEntry) String() string
func (*UnbondingDelegationNFTEntry) Unmarshal ¶
func (m *UnbondingDelegationNFTEntry) Unmarshal(dAtA []byte) error
func (*UnbondingDelegationNFTEntry) XXX_DiscardUnknown ¶
func (m *UnbondingDelegationNFTEntry) XXX_DiscardUnknown()
func (*UnbondingDelegationNFTEntry) XXX_Marshal ¶
func (m *UnbondingDelegationNFTEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingDelegationNFTEntry) XXX_Merge ¶
func (m *UnbondingDelegationNFTEntry) XXX_Merge(src proto.Message)
func (*UnbondingDelegationNFTEntry) XXX_Size ¶
func (m *UnbondingDelegationNFTEntry) XXX_Size() int
func (*UnbondingDelegationNFTEntry) XXX_Unmarshal ¶
func (m *UnbondingDelegationNFTEntry) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) DeclareCandidate ¶
func (*UnimplementedMsgServer) DeclareCandidate(ctx context.Context, req *MsgDeclareCandidate) (*MsgDeclareCandidateResponse, error)
func (*UnimplementedMsgServer) Delegate ¶
func (*UnimplementedMsgServer) Delegate(ctx context.Context, req *MsgDelegate) (*MsgDelegateResponse, error)
func (*UnimplementedMsgServer) DelegateNFT ¶
func (*UnimplementedMsgServer) DelegateNFT(ctx context.Context, req *MsgDelegateNFT) (*MsgDelegateNFTResponse, error)
func (*UnimplementedMsgServer) EditCandidate ¶
func (*UnimplementedMsgServer) EditCandidate(ctx context.Context, req *MsgEditCandidate) (*MsgEditCandidateResponse, error)
func (*UnimplementedMsgServer) SetOffline ¶
func (*UnimplementedMsgServer) SetOffline(ctx context.Context, req *MsgSetOffline) (*MsgSetOfflineResponse, error)
func (*UnimplementedMsgServer) SetOnline ¶
func (*UnimplementedMsgServer) SetOnline(ctx context.Context, req *MsgSetOnline) (*MsgSetOnlineResponse, error)
func (*UnimplementedMsgServer) Unbond ¶
func (*UnimplementedMsgServer) Unbond(ctx context.Context, req *MsgUnbond) (*MsgUnbondResponse, error)
func (*UnimplementedMsgServer) UnbondNFT ¶
func (*UnimplementedMsgServer) UnbondNFT(ctx context.Context, req *MsgUnbondNFT) (*MsgUnbondNFTResponse, error)
type Validator ¶
type Validator struct { // operator_address defines the address of the validator's operator; bech encoded in JSON. ValAddress string `protobuf:"bytes,1,opt,name=val_address,json=valAddress,proto3" json:"val_address,omitempty" yaml:"val_address"` // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. PubKey *types.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty" yaml:"pub_key"` // tokens define the delegated tokens (incl. self-delegation). Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens"` // status is the validator status (bonded/unbonding/unbonded). Status BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=decimal.validator.v1.BondStatus" json:"status,omitempty"` // commission defines the commission parameters. Commission github_com_cosmos_cosmos_sdk_types.Dec `` /* 130-byte string literal not displayed */ // jailed defined whether the validator has been jailed from bonded status or not. Jailed bool `protobuf:"varint,6,opt,name=jailed,proto3" json:"jailed,omitempty"` // unbonding_completion_time defines, if unbonding, the min time for the validator to complete unbonding. UnbondingCompletionTime time.Time `` /* 163-byte string literal not displayed */ // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. UnbondingHeight int64 `` /* 131-byte string literal not displayed */ // description defines the description terms for the validator. Description Description `protobuf:"bytes,9,opt,name=description,proto3" json:"description" yaml:"description"` // accum_rewards is a pool of all collected rewards AccumRewards github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */ // reward_address is the account for withdrawing rewards RewardAddress string `protobuf:"bytes,11,opt,name=reward_address,json=rewardAddress,proto3" json:"reward_address,omitempty" yaml:"reward_address"` // whether the validator participates in the consensus Online bool `protobuf:"varint,12,opt,name=online,proto3" json:"online,omitempty" yaml:"online"` }
func (*Validator) Descriptor ¶
func (*Validator) GetDescription ¶
func (m *Validator) GetDescription() Description
func (*Validator) GetRewardAddress ¶
func (*Validator) GetStatus ¶
func (m *Validator) GetStatus() BondStatus
func (*Validator) GetUnbondingCompletionTime ¶
func (*Validator) GetUnbondingHeight ¶
func (*Validator) GetValAddress ¶
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()