types

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// module name
	ModuleName = "order"

	RouterKey = ModuleName
	// StoreKey to be used when creating the KVStore
	// use same store with module CustodianUnit
	StoreKey = ModuleName

	QuerierRoute = ModuleName

	DefaultParamspace = ModuleName

	// query endpoints supported by the nameservice Querier
	QueryOrder       = "order"
	QueryProcessList = "processList"
)

Variables

View Source
var (
	TagKeyOrderer = "orderer"

	// OrderStoreKeyPrefix prefix for order store
	// order key : OrderStoreKeyPrefix + bhaddress + OrderStoreKeyPrefix + orderID
	OrderStoreKeyPrefix = []byte{0x01, 0x02}

	ProcessOrderListKey = []byte("processOrderList")

	ProcessOrderStoreKeyPrefix = []byte{0x03, 0x04}
	// OrderNumber Key : OrderIDKey + OrderStoreKeyPrefix + cuaddress
	OrderIDKey = []byte("orderIdKey")
)

Functions

This section is empty.

Types

type QueryOrderParams

type QueryOrderParams struct {
	OrderID string
}

func NewQueryOrderParams

func NewQueryOrderParams(orderID string) QueryOrderParams

Jump to

Keyboard shortcuts

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