public interface Chaincode
| Modifier and Type | Interface and Description |
|---|---|
static class |
Chaincode.Response
Wrapper around protobuf Response, contains status, message and payload.
|
| Modifier and Type | Method and Description |
|---|---|
Chaincode.Response |
init(ChaincodeStub stub)
Called during an instantiate transaction after the container has been
established, allowing the chaincode to initialize its internal data.
|
Chaincode.Response |
invoke(ChaincodeStub stub)
Called for every Invoke transaction.
|
Chaincode.Response init(ChaincodeStub stub)
stub - the chaincode stubChaincode.Response invoke(ChaincodeStub stub)
stub - the chaincode stub