Documentation
¶
Index ¶
- type ChaincodeExample
- func (t *ChaincodeExample) CheckBalance(stub *shim.ChaincodeStub, param *example02.Entity) (*example02.BalanceResult, error)
- func (t *ChaincodeExample) DeleteAccount(stub *shim.ChaincodeStub, param *example02.Entity) error
- func (t *ChaincodeExample) Init(stub *shim.ChaincodeStub, param *appinit.Init) error
- func (t *ChaincodeExample) MakePayment(stub *shim.ChaincodeStub, param *example02.PaymentParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaincodeExample ¶
type ChaincodeExample struct {
}
func (*ChaincodeExample) CheckBalance ¶
func (t *ChaincodeExample) CheckBalance(stub *shim.ChaincodeStub, param *example02.Entity) (*example02.BalanceResult, error)
Query callback representing the query of a chaincode
func (*ChaincodeExample) DeleteAccount ¶
func (t *ChaincodeExample) DeleteAccount(stub *shim.ChaincodeStub, param *example02.Entity) error
Deletes an entity from state
func (*ChaincodeExample) Init ¶
func (t *ChaincodeExample) Init(stub *shim.ChaincodeStub, param *appinit.Init) error
Called to initialize the chaincode
func (*ChaincodeExample) MakePayment ¶
func (t *ChaincodeExample) MakePayment(stub *shim.ChaincodeStub, param *example02.PaymentParams) error
Transaction makes payment of X units from A to B
Click to show internal directories.
Click to hide internal directories.