MCPcopy Create free account
hub / github.com/CPChain/chain / CodeHash

Method CodeHash

core/state/state_object.go:342–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340}
341
342func (self *stateObject) CodeHash() []byte {
343 return self.data.CodeHash
344}
345
346func (self *stateObject) Balance() *big.Int {
347 return self.data.Balance

Callers 6

CodeMethod · 0.95
SetCodeMethod · 0.95
compareStateObjectsFunction · 0.80
GetCodeSizeMethod · 0.80
GetCodeHashMethod · 0.80
CommitMethod · 0.80

Calls

no outgoing calls

Tested by 1

compareStateObjectsFunction · 0.64