commit 4950ec0a6edb9948298a582a5c9cf7c30fa8dde4
parent 1866abd7bc1110ffd97cbb674439f42e5d700011
Author: Philip Wafula <philipwafula2@gmail.com>
Date: Sat, 18 Dec 2021 11:26:35 +0000
Merge branch 'philip/cleanup' into 'master'
Philip/cleanup
See merge request cicnet/eth-erc20!6
Diffstat:
3 files changed, 18 insertions(+), 27 deletions(-)
diff --git a/python/eth_erc20/erc20.py b/python/eth_erc20/erc20.py
@@ -2,31 +2,23 @@
import logging
# external imports
-import sha3
-from hexathon import (
- add_0x,
- strip_0x,
- )
-from crypto_dev_signer.eth.transaction import EIP155Transaction
-
-# external imports
-from chainlib.hash import (
- keccak256_hex_to_hex,
- keccak256_string_to_hex,
- )
from chainlib.eth.constant import ZERO_ADDRESS
-from chainlib.eth.tx import (
- TxFactory,
- TxFormat,
- )
-from chainlib.jsonrpc import JSONRPCRequest
from chainlib.eth.contract import (
- ABIContractEncoder,
- ABIContractDecoder,
- ABIContractType,
- abi_decode_single,
- )
+ ABIContractEncoder,
+ ABIContractDecoder,
+ ABIContractType,
+ abi_decode_single,
+)
from chainlib.eth.error import RequestMismatchException
+from chainlib.eth.tx import (
+ TxFactory,
+ TxFormat,
+)
+from chainlib.jsonrpc import JSONRPCRequest
+from hexathon import (
+ add_0x,
+ strip_0x,
+)
logg = logging.getLogger()
diff --git a/python/requirements.txt b/python/requirements.txt
@@ -1,4 +1,3 @@
-confini>=0.3.6rc3,<0.5.0
-crypto-dev-signer>=0.4.15a1,<=0.4.15
-chainlib-eth>=0.0.9a9,<=0.1.0
-potaahto~=0.0.1a2
+confini==0.5.2
+chainlib-eth ==0.0.14
+potaahto==0.1.0
diff --git a/python/setup.cfg b/python/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = eth-erc20
-version = 0.1.3
+version = 0.1.4
description = ERC20 interface and simple contract with deployment script that lets any address mint and gift itself tokens.
author = Louis Holbrook
author_email = dev@holbrook.no