Documentation ¶
Index ¶
- Constants
- type ActivatedPPReq
- type ActivatedSPReq
- type DeactivatedPPReq
- type FileUploadedReq
- type PrepaidReq
- type SignatureKey
- type SlashedPP
- type SlashedPPReq
- type UnbondingPPReq
- type UnbondingSPReq
- type UnsignedMsg
- type UnsignedMsgBytes
- type UnsignedMsgs
- type UpdatedDepositPPReq
- type UpdatedDepositSPReq
- type UpdatedEffectiveDepositPP
- type UpdatedEffectiveDepositPPReq
- type VolumeReportedReq
- type WithdrawnDepositSPReq
Constants ¶
View Source
const ( SignatureSecp256k1 = iota SignatureEd25519 DefaultTimeoutHeight = uint64(10) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivatedPPReq ¶
type ActivatedPPReq struct {
PPList []*protos.ReqActivatedPP `json:"pp_list"`
}
type ActivatedSPReq ¶
type ActivatedSPReq struct {
SPList []*protos.ReqActivatedSP `json:"sp_list"`
}
type DeactivatedPPReq ¶
type DeactivatedPPReq struct {
PPList []*protos.ReqDeactivatedPP `json:"pp_list"`
}
type FileUploadedReq ¶
type PrepaidReq ¶
type PrepaidReq struct {
WalletList []*protos.ReqPrepaid `json:"wallet_list"`
}
type SignatureKey ¶
type SlashedPPReq ¶
type UnbondingPPReq ¶
type UnbondingPPReq struct {
PPList []*protos.ReqUnbondingPP `json:"pp_list"`
}
type UnbondingSPReq ¶ added in v0.10.0
type UnbondingSPReq struct {
SPList []*protos.ReqUnbondingSP `json:"sp_list"`
}
type UnsignedMsg ¶
type UnsignedMsg struct { Msg sdktypes.Msg `json:"msg,omitempty"` SignatureKeys []SignatureKey `json:"signature_keys,omitempty"` Type string `json:"type,omitempty"` }
func (UnsignedMsg) ToBytes ¶
func (u UnsignedMsg) ToBytes() UnsignedMsgBytes
type UnsignedMsgBytes ¶
type UnsignedMsgBytes struct { Msg []byte `json:"msg,omitempty"` SignatureKeys []SignatureKey `json:"signature_keys,omitempty"` Type string `json:"type,omitempty"` }
func (UnsignedMsgBytes) FromBytes ¶
func (u UnsignedMsgBytes) FromBytes() (UnsignedMsg, error)
type UnsignedMsgs ¶
type UnsignedMsgs struct {
Msgs []UnsignedMsgBytes `json:"msgs,omitempty"`
}
type UpdatedDepositPPReq ¶ added in v0.10.0
type UpdatedDepositPPReq struct {
PPList []*protos.ReqUpdatedDepositPP `json:"pp_list"`
}
type UpdatedDepositSPReq ¶ added in v0.10.0
type UpdatedDepositSPReq struct {
SPList []*protos.ReqUpdatedDepositSP `json:"sp_list"`
}
type UpdatedEffectiveDepositPP ¶ added in v0.10.0
type UpdatedEffectiveDepositPPReq ¶ added in v0.10.0
type UpdatedEffectiveDepositPPReq struct { PPList []UpdatedEffectiveDepositPP `json:"pp_list"` TxHash string `json:"tx_hash"` }
type VolumeReportedReq ¶
type VolumeReportedReq struct {
Epochs []string `json:"epochs"`
}
type WithdrawnDepositSPReq ¶ added in v0.10.0
type WithdrawnDepositSPReq struct { SPList []*protos.ReqWithdrawnDepositSP `json:"sp_list"` TxHash string `json:"tx_hash"` }
Click to show internal directories.
Click to hide internal directories.