{"format":"prizerail-draw-proof/3","campaign":{"id":"2tfvgdy9yk2y","slug":"p2p-ramp","name":"P2P.me · P2P Ramp"},"drawing":{"id":"7acs4hj7g2bz","kind":"regular","number":1,"drawAt":"2026-11-01T03:30:00.000Z"},"entrantList":{"lockedAt":"2026-11-01T03:25:08.035Z","root":"0xe79ee56daa292b51eb2c20e312b580610b73f553872731260e6ebce2edd08124","count":117,"totalWeight":18517,"winnersRequested":5,"repeatWinners":false,"url":"/campaigns/p2p-ramp/draws/7acs4hj7g2bz/entrants.json"},"entropy":{"provider":"pyth","requestId":"608254","value":"0x49c3f598753320d88072761df453441e79ef8cb4eecb1aca1fce925e42f569ab","revealedAt":"2026-11-01T03:35:07.761Z","chain":{"network":"base","contract":"0xa3aE747d1De8F26243cA979C1bd0E28779fBeB48","requestTx":"0x6ed8f3c6a1c1a48e9543bc9b082b3b7144da0b663516443e9cac30f7728d8de2","fulfilTx":"0x4e9aa719f0feb34290eb1ec37e9574d29e2e8a93835885d06db7c2351ca3f383","sequenceNumber":"608254"}},"prizeTable":{"version":6,"denominator":5100000,"tiers":[{"amountCents":10000000,"weight":51,"threshold":51},{"amountCents":100000,"weight":60000,"threshold":60051},{"amountCents":10000,"weight":102000,"threshold":162051},{"amountCents":2000,"weight":637500,"threshold":799551},{"amountCents":1000,"weight":1700000,"threshold":2499551},{"amountCents":500,"weight":2600449,"threshold":5100000}]},"results":[{"position":0,"winner":"354a105bb94bc656a69936d5c85c7088ad117ec3a367d79a8664ced02a0f7940","displayName":null,"randomValue":"0xc45261c57b4bdb7fd4f28d264960cfbde9ed44205f5cc63925c69b81e0d8d17a","roll":1126106,"amountCents":1000,"entrantPosition":115,"selectionValue":"0x5b1ce1cf4e6bb33ed9ceffeca2da706cd69db9f31404c16c7b0f4264113917f4","pick":18004},{"position":1,"winner":"5ffca0d719371b953f2a02b99ad4fa3d921f48bd57737ac393143b0c51c8c5dd","displayName":null,"randomValue":"0x2ee2880c1a186f6ae99e39d5adcf170afd3452a5e76d6e060ebf845accfc72b7","roll":4097719,"amountCents":500,"entrantPosition":92,"selectionValue":"0x753a34c35dd397ff936e84701edb00afe3d27743d04cbc4bdeaaae846a3c57c1","pick":15175},{"position":2,"winner":"98c14f3c814a2638070ccf38df4262c6591f315252bf8bb4c4a6c2f021235ec9","displayName":null,"randomValue":"0xd28fc1b1a864a4785ac82868c89a11dfe3f5b898d625e3264ef39783d6a80b8f","roll":465551,"amountCents":2000,"entrantPosition":6,"selectionValue":"0x1a6bd80281bc9041b9cef2016f9da331a151b35659cc8ab99342bdfd9d7caff7","pick":276},{"position":3,"winner":"fce47e7b67440d6b37b6bfaaf4c12fb1cacf108d444f8e9441ef1275233df661","displayName":null,"randomValue":"0x8dd70bc246970e5c4c022dd411a94c537a73129c2da9267a3f431934c1dc4d6c","roll":307628,"amountCents":2000,"entrantPosition":93,"selectionValue":"0x3f67f84ddbc112284e9ce985b5624486fcb7c045ec289f26fca779b30b4bdde9","pick":14925},{"position":4,"winner":"aee6a172ddd1222da5ae30b5536adbfc347446a49b99e29e799a3e27a909b612","displayName":null,"randomValue":"0xb741f57983c9556a5de952dfbd5b2a6708b9f8dfc2a927234bfd1710644fb288","roll":971624,"amountCents":1000,"entrantPosition":13,"selectionValue":"0xad0fa334ef897634af83b764ca67703865ff7423aa8c570e08e1cfb05591b513","pick":595}],"method":["entrant hash = keccak256(bytes(entrantId))","root = OpenZeppelin StandardMerkleTree over (uint256 position, bytes32 entrant hash, uint64 weight)","campaignId = the campaign's ID as ASCII, right-padded to bytes32","selectionValue for slot j = the first keccak256(abi.encode(bytes32 entropy, bytes32 campaignId, uint64 drawing number, bytes32 \"prizerail.entrant\", uint256 j, uint256 k)) for k = 0, 1, … that is at least 2^256 mod the weight of entrants not yet picked","pick = selectionValue mod that weight. The winner is the entrant whose range holds pick, counting entrants not yet picked in list order, and they're out of later slots","randomValue = the first keccak256(abi.encode(bytes32 entropy, bytes32 campaignId, uint64 drawing number, uint256 position, uint256 k)) for k = 0, 1, … that is at least 2^256 mod denominator","roll = randomValue mod denominator, 0 to denominator - 1","prize = the first tier, top prize first, whose threshold is above roll","the top prize is won at most once: if several winners roll it, the lowest randomValue keeps it and the others get the second tier"],"verifyWith":"/verify/verify-draw.mjs"}