File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ def main(
299
299
node_url = "https://rpc-core.icecreamswap.com" ,
300
300
usdt_address = "0x900101d06A7426441Ae63e9AB3B9b0F63Be145F1" ,
301
301
):
302
- from IceCreamSwapWeb3 import to_checksum_address
302
+ from . FastChecksumAddress import to_checksum_address
303
303
304
304
usdt_address = to_checksum_address (usdt_address )
305
305
Original file line number Diff line number Diff line change 10
10
from web3 .contract .contract import ContractFunction , ContractConstructor
11
11
from web3 .exceptions import ContractLogicError
12
12
13
- from IceCreamSwapWeb3 import Web3Advanced , to_checksum_address
13
+ from IceCreamSwapWeb3 import Web3Advanced
14
+ from .FastChecksumAddress import to_checksum_address
14
15
15
16
# load multicall abi
16
17
with files ("IceCreamSwapWeb3" ).joinpath ("./abi/Multicall.abi" ).open ('r' ) as f :
Original file line number Diff line number Diff line change 1
1
from typing import cast
2
2
3
3
import requests
4
- from IceCreamSwapWeb3 import to_checksum_address
5
- from eth_utils import to_checksum_address
4
+ from .FastChecksumAddress import to_checksum_address
6
5
from hexbytes import HexBytes
7
6
from tqdm import tqdm
8
7
from web3 .types import FilterParams , LogReceipt
Original file line number Diff line number Diff line change 2
2
from importlib .resources import files
3
3
from time import sleep
4
4
5
- from IceCreamSwapWeb3 import to_checksum_address
6
5
from web3 import Web3
7
6
from web3 .exceptions import ContractLogicError
8
7
from web3 .main import get_default_modules
12
11
from .EthAdvanced import EthAdvanced
13
12
from .Multicall import MultiCall
14
13
from .Web3ErrorHandlerPatch import patch_error_formatters
14
+ from .FastChecksumAddress import to_checksum_address
15
15
16
16
17
17
class Web3Advanced (Web3 ):
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
3
- VERSION = '0.1.29 '
3
+ VERSION = '0.1.30 '
4
4
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
5
5
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
6
6
You can’t perform that action at this time.
0 commit comments