code: def transact(
              self,
              contract_method: ContractFunction,
      ):
          
          txhash = contract_method.transact(self.transaction)
          LOG.debug(f'Sending txHash={encode_hex(txhash)}')
          (receipt, _) = check_successful_tx(
              web3=self.web3,
              txid=txhash,
              timeout=self.wait,
          )
          return receipt
docs: A wrapper around to_be_called.transact() that waits until the transaction succeeds.