@proxies:beacon
Beacon address of an ERC-1967 beacon proxy.
Returns: address
Syntax
Section titled “Syntax”@proxies:beacon(proxy)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
proxy | address | Proxy address |
Examples
Section titled “Examples”load proxies
set $proxy 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbprint @proxies:beacon($proxy)- Reads the ERC-1967 beacon slot; fails on non-beacon proxies.