MCPcopy
hub / github.com/yeasy/blockchain_guide / bankKey

Function bankKey

11_app_dev/chaincode_example03.go:413–415  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

411}
412
413func bankKey(id int) string {
414 return fmt.Sprintf("bank:%d", id)
415}
416
417func companyKey(id int) string {
418 return fmt.Sprintf("company:%d", id)

Callers 4

CreateBankMethod · 0.85
IssueCoinToBankMethod · 0.85
IssueCoinToCompanyMethod · 0.85
readBankFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected