bsc-predict / bsc-predict-bot

PancakeSwap Prediction market bot. Use your own strategy
https://www.bscpredict.com
37 stars 17 forks source link

Claim Function #1

Open jontstaz opened 2 years ago

jontstaz commented 2 years ago

First of all, nice work with the script. Very easy to add my own strategies.

The only issue I'm facing is the claim function doesn't seem to work. I've done some brief debugging, just enough to know for sure that it is executing claimed = claim(account=self.account, secret_key=self.secret_key) in BaseBot.py. However nothing is actually being claimed on the contract.

Are you aware of the issue or does it function properly on your system?

Thanks,

jontstaz commented 2 years ago

And of course right as I decide to post this it successfully claims for the first time haha...

[2022-01-14 19:47:12,382] [INFO] - Claimed epochs [36362, 36365, 36367]

However in at least 1.5-2hrs of operation this is the first time it's successfully completed the claim function. I had also adjusted the time between claim attempts down from 300 seconds to 180 seconds when I first noticed it wasn't claiming.

lordmen99 commented 1 year ago

how add claim function in main.py?