diff --git a/safe_cli/safe_creator.py b/safe_cli/safe_creator.py index 2fd21142..f50ac57e 100644 --- a/safe_cli/safe_creator.py +++ b/safe_cli/safe_creator.py @@ -15,7 +15,7 @@ from gnosis.eth import EthereumClient from gnosis.eth.constants import NULL_ADDRESS from gnosis.eth.contracts import get_safe_V1_4_1_contract -from gnosis.safe import ProxyFactory +from gnosis.safe import ProxyFactory, Safe from safe_cli.prompt_parser import check_ethereum_address from safe_cli.safe_addresses import ( @@ -184,8 +184,10 @@ def main(*args, **kwargs): print_formatted_text( f"Creating new Safe with owners={owners} threshold={threshold} salt-nonce={salt_nonce}" ) + safe_version = Safe(safe_contract_address, ethereum_client).retrieve_version() print_formatted_text( - f"Safe-master-copy={safe_contract_address}\nFallback-handler={fallback_handler}\n" + f"Safe-master-copy={safe_contract_address} version={safe_version}\n" + f"Fallback-handler={fallback_handler}\n" f"Proxy factory={proxy_factory_address}" ) if yes_or_no_question("Do you want to continue?"):