Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Balance
Method
Balance
core/state/state_object.go:346–348 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
344
}
345
346
func
(self *stateObject) Balance() *big.Int {
347
return
self.data.Balance
348
}
349
350
func
(self *stateObject) Nonce() uint64 {
351
return
self.data.Nonce
Callers
6
AddBalance
Method · 0.95
SubBalance
Method · 0.95
compareStateObjects
Function · 0.45
GetBalance
Method · 0.45
Suicide
Method · 0.45
TestCopy
Function · 0.45
Calls
no outgoing calls
Tested by
2
compareStateObjects
Function · 0.36
TestCopy
Function · 0.36