utils

package
v0.0.0-...-0943177 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCli        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCli          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCli = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SetReactionsParamsJSON

type SetReactionsParamsJSON struct {
	// Params related to RegisteredReactionValue reactions
	RegisteredReactionParams types.RegisteredReactionValueParams `protobuf:"bytes,1,opt,name=registered_reaction_params,json=registeredReactionParams,proto3" json:"registered_reaction_params"`
	// Params related to FreeTextValue reactions
	FreeTextParams types.FreeTextValueParams `protobuf:"bytes,2,opt,name=free_text_params,json=freeTextParams,proto3" json:"free_text_params"`
}

SetReactionsParamsJSON contains the data that can be specified when setting a subspace reactions params using the CLI command

func ParseSetReactionsParamsJSON

func ParseSetReactionsParamsJSON(cdc codec.Codec, dataFile string) (SetReactionsParamsJSON, error)

ParseSetReactionsParamsJSON reads and parses a SetReactionsParamsJSON from file.

func (*SetReactionsParamsJSON) Descriptor

func (*SetReactionsParamsJSON) Descriptor() ([]byte, []int)

func (*SetReactionsParamsJSON) GetFreeTextParams

func (m *SetReactionsParamsJSON) GetFreeTextParams() types.FreeTextValueParams

func (*SetReactionsParamsJSON) GetRegisteredReactionParams

func (m *SetReactionsParamsJSON) GetRegisteredReactionParams() types.RegisteredReactionValueParams

func (*SetReactionsParamsJSON) Marshal

func (m *SetReactionsParamsJSON) Marshal() (dAtA []byte, err error)

func (*SetReactionsParamsJSON) MarshalTo

func (m *SetReactionsParamsJSON) MarshalTo(dAtA []byte) (int, error)

func (*SetReactionsParamsJSON) MarshalToSizedBuffer

func (m *SetReactionsParamsJSON) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetReactionsParamsJSON) ProtoMessage

func (*SetReactionsParamsJSON) ProtoMessage()

func (*SetReactionsParamsJSON) Reset

func (m *SetReactionsParamsJSON) Reset()

func (*SetReactionsParamsJSON) Size

func (m *SetReactionsParamsJSON) Size() (n int)

func (*SetReactionsParamsJSON) String

func (m *SetReactionsParamsJSON) String() string

func (*SetReactionsParamsJSON) Unmarshal

func (m *SetReactionsParamsJSON) Unmarshal(dAtA []byte) error

func (*SetReactionsParamsJSON) XXX_DiscardUnknown

func (m *SetReactionsParamsJSON) XXX_DiscardUnknown()

func (*SetReactionsParamsJSON) XXX_Marshal

func (m *SetReactionsParamsJSON) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetReactionsParamsJSON) XXX_Merge

func (m *SetReactionsParamsJSON) XXX_Merge(src proto.Message)

func (*SetReactionsParamsJSON) XXX_Size

func (m *SetReactionsParamsJSON) XXX_Size() int

func (*SetReactionsParamsJSON) XXX_Unmarshal

func (m *SetReactionsParamsJSON) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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