Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- type CreateValidatorProposal
- func (*CreateValidatorProposal) Descriptor() ([]byte, []int)
- func (this *CreateValidatorProposal) Equal(that interface{}) bool
- func (sup *CreateValidatorProposal) GetDescription() string
- func (sup *CreateValidatorProposal) GetTitle() string
- func (m *CreateValidatorProposal) Marshal() (dAtA []byte, err error)
- func (m *CreateValidatorProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *CreateValidatorProposal) ProposalRoute() string
- func (sup *CreateValidatorProposal) ProposalType() string
- func (*CreateValidatorProposal) ProtoMessage()
- func (m *CreateValidatorProposal) Reset()
- func (m *CreateValidatorProposal) Size() (n int)
- func (m *CreateValidatorProposal) String() string
- func (m *CreateValidatorProposal) Unmarshal(dAtA []byte) error
- func (sup CreateValidatorProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (sup *CreateValidatorProposal) ValidateBasic() error
- func (m *CreateValidatorProposal) XXX_DiscardUnknown()
- func (m *CreateValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateValidatorProposal) XXX_Merge(src proto.Message)
- func (m *CreateValidatorProposal) XXX_Size() int
- func (m *CreateValidatorProposal) XXX_Unmarshal(b []byte) error
- type RemoveValidatorProposal
- func (*RemoveValidatorProposal) Descriptor() ([]byte, []int)
- func (this *RemoveValidatorProposal) Equal(that interface{}) bool
- func (sup *RemoveValidatorProposal) GetDescription() string
- func (sup *RemoveValidatorProposal) GetTitle() string
- func (m *RemoveValidatorProposal) Marshal() (dAtA []byte, err error)
- func (m *RemoveValidatorProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *RemoveValidatorProposal) ProposalRoute() string
- func (sup *RemoveValidatorProposal) ProposalType() string
- func (*RemoveValidatorProposal) ProtoMessage()
- func (m *RemoveValidatorProposal) Reset()
- func (m *RemoveValidatorProposal) Size() (n int)
- func (m *RemoveValidatorProposal) String() string
- func (m *RemoveValidatorProposal) Unmarshal(dAtA []byte) error
- func (sup *RemoveValidatorProposal) ValidateBasic() error
- func (m *RemoveValidatorProposal) XXX_DiscardUnknown()
- func (m *RemoveValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveValidatorProposal) XXX_Merge(src proto.Message)
- func (m *RemoveValidatorProposal) XXX_Size() int
- func (m *RemoveValidatorProposal) XXX_Unmarshal(b []byte) error
- type UpdateValidatorProposal
- func (*UpdateValidatorProposal) Descriptor() ([]byte, []int)
- func (this *UpdateValidatorProposal) Equal(that interface{}) bool
- func (sup *UpdateValidatorProposal) GetDescription() string
- func (sup *UpdateValidatorProposal) GetTitle() string
- func (m *UpdateValidatorProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateValidatorProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sup *UpdateValidatorProposal) ProposalRoute() string
- func (sup *UpdateValidatorProposal) ProposalType() string
- func (*UpdateValidatorProposal) ProtoMessage()
- func (m *UpdateValidatorProposal) Reset()
- func (m *UpdateValidatorProposal) Size() (n int)
- func (m *UpdateValidatorProposal) String() string
- func (m *UpdateValidatorProposal) Unmarshal(dAtA []byte) error
- func (sup *UpdateValidatorProposal) ValidateBasic() error
- func (m *UpdateValidatorProposal) XXX_DiscardUnknown()
- func (m *UpdateValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateValidatorProposal) XXX_Merge(src proto.Message)
- func (m *UpdateValidatorProposal) XXX_Size() int
- func (m *UpdateValidatorProposal) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( ProposalTypeCreateValidator string = "CreateValidator" ProposalTypeUpdateValidator string = "UpdateValidator" ProposalTypeRemoveValidator string = "RemoveValidator" // DoNotModifyDesc used in flags to indicate that description field should not be updated DoNotModifyDesc = "[do-not-modify]" )
Variables ¶
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
Types ¶
type CreateValidatorProposal ¶
type CreateValidatorProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Pubkey *types.Any `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Power int64 `protobuf:"varint,5,opt,name=power,proto3" json:"power,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` }
CreateValidatorProposal is a gov Content type for creating a validator
func (*CreateValidatorProposal) Descriptor ¶
func (*CreateValidatorProposal) Descriptor() ([]byte, []int)
func (*CreateValidatorProposal) Equal ¶
func (this *CreateValidatorProposal) Equal(that interface{}) bool
func (*CreateValidatorProposal) GetDescription ¶
func (sup *CreateValidatorProposal) GetDescription() string
func (*CreateValidatorProposal) GetTitle ¶
func (sup *CreateValidatorProposal) GetTitle() string
func (*CreateValidatorProposal) Marshal ¶
func (m *CreateValidatorProposal) Marshal() (dAtA []byte, err error)
func (*CreateValidatorProposal) MarshalTo ¶
func (m *CreateValidatorProposal) MarshalTo(dAtA []byte) (int, error)
func (*CreateValidatorProposal) MarshalToSizedBuffer ¶
func (m *CreateValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateValidatorProposal) ProposalRoute ¶
func (sup *CreateValidatorProposal) ProposalRoute() string
func (*CreateValidatorProposal) ProposalType ¶
func (sup *CreateValidatorProposal) ProposalType() string
func (*CreateValidatorProposal) ProtoMessage ¶
func (*CreateValidatorProposal) ProtoMessage()
func (*CreateValidatorProposal) Reset ¶
func (m *CreateValidatorProposal) Reset()
func (*CreateValidatorProposal) Size ¶
func (m *CreateValidatorProposal) Size() (n int)
func (*CreateValidatorProposal) String ¶
func (m *CreateValidatorProposal) String() string
func (*CreateValidatorProposal) Unmarshal ¶
func (m *CreateValidatorProposal) Unmarshal(dAtA []byte) error
func (CreateValidatorProposal) UnpackInterfaces ¶
func (sup CreateValidatorProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*CreateValidatorProposal) ValidateBasic ¶
func (sup *CreateValidatorProposal) ValidateBasic() error
func (*CreateValidatorProposal) XXX_DiscardUnknown ¶
func (m *CreateValidatorProposal) XXX_DiscardUnknown()
func (*CreateValidatorProposal) XXX_Marshal ¶
func (m *CreateValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateValidatorProposal) XXX_Merge ¶
func (m *CreateValidatorProposal) XXX_Merge(src proto.Message)
func (*CreateValidatorProposal) XXX_Size ¶
func (m *CreateValidatorProposal) XXX_Size() int
func (*CreateValidatorProposal) XXX_Unmarshal ¶
func (m *CreateValidatorProposal) XXX_Unmarshal(b []byte) error
type RemoveValidatorProposal ¶
type RemoveValidatorProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` }
RemoveValidatorProposal is a gov Content type for removing a validator
func (*RemoveValidatorProposal) Descriptor ¶
func (*RemoveValidatorProposal) Descriptor() ([]byte, []int)
func (*RemoveValidatorProposal) Equal ¶
func (this *RemoveValidatorProposal) Equal(that interface{}) bool
func (*RemoveValidatorProposal) GetDescription ¶
func (sup *RemoveValidatorProposal) GetDescription() string
func (*RemoveValidatorProposal) GetTitle ¶
func (sup *RemoveValidatorProposal) GetTitle() string
func (*RemoveValidatorProposal) Marshal ¶
func (m *RemoveValidatorProposal) Marshal() (dAtA []byte, err error)
func (*RemoveValidatorProposal) MarshalTo ¶
func (m *RemoveValidatorProposal) MarshalTo(dAtA []byte) (int, error)
func (*RemoveValidatorProposal) MarshalToSizedBuffer ¶
func (m *RemoveValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveValidatorProposal) ProposalRoute ¶
func (sup *RemoveValidatorProposal) ProposalRoute() string
func (*RemoveValidatorProposal) ProposalType ¶
func (sup *RemoveValidatorProposal) ProposalType() string
func (*RemoveValidatorProposal) ProtoMessage ¶
func (*RemoveValidatorProposal) ProtoMessage()
func (*RemoveValidatorProposal) Reset ¶
func (m *RemoveValidatorProposal) Reset()
func (*RemoveValidatorProposal) Size ¶
func (m *RemoveValidatorProposal) Size() (n int)
func (*RemoveValidatorProposal) String ¶
func (m *RemoveValidatorProposal) String() string
func (*RemoveValidatorProposal) Unmarshal ¶
func (m *RemoveValidatorProposal) Unmarshal(dAtA []byte) error
func (*RemoveValidatorProposal) ValidateBasic ¶
func (sup *RemoveValidatorProposal) ValidateBasic() error
func (*RemoveValidatorProposal) XXX_DiscardUnknown ¶
func (m *RemoveValidatorProposal) XXX_DiscardUnknown()
func (*RemoveValidatorProposal) XXX_Marshal ¶
func (m *RemoveValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveValidatorProposal) XXX_Merge ¶
func (m *RemoveValidatorProposal) XXX_Merge(src proto.Message)
func (*RemoveValidatorProposal) XXX_Size ¶
func (m *RemoveValidatorProposal) XXX_Size() int
func (*RemoveValidatorProposal) XXX_Unmarshal ¶
func (m *RemoveValidatorProposal) XXX_Unmarshal(b []byte) error
type UpdateValidatorProposal ¶
type UpdateValidatorProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Power int64 `protobuf:"varint,5,opt,name=power,proto3" json:"power,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` }
UpdateValidatorProposal is a gov Content type for updating a validator
func (*UpdateValidatorProposal) Descriptor ¶
func (*UpdateValidatorProposal) Descriptor() ([]byte, []int)
func (*UpdateValidatorProposal) Equal ¶
func (this *UpdateValidatorProposal) Equal(that interface{}) bool
func (*UpdateValidatorProposal) GetDescription ¶
func (sup *UpdateValidatorProposal) GetDescription() string
func (*UpdateValidatorProposal) GetTitle ¶
func (sup *UpdateValidatorProposal) GetTitle() string
func (*UpdateValidatorProposal) Marshal ¶
func (m *UpdateValidatorProposal) Marshal() (dAtA []byte, err error)
func (*UpdateValidatorProposal) MarshalTo ¶
func (m *UpdateValidatorProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateValidatorProposal) MarshalToSizedBuffer ¶
func (m *UpdateValidatorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateValidatorProposal) ProposalRoute ¶
func (sup *UpdateValidatorProposal) ProposalRoute() string
func (*UpdateValidatorProposal) ProposalType ¶
func (sup *UpdateValidatorProposal) ProposalType() string
func (*UpdateValidatorProposal) ProtoMessage ¶
func (*UpdateValidatorProposal) ProtoMessage()
func (*UpdateValidatorProposal) Reset ¶
func (m *UpdateValidatorProposal) Reset()
func (*UpdateValidatorProposal) Size ¶
func (m *UpdateValidatorProposal) Size() (n int)
func (*UpdateValidatorProposal) String ¶
func (m *UpdateValidatorProposal) String() string
func (*UpdateValidatorProposal) Unmarshal ¶
func (m *UpdateValidatorProposal) Unmarshal(dAtA []byte) error
func (*UpdateValidatorProposal) ValidateBasic ¶
func (sup *UpdateValidatorProposal) ValidateBasic() error
func (*UpdateValidatorProposal) XXX_DiscardUnknown ¶
func (m *UpdateValidatorProposal) XXX_DiscardUnknown()
func (*UpdateValidatorProposal) XXX_Marshal ¶
func (m *UpdateValidatorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateValidatorProposal) XXX_Merge ¶
func (m *UpdateValidatorProposal) XXX_Merge(src proto.Message)
func (*UpdateValidatorProposal) XXX_Size ¶
func (m *UpdateValidatorProposal) XXX_Size() int
func (*UpdateValidatorProposal) XXX_Unmarshal ¶
func (m *UpdateValidatorProposal) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.