Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ GetBalance
Method
GetBalance
core/vm/interface.go:32–32 ·
view source on GitHub ↗
(common.Address)
Source
from the content-addressed store, hash-verified
30
SubBalance(common.Address, *big.Int)
31
AddBalance(common.Address, *big.Int)
32
GetBalance(common.Address) *big.Int
33
34
GetNonce(common.Address) uint64
35
SetNonce(common.Address, uint64)
Callers
15
ExampleGenerateChain
Function · 0.65
buyGas
Method · 0.65
CanTransfer
Function · 0.65
validateTx
Method · 0.65
promoteExecutables
Method · 0.65
demoteUnexecutables
Method · 0.65
checkEqual
Method · 0.65
TestCopyOfCopy
Function · 0.65
checkStateAccounts
Function · 0.65
gasSuicide
Function · 0.65
opBalance
Function · 0.65
opSuicide
Function · 0.65
Implementers
2
StateDB
core/state/statedb.go
NoopStateDB
core/vm/noop.go
Calls
no outgoing calls
Tested by
11
ExampleGenerateChain
Function · 0.52
checkEqual
Method · 0.52
TestCopyOfCopy
Function · 0.52
checkStateAccounts
Function · 0.52
BalanceAt
Method · 0.52
testGetNodeData
Function · 0.52
validateReceiptsByManyPeers
Function · 0.52
TestGetBalanceAtMiddleBlock
Function · 0.52
TestSyncState
Function · 0.52
TestRefund
Function · 0.52
TestRefundAll
Function · 0.52