MCPcopy Create free account
hub / github.com/base/base / trusted_proxy_code_hashes

Method trusted_proxy_code_hashes

crates/execution/txpool/src/validator.rs:735–740  ·  view source on GitHub ↗

The accepted account code hashes for the given trusted implementation addresses: the canonical ERC-1167 minimal-proxy runtime code hash of each.

(targets: &AddressSet)

Source from the content-addressed store, hash-verified

733 /// The accepted account code hashes for the given trusted implementation
734 /// addresses: the canonical ERC-1167 minimal-proxy runtime code hash of each.
735 fn trusted_proxy_code_hashes(targets: &AddressSet) -> HashSet<B256> {
736 targets
737 .iter()
738 .map(|implementation| Eip8130Contracts::erc1167_proxy_code_hash(*implementation))
739 .collect()
740 }
741
742 /// Adds trusted wallet implementations used for payer classification.
743 pub fn with_additional_trusted_delegation_targets(self, targets: AddressSet) -> Self {

Callers

nothing calls this directly

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected