constants

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: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PropertyExpression string = "^[-a-zA-Z0-9_]{1,25}:[A,B,D,H,I,L,S]{1}\\|[a-zA-Z0-9_]{0,255}"
	NubIDExpression           = "^[A-Za-z0-9_]{1,15}$"
)

Variables

View Source
var (
	AssetID                 = baseHelpers.NewCLIFlag("assetID", "", "AssetID")
	CanAddMaintainer        = baseHelpers.NewCLIFlag("canAddMaintainer", false, "CanAddMaintainer")
	CanBurnAsset            = baseHelpers.NewCLIFlag("canBurnAsset", false, "CanBurnAsset")
	CanMintAsset            = baseHelpers.NewCLIFlag("canMintAsset", false, "CanMintAsset")
	CanMutateMaintainer     = baseHelpers.NewCLIFlag("canMutateMaintainer", false, "CanMutateMaintainer")
	CanRemoveMaintainer     = baseHelpers.NewCLIFlag("canRemoveMaintainer", false, "CanRemoveMaintainer")
	CanRenumerateAsset      = baseHelpers.NewCLIFlag("canRenumerateAsset", false, "CanRenumerateAsset")
	ClassificationID        = baseHelpers.NewCLIFlag("classificationID", "", "ClassificationID")
	Coins                   = baseHelpers.NewCLIFlag("coins", "", "Coins")
	Data                    = baseHelpers.NewCLIFlag("data", "", "Data")
	DataID                  = baseHelpers.NewCLIFlag("dataID", "", "DataID")
	ExpiresIn               = baseHelpers.NewCLIFlag("expiresIn", int64(-1), "ExpiresIn")
	FromID                  = baseHelpers.NewCLIFlag("fromID", "", "FromID")
	IdentityID              = baseHelpers.NewCLIFlag("identityID", "", "IdentityID")
	ImmutableMetaProperties = baseHelpers.NewCLIFlag("immutableMetaProperties", "", "immutableMetaProperties")
	ImmutableProperties     = baseHelpers.NewCLIFlag("immutableProperties", "", "immutableProperties")
	KafkaNodes              = baseHelpers.NewCLIFlag("kafkaNodes", "localhost:9092", "Space separated addresses in quotes of the kafka listening node: example: --kafkaPort \"addr1 addr2\" ")
	MaintainerID            = baseHelpers.NewCLIFlag("maintainerID", "", "MaintainerID")
	MaintainedProperties    = baseHelpers.NewCLIFlag("maintainedProperties", "", "MaintainedProperties")
	MakerOwnableID          = baseHelpers.NewCLIFlag("makerOwnableID", "", "MakerOwnableID")
	MakerOwnableSplit       = baseHelpers.NewCLIFlag("makerOwnableSplit", "", "MakerOwnableSplit")
	MutableMetaProperties   = baseHelpers.NewCLIFlag("mutableMetaProperties", "", "mutableMetaProperties")
	MutableProperties       = baseHelpers.NewCLIFlag("mutableProperties", "", "mutableProperties")
	NubID                   = baseHelpers.NewCLIFlag("nubID", "", "NubID")
	OrderID                 = baseHelpers.NewCLIFlag("orderID", "", "OrderID")
	OwnableID               = baseHelpers.NewCLIFlag("ownableID", "", "MakerOwnableID")
	Queuing                 = baseHelpers.NewCLIFlag("queuing", false, "Enable kafka queuing and squashing of transactions")
	SplitID                 = baseHelpers.NewCLIFlag("splitID", "", "SplitID")
	To                      = baseHelpers.NewCLIFlag("to", "", "To")
	ToID                    = baseHelpers.NewCLIFlag("toID", "", "ToID")
	TakerID                 = baseHelpers.NewCLIFlag("takerID", "", "TakerID")
	TakerOwnableID          = baseHelpers.NewCLIFlag("takerOwnableID", "", "TakerOwnableID")
	TakerOwnableSplit       = baseHelpers.NewCLIFlag("takerOwnableSplit", "0", "TakerOwnableSplit")
	Value                   = baseHelpers.NewCLIFlag("value", "0", "Value")
)

Note: Arranged alphabetically TODO define usages

View Source
var (
	AssetsStoreKeyPrefix          = base.NewStoreKeyPrefix(assets)
	ClassificationsStoreKeyPrefix = base.NewStoreKeyPrefix(classifications)
	IdentitiesStoreKeyPrefix      = base.NewStoreKeyPrefix(identities)
	MaintainersStoreKeyPrefix     = base.NewStoreKeyPrefix(maintainers)
	MetasStoreKeyPrefix           = base.NewStoreKeyPrefix(metas)
	OrdersStoreKeyPrefix          = base.NewStoreKeyPrefix(orders)
	SplitsStoreKeyPrefix          = base.NewStoreKeyPrefix(splits)
)

TODO convert to enum

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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