Documentation ¶
Index ¶
- func Load()
- func NewApplicationInterface(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver, ...) (app chainStructure.IBlockchainExternalApplication, err error)
- type SmartAssetsApplication
- func (s *SmartAssetsApplication) Execute(req blockchainRequest.Entity, blk block.Entity, actIndex uint32) (result applicationResult.Entity, err error)
- func (s *SmartAssetsApplication) GetActionAsRequest(req blockchainRequest.Entity) blockchainRequest.Entity
- func (s *SmartAssetsApplication) Information() (info service.BasicInformation)
- func (s *SmartAssetsApplication) Name() (name string)
- func (s *SmartAssetsApplication) PreExecute(req blockchainRequest.Entity, blk block.Entity) (result []byte, err error)
- func (s *SmartAssetsApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)
- func (s *SmartAssetsApplication) Query(req []byte) (result interface{}, err error)
- func (s *SmartAssetsApplication) RequestsForBlock(blk block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)
- func (s *SmartAssetsApplication) SetChainInterface(ci chainStructure.IChainInterface)
- func (s *SmartAssetsApplication) UnpackingActionsAsRequests(req blockchainRequest.Entity) (list []blockchainRequest.Entity, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationInterface ¶
func NewApplicationInterface( kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver, tools crypto.Tools, assets smartAssetsLedger.BaseAssetsData, ) (app chainStructure.IBlockchainExternalApplication, err error)
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 (s *SmartAssetsApplication) GetActionAsRequest(req blockchainRequest.Entity) blockchainRequest.Entity
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)
Click to show internal directories.
Click to hide internal directories.