MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / new_account_storage

Function new_account_storage

chain/src/account.rs:136–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 use super::*;
135
136 fn new_account_storage() -> AccountStorage {
137 AccountStorage::new((*STORAGE).clone())
138 }
139
140 fn add_account(account_storage: &mut AccountStorage) -> (AccountData, H160) {
141 let account_data = AccountData::new(None);

Callers 4

it_increments_a_nonceFunction · 0.85
it_transfersFunction · 0.85
root_hash_changesFunction · 0.85

Calls

no outgoing calls

Tested by 4

it_increments_a_nonceFunction · 0.68
it_transfersFunction · 0.68
root_hash_changesFunction · 0.68