Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
eth_get_contract_address.py
Go to the documentation of this file.
1 # Copyright (c) 2015-2022 Clearmatics Technologies Ltd
2 #
3 # SPDX-License-Identifier: LGPL-3.0+
4 
5 from zeth.cli.utils import load_contract_address
6 from click import command, argument
7 
8 
9 @command()
10 @argument("instance-file")
11 def eth_get_contract_address(instance_file: str) -> None:
12  """
13  Extract the address from a contract instance description file.
14  """
15  print(load_contract_address(instance_file))
zeth.helper.eth_get_contract_address.eth_get_contract_address
None eth_get_contract_address(str instance_file)
Definition: eth_get_contract_address.py:11
zeth.cli.utils.load_contract_address
str load_contract_address(str contract_addr)
Definition: utils.py:121
zeth.cli.utils
Definition: utils.py:1