{"format":"prizerail-draw-proof/3","campaign":{"id":"2tfvgdy9yk2y","slug":"p2p-ramp","name":"P2P.me · P2P Ramp"},"drawing":{"id":"ejtkcmheuenr","kind":"regular","number":20,"drawAt":"2026-11-20T16:00:00.000Z"},"entrantList":{"lockedAt":"2026-11-20T15:55:27.798Z","root":"0xe659b7f2a753815b32bf771e3dd76490bf0b578ff02c537c08f8a841ce4f4935","count":501,"totalWeight":85582,"winnersRequested":5,"repeatWinners":false,"url":"/campaigns/p2p-ramp/draws/ejtkcmheuenr/entrants.json"},"entropy":{"provider":"pyth","requestId":"611224","value":"0x3c24392636175a17a2788f34c683c94451c076583abd84c093d9e7d5c5647037","revealedAt":"2026-11-20T15:57:27.695Z","chain":{"network":"base","contract":"0xa3aE747d1De8F26243cA979C1bd0E28779fBeB48","requestTx":"0x4f9a94a8c05fc10e810b4184196c159663483153a680210fff6b7ebcf003931c","fulfilTx":"0x86567e5582283ac21f21aa371c133e6c03e809fc9614a42901f3be532b6ce184","sequenceNumber":"611224"}},"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":"55e2478f81ef1e564d0ee3e22c7815c39466e5346a077a8fd5742a47c3889343","displayName":null,"randomValue":"0xb30d1b0a615ae2fb1a9e6e2f67b7b844fd5f1a564a9f3863d8c8a4e921a4032c","roll":652652,"amountCents":2000,"entrantPosition":147,"selectionValue":"0xcd378e570cfd0f690e5b97616e83b6eb587b3e08a068af9c0d1333da7efb546e","pick":38932},{"position":1,"winner":"5b5d986df9ea98add2eefba87e014d39827827e108872ae8e7ebc3f52ae8e3a4","displayName":null,"randomValue":"0x06dac502327d1a39423b8b349d16c0734db9c13e3341b3db363fa815ed7a3682","roll":1333698,"amountCents":1000,"entrantPosition":209,"selectionValue":"0xb973cdfe6edfeb91b9b7cb5991c44c6872363f00bf5e8fb6b48c8a3d7474a309","pick":48167},{"position":2,"winner":"759730373483b97940e0b18aebd4b67b4759354efb432a338cc692bc876dffce","displayName":null,"randomValue":"0xe715a47021d523c6ec3e9996e1df22d9fcf263786458b87d9657a437d867ce7f","roll":2204255,"amountCents":1000,"entrantPosition":375,"selectionValue":"0x1c708d142721c741173489fbeaac0e8432876497a10151585f117d24cc732dc8","pick":68631},{"position":3,"winner":"21d4289afc5462ead1930285dbe6054668856f019eecc9f002a99699de299520","displayName":null,"randomValue":"0xd53f35b6871e77f32c52b8f48835b1e681847e51b027f0ebea37a467cd3a9061","roll":4938401,"amountCents":500,"entrantPosition":85,"selectionValue":"0xc51dbaba683be3719a5ed762440c303fbc76757d6b28ceb6ccfade3779d2087c","pick":12978},{"position":4,"winner":"59f1c4b1149748c9d083664773e7e694ebd9c5859655b4fe750fb39592287d65","displayName":null,"randomValue":"0x43e13633daf1d482944e255d34d0f4f75e8a21cf18fdd9af8bc96229e668db24","roll":2476484,"amountCents":1000,"entrantPosition":186,"selectionValue":"0x7ed1bd4903aed807314ada1ba4589eaee5069b392093ab57b6594cf5f8eb41fa","pick":43229}],"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"}