upgradev3x3

package
v3.0.0-...-244b59d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)

Functions

func Migrator

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 Nebula 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL