BNB Chain

0x5c4e2b1e6e03ccf5f3c3356c008a69c7f93bd10b

Decompiled Solidity recovered from this contract's runtime bytecode. Best-effort reconstruction — confirm behaviour against on-chain state.

Decompilation outputBNB Chain · 0x5c4e2b1e…f93bd10b2.1 KB3.8 s
Share
137 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;  {      ; // STORAGE[0x0]      ; // STORAGE[0x1]      ; // STORAGE[0x2]    []  ; // STORAGE[0x3]     ;     ;     ;         ( );     ( ,  );     ( ,  );     ();         () {        (. == , "Ownable: only owner");        ;    }         ([]  )   {        ( <= 0x100000000);        (!(((0x04 + ) + 0x20) > (0x04 + (.. - 0x04))));        (!((. > 0x0100000000) | ((0x20 + (0x04 + )) + (. * 0x20) > (0x04 + (.. - 0x04)))));          = 0;         ;         () {             =  + (0x20 + (0x20 * .));            []  = ;             = 0x40 + ;             (!( < .)) {                ;            }             = 0x20 + ;        }          = . + (0x64 + );         (0x1f & (.)) {             = 0x20 + ((. + (0x64 + )) - (0x1f & (.)));        }        (.. != 0x0);        ( ,   ) = .(., 0x40); // staticcall        ();        (!(. < 0x20));        ( != 0x0, "no permit");        ( > 0, "invalid implementations");        . = ;         (!) {              = (.(0x03));              = (.(0x03)) + .;             () {                 ( <= ) {                    ;                }                 = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000) & ;                 ( <= (0x01 + )) {                    ;                }                 = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000) & ;                 = 0x01 + (0x01 + );                 = ;            }        }  {             (!(( + 0x20) + (0x20 * ) > ( + 0x20))) {                  = (.(0x03));                  = (.(0x03)) + .;                 () {                     ( <= ) {                        ;                    }                     = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000) & ;                     ( <= (0x01 + )) {                        ;                    }                     = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000) & ;                     = 0x01 + (0x01 + );                     = ;                }            }  {                  = (.(0x03)) + 0x01;                  = ( + 0x20) + 0x20;                 () {                    [0] = ( & (0xffffffffffffffffffffffffffffffffffffffff)) | (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & [0]);                     (( + 0x20) + (0x20 * ) <= ) {                        ;                    }                     = ( & (0xffffffffffffffffffffffffffffffffffffffff)) | (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & );                     =  + 0x01;                     =  + 0x20;                }                  = ;                  = (.(0x03)) + .;                 () {                     ( <= ) {                        ;                    }                     = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000) & ;                     = 0x01 + ;                     = ;                }            }        }         (.);    }         ( )    {        ( != (0), "Ownable: pending owner is 0");         = ;         ( | (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & ) & (0xffffffffffffffffffffffffffffffffffffffff));    }         ( )    {         (, );         = ;    }         ()   {        (. == , "Ownable: only pending owner");         = .;         = (0);         (, (. | ( & (0xffffffffffffffffffffffff0000000000000000000000000000000000000000))));    }        // 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.        // 0x481c6a75 => manager()    // 0x845affc8 => implementations(uint256)    // 0x8a7f7fd6 => setImplementations(address[])    // 0x8da5cb5b => owner()    // 0xc42069ec => setPendingOwner(address)    // 0xd0ebdbe7 => setManager(address)    // 0xe30c3978 => pendingOwner()    // 0xebbc4965 => acceptOwner()}