Documentation ¶
Index ¶
- Variables
- func Migrator(gk govkeeper.Keeper, registry cdctypes.InterfaceRegistry) module.MigrationHandler
- type UpdateRegistryProposal
- func (*UpdateRegistryProposal) Descriptor() ([]byte, []int)
- func (this *UpdateRegistryProposal) Equal(that interface{}) bool
- func (p *UpdateRegistryProposal) GetDescription() string
- func (p *UpdateRegistryProposal) GetTitle() string
- func (m *UpdateRegistryProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateRegistryProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRegistryProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *UpdateRegistryProposal) ProposalRoute() string
- func (p *UpdateRegistryProposal) ProposalType() string
- func (*UpdateRegistryProposal) ProtoMessage()
- func (m *UpdateRegistryProposal) Reset()
- func (m *UpdateRegistryProposal) Size() (n int)
- func (p UpdateRegistryProposal) String() string
- func (m *UpdateRegistryProposal) Unmarshal(dAtA []byte) error
- func (p *UpdateRegistryProposal) ValidateBasic() error
- func (m *UpdateRegistryProposal) XXX_DiscardUnknown()
- func (m *UpdateRegistryProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRegistryProposal) XXX_Merge(src proto.Message)
- func (m *UpdateRegistryProposal) XXX_Size() int
- func (m *UpdateRegistryProposal) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Migrator ¶
func Migrator(gk govkeeper.Keeper, registry cdctypes.InterfaceRegistry) module.MigrationHandler
Creates migration handler for gov leverage proposals to new the gov system and MsgGovUpdateRegistry type.
Types ¶
type UpdateRegistryProposal ¶
type UpdateRegistryProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Registry []types.Token `protobuf:"bytes,3,rep,name=registry,proto3" json:"registry"` }
UpdateRegistryProposal defines a governance proposal type where the token registry can be updated in the Umee capital facility. Note, the registry defined in the proposal replaces the current registry in its entirety.
func (*UpdateRegistryProposal) Descriptor ¶
func (*UpdateRegistryProposal) Descriptor() ([]byte, []int)
func (*UpdateRegistryProposal) Equal ¶
func (this *UpdateRegistryProposal) Equal(that interface{}) bool
func (*UpdateRegistryProposal) GetDescription ¶
func (p *UpdateRegistryProposal) GetDescription() string
GetDescription returns the description of the proposal.
func (*UpdateRegistryProposal) GetTitle ¶
func (p *UpdateRegistryProposal) GetTitle() string
GetTitle returns the title of the proposal.
func (*UpdateRegistryProposal) Marshal ¶
func (m *UpdateRegistryProposal) Marshal() (dAtA []byte, err error)
func (*UpdateRegistryProposal) MarshalTo ¶
func (m *UpdateRegistryProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRegistryProposal) MarshalToSizedBuffer ¶
func (m *UpdateRegistryProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRegistryProposal) ProposalRoute ¶
func (p *UpdateRegistryProposal) ProposalRoute() string
ProposalRoute returns the x/gov routing key of the proposal.
func (*UpdateRegistryProposal) ProposalType ¶
func (p *UpdateRegistryProposal) ProposalType() string
ProposalType returns the x/gov type of the proposal.
func (*UpdateRegistryProposal) ProtoMessage ¶
func (*UpdateRegistryProposal) ProtoMessage()
func (*UpdateRegistryProposal) Reset ¶
func (m *UpdateRegistryProposal) Reset()
func (*UpdateRegistryProposal) Size ¶
func (m *UpdateRegistryProposal) Size() (n int)
func (UpdateRegistryProposal) String ¶
func (p UpdateRegistryProposal) String() string
String implements the Stringer interface.
func (*UpdateRegistryProposal) Unmarshal ¶
func (m *UpdateRegistryProposal) Unmarshal(dAtA []byte) error
func (*UpdateRegistryProposal) ValidateBasic ¶
func (p *UpdateRegistryProposal) ValidateBasic() error
ValidateBasic validates the proposal returning an error if invalid.
func (*UpdateRegistryProposal) XXX_DiscardUnknown ¶
func (m *UpdateRegistryProposal) XXX_DiscardUnknown()
func (*UpdateRegistryProposal) XXX_Marshal ¶
func (m *UpdateRegistryProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRegistryProposal) XXX_Merge ¶
func (m *UpdateRegistryProposal) XXX_Merge(src proto.Message)
func (*UpdateRegistryProposal) XXX_Size ¶
func (m *UpdateRegistryProposal) XXX_Size() int
func (*UpdateRegistryProposal) XXX_Unmarshal ¶
func (m *UpdateRegistryProposal) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.