Detect whether a contract is an upgradeable proxy and resolve its implementation address by reading EIP-1967/1822 storage slots on Ethereum or Base - on-chain state LLMs cannot access. proxy detect, proxy contract, implementation address, upgradeable proxy, eip1967, proxy resolver