Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagNameApp = "app" TagNameTxType = "tx.type" TagNameDeployment = "market.deployment" TagNameLease = "market.lease" TagAppAccount = "account" TxTypeSend = "send" TagAppDeployment = "deployment" TxTypeCreateDeployment = "deployment-create" TxTypeUpdateDeployment = "deployment-update" TxTypeCloseDeployment = "deployment-close" TagAppOrder = "order" TxTypeCreateOrder = "order-create" TagAppFulfillment = "fulfillment" TxTypeCreateFulfillment = "fulfillment-create" TxTypeCloseFulfillment = "fulfillment-close" TagAppLease = "lease" TxTypeCreateLease = "lease-create" TxTypeCloseLease = "lease-close" TagAppProvider = "provider" TxTypeProviderCreate = "provider-create" )
Variables ¶
This section is empty.
Functions ¶
func NewTagTxType ¶
Types ¶
type Application ¶
type Application interface { Name() string AcceptQuery(req tmtypes.RequestQuery) bool Query(state state.State, req tmtypes.RequestQuery) tmtypes.ResponseQuery AcceptTx(ctx Context, tx interface{}) bool CheckTx(state state.State, ctx Context, tx interface{}) tmtypes.ResponseCheckTx DeliverTx(state state.State, ctx Context, tx interface{}) tmtypes.ResponseDeliverTx }
type Context ¶
func NewContext ¶
Click to show internal directories.
Click to hide internal directories.