Versions in this module Expand all Collapse all v1 v1.1.2 Aug 11, 2020 v1.1.1 Aug 11, 2020 Changes in this version + const SystemContractName + type Contract struct + AfterTransaction interface{} + BeforeTransaction interface{} + Info metadata.InfoMetadata + Name string + TransactionContextHandler SettableTransactionContextInterface + UnknownTransaction interface{} + func (c *Contract) GetAfterTransaction() interface{} + func (c *Contract) GetBeforeTransaction() interface{} + func (c *Contract) GetInfo() metadata.InfoMetadata + func (c *Contract) GetName() string + func (c *Contract) GetTransactionContextHandler() SettableTransactionContextInterface + func (c *Contract) GetUnknownTransaction() interface{} + type ContractChaincode struct + DefaultContract string + Info metadata.InfoMetadata + TransactionSerializer serializer.TransactionSerializer + func NewChaincode(contracts ...ContractInterface) (*ContractChaincode, error) + func (cc *ContractChaincode) Init(stub shim.ChaincodeStubInterface) peer.Response + func (cc *ContractChaincode) Invoke(stub shim.ChaincodeStubInterface) peer.Response + func (cc *ContractChaincode) Start() error + type ContractInterface interface + GetAfterTransaction func() interface{} + GetBeforeTransaction func() interface{} + GetInfo func() metadata.InfoMetadata + GetName func() string + GetTransactionContextHandler func() SettableTransactionContextInterface + GetUnknownTransaction func() interface{} + type EvaluationContractInterface interface + GetEvaluateTransactions func() []string + type IgnoreContractInterface interface + GetIgnoredFunctions func() []string + type SettableTransactionContextInterface interface + SetClientIdentity func(ci cid.ClientIdentity) + SetStub func(shim.ChaincodeStubInterface) + type SystemContract struct + func (sc *SystemContract) GetEvaluateTransactions() []string + func (sc *SystemContract) GetMetadata() string + type TransactionContext struct + func (ctx *TransactionContext) GetClientIdentity() cid.ClientIdentity + func (ctx *TransactionContext) GetStub() shim.ChaincodeStubInterface + func (ctx *TransactionContext) SetClientIdentity(ci cid.ClientIdentity) + func (ctx *TransactionContext) SetStub(stub shim.ChaincodeStubInterface) + type TransactionContextInterface interface + GetClientIdentity func() cid.ClientIdentity + GetStub func() shim.ChaincodeStubInterface