{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sysccprovider\n\n## Types\n\n```go\ntype ChaincodeInstance struct {\n\tChainID          string\n\tChaincodeName    string\n\tChaincodeVersion string\n}\n```\nChaincodeInstance is unique identifier of chaincode instance\n\n```go\nfunc (ci *ChaincodeInstance) String() string\n```\n\n```go\ntype SystemChaincodeProvider interface {\n\t// IsSysCC returns true if the supplied chaincode is a system chaincode\n\tIsSysCC(name string) bool\n\n\t// IsSysCCAndNotInvokableCC2CC returns true if the supplied chaincode\n\t// is a system chaincode and is not invokable through a cc2cc invocation\n\tIsSysCCAndNotInvokableCC2CC(name string) bool\n\n\t// IsSysCCAndNotInvokable returns true if the supplied chaincode\n\t// is a system chaincode and is not invokable through a proposal\n\tIsSysCCAndNotInvokableExternal(name string) bool\n\n\t// GetQueryExecutorForLedger returns a query executor for the\n\t// ledger of the supplied channel.\n\t// That's useful for system chaincodes that require unfettered\n\t// access to the ledger\n\tGetQueryExecutorForLedger(cid string) (ledger.QueryExecutor, error)\n\n\t// GetApplicationConfig returns the configtxapplication.SharedConfig for the channel\n\t// and whether the Application config exists\n\tGetApplicationConfig(cid string) (channelconfig.Application, bool)\n\n\t// Returns the policy manager associated to the passed channel\n\t// and whether the policy manager exists\n\tPolicyManager(channelID string) (policies.Manager, bool)\n}\n```\nSystemChaincodeProvider provides an abstraction layer that is used for different packages to interact with code in the system chaincode package without importing it; more methods should be added below if necessary\n\n","path":"github.com/eric-erki/https-hyperledger.org/core/common/sysccprovider","name":"sysccprovider","synopsis":"","isRedistributable":true}
