MCPcopy Create free account

hub / github.com/Zacholme7/NodeDB / functions

Functions40 in github.com/Zacholme7/NodeDB

↓ 8 callersMethodblock_on
(&self, fut: F)
src/lib.rs:944
↓ 8 callersMethodupdate_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 callersMethodinsert_account_info
Insert account information into the database
src/lib.rs:116
↓ 5 callersMethodinsert_account_storage
Insert storage info into the database.
src/lib.rs:148
↓ 4 callersMethodaccount_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 callersMethodbasic_account
Get basic account information. Returns `None` if the account doesn't exist.
src/lib.rs:828
↓ 3 callersMethodstorage
(&mut self, address: Address, index: U256)
src/lib.rs:424
↓ 2 callersMethodbasic_async_ref
( &self, address: Address, )
src/lib.rs:544
↓ 2 callersMethodblock_hash
(&mut self, number: u64)
src/lib.rs:473
↓ 1 callersMethodbasic_async
( &mut self, address: Address, )
src/lib.rs:247
↓ 1 callersMethodbasic_ref
(&self, address: Address)
src/lib.rs:485
↓ 1 callersMethodblock_hash_async
( &mut self, number: u64, )
src/lib.rs:344
↓ 1 callersMethodblock_hash_async_ref
( &self, number: u64, )
src/lib.rs:611
↓ 1 callersMethodblock_hash_ref
(&self, number: u64)
src/lib.rs:529
↓ 1 callersMethodcode_by_hash_async
( &mut self, _code_hash: B256, )
src/lib.rs:278
↓ 1 callersMethodcode_by_hash_async_ref
( &self, _code_hash: B256, )
src/lib.rs:575
↓ 1 callersMethoddisable_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 callersMethodenable_tracing
(&mut self)
src/lib.rs:91
↓ 1 callersMethodget_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 callersFunctionget_balance_slot
( nodedb: &mut NodeDB<RethBackend>, token: Address, account: Address, )
example/get_balance_slot.rs:47
↓ 1 callersMethodstorage_async
( &mut self, address: Address, index: U256, )
src/lib.rs:289
↓ 1 callersMethodstorage_async_ref
( &self, address: Address, index: U256, )
src/lib.rs:586
↓ 1 callersMethodstorage_ref
(&self, address: Address, index: U256)
src/lib.rs:511
Methodbasic
(&mut self, address: Address)
src/lib.rs:396
Methodcode_by_hash
(&mut self, _hash: B256)
src/lib.rs:420
Methodcode_by_hash_ref
(&self, _hash: B256)
src/lib.rs:507
Methodcommit
(&mut self, changes: HashMap<Address, Account, foldhash::fast::RandomState>)
src/lib.rs:663
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:32
Methodfrom
(e: ProviderError)
src/lib.rs:42
Functionmain
()
example/get_balance_slot.rs:22
Functionmain
()
example/swap_async.rs:36
Functionmain
()
example/swap.rs:34
Functionmain
()
example/custom_slot.rs:21
Functionmain
()
example/custom_account.rs:17
Functionmain
()
example/quote.rs:20
Functionmain
()
example/approval_async.rs:25
Functionmain
()
example/approval.rs:23
Methodnew
Constructor for NodeDB
src/lib.rs:81
Methodwith_handle
(inner: T, h: Handle)
src/lib.rs:978
Methodwith_runtime
(inner: T, rt: Runtime)
src/lib.rs:971