base

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 added in v0.3.0

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

TODO test

func NewAssetID added in v0.3.0

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

func NewClassificationID added in v0.3.0

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

func NewDataID

func NewDataID(data data.Data) ids.DataID

func NewIdentityID added in v0.3.0

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

func NewMaintainerID added in v0.3.0

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

func NewOrderID added in v0.3.0

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

func NewOwnableID added in v0.3.0

func NewOwnableID(stringID ids.StringID) ids.OwnableID

func NewPropertyID

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

func NewSplitID added in v0.3.0

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

func NewStringID added in v0.3.0

func NewStringID(idString string) ids.StringID

func PrototypeAssetID added in v0.3.0

func PrototypeAssetID() ids.AssetID

func PrototypeClassificationID added in v0.3.0

func PrototypeClassificationID() ids.ClassificationID

func PrototypeDataID added in v0.3.0

func PrototypeDataID() ids.DataID

func PrototypeHashID added in v0.3.0

func PrototypeHashID() ids.HashID

func PrototypeIdentityID added in v0.3.0

func PrototypeIdentityID() ids.IdentityID

func PrototypeMaintainerID added in v0.3.0

func PrototypeMaintainerID() ids.MaintainerID

func PrototypeOrderID added in v0.3.0

func PrototypeOrderID() ids.OrderID

func PrototypeOwnableID added in v0.3.0

func PrototypeOwnableID() ids.OwnableID

func PrototypeSplitID added in v0.3.0

func PrototypeSplitID() ids.SplitID

func PrototypeStringID added in v0.3.0

func PrototypeStringID() ids.StringID

func ReadAssetID added in v0.3.0

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

func ReadClassificationID added in v0.3.0

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

func ReadDataID added in v0.3.0

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

func ReadHashID added in v0.3.0

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

func ReadIdentityID added in v0.3.0

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

func ReadMaintainerID added in v0.3.0

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

func ReadOrderID added in v0.3.0

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

func ReadOwnableID added in v0.3.0

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

func ReadSplitID added in v0.3.0

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