tsarbuig / limit-sniper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cryptognome/limit-sniper
A mempool sniping bot for Ethereum, Binance Smart Chain, Matic, & Fantom
This project forked from cryptognome/limit-sniper
A mempool sniping bot for Ethereum, Binance Smart Chain, Matic, & Fantom
On Limit-sniper bot, use base token to buy and i found an issue.
In my case:
This is log file
INFO: 2022-03-31 08:06:59,396 Current Wallet Balance is : 84.410583092688020215 CRO
INFO: 2022-03-31 08:06:59,408 ENTER scan_mempool_public_node
INFO: 2022-03-31 08:09:53,032 WE FOUND SOMETHING IN MEMPOOL
INFO: 2022-03-31 08:09:53,032 - Block number: 2144033
INFO: 2022-03-31 08:09:53,033 - Function: <Function addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)>
INFO: 2022-03-31 08:09:53,033 - TxHash: 0x443ed84770e9f0b1970b0818d37217eec34fae85f655f87d335a8b0b7e143a3d
INFO: 2022-03-31 08:09:53,033 - GAS will be the same as liquidity adding event for your BUY Tx: GAS= 5000.0
INFO: 2022-03-31 08:09:53,033 ------------------------------------------------
INFO: 2022-03-31 08:09:53,034 ENOUGH LIQUIDITY
INFO: 2022-03-31 08:09:53,034
INFO: 2022-03-31 08:09:53,034 - You have set MINIMUM_LIQUIDITY_IN_DOLLARS = 5 $
INFO: 2022-03-31 08:09:53,034 - Liquidity added for MAD = 230.32 $
INFO: 2022-03-31 08:09:53,034 --> Let's buy!
INFO: 2022-03-31 08:09:53,034 ------------------------------------------------
INFO: 2022-03-31 08:09:53,044 make_the_buy condition 10
INFO: 2022-03-31 08:09:53,072 Transaction Hash = 0xbfd3e4f67c1c10fc0ce936a5b22d181dc62a10f91316fa5ce0b66da6daae621b
INFO: 2022-03-31 08:09:57,224 ----------------------------------
INFO: 2022-03-31 08:09:57,224 SUCCESS : your buy Tx is confirmed
INFO: 2022-03-31 08:09:57,419 - Your BUY Block number is : 2144034
INFO: 2022-03-31 08:09:57,420 - Addliquidity Block number was: 2144033
INFO: 2022-03-31 08:09:57,420 You bought 1 blocks later
INFO: 2022-03-31 08:10:00,472 Current Wallet Balance is: 95.40201546521781 CRO
INFO: 2022-03-31 08:10:00,495 Current Wallet Balance is: 0.07038045838824342 MAD
INFO: 2022-03-31 08:10:00,495
INFO: 2022-03-31 08:10:00,495 You bought 0.07038045838824342 MAD tokens
INFO: 2022-03-31 08:10:00,495 ----------------------------------
ERROR: 2022-03-31 08:10:00,496 macosx:// is disabled on this system.
ERROR: 2022-03-31 08:10:00,497 windows:// is disabled on this system.
INFO: 2022-03-31 08:10:00,517 MAD cost per token was: 14.2084894429594
INFO: 2022-03-31 08:10:00,518 --> SELLPRICEINBASE = 300% * 14.2084894429594 = 42.6254683288782
INFO: 2022-03-31 08:10:00,611 Sell Signal Found @4.460480199630425524
INFO: 2022-03-31 08:10:00,612
INFO: 2022-03-31 08:10:00,612 Sell price in MAD/CRO : 4.460480199630425524
INFO: 2022-03-31 08:10:02,973 Current Wallet Balance is: 0.07038045838824342 MAD
INFO: 2022-03-31 08:10:03,309 sell condition 15
INFO: 2022-03-31 08:10:03,359 Transaction Hash = 0x89121c3f3fea1a331e1b519e258cac9bebe7c922114c4da0b224f0c2b70ac388
INFO: 2022-03-31 08:10:08,796 ----------------------------------
INFO: 2022-03-31 08:10:08,796 SUCCESS : your sell Tx is confirmed
ERROR: 2022-03-31 08:10:08,796 macosx:// is disabled on this system.
ERROR: 2022-03-31 08:10:08,797 windows:// is disabled on this system.
INFO: 2022-03-31 08:10:08,821 Current Wallet Balance is: 95.7162529959551 CRO
INFO: 2022-03-31 08:10:08,839 Current Wallet Balance is: 0.0 MAD
INFO: 2022-03-31 08:10:08,839 ----------------------------------
I'd rather not answer this question each time I start LimitSniper if it is already answered in the settings.json:
Would you like to add a 2nd wallet to use MULTIPLEBUYS feature ? (y/n):
Python int too large to convert to C ssize_t
Traceback (most recent call last):
File "sniper.py", line 5840, in runLoop
run()
File "sniper.py", line 5510, in run
scan_mempool_classic(token)
File "sniper.py", line 2647, in scan_mempool_classic
decoded = contract.decode_function_input(input_bytes)
File "/home/user/.local/lib/python3.8/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/web3/contract.py", line 471, in decode_function_input
decoded = self.web3.codec.decode_abi(types, cast(HexBytes, params))
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/codec.py", line 181, in decode_abi
return decoder(stream)
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 127, in call
return self.decode(stream)
File "/home/user/.local/lib/python3.8/site-packages/eth_utils/functional.py", line 45, in inner
return callback(fn(*args, **kwargs))
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 173, in decode
yield decoder(stream)
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 127, in call
return self.decode(stream)
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 144, in decode
stream.push_frame(start_pos)
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 95, in push_frame
self.seek_in_frame(0)
File "/home/user/.local/lib/python3.8/site-packages/eth_abi/decoding.py", line 84, in seek_in_frame
self.seek(self._total_offset + pos, *args, **kwargs)
OverflowError: Python int too large to convert to C ssize_t
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.