BNB Chain

0xb1b482b72c71a037baea0f30ee307a02118d0851

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

Decompilation outputBNB Chain · 0xb1b482b7118d085118.7 KB62.2 s
Share
//decompiled by exvvul decompiler tool contact@exvul.com https://x.com/exvulsec
// Decompilation incomplete: symbolic execution reached a configured deadline for 1 of 13 entry points (170000 ms contract budget): 0784dd59
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

contract DesolexContract {
    uint256 public constant router = 96635033217071433185869069577301221175488545358;
    uint256 public constant factory = 1153667454655315432277308296129700421378034175091;
    uint256 public constant taxEscrow = 774216309378699540460438195841246015587579053178;
    uint256 public constant pairInitCodeHash = 444357804859653971835937793731721723516423044983102245111901963408222100437;
    uint256 public constant wbnb = 1069295261705322660692659746119710186699350608220;
    uint256 public constant registry = 1447451786632729987978363687652043719134903805331;
    uint256 public constant operator = 1073266591629374238082417924511884613670096709463;
    uint256 public constant quoteToken = 489982930986835137684486657990555633941558688085;
    uint256 public constant unresolved_0db502c8 = 66326386328730865980737792066661427553419270133;
    
    address public protocolToken; // STORAGE[0x0]
    address public mainPair; // STORAGE[0x1] bytes 0 to 19
    bool public completed; // STORAGE[0x1] bytes 20 to 20
    
    
    function bootstrap(address arg0) public payable {
        if (!(msg.value) && !((0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc + msg.data.length) < 0x20) && arg0 == arg0 && msg.sender == 0xbbfef03e776fe3d24382b5017bdfcd05ecada757 && !completed) {
            completed = true;
        }
    }
    
    // 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.
    
    // 0x0784dd59 => bootstrap(address)
    // 0x0db502c8 => unresolved_0db502c8()
    // 0x1a465fe1 => protocolToken()
    // 0x217a4b70 => quoteToken()
    // 0x570ca735 => operator()
    // 0x7b103999 => registry()
    // 0x85af30c5 => mainPair()
    // 0x8d72647e => wbnb()
    // 0x9d9a7fe9 => completed()
    // 0xa35a337a => pairInitCodeHash()
    // 0xa629fd4b => taxEscrow()
    // 0xc45a0155 => factory()
    // 0xf887ea40 => router()
}
0xb1b482…8d0851 on BNB Chain — Decompiled Solidity