Automate Lotteries Bets
Runs recursive bets for more chance to hit the jackpot on a lucky day
Last updated
Runs recursive bets for more chance to hit the jackpot on a lucky day
Last updated
The same thing can be done to automate your bets on lotteries, the difference would be the function done.
in order to allow gelato automation bet you have to whitelist gelato with the function toggleGelato() on lottery contract and configure your Gelato msg.sender in the contract, configure interval and max quantity of tickets, with functions setGelatoSender(), gelatoInterval (1 for 1 day, 2 for 1 week, 3 for 1 month) and gelatoMaxQT respectively.
Example on BTC Lottery: Choose function BuyTicket(adress player, uint256 quantity)
Field Explanations:
player > put your wallet address.
quantity > quantity of tickets , should be less or equal max quantity configured before.
interval configured on Gelato should be the same from configured on contract before.
After the interval of time , it will bet again with same parameters as a recurring bet, make sure to have USDT in wallet to pay for the tickets.