eth-erc20

ERC20 interface and example giftable token contract
Log | Files | Refs | LICENSE

commit 368a8aab456dcb43b0ddb3e049a35ec91e25ad11
parent 1866abd7bc1110ffd97cbb674439f42e5d700011
Author: philip <philipwafula2@gmail.com>
Date:   Wed, 15 Dec 2021 08:52:36 +0300

Removes crypto-dev-signer from imports.

Diffstat:
Mpython/eth_erc20/erc20.py | 36++++++++++++++----------------------
1 file changed, 14 insertions(+), 22 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()