You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2021. It is now read-only.
Hi Guyz,
The problem in _encode_transaction_data method, i guess new lib of web3 py has changed its methods, do you know how to fix it? Thx
PS: sendEther is working well
Traceback (most recent call last):
File "/home/rashid/PycharmProjects/CryptiArbitrage/TestWeb3.py", line 21, in
print("send token ",sdk.send_tokens_new(address=Web3.toChecksumAddress(kukoinDadyWallet),amount=100))
File "/home/rashid/PycharmProjects/CryptiArbitrage/walletman.py", line 219, in send_tokens_new
hex_data2 = self.token_contract._encode_transaction_data('transfer', args=(address, self.web3.toWei(amount, 'ether')))
AttributeError: 'Contract' object has no attribute '_encode_transaction_data'
The text was updated successfully, but these errors were encountered: