@proxies:proxies.implementation
Implementation address of an ERC-1967 proxy, following the beacon when the proxy is a beacon proxy.
Returns: address
Syntax
Section titled “Syntax”@proxies:proxies.implementation(proxy)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
proxy |
address |
Proxy address |
Examples
Section titled “Examples”load proxies
# USDC's transparent proxy on mainnetprint @proxies.implementation(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)- Reads the ERC-1967 implementation slot directly; for beacon proxies it
follows the beacon and returns its
implementation().