{"format":"prizerail-draw-proof/3","campaign":{"id":"2tfvgdy9yk2y","slug":"p2p-ramp","name":"P2P.me · P2P Ramp"},"drawing":{"id":"3pmquwqvc75m","kind":"regular","number":21,"drawAt":"2026-11-21T16:00:00.000Z"},"entrantList":{"lockedAt":"2026-11-21T15:55:27.880Z","root":"0x2462671a8f5bf8fad3dd6b6b11522dc01fbb26597d3645d8b2a76f7b5d7341b6","count":607,"totalWeight":96250,"winnersRequested":5,"repeatWinners":false,"url":"/campaigns/p2p-ramp/draws/3pmquwqvc75m/entrants.json"},"entropy":{"provider":"pyth","requestId":"611288","value":"0x29e9f46804462d16277ca22fc2740ea33f44e0db01ba2efd1e691018bea0ce99","revealedAt":"2026-11-21T15:57:27.894Z","chain":{"network":"base","contract":"0xa3aE747d1De8F26243cA979C1bd0E28779fBeB48","requestTx":"0x3dbd3ff7351e280d20b5254a1144b987d717cdc7d6399e51d5574f2416fdfafd","fulfilTx":"0xd9262ca14fa53bc672313e177b914c7168b8f39c872ae4afc1c29c8f7bed4efa","sequenceNumber":"611288"}},"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":"9f069aaaa0114ed61dc9664696a929769f0c895dc9a7d4dceec8a281c5f9dacf","displayName":null,"randomValue":"0x45e05c930ab8dcc0917b1e3e0e7ef2f810c86df7d0c168c85437587290502e13","roll":3671955,"amountCents":500,"entrantPosition":296,"selectionValue":"0xb15b95e95bc74e9692c2ea5c0094828bfc3fcb603bcfd00fd2edf3b17f29739a","pick":63298},{"position":1,"winner":"00aca407e998af54d2a4ac1939285a9410d8a9853a77a01aea85e67958d72293","displayName":null,"randomValue":"0xd462ccea417495039d0f40625c9a91433e8d063d3f52bb51dfa0c667a64ddbf2","roll":743954,"amountCents":2000,"entrantPosition":366,"selectionValue":"0xdbe79dce8caa1d6bbeac4e21353af09eb2721778a05d0734613c8ff52db3682b","pick":72635},{"position":2,"winner":"798020afa65b2fd8d7a22c67837871ab042a624f74dfeed6e74b4011b01ad4bb","displayName":null,"randomValue":"0x7a494fffc4c5955d62776e54d5355ac0bded52a876d2228621b5fc1fea0a8e75","roll":914645,"amountCents":1000,"entrantPosition":239,"selectionValue":"0xf439d0ec3efb566f0b008b78c8c01c564c9fe4ed5e85f9a6dee97b1b3f22a2f8","pick":51392},{"position":3,"winner":"b48f4f2caa89a66d7cd50411f433620491fc9472e85e522c3a527a46aa261332","displayName":null,"randomValue":"0x2ae2640db0e9a5b8c1baaf3e82d45c25073aa0b29dbadea7bf0a845ccd35f9af","roll":4306063,"amountCents":500,"entrantPosition":352,"selectionValue":"0xff6943cef97f4f88e9800aae3e46cc5e610e6c93667c0521b391bc6d5cd524d4","pick":69908},{"position":4,"winner":"9fbee16ed46d131ac1452a547f5eb8f99ec2bb180884236352806a14a8c01823","displayName":null,"randomValue":"0x4914f9190b1d7473e85726dc285e63b6c383f5777c3a624d62533e90244ec7bc","roll":211900,"amountCents":2000,"entrantPosition":271,"selectionValue":"0x70d05071a578b59324ef6491cb98e92bc4692e36638ae671593cbd337cfc6c77","pick":59350}],"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"}