Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
342
func
(self *stateObject) CodeHash() []byte {
343
return
self.data.CodeHash
344
}
345
346
func
(self *stateObject) Balance() *big.Int {
347
return
self.data.Balance
Callers
6
Code
Method · 0.95
SetCode
Method · 0.95
compareStateObjects
Function · 0.80
GetCodeSize
Method · 0.80
GetCodeHash
Method · 0.80
Commit
Method · 0.80
Calls
no outgoing calls
Tested by
1
compareStateObjects
Function · 0.64