Documentation ¶
Overview ¶
PCGTta3M4t3yXu8uRgkKvaWd2d8DSHHyWEW
Index ¶
- type ContractInstallRequestPayload
- type InstallMgr
- func (p *InstallMgr) GetTemplates(stub shim.ChaincodeStubInterface) ([]*modules.ContractTemplate, error)
- func (p *InstallMgr) Init(stub shim.ChaincodeStubInterface) pb.Response
- func (p *InstallMgr) InstallByteCode(stub shim.ChaincodeStubInterface, name, description, path string, code []byte, ...) error
- func (p *InstallMgr) InstallRemoteCode(stub shim.ChaincodeStubInterface, name, description, url string, ...) error
- func (p *InstallMgr) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractInstallRequestPayload ¶
type ContractInstallRequestPayload struct { TplName string `json:"tpl_name"` TplDescription string `json:"tpl_description"` Path string `json:"install_path"` Version string `json:"tpl_version"` Abi string `json:"abi"` Language string `json:"language"` AddrHash []common.Hash `json:"addr_hash"` Creator string `json:"creator"` }
type InstallMgr ¶
type InstallMgr struct { }
func (*InstallMgr) GetTemplates ¶
func (p *InstallMgr) GetTemplates(stub shim.ChaincodeStubInterface) ([]*modules.ContractTemplate, error)
func (*InstallMgr) Init ¶
func (p *InstallMgr) Init(stub shim.ChaincodeStubInterface) pb.Response
func (*InstallMgr) InstallByteCode ¶
func (p *InstallMgr) InstallByteCode(stub shim.ChaincodeStubInterface, name, description, path string, code []byte, version, abi, language string, addrs []common.Address) error
func (*InstallMgr) InstallRemoteCode ¶
func (p *InstallMgr) InstallRemoteCode(stub shim.ChaincodeStubInterface, name, description, url string, version, abi, language string, addrHashes []common.Hash) error
func (*InstallMgr) Invoke ¶
func (p *InstallMgr) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Click to show internal directories.
Click to hide internal directories.