Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HerbertSpender/vault-core
/ AddToBalance
Method
AddToBalance
state/interface.go:238–238 ·
view source on GitHub ↗
(value *big.Int)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
fundGenesisWallets
Function · 0.65
setBalanceToTrie
Function · 0.65
AddBalance
Method · 0.65
TestUserAccount_AddToBalanceInsufficientFundsShouldErr
Function · 0.65
TestUserAccount_GetBalance
Function · 0.65
TestExportUserAccountState
Function · 0.65
ProcessSCOutputAccounts
Function · 0.65
MintAddress
Function · 0.65
CreateAccount
Function · 0.65
AdbEmulateBalanceTxExecution
Function · 0.65
CreateMintingForSenders
Function · 0.65
TestAccountsDB_GetJournalizedAccountReturnExistingAccntShouldWork
Function · 0.65
Implementers
4
UserAccountMock
genesis/mock/userAccountMock.go
UserAccountStub
testscommon/state/userAccountStub.go
StateUserAccountHandlerStub
testscommon/state/accountAdapterStub.g
AccountWrapMock
testscommon/state/accountWrapperMock.g
Calls
no outgoing calls
Tested by
15
fundGenesisWallets
Function · 0.52
TestUserAccount_AddToBalanceInsufficientFundsShouldErr
Function · 0.52
TestUserAccount_GetBalance
Function · 0.52
TestExportUserAccountState
Function · 0.52
TestAccountsDB_GetJournalizedAccountReturnExistingAccntShouldWork
Function · 0.52
TestAccountsDB_CommitTwoOkAccountsShouldWork
Function · 0.52
TestAccountsDB_CommitTwoOkAccountsWithRecreationFromStorageShouldWork
Function · 0.52
TestAccountsDB_CommitAccountDataShouldWork
Function · 0.52
TestAccountsDB_RevertBalanceStepByStepAccountDataShouldWork
Function · 0.52
TestAccountsDB_ExecBalanceTxExecution
Function · 0.52
TestAccountsDB_ExecALotOfBalanceTxOK
Function · 0.52
TestAccountsDB_ExecALotOfBalanceTxOKorNOK
Function · 0.52