{"modulePath":"github.com/datachainlab/fabric-batch-chaincode","version":"v0.0.0-20211102142956-5522db42e159","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package chaincode\n\n## Constants\n\n```go\nconst (\n\tMsgIncr = \"incr\"\n\tMsgDecr = \"decr\"\n)\n```\n\n## Types\n\n```go\ntype SmartContract struct {\n\tcontractapi.Contract\n\t*batch.BatchContract\n}\n```\n\n```go\nfunc NewSmartContract(batchcc *batch.BatchContract) *SmartContract\n```\n\n```go\nfunc (s *SmartContract) BatchDecrWithTimestamp(ctx contractapi.TransactionContextInterface, count uint64, currentTime int64) error\n```\n\n```go\nfunc (s *SmartContract) BatchIncr(ctx contractapi.TransactionContextInterface, count uint64) error\n```\n\n```go\nfunc (s *SmartContract) BatchIncrWithTimestamp(ctx contractapi.TransactionContextInterface, count uint64, currentTime int64) error\n```\n\n```go\nfunc (s *SmartContract) Count(ctx contractapi.TransactionContextInterface) (uint64, error)\n```\n\n```go\nfunc (s *SmartContract) Decr(ctx contractapi.TransactionContextInterface, count uint64) error\n```\n\n```go\nfunc (s *SmartContract) GetIgnoredFunctions() []string\n```\n\n```go\nfunc (s *SmartContract) Incr(ctx contractapi.TransactionContextInterface, count uint64) error\n```\n\n```go\nfunc (s *SmartContract) Init(ctx contractapi.TransactionContextInterface) error\n```\n\n","path":"github.com/datachainlab/fabric-batch-chaincode/_examples/counter/chaincode","name":"chaincode","synopsis":"","isRedistributable":true}
