Content
@
https://warpcast.com/~/channel/megapot
0 reply
0 recast
0 reaction
Patrick | Megapot
@pl
$1M TVL is nothing for a DeFi protocol Yet a $1M jackpot is larger than most lotteries worldwide The question is not "if" but "when" :)
3 replies
7 recasts
38 reactions
Suffuze
@suffuze.eth
Really cool mechanism with the LP on /megapot π₯ A few questions though.. -Do non-LP winners automatically receive funds or do they have to log in and claim within a certain timeframe? And does the Warpcast frame notify if you win? -How certain are we on true randomness? (Every weighted RNG I've ever used has chosen the top percentile 100% of the time, even when odds say otherwise) Feature request: setting up automatic ticket buys π
1 reply
0 recast
1 reaction
Patrick | Megapot
@pl
thank you! 1. non-LP winners need to claim the jackpot. there is no expiry date since those funds are set aside in the contract for the claimer. the frame (now mini app!) doesn't notify you, but we're working on adding push notifs soon 2. pretty confident! we use entropy - https://www.pyth.network/entropy which takes in a random number from us, and from them to generate a massive number. it's a `bytes32`, which returns anything from 0 to 115792089237316195423570985008687907853269984665640564039457584007913129639935. we run a modulo operation on the massive number above to determine a winner. technically, there always exist some modulo bias, but it's negligible given how large this number is: https://research.kudelskisecurity.com/2020/07/28/the-definitive-guide-to-modulo-bias-and-how-to-avoid-it/
2 replies
0 recast
2 reactions
Suffuze
@suffuze.eth
Wow thanks so much for breaking it down for me! π Was always curious how randomness was generated considering how non-random other applications I've used have been.. haha @diviflyy maybe a good bit of information for what we talked about with the weighted Empire raffles π Also it's wild that it took someone this long to build a legit lottery in Crypto. Loving the mechanisms! π₯
2 replies
0 recast
2 reactions
DiviFlyy
@diviflyy
Interesting! Will look into it! Could be good to implement for raffles in general!
1 reply
0 recast
1 reaction
Patrick | Megapot
@pl
lmk if anything comes up :) since this is fully onchain, we enable any site to add a jackpot: https://warpcast.com/megapot/0x40723b83 or any token to add a jackpot (could be cool for some glanker tokens!): https://warpcast.com/megapot/0xb22b1fee
0 reply
0 recast
2 reactions