test

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0, GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(rwM rwset.TxManager, idag dboperation.IContractDag, chainID string, templateId []byte, txId string, args [][]byte) (deployId []byte, deployPayload *modules.ContractDeployPayload, e error)

func Install

func Install(chainID, ccName, ccPath, ccVersion, ccDescription, ccAbi, ccLanguage string) (payload *modules.ContractTplPayload, err error)

install but not into db

func Invoke

func Invoke(rwM rwset.TxManager, idag dboperation.IContractDag, chainID string, deployId []byte, txid string, args [][]byte) (*modules.ContractInvokeResult, error)

func Stop

func Stop(contractid []byte, chainID string, deployId []byte, txid string, deleteImage bool) (*modules.ContractStopPayload, error)

func StopByName

func StopByName(contractid []byte, chainID string, txid string, ccName string, ccPath string, ccVersion string, deleteImage bool) (*modules.ContractStopPayload, error)

Types

type TempCC

type TempCC struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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