Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Sep 28, 2023
1 parent df01e2c commit ab27bc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions safe_cli/safe_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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?"):
Expand Down

0 comments on commit ab27bc9

Please sign in to comment.