Esempio n. 1
0
 def __init__(self, ethereum_client: EthereumClient):
     self.ethereum_client = ethereum_client
     dummy_w3 = Web3()  # Not needed, just used to decode contracts
     self.proxy_factory_contract = get_proxy_factory_contract(dummy_w3)
     self.cpk_proxy_factory_contract = get_cpk_factory_contract(dummy_w3)
 def __init__(self, ethereum_client: EthereumClient, tracing_enabled: bool):
     self.ethereum_client = ethereum_client
     self.tracing_enabled = tracing_enabled
     dummy_w3 = Web3()  # Not needed, just used to decode contracts
     self.proxy_factory_contract = get_proxy_factory_contract(dummy_w3)
     self.cpk_proxy_factory_contract = get_cpk_factory_contract(dummy_w3)