func (cc *DocumentCC) Init(stub shim.ChaincodeStubInterface) pb.Response {
	return shim.Success(nil)
}
Init - nothing to do for now
package doc
import (
	"github.com/hyperledger/fabric-chaincode-go/shim"
	pb "github.com/hyperledger/fabric-protos-go/peer"
	"github.com/hyperledger/fabric/common/flogging"
	ccapi "github.com/hyperledger/fabric/extensions/chaincode/api"
	"github.com/trustbloc/sidetree-fabric/pkg/observer"
)
var logger = flogging.MustGetLogger("sidetree_chaincode")
const (
	ccVersion = "v1"
	couchDB       = "couchdb"
	docsCollIndex = `{"index": {"fields": ["uniqueSuffix"]}, "ddoc": "indexUniqueSuffixDoc", "name": "indexUniqueSuffix", "type": "json"}`
)
type DocumentCC struct {
	name string
}
func New(name string) *DocumentCC {
	cc := &DocumentCC{
		name: name,
	}
	return cc
}
func (cc *DocumentCC) Name() string { return cc.name }
func (cc *DocumentCC) Version() string { return ccVersion }
func (cc *DocumentCC) Chaincode() shim.Chaincode { return cc }
func (cc *DocumentCC) GetDBArtifacts(collNames []string) map[string]*ccapi.DBArtifacts {
	collIndexes := make(map[string][]string)
	for _, collName := range collNames {
		if collName == observer.MetaDataColName {
			continue
		}
		collIndexes[collName] = []string{docsCollIndex}
	}
	logger.Infof("Returning DB indexes for collections %s: %s", collNames, collIndexes)
	return map[string]*ccapi.DBArtifacts{
		couchDB: {
			CollectionIndexes: collIndexes,
		},
	}
}