Ethereum
0x2adfc2febf51d75d195ccd903251c099fdd22f20
Decompiled Solidity recovered from this contract's runtime bytecode. Best-effort reconstruction — confirm behaviour against on-chain state.
Decompilation outputEthereum · 0x2adfc2fe…fdd22f202.9 KB3.0 s
This result is permanently available athttps://decompiler.exvul.com/ethereum/0x2adfc2febf51d75d195ccd903251c099fdd22f20
371 lines · Click a variable or keyword to highlight its references · Click a line number to copy its link; Shift-click to copy a block link
//decompiled by exvvul decompiler tool contact@exvul.com https://x.com/exvulsec// SPDX-License-Identifier: MIT >=0.8.0; { = 1000000000000000000; = 86400; = 1000; ; // STORAGE[0x0] ( => ) ; // STORAGE[0x1] ( => ) ; // STORAGE[0x2] ; // STORAGE[0x3] ; // STORAGE[0x4] ; // STORAGE[0x5] ; // STORAGE[0x6] ; // STORAGE[0x7] ; // STORAGE[0x8] ; // STORAGE[0x9] ; // STORAGE[0xa] ; // STORAGE[0xb] (); () { (!(!(. < 0x01639e49bba1628000))) { (!(!(. < 0x91b77e5e5d9a0000))) { (!(!(. < 0x4c53ecdc18a60000))) { (.).{ : . % 0x0ff59ee833b30000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0ff59ee833b30000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } { (.).{ : . % 0x0f43fc2c04ee0000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0f43fc2c04ee0000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } { (.).{ : . % 0x0e92596fd6290000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0e92596fd6290000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } { (.).{ : . % 0x0e398811bec68000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0e398811bec68000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } () { // Synthetic compatibility routes preserve original selectors for unresolved names. ((.. >= 4) && (. == 0x602a6ca1)) { // Route to Unknown_602a6ca1(uint256,uint256) after replacing only msg.sig. ((0xf11110a8)); ; } ((.. >= 4) && (. == 0xf961ec87)) { // Route to Unknown_f961ec87(bytes32) after replacing only msg.sig. ((0x0c48cb6d)); ; } (!(!(. < 0x01639e49bba1628000))) { (!(!(. < 0x91b77e5e5d9a0000))) { (!(!(. < 0x4c53ecdc18a60000))) { (.).{ : . % 0x0ff59ee833b30000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0ff59ee833b30000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } { (.).{ : . % 0x0f43fc2c04ee0000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0f43fc2c04ee0000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } { (.).{ : . % 0x0e92596fd6290000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0e92596fd6290000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } { (.).{ : . % 0x0e398811bec68000 }(""); // call = (.(, (0x01000000000000000000000000 * (.)), .)); (!(( / 0x03e8) == (( + (. / 0x0e398811bec68000)) / 0x03e8))) { = .; = ; = .; } (!(( + 0x01) == 0)) { = ( + 0x01); } = 0x01; = . / 0x0ff59ee833b30000; () { (0x1 > ) { ; } = 0x01 + ; [] = .; = + 0x01; = ; } } } () () { = . - ; ( == 0) { = 0x0539; } // duplicate declaration of value0 omitted } ( , ) { (, ); } () { (); } () { = ( - ) * 0x0de0b6b3a7640000; (!(!(. == (( / 0x01))))) { ((). - (( - ) * 0x0de0b6b3a7640000)); (.).{ : (().) - (( - ) * 0x0de0b6b3a7640000) }(""); // call } { = 0; } } ( ) () { (.()); } ( , ) { // Decompilation incomplete: helper effect provenance is conservative. ; ; (!(!(. == (( / 0x01))))) { = !((.()) == ); ((.()) == ) { = == 0; } ; ; (!) { = + ((((.(, )) ^ ) / 0x01) % 0x03e8); = (.(, )); (!( < 0x3e8 || > - 0x3e8)) { [( + ((((.(, )) ^ ) / 0x01) % 0x03e8))].{ : 0x3635c9adc5dea00000 }(""); // call ( + ((((.(, )) ^ ) / 0x01) % 0x03e8)); = 0x01 + ; [] = + ((((.(, )) ^ ) / 0x01) % 0x03e8); = + 0x03e8; = 0; = ; } { = 0; = 0; } = ; = ; } { = 0; = 0; } = ; = ; } { = 0; = 0; } } () { // Decompilation incomplete: helper effect provenance is conservative. ; ; (!( == 0)) { ; = ; ; = ; (!((. - ) < 0x015180)) { = ; = 0; () { = 0; (!( < )) { ; } = ; ([] == (.)) { = + 0x0de0b6b3a7640000; } = 0x01 + ; = ; } (.).{ : }(""); // call } { = 0; = 0; } = ; = ; } { = 0; = 0; } } ( ) { { := (0x40) (, 0, ()) (, (((), 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff), (224, (, 0xffffffff)))) := ((), (), , (), 0, 0) := () (, 0, ) 0 { (, ) } { (, ) } } } // Note: This selector table is synthetic and is not part of the original Solidity source. // It records the recovered selector-to-signature mapping without executable behavior. // 0x11bc5478 => unresolved_11bc5478() // 0x353d90ec => numTickets() // 0x43743d93 => unresolved_43743d93() // 0x4faa2d54 => getTimeElapsed() // 0x50b44712 => tickets(uint256) // 0x5c0ecfad => lastBlockHash() // 0x5d80c278 => unresolved_5d80c278() // 0x602a6ca1 => Unknown_602a6ca1(uint256,uint256) // 0x806b984f => lastBlock() // 0x8b7bcc86 => numWinners() // 0xa2fb1175 => winners(uint256) // 0xa457c2ae => clientSeed() // 0xa59d6986 => recoverLostFunds() // 0xa5e01f37 => lastProcessed() // 0xf000c309 => unresolved_f000c309() // 0xf18d20be => adminWithdraw() // 0xf56f48f2 => TIMEOUT() // 0xf6f0b074 => unresolved_f6f0b074() // 0xf961ec87 => Unknown_f961ec87(bytes32)}