mappables

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

	CanMintAsset() bool
	CanBurnAsset() bool
	CanRenumerateAsset() bool
	CanAddMaintainer() bool
	CanRemoveMaintainer() bool
	CanMutateMaintainer() bool
	MaintainsProperty(ids.PropertyID) 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