mappables

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 4 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 Chain

type Chain interface {
	GetTrustHeight() types.Height
	traits.Mappable
}

type Classification

type Classification interface {
	traits.HasImmutables
	traits.HasMutables
	traits.Mappable
}

type InterIdentity

type InterIdentity interface {
	GetProvisionedAddressList() []sdkTypes.AccAddress
	GetUnprovisionedAddressList() []sdkTypes.AccAddress

	ProvisionAddress(sdkTypes.AccAddress) InterIdentity
	UnprovisionAddress(sdkTypes.AccAddress) InterIdentity

	IsProvisioned(sdkTypes.AccAddress) bool
	IsUnprovisioned(sdkTypes.AccAddress) bool

	traits.HasImmutables
	traits.HasMutables
	traits.Mappable
}

type Maintainer

type Maintainer interface {
	GetClassificationID() types.ID
	GetIdentityID() types.ID

	CanAddMaintainer() bool
	CanRemoveMaintainer() bool
	CanMutateMaintainer() bool

	MaintainsTrait(types.ID) bool
	traits.Mappable
}

type Meta

type Meta interface {
	GetData() types.Data
	traits.Mappable
}

type Order

type Order interface {
	GetClassificationID() types.ID
	GetMakerOwnableID() types.ID
	GetTakerOwnableID() types.ID
	GetMakerID() types.ID

	GetTakerID() types.Property
	GetExchangeRate() types.Property
	GetCreation() types.Property
	GetExpiry() types.Property
	GetMakerOwnableSplit() types.Property

	traits.HasMutables
	traits.HasImmutables
	traits.Mappable
}

type Split

type Split interface {
	traits.Ownable
	traits.Transactional
	traits.Mappable
}

Jump to

Keyboard shortcuts

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