Documentation ¶
Index ¶
- func Deploy(rwM rwset.TxManager, idag dboperation.IContractDag, chainID string, ...) (deployId []byte, deployPayload *modules.ContractDeployPayload, e error)
- func Install(chainID, ccName, ccPath, ccVersion, ccDescription, ccAbi, ccLanguage string) (payload *modules.ContractTplPayload, err error)
- func Invoke(rwM rwset.TxManager, idag dboperation.IContractDag, chainID string, ...) (*modules.ContractInvokeResult, error)
- func Stop(contractid []byte, chainID string, deployId []byte, txid string, ...) (*modules.ContractStopPayload, error)
- func StopByName(contractid []byte, chainID string, txid string, ccName string, ccPath string, ...) (*modules.ContractStopPayload, error)
- type TempCC
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)
Types ¶
Click to show internal directories.
Click to hide internal directories.