pub struct ProxyInfo {
pub is_proxy: bool,
pub proxy_type: String,
pub implementation_address: Option<String>,
pub admin_address: Option<String>,
pub beacon_address: Option<String>,
pub details: Vec<String>,
}Expand description
Result of proxy pattern detection.
Fields§
§is_proxy: boolWhether the contract is a proxy.
proxy_type: StringType of proxy pattern detected.
implementation_address: Option<String>Implementation contract address (if resolvable).
admin_address: Option<String>Admin address that can upgrade the proxy (if detectable).
beacon_address: Option<String>Beacon address (for beacon proxies).
details: Vec<String>Detailed findings about the proxy pattern.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProxyInfo
impl<'de> Deserialize<'de> for ProxyInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProxyInfo
impl RefUnwindSafe for ProxyInfo
impl Send for ProxyInfo
impl Sync for ProxyInfo
impl Unpin for ProxyInfo
impl UnsafeUnpin for ProxyInfo
impl UnwindSafe for ProxyInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more