MCPcopy Create free account
hub / github.com/deroproject/derohe / SC_Code_Key

Function SC_Code_Key

dvm/sc.go:79–81  ·  view source on GitHub ↗
(scid crypto.Hash)

Source from the content-addressed store, hash-verified

77 return scid[:]
78}
79func SC_Code_Key(scid crypto.Hash) []byte {
80 return Variable{Type: String, ValueString: "C"}.MarshalBinaryPanic()
81}
82func SC_Asset_Key(asset crypto.Hash) []byte {
83 return asset[:]
84}

Callers 7

GetSCFunction · 0.92
GetTransactionFunction · 0.92
install_hardcoded_scMethod · 0.92
Blockchain_StartFunction · 0.92
ReadSCFunction · 0.85
SCInstallMethod · 0.85

Calls 1

MarshalBinaryPanicMethod · 0.45

Tested by

no test coverage detected