Skip to main content

classify_from_storage

Function classify_from_storage 

Source
pub fn classify_from_storage(
    proxy_address: &str,
    eip1967_impl: Option<&str>,
    eip1967_beacon: Option<&str>,
    eip1822_proxiable: Option<&str>,
) -> ProxyInfo
Expand description

Classify a proxy based on known storage slot values from an RPC call.

Provide the 32-byte hex values from eth_getStorageAt for each slot. Pass None if the slot returned zero or could not be fetched.