Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zacholme7/NodeDB
/ functions
Functions
40 in github.com/Zacholme7/NodeDB
⨍
Functions
40
◇
Types & classes
12
↓ 8 callers
Method
block_on
(&self, fut: F)
src/lib.rs:944
↓ 8 callers
Method
update_provider
Checks the latest block number and refreshes the provider if it has advanced. This avoids unnecessary rebuilds when no new blocks have been produced.
src/lib.rs:807
↓ 5 callers
Method
insert_account_info
Insert account information into the database
src/lib.rs:116
↓ 5 callers
Method
insert_account_storage
Insert storage info into the database.
src/lib.rs:148
↓ 4 callers
Method
account_code
Get the code of the account at the given address. Returns `None` if the account doesn't exist or has no code.
src/lib.rs:874
↓ 4 callers
Method
basic_account
Get basic account information. Returns `None` if the account doesn't exist.
src/lib.rs:828
↓ 3 callers
Method
storage
(&mut self, address: Address, index: U256)
src/lib.rs:424
↓ 2 callers
Method
basic_async_ref
( &self, address: Address, )
src/lib.rs:544
↓ 2 callers
Method
block_hash
(&mut self, number: u64)
src/lib.rs:473
↓ 1 callers
Method
basic_async
( &mut self, address: Address, )
src/lib.rs:247
↓ 1 callers
Method
basic_ref
(&self, address: Address)
src/lib.rs:485
↓ 1 callers
Method
block_hash_async
( &mut self, number: u64, )
src/lib.rs:344
↓ 1 callers
Method
block_hash_async_ref
( &self, number: u64, )
src/lib.rs:611
↓ 1 callers
Method
block_hash_ref
(&self, number: u64)
src/lib.rs:529
↓ 1 callers
Method
code_by_hash_async
( &mut self, _code_hash: B256, )
src/lib.rs:278
↓ 1 callers
Method
code_by_hash_async_ref
( &self, _code_hash: B256, )
src/lib.rs:575
↓ 1 callers
Method
disable_tracing
This is used to stop tracking the accessed slots after a transaction has been executed This is useful to avoid memory leaks and unnecessary
src/lib.rs:101
↓ 1 callers
Method
enable_tracing
(&mut self)
src/lib.rs:91
↓ 1 callers
Method
get_accessed_slots
Get the accessed slots for a given address This is used for tracing to get the slots that were accessed during a transaction
src/lib.rs:107
↓ 1 callers
Function
get_balance_slot
( nodedb: &mut NodeDB<RethBackend>, token: Address, account: Address, )
example/get_balance_slot.rs:47
↓ 1 callers
Method
storage_async
( &mut self, address: Address, index: U256, )
src/lib.rs:289
↓ 1 callers
Method
storage_async_ref
( &self, address: Address, index: U256, )
src/lib.rs:586
↓ 1 callers
Method
storage_ref
(&self, address: Address, index: U256)
src/lib.rs:511
Method
basic
(&mut self, address: Address)
src/lib.rs:396
Method
code_by_hash
(&mut self, _hash: B256)
src/lib.rs:420
Method
code_by_hash_ref
(&self, _hash: B256)
src/lib.rs:507
Method
commit
(&mut self, changes: HashMap<Address, Account, foldhash::fast::RandomState>)
src/lib.rs:663
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:32
Method
from
(e: ProviderError)
src/lib.rs:42
Function
main
()
example/get_balance_slot.rs:22
Function
main
()
example/swap_async.rs:36
Function
main
()
example/swap.rs:34
Function
main
()
example/custom_slot.rs:21
Function
main
()
example/custom_account.rs:17
Function
main
()
example/quote.rs:20
Function
main
()
example/approval_async.rs:25
Function
main
()
example/approval.rs:23
Method
new
Constructor for NodeDB
src/lib.rs:81
Method
with_handle
(inner: T, h: Handle)
src/lib.rs:978
Method
with_runtime
(inner: T, rt: Runtime)
src/lib.rs:971