From 1794649ae9868ea3a93e01fa869245fdb914d4ce Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 11 Feb 2021 08:52:59 +0100 Subject: [PATCH] Rename complete --- chainlib/eth/block.py | 2 +- chainlib/eth/gas.py | 6 +++--- chainlib/eth/nonce.py | 2 +- chainlib/eth/runnable/balance.py | 12 ++++++------ chainlib/eth/runnable/checksum.py | 2 +- chainlib/eth/runnable/decode.py | 2 +- chainlib/eth/runnable/gas.py | 12 ++++++------ chainlib/eth/runnable/transfer.py | 12 ++++++------ 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py index 6eccad5..e90aa9d 100644 --- a/chainlib/eth/block.py +++ b/chainlib/eth/block.py @@ -1,4 +1,4 @@ -from cic_tools.eth.rpc import jsonrpc_template +from chainlib.eth.rpc import jsonrpc_template def block(self): diff --git a/chainlib/eth/gas.py b/chainlib/eth/gas.py index 6439fc0..e7c4a1a 100644 --- a/chainlib/eth/gas.py +++ b/chainlib/eth/gas.py @@ -6,9 +6,9 @@ from hexathon import ( from crypto_dev_signer.eth.transaction import EIP155Transaction # local imports -from cic_tools.eth.rpc import jsonrpc_template -from cic_tools.eth.tx import TxFactory -from cic_tools.eth.hash import keccak256_hex_to_hex +from chainlib.eth.rpc import jsonrpc_template +from chainlib.eth.tx import TxFactory +from chainlib.eth.hash import keccak256_hex_to_hex def price(): diff --git a/chainlib/eth/nonce.py b/chainlib/eth/nonce.py index 0831564..089906a 100644 --- a/chainlib/eth/nonce.py +++ b/chainlib/eth/nonce.py @@ -5,7 +5,7 @@ from hexathon import ( ) # local imports -from cic_tools.eth.rpc import jsonrpc_template +from chainlib.eth.rpc import jsonrpc_template def nonce(address): diff --git a/chainlib/eth/runnable/balance.py b/chainlib/eth/runnable/balance.py index 4e8d3bb..4ac318a 100644 --- a/chainlib/eth/runnable/balance.py +++ b/chainlib/eth/runnable/balance.py @@ -25,15 +25,15 @@ import sha3 from eth_abi import encode_single # local imports -from cic_tools.eth.address import to_checksum -from cic_tools.eth.rpc import ( +from chainlib.eth.address import to_checksum +from chainlib.eth.rpc import ( jsonrpc_template, jsonrpc_result, ) -from cic_tools.eth.erc20 import ERC20TxFactory -from cic_tools.eth.connection import HTTPConnection -from cic_tools.eth.nonce import DefaultNonceOracle -from cic_tools.eth.gas import DefaultGasOracle +from chainlib.eth.erc20 import ERC20TxFactory +from chainlib.eth.connection import HTTPConnection +from chainlib.eth.nonce import DefaultNonceOracle +from chainlib.eth.gas import DefaultGasOracle logging.basicConfig(level=logging.WARNING) logg = logging.getLogger() diff --git a/chainlib/eth/runnable/checksum.py b/chainlib/eth/runnable/checksum.py index a4d1d59..76538dc 100644 --- a/chainlib/eth/runnable/checksum.py +++ b/chainlib/eth/runnable/checksum.py @@ -2,7 +2,7 @@ import sys # local imports -from cic_tools.eth.address import to_checksum +from chainlib.eth.address import to_checksum print(to_checksum(sys.argv[1])) diff --git a/chainlib/eth/runnable/decode.py b/chainlib/eth/runnable/decode.py index 32bd3b9..5bdd09c 100644 --- a/chainlib/eth/runnable/decode.py +++ b/chainlib/eth/runnable/decode.py @@ -16,7 +16,7 @@ import argparse import logging # third-party imports -from cic_tools.eth.tx import unpack_signed +from chainlib.eth.tx import unpack_signed logging.basicConfig(level=logging.WARNING) diff --git a/chainlib/eth/runnable/gas.py b/chainlib/eth/runnable/gas.py index 867fb9e..bc0b90f 100644 --- a/chainlib/eth/runnable/gas.py +++ b/chainlib/eth/runnable/gas.py @@ -25,15 +25,15 @@ from hexathon import ( ) # local imports -from cic_tools.eth.address import to_checksum -from cic_tools.eth.connection import HTTPConnection -from cic_tools.eth.rpc import jsonrpc_template -from cic_tools.eth.nonce import DefaultNonceOracle -from cic_tools.eth.gas import ( +from chainlib.eth.address import to_checksum +from chainlib.eth.connection import HTTPConnection +from chainlib.eth.rpc import jsonrpc_template +from chainlib.eth.nonce import DefaultNonceOracle +from chainlib.eth.gas import ( DefaultGasOracle, GasTxFactory, ) -from cic_tools.eth.gas import balance as gas_balance +from chainlib.eth.gas import balance as gas_balance logging.basicConfig(level=logging.WARNING) logg = logging.getLogger() diff --git a/chainlib/eth/runnable/transfer.py b/chainlib/eth/runnable/transfer.py index 4f76eb2..63de7f9 100644 --- a/chainlib/eth/runnable/transfer.py +++ b/chainlib/eth/runnable/transfer.py @@ -25,12 +25,12 @@ from hexathon import ( ) # local imports -from cic_tools.eth.address import to_checksum -from cic_tools.eth.connection import HTTPConnection -from cic_tools.eth.rpc import jsonrpc_template -from cic_tools.eth.nonce import DefaultNonceOracle -from cic_tools.eth.gas import DefaultGasOracle -from cic_tools.eth.erc20 import ERC20TxFactory +from chainlib.eth.address import to_checksum +from chainlib.eth.connection import HTTPConnection +from chainlib.eth.rpc import jsonrpc_template +from chainlib.eth.nonce import DefaultNonceOracle +from chainlib.eth.gas import DefaultGasOracle +from chainlib.eth.erc20 import ERC20TxFactory logging.basicConfig(level=logging.WARNING)