base

package
v0.0.0-...-f0435bf Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateHashID

func GenerateHashID(toHashList ...[]byte) ids.HashID

TODO test

func NewAssetID

func NewAssetID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.AssetID

func NewClassificationID

func NewClassificationID(immutables qualified.Immutables, mutables qualified.Mutables) ids.ClassificationID

func NewDataID

func NewDataID(data data.Data) ids.DataID

func NewIdentityID

func NewIdentityID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.IdentityID

func NewMaintainerID

func NewMaintainerID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.MaintainerID

func NewOrderID

func NewOrderID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.OrderID

func NewOwnableID

func NewOwnableID(stringID ids.StringID) ids.OwnableID

func NewPropertyID

func NewPropertyID(key, Type ids.StringID) ids.PropertyID

func NewSplitID

func NewSplitID(ownerID ids.IdentityID, ownableID ids.OwnableID) ids.SplitID

func NewStringID

func NewStringID(idString string) ids.StringID

func PrototypeAssetID

func PrototypeAssetID() ids.AssetID

func PrototypeClassificationID

func PrototypeClassificationID() ids.ClassificationID

func PrototypeDataID

func PrototypeDataID() ids.DataID

func PrototypeHashID

func PrototypeHashID() ids.HashID

func PrototypeIdentityID

func PrototypeIdentityID() ids.IdentityID

func PrototypeMaintainerID

func PrototypeMaintainerID() ids.MaintainerID

func PrototypeOrderID

func PrototypeOrderID() ids.OrderID

func PrototypeOwnableID

func PrototypeOwnableID() ids.OwnableID

func PrototypeSplitID

func PrototypeSplitID() ids.SplitID

func PrototypeStringID

func PrototypeStringID() ids.StringID

func ReadAssetID

func ReadAssetID(assetIDString string) (ids.AssetID, error)

func ReadClassificationID

func ReadClassificationID(classificationIDString string) (ids.ClassificationID, error)

func ReadDataID

func ReadDataID(dataIDString string) (ids.DataID, error)

func ReadHashID

func ReadHashID(hashIDString string) (ids.HashID, error)

func ReadIdentityID

func ReadIdentityID(identityIDString string) (ids.IdentityID, error)

func ReadMaintainerID

func ReadMaintainerID(maintainerIDString string) (ids.MaintainerID, error)

func ReadOrderID

func ReadOrderID(orderIDString string) (ids.OrderID, error)

func ReadOwnableID

func ReadOwnableID(ownableIDString string) (ids.OwnableID, error)

func ReadSplitID

func ReadSplitID(splitIDString string) (ids.SplitID, error)

func RegisterCodec

func RegisterCodec(codec *codec.Codec)

Types

This section is empty.

Jump to

Keyboard shortcuts

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