zeppelinos/zos-cli

Output info on proxy owner and implementation in a command

spalladino opened this issue · 2 comments

Currently there is no way to obtain the owner of a proxy from the CLI, and the implementation address is hidden inside the zos.network.json file.

Consider outputting this information as part of the status command (either by default, or via an additional flag).

Related to #260.

This would also be very useful for us at Unlock! cc @nfurfaro

Got it, thanks for the input @julien51! FWIW, in the meantime, we've been using jq internally as a workaround to retrieve specific values. For instance, you can retrieve the address of an ERC20 proxy via:

jq '.proxies."openzeppelin-eth/StandaloneERC20"[0].address' -r zos.mainnet.json