chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit 1794649ae9868ea3a93e01fa869245fdb914d4ce
parent 62123850c87d94b3512d32c85b8b815142c8229e
Author: nolash <dev@holbrook.no>
Date:   Thu, 11 Feb 2021 08:52:59 +0100

Rename complete

Diffstat:
Mchainlib/eth/block.py | 2+-
Mchainlib/eth/gas.py | 6+++---
Mchainlib/eth/nonce.py | 2+-
Mchainlib/eth/runnable/balance.py | 12++++++------
Mchainlib/eth/runnable/checksum.py | 2+-
Mchainlib/eth/runnable/decode.py | 2+-
Mchainlib/eth/runnable/gas.py | 12++++++------
Mchainlib/eth/runnable/transfer.py | 12++++++------
8 files changed, 25 insertions(+), 25 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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)