basicAssetsInterface

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueryDBType struct {
	KV  enum.Element
	SQL enum.Element
}

Functions

func Load

func Load()

Types

type BasicAssetsApplication

type BasicAssetsApplication struct {
	chainStructure.BlankApplication

	Ledger     *basicAssetsLedger.Ledger
	SQLStorage *basicAssetsSQLStorage.Storage
}

func (*BasicAssetsApplication) Execute

func (b *BasicAssetsApplication) Execute(
	req blockchainRequest.Entity,
	blk block.Entity,
	actIndex uint32,
) (result applicationResult.Entity, err error)

func (*BasicAssetsApplication) GetActionAsRequest

func (*BasicAssetsApplication) Information

func (b *BasicAssetsApplication) Information() (info service.BasicInformation)

func (*BasicAssetsApplication) Name

func (b *BasicAssetsApplication) Name() (name string)

func (*BasicAssetsApplication) PreExecute

func (b *BasicAssetsApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)

func (*BasicAssetsApplication) PushClientRequest

func (b *BasicAssetsApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)

func (*BasicAssetsApplication) Query

func (b *BasicAssetsApplication) Query(req []byte) (result interface{}, err error)

func (*BasicAssetsApplication) RequestsForBlock

func (b *BasicAssetsApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)

Jump to

Keyboard shortcuts

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