{"format":"prizerail-draw-proof/3","campaign":{"id":"2tfvgdy9yk2y","slug":"p2p-ramp","name":"P2P.me · P2P Ramp"},"drawing":{"id":"2mug363m6eys","kind":"regular","number":12,"drawAt":"2026-11-12T16:00:00.000Z"},"entrantList":{"lockedAt":"2026-11-12T15:55:28.044Z","root":"0x531f9f47b14f07943f92eb9595fd8e1f5ac87f6a1b0f3f23ae80975d31b719be","count":518,"totalWeight":89302,"winnersRequested":5,"repeatWinners":false,"url":"/campaigns/p2p-ramp/draws/2mug363m6eys/entrants.json"},"entropy":{"provider":"pyth","requestId":"610680","value":"0x1ef432fedb4e5fb5d5120c9f3ba8c40e8ad03ddf7ce362ab41d00c286ecc2309","revealedAt":"2026-11-12T15:57:27.806Z","chain":{"network":"base","contract":"0xa3aE747d1De8F26243cA979C1bd0E28779fBeB48","requestTx":"0x2b3df19b1a3241bdcf667a9af3db3d5353e2d41d8bcf1f773506265603d375ca","fulfilTx":"0xc2e91303ca89ed5eff8698a67fc9cbb8f51842118cabdcb32c564dc9bf4b8479","sequenceNumber":"610680"}},"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":"45ea02ef6ee0925130811efe5c565bbbcf2944201a620faa4949e068d2b8c199","displayName":null,"randomValue":"0x1cc29e7c91e9b4217ee80503fecb9ec48deb3fa88399e63922ee39191d05c3ec","roll":3350124,"amountCents":500,"entrantPosition":4,"selectionValue":"0xe9e6ff660a252d476d769694f5a5a3d3d8443b20ff2f02fbd6096bdee23d00f9","pick":1693},{"position":1,"winner":"cc034f46566ee8a655ef870ee7b0b853bba5f4b2b90258f7d9a4f90b5b6c8207","displayName":null,"randomValue":"0x0e026369a08cfcf72a03fe36d63dbbc5d3e59e8c9ab8d42a3413e0fd767eaf28","roll":4494408,"amountCents":500,"entrantPosition":195,"selectionValue":"0x983d106bcbf06455f64537323456f585ab599723b4a8696c2e468048a7d9ddfa","pick":44662},{"position":2,"winner":"8a1efb4f36b84af0d14edc3e86fd299c5ff7551d55c9a3d89021e42b97dd2cf4","displayName":null,"randomValue":"0xbb6927e9092d4103abdebac60288d30af0dd765dc643b399a800180f2ea25077","roll":1171095,"amountCents":1000,"entrantPosition":167,"selectionValue":"0x639ca8b9503e903e7b1972ff04fc62629582ea22a6f5320f27472fdd2735c6a3","pick":39069},{"position":3,"winner":"46a8d583e973e8609301b6823b4df63bb8b7d9f6c51dde9cc47d05990309ecfa","displayName":null,"randomValue":"0xff3ebc59922299d20222f13c8721e7ed808c07c55f3404f82f6e8530d78a68bd","roll":3121085,"amountCents":500,"entrantPosition":107,"selectionValue":"0xe257fb00e28d40b6a7ce9d4455a3a4f1bdba63f489b891546f43ec9c8ab672f5","pick":19525},{"position":4,"winner":"c31bdcb8488477af88e44af8a76e5c2fcb5f07deee0784239cf3b958a03f62dd","displayName":null,"randomValue":"0x7f8c11a6a84dd09d751043f776e46ca781b813dbf130dd82e2f346733a921446","roll":2861542,"amountCents":500,"entrantPosition":70,"selectionValue":"0xd60de22603a7ffcf7bee3b2939619b45652f3eea297fe420186d89d2e6e0a099","pick":14153}],"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"}