mappables

package
v0.2.0-RC Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCodec

func RegisterCodec(codec *codec.Codec)

Types

type Classification

type Classification interface {
	qualified.Document
	helpers.Mappable
}

type Identity

type Identity interface {

	// TODO removal for expired identity
	// GetExpiry returns the expiry property of an Identity
	// * If the property is not found, it returns a default value and not nil
	GetExpiry() properties.Property

	// GetAuthentication returns the authentication property of an Identity
	// * If the property is not found, it returns a default value and not nil
	GetAuthentication() properties.Property

	qualified.Document
	helpers.Mappable
}

type Maintainer

type Maintainer interface {
	GetIdentityID() ids.ID
	GetMaintainedClassificationID() ids.ID
	GetMaintainedPropertySet() properties.Property

	CanMintAsset() bool
	CanBurnAsset() bool
	CanRenumerateAsset() bool
	CanAddMaintainer() bool
	CanRemoveMaintainer() bool
	CanMutateMaintainer() bool
	MaintainsProperty(ids.ID) bool

	qualified.Document
	helpers.Mappable
}

TODO check implementation

type Meta

type Meta interface {
	GetData() data.Data

	helpers.Mappable
}

type Order

type Order interface {
	// TODO check if ID return type required
	GetRateID() ids.ID
	GetCreationID() ids.ID
	GetMakerOwnableID() ids.ID
	GetTakerOwnableID() ids.ID
	GetMakerID() ids.ID

	GetCreation() properties.MetaProperty
	GetExchangeRate() properties.MetaProperty

	GetTakerID() properties.Property
	GetExpiry() properties.Property
	GetMakerOwnableSplit() properties.Property

	qualified.Document
	helpers.Mappable
}

Jump to

Keyboard shortcuts

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