ids

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: 1 Imported by: 83

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)

Types

type AnyID

type AnyID interface {
	Get() ID
	ID
}

type AssetID

type AssetID interface {
	ID
	IsAssetID()
}

type ClassificationID

type ClassificationID interface {
	ID
	IsClassificationID()
}

type DataID

type DataID interface {
	ID
	GetHashID() HashID
	IsDataID()
	DataIDString() string
}

type HashID

type HashID interface {
	ID
	IsHashID()
}

type ID

type ID interface {
	Compare(ID) int
	GetTypeID() StringID
	ValidateBasic() error
	FromString(string) (ID, error)
	AsString() string
	Bytes() []byte
	ToAnyID() AnyID
}

type IdentityID

type IdentityID interface {
	ID
	GetHashID() HashID
	IsIdentityID()
}

type MaintainerID

type MaintainerID interface {
	ID
	IsMaintainerID()
}

type OrderID

type OrderID interface {
	ID
	IsOrderID()
}

type PropertyID

type PropertyID interface {
	ID
	GetKey() StringID
	GetDataTypeID() StringID
	IsPropertyID()
}

type SplitID

type SplitID interface {
	ID
	MustGetFromPrefixedStoreKeyBytes(prefixBytes, storeKeyBytes []byte) SplitID
	GetAssetID() AssetID
	GetOwnerID() IdentityID
	IsSplitID()
}

type StringID

type StringID interface {
	ID
	Get() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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