Update a Nodejs bot -- 2

Job ID: 35269302

Budget: $30 – $250 USD

1) A: BUY % of Supply but also add B: the max WETH value you are willing to spend must be caped.
2) Deadblocks: True/false. If deadblock is true AND our Buy fails, the bot will continue to listen for the first successful buy trade (from other traders), and sends a buy transaction.
If it didn't find a successful buy transaction in X-Seconds then reset.
3) NonActivity_AutoSell: True/false, NonActivity_time: 500 seconds. If no activity (no buys or sells) for X minutes SELL BOUGHT TOKEN. And reset for automagic.
Related categories: Node.js Ethereum Smart Contracts