Documentation ¶
Index ¶
- type SampleSysCC
- func (t *SampleSysCC) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
- func (t *SampleSysCC) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
- func (t *SampleSysCC) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleSysCC ¶
type SampleSysCC struct { }
SampleSysCC example simple Chaincode implementation
func (*SampleSysCC) Init ¶
func (t *SampleSysCC) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
func (*SampleSysCC) Invoke ¶
func (t *SampleSysCC) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Transaction makes payment of X units from A to B
func (*SampleSysCC) Query ¶
func (t *SampleSysCC) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Query callback representing the query of a chaincode
Click to show internal directories.
Click to hide internal directories.