Documentation ¶
Index ¶
- func GenerateHashID(toHashList ...[]byte) ids.HashID
- func NewAssetID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.AssetID
- func NewClassificationID(immutables qualified.Immutables, mutables qualified.Mutables) ids.ClassificationID
- func NewDataID(data data.Data) ids.DataID
- func NewIdentityID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.IdentityID
- func NewMaintainerID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.MaintainerID
- func NewOrderID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.OrderID
- func NewOwnableID(stringID ids.StringID) ids.OwnableID
- func NewPropertyID(key, Type ids.StringID) ids.PropertyID
- func NewSplitID(ownerID ids.IdentityID, ownableID ids.OwnableID) ids.SplitID
- func NewStringID(idString string) ids.StringID
- func PrototypeAssetID() ids.AssetID
- func PrototypeClassificationID() ids.ClassificationID
- func PrototypeDataID() ids.DataID
- func PrototypeHashID() ids.HashID
- func PrototypeIdentityID() ids.IdentityID
- func PrototypeMaintainerID() ids.MaintainerID
- func PrototypeOrderID() ids.OrderID
- func PrototypeOwnableID() ids.OwnableID
- func PrototypeSplitID() ids.SplitID
- func PrototypeStringID() ids.StringID
- func ReadAssetID(assetIDString string) (ids.AssetID, error)
- func ReadClassificationID(classificationIDString string) (ids.ClassificationID, error)
- func ReadDataID(dataIDString string) (ids.DataID, error)
- func ReadHashID(hashIDString string) (ids.HashID, error)
- func ReadIdentityID(identityIDString string) (ids.IdentityID, error)
- func ReadMaintainerID(maintainerIDString string) (ids.MaintainerID, error)
- func ReadOrderID(orderIDString string) (ids.OrderID, error)
- func ReadOwnableID(ownableIDString string) (ids.OwnableID, error)
- func ReadSplitID(splitIDString string) (ids.SplitID, error)
- func RegisterCodec(codec *codec.Codec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHashID ¶ added in v0.3.0
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 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 NewPropertyID ¶
func NewPropertyID(key, Type ids.StringID) ids.PropertyID
func NewSplitID ¶ added in v0.3.0
func NewStringID ¶ added in v0.3.0
func PrototypeAssetID ¶ added in v0.3.0
func PrototypeClassificationID ¶ added in v0.3.0
func PrototypeClassificationID() ids.ClassificationID
func PrototypeDataID ¶ added in v0.3.0
func PrototypeHashID ¶ added in v0.3.0
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 PrototypeOwnableID ¶ added in v0.3.0
func PrototypeSplitID ¶ added in v0.3.0
func PrototypeStringID ¶ added in v0.3.0
func ReadClassificationID ¶ added in v0.3.0
func ReadClassificationID(classificationIDString string) (ids.ClassificationID, 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 ReadOwnableID ¶ added in v0.3.0
func RegisterCodec ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.