properties

package
v0.0.0-...-59a8832 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)

Types

type AnyProperty

type AnyProperty interface {
	IsAnyProperty()
	Get() Property
	Property
}

type MesaProperty

type MesaProperty interface {
	IsMesa() bool
	Property
}

type MetaProperty

type MetaProperty interface {
	IsMetaProperty()
	FromString(string) (MetaProperty, error)
	GetData() data.AnyData
	ScrubData() MesaProperty
	Property
}

type Property

type Property interface {
	GetID() ids.PropertyID
	GetDataID() ids.DataID
	GetKey() ids.StringID
	GetDataTypeID() ids.StringID
	GetBondWeight() sdkTypes.Int

	IsMeta() bool
	ValidateBasic() error

	ToAnyProperty() AnyProperty

	Mutate(data.Data) (Property, error)
	Compare(Property) int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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