smartAssetsInterface

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type SmartAssetsApplication

type SmartAssetsApplication struct {
	chainStructure.BlankApplication
	// contains filtered or unexported fields
}

func (*SmartAssetsApplication) Execute

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

func (*SmartAssetsApplication) GetActionAsRequest

func (*SmartAssetsApplication) Information

func (s *SmartAssetsApplication) Information() (info service.BasicInformation)

func (*SmartAssetsApplication) Name

func (s *SmartAssetsApplication) Name() (name string)

func (*SmartAssetsApplication) PreExecute

func (s *SmartAssetsApplication) PreExecute(req blockchainRequest.Entity, blk block.Entity) (result []byte, err error)

func (*SmartAssetsApplication) PushClientRequest

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

func (*SmartAssetsApplication) Query

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

func (*SmartAssetsApplication) RequestsForBlock

func (s *SmartAssetsApplication) RequestsForBlock(blk block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)

func (*SmartAssetsApplication) SetChainInterface

func (s *SmartAssetsApplication) SetChainInterface(ci chainStructure.IChainInterface)

func (*SmartAssetsApplication) UnpackingActionsAsRequests

func (s *SmartAssetsApplication) UnpackingActionsAsRequests(req blockchainRequest.Entity) (list []blockchainRequest.Entity, err error)

Jump to

Keyboard shortcuts

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