BNB Chain
0xc1b6d70397beffd475e16c9ec8fa779ab82ae172
Decompiled Solidity recovered from this contract's runtime bytecode. Best-effort reconstruction — confirm behaviour against on-chain state.
Decompilation outputBNB Chain · 0xc1b6d703…b82ae17214.9 KB103.6 s
This result is permanently available athttps://decompiler.exvul.com/bsc/0xc1b6d70397beffd475e16c9ec8fa779ab82ae172
3,222 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 [email protected] https://x.com/exvulsec// Decompilation incomplete: symbolic execution reached a configured deadline for 2 of 81 entry points (170000 ms contract budget): 50baf053, e5f0f5cc// SPDX-License-Identifier: MITpragma solidity >=0.8.0;contract DesolexContract { uint256 public constant unresolved_0f5f0ae8 = 400; uint256 public constant unresolved_9513d824 = 400; uint256 public constant unresolved_be842013 = 400; uint256 public constant unresolved_9763fc1f = 994970166106419885426397006779647177151287556445; uint256 public constant unresolved_8784b038 = 9000; uint256 public constant PROFIT_BURN_BPS = 500; uint256 public constant DEAD_ADDRESS = 57005; uint256 public constant unresolved_24fb4048 = 300; uint256 stor_0; // STORAGE[0x0] address[] array_1; // STORAGE[0x1] mapping(address => bool) public isAdmin; // STORAGE[0x2] address public ccc; // STORAGE[0x3] address public router; // STORAGE[0x4] address public wbnb; // STORAGE[0x5] address public usdt; // STORAGE[0x6] address public unresolved_d3af175e; // STORAGE[0x7] address[] array_8; // STORAGE[0x8] address[] array_9; // STORAGE[0x9] mapping(bytes32 => uint256) public unresolved_5d5c08f5; // STORAGE[0xa] uint256 public profitTaxBps; // STORAGE[0xb] uint256 public swapFeeBps; // STORAGE[0xc] uint256 public feeEarn; // STORAGE[0xd] address public lpModule; // STORAGE[0xe] address public unresolved_4e60b690; // STORAGE[0xf] address public communityReceiver; // STORAGE[0x10] address public opsReceiver; // STORAGE[0x11] address public nodeReceiver; // STORAGE[0x12] mapping(bytes32 => uint256) public unresolved_01be3933; // STORAGE[0x13] mapping(bytes32 => uint256) public unresolved_9fcb0342; // STORAGE[0x14] mapping(bytes32 => uint256) public unresolved_c3152427; // STORAGE[0x15] mapping(bytes32 => uint256) public unresolved_dc99a87e; // STORAGE[0x16] mapping(address => uint256) mapping_17; // STORAGE[0x17] address[] public channelList; // STORAGE[0x18] uint256 public channelCount; // STORAGE[0x18] mapping(bytes32 => uint256) public unresolved_c6d91569; // STORAGE[0x19] mapping(bytes32 => uint256) public unresolved_014ee2c2; // STORAGE[0x1a] mapping(address => uint256) public dailySellLimit; // STORAGE[0x1b] mapping(address => uint256) public unresolved_ea90ff07; // STORAGE[0x1c] mapping(address => bool) public isSpender; // STORAGE[0x1d] bool stor_1e; // STORAGE[0x1e] mapping(bytes32 => uint256) public unresolved_64974823; // STORAGE[0x1f] uint256 public unresolved_f88b97dd; // STORAGE[0x20] mapping(bytes32 => uint256) public unresolved_a08f73f9; // STORAGE[0x21] mapping(address => uint256) public unresolved_edd53fa0; // STORAGE[0x22] mapping(bytes32 => uint256) public unresolved_9323753a; // STORAGE[0x23] address public stake; // STORAGE[0x24] address public ledger; // STORAGE[0x25] bytes32 stor_484b58927bcbdf0b6020c64f30c5c9de18ea3e029b46227b3da13af904b03da; // STORAGE[0x484b58927bcbdf0b6020c64f30c5c9de18ea3e029b46227b3da13af904b03da] address stor_6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af; // STORAGE[0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af] address stor_6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b0; // STORAGE[0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b0] address stor_f3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3; // STORAGE[0xf3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3] address stor_f3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4; // STORAGE[0xf3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4] address stor_expr_ah; bytes32 stor_expr_ai; bytes32 stor_expr_al; bytes32 stor_expr_am; bytes32 stor_expr_an; bytes32 stor_expr_ap; bytes32 stor_expr_as; bytes32 stor_expr_ax; bool stor_expr_b; bytes32 stor_expr_bm; uint256 stor_expr_bt; bytes32 stor_expr_bu; address stor_expr_bv; address stor_expr_bw; uint256 stor_expr_bx; uint256 stor_expr_by; uint256 stor_expr_bz; bytes32 stor_expr_ca; address stor_expr_cb; bytes32 stor_expr_cc; uint256 stor_expr_cd; uint256 stor_expr_ce; address stor_expr_cf; bytes32 stor_expr_cr; bytes32 stor_expr_ct; address stor_expr_cu; bytes32 stor_expr_cv; uint256 stor_expr_cw; uint256 stor_expr_cx; address stor_expr_cy; bytes32 stor_expr_cz; uint256 stor_expr_da; uint256 stor_expr_db; address stor_expr_dc; bool stor_expr_i; bytes32 stor_expr_j; error CustomError_df360d7e(); error ErrorArrayLengthMismatch(); error ErrorUnauthorized(); error ErrorZeroLimit(); event AdminAdded(address indexed); error CustomError_7899cd93(); error CustomError_92d58633(); error ErrorZeroAddress(); event Initialized(uint8); event AdminRemoved(address indexed); function _desolexPanic(uint256 code) private pure { assembly ("memory-safe") { mstore(0x00, shl(224, 0x4e487b71)) mstore(0x04, code) revert(0x00, 0x24) } } receive() external payable { } fallback() external { // Synthetic compatibility routes preserve original selectors for unresolved names. if ((msg.data.length >= 4) && (msg.sig == 0x03cf50f7)) { // Route to Unknown_03cf50f7(bytes) after replacing only msg.sig. __desolexSelectorShim(uint32(0xce9eb922)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x12493878)) { // Route to Unknown_12493878() after replacing only msg.sig. __desolexSelectorShim(uint32(0x6ffc1bda)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x3a1488bb)) { // Route to Unknown_3a1488bb(address) after replacing only msg.sig. __desolexSelectorShim(uint32(0xc9396813)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x4beb394c)) { // Route to Unknown_4beb394c(bool) after replacing only msg.sig. __desolexSelectorShim(uint32(0x347bda6f)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x50baf053)) { // Route to Unknown_50baf053(address,address,uint256) after replacing only msg.sig. __desolexSelectorShim(uint32(0x31bb7763)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x54c30e19)) { // Route to Unknown_54c30e19(address,address) after replacing only msg.sig. __desolexSelectorShim(uint32(0x7248f01f)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x5b962090)) { // Route to Unknown_5b962090(address,address) after replacing only msg.sig. __desolexSelectorShim(uint32(0x16eb51b5)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x5d29a061)) { // Route to Unknown_5d29a061(address) after replacing only msg.sig. __desolexSelectorShim(uint32(0xeaf7e236)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x63e96558)) { // Route to Unknown_63e96558(uint256) after replacing only msg.sig. __desolexSelectorShim(uint32(0x24b7e2bc)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x7ad4479c)) { // Route to Unknown_7ad4479c(bytes,bytes) after replacing only msg.sig. __desolexSelectorShim(uint32(0xaf027671)); return; } if ((msg.data.length >= 4) && (msg.sig == 0x8010c146)) { // Route to Unknown_8010c146(address,bool) after replacing only msg.sig. __desolexSelectorShim(uint32(0x34260282)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xaea466d5)) { // Route to Unknown_aea466d5(address) after replacing only msg.sig. __desolexSelectorShim(uint32(0x91d885f1)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xb20a0b6f)) { // Route to Unknown_b20a0b6f(address,address,uint256) after replacing only msg.sig. __desolexSelectorShim(uint32(0xb07ef747)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xc8c6de58)) { // Route to Unknown_c8c6de58(address,bool) after replacing only msg.sig. __desolexSelectorShim(uint32(0x4f1bfd3d)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xf0475652)) { // Route to Unknown_f0475652() after replacing only msg.sig. __desolexSelectorShim(uint32(0x3e216cb3)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xf56afba3)) { // Route to Unknown_f56afba3(bool) after replacing only msg.sig. __desolexSelectorShim(uint32(0x99e8068a)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xfb09fe10)) { // Route to Unknown_fb09fe10(bytes,bytes) after replacing only msg.sig. __desolexSelectorShim(uint32(0xe7ebeb99)); return; } if ((msg.data.length >= 4) && (msg.sig == 0xfb9a6346)) { // Route to Unknown_fb9a6346(address,bool) after replacing only msg.sig. __desolexSelectorShim(uint32(0xfd3113bc)); return; } revert(); } function Unknown_fb9a6346(address arg0, bool arg1) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(address(stor_expr_b), CustomError_92d58633()); mapping_17[arg0] = arg1; } function Unknown_fb09fe10(bytes memory arg0, bytes memory arg1) public { require(((0x04 + arg0) + 0x1f) < msg.data.length); require(!(((arg0.length << 0x05) + (0x04 + arg0) + 0x20) > msg.data.length)); require(((0x04 + arg1) + 0x1f) < msg.data.length); require(!(((arg1.length << 0x05) + (0x04 + arg1) + 0x20) > msg.data.length)); require(isSpender[msg.sender], ErrorUnauthorized()); require(arg0 == arg1, ErrorArrayLengthMismatch()); uint256 value0 = 0; while (true) { if (!(value0 < arg0.length)) { return; } if (!((value0 < arg0.length))) _desolexPanic(50); if (msg.data[(value0 << 0x05) + ((0x04 + arg0) + 0x20)] != (address(msg.data[(value0 << 0x05) + ((0x04 + arg0) + 0x20)]))) { revert(); break; } if (!(address(msg.data[(value0 << 0x05) + ((0x04 + arg0) + 0x20)]))) { revert ErrorZeroAddress(); break; } if (!((value0 < arg1))) _desolexPanic(50); if (!(msg.data[(value0 << 0x05) + ((0x04 + arg1) + 0x20)])) { revert ErrorZeroLimit(); break; } if (!((value0 < arg1))) _desolexPanic(50); if (!(value0 < arg0.length)) { _desolexPanic(50); break; } if ((value0 << 0x05) + (arg0 + 0x20) != (address((value0 << 0x05) + (arg0 + 0x20)))) { revert(); break; } unresolved_edd53fa0[address((value0 << 0x05) + (arg0 + 0x20))] = msg.data[(value0 << 0x05) + ((0x04 + arg1) + 0x20)]; if (value0 == 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { _desolexPanic(17); break; } value0 = 0x01 + value0; } } function buyEnabled() public returns (bool) { if (wbnb != wbnb) { return false; } else { if ((((stor_expr_j & 0xffffffffffffffffffffffffffffffffffffffff) != 0x0) && ((mapping_17[0xffffffffffffffffffffffffffffffffffffffff & (0xffffffffffffffffffffffffffffffffffffffff & wbnb)] & 0xff) == 0x0)) || ((stor_expr_j & 0xffffffffffffffffffffffffffffffffffffffff) == 0x0)) { return false; } else { (bool success0, bytes memory returnData0) = ccc.mainPair(); // staticcall require(success0); uint256 value0 = this.code.length; uint256 var_d; uint256 value1 = var_d.length; if (success0) { if (0x20 > returnData0.length) { if (((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData0.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); } else { value0 = var_d; value1 = 0; } if (address(value1) != (address(mapping_17[wbnb] >> 0x18))) { return true; } else { (bool success1, bytes memory returnData1) = ccc.Unknown_8b0787f8(); // staticcall require(success1); if (success1) { if (returnData1.length < 0x20) { if (((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData1.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(value2 == (value2 != 0x0)); return var_d.length; } else { return false; } } } } } function Unknown_f56afba3(bool arg0) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); stor_1e = (bytes1(arg0)) | (stor_1e & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00)); } function withdrawFromPair(address arg0, uint256 arg1) public { require(msg.sender == lpModule, ErrorUnauthorized()); require(ccc.code.length); (bool success0, bytes memory returnData0) = ccc.withdrawFromPair(arg0, arg1); // call require(success0); if (!(success0)) { return; } if (!(var_d <= 0xffffffffffffffff)) _desolexPanic(65); require(!(0)); } function Unknown_f0475652() public view returns (bool) { return !(!(bytes1(stor_1e))); } function setSwapFeeBps(uint256 newSwapFeeBps) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(newSwapFeeBps <= 0x03e8, "swap fee too high"); swapFeeBps = newSwapFeeBps; } function previewSell(address arg0, uint256 arg1) public view { } function setStake(address newAddress) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(newAddress != address(0), ErrorZeroAddress()); stake = newAddress; } function Unknown_c8c6de58(address arg0, bool arg1) public returns (bytes memory) { if (((arg1) && (wbnb != arg0)) || (!arg1)) { return abi.encodePacked(0, 0); } else { if (!(address(stor_expr_b))) { return abi.encodePacked(0, 0); } else { (bool success0, bytes memory returnData0) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success0); uint256 value1 = this.code.length; uint256 value2 = this.code.length; uint256 value3 = var_f; uint256 var_g; uint256 value4 = var_g.length; if (success0) { uint256 value0 = returnData0.length; if (returnData0.length >= 0x40) { value0 = 0x40; } if (((var_g + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_g + value0) - var_g) >= 0x40); } else { value1 = 0x40; value2 = var_g; value3 = 0; value4 = 0; } bool flag1 = value3 == 0x0; if (!arg1) { flag1 = !arg1; } uint256 value5 = 0; if (((flag1) && (value4 == 0x0)) || (flag1)) { value5 = ((arg1 * (0x2710 - swapFeeBps)) * value4) / ((value3 * 0x2710) + (arg1 * (0x2710 - swapFeeBps))); } uint256 value9 = 0; if (!(value5 == 0x0)) { (bool success1, bytes memory returnData1) = ccc.isExcluded(address(this)); // staticcall require(success1); uint256 value6 = this.code.length; uint256 value7; if (success1) { uint256 value19 = var_g.length; if (0x20 > returnData1.length) { if (((var_g + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_g + returnData1.length) - var_g) >= 0x20); require(var_g.length == var_g.length); } else { if (((var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(!(((var_g + 0x20) - var_g) < 0x20)); require(var_i == var_i); value19 = var_j; } value7 = value19; } else { value6 = var_g; value7 = 0; } uint256 value18 = value5; if (!(value7 != 0x0)) { (bool success2, bytes memory returnData2) = ccc.buyFeeRatio(); // staticcall require(success2); uint256 value20; if (success2) { uint256 value8 = returnData2.length; if (0x20 <= returnData2.length) { value8 = 0x20; } if (((var_g + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_g + value8) - var_g) >= 0x20); uint256 value21 = value5 - ((value5 * var_g.length) / 0x2710); if (!(((value5 * var_g.length) / 0x2710) > value5)) { } else { value21 = value5 - value5; } value20 = value21; } else { uint256 value22 = value5 - ((value5 * 0) / 0x2710); if (!(((value5 * 0) / 0x2710) > value5)) { } else { value22 = value5 - value5; } value20 = value22; } value18 = value20; } value9 = value18; } uint256 value17 = 0; if (arg1) { uint256 value16 = 0; if (!(unresolved_d3af175e == 0x0)) { (bool success3, bytes memory returnData3) = address(unresolved_d3af175e).token0(); // staticcall require(success3); uint256 value10 = 0x60; uint256 value11 = var_g.length; if (success3) { if (0x20 > returnData3.length) { if (((var_g + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_g + returnData3.length) - var_g) >= 0x20); require(var_g.length == (address(var_g.length))); } else { if (((var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(!(((var_g + 0x20) - var_g) < 0x20)); require(var_l == (address(var_l))); } } else { value10 = var_g; value11 = 0; } (bool success4, bytes memory returnData4) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success4); uint256 value13 = this.code.length; uint256 value14 = var_f; uint256 value15 = var_g.length; if (success4) { uint256 value12 = returnData4.length; if (0x60 <= returnData4.length) { value12 = 0x60; } if (((var_g + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_g + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_g)) _desolexPanic(65); var_g = var_g + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_g + value12) - var_g) >= 0x60); require(var_m == (uint112(var_m))); require(var_n == (uint112(var_n))); require(uint32(var_o) == var_o); } else { value13 = var_g; value14 = 0; value15 = 0; } uint256 value23 = 0; if (!((value15 & 0xffffffffffffffffffffffffffff) != 0x0 && (value14 & 0xffffffffffffffffffffffffffff) == 0x0 || (value15 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value24 = (arg1 * (uint112(value15))) / (uint112(value14)); if ((wbnb & 0xffffffffffffffffffffffffffffffffffffffff) != (0xffffffffffffffffffffffffffffffffffffffff & value11)) { } else { value24 = (arg1 * (uint112(value14))) / (uint112(value15)); } value23 = value24; } value16 = value23; } value17 = value16; } return abi.encodePacked(value9, value17); } } } function setLpModule(address newAddress) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(newAddress != address(0), ErrorZeroAddress()); lpModule = newAddress; } function Unknown_b20a0b6f(address arg0, address arg1, uint256 arg2) public { require(msg.sender == lpModule, ErrorUnauthorized()); require(ccc.code.length); (bool success0, bytes memory returnData0) = ccc.Unknown_b20a0b6f(arg0, arg1, arg2); // call require(success0); if (!(success0)) { return; } if (!(var_e <= 0xffffffffffffffff)) _desolexPanic(65); } function Unknown_aea466d5(address arg0) public view returns (bytes memory) { uint256 value0 = unresolved_f88b97dd - unresolved_a08f73f9[arg0][(block.timestamp / 0x015180) * 0x015180]; if (unresolved_a08f73f9[arg0][(block.timestamp / 0x015180) * 0x015180] < unresolved_f88b97dd) { } else { value0 = 0; } return abi.encodePacked(unresolved_f88b97dd, unresolved_a08f73f9[arg0][(block.timestamp / 0x015180) * 0x015180], value0, (block.timestamp / 0x015180) * 0x015180); } function quoteSell(uint256 arg0) public returns (uint256) { if (arg0 == 0x0) { return 0; } else { if (!(address(stor_expr_i))) { return 0; } else { uint256 value9 = 0; if (!(arg0 == 0x0)) { (bool success0, bytes memory returnData0) = ccc.isExcluded(address(this)); // staticcall require(success0); uint256 value0 = this.code.length; uint256 value1; uint256 var_e; if (success0) { uint256 value15 = var_e.length; if (0x20 > returnData0.length) { if (((var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData0.length) - var_e) >= 0x20); require(var_e.length == var_e.length); } else { if (((var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(!(((var_e + 0x20) - var_e) < 0x20)); require(var_f == var_f); value15 = var_g; } value1 = value15; } else { value0 = var_e; value1 = 0; } uint256 value14 = (arg0) ? 1 : 0; if (!(value1 != 0x0)) { (bool success1, bytes memory returnData1) = ccc.Unknown_520016c9(address(mapping_17[wbnb] >> 0x18), arg0); // staticcall require(success1); uint256 value2 = this.code.length; uint256 value3; if (success1) { uint256 value17 = var_e.length; if (0x20 > returnData1.length) { if (((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData1.length) - var_e) >= 0x20); require(var_e.length == var_e.length); } else { if (((var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(!(((var_e + 0x20) - var_e) < 0x20)); require(var_k == var_k); value17 = var_g; } value3 = value17; } else { value2 = var_e; value3 = 0; } uint256 value16; if (value3 != 0x0) { (bool success2, bytes memory returnData2) = ccc.Unknown_dc7a6d77(); // staticcall require(success2); uint256 value5 = 0x20; uint256 value6 = var_e.length; if (success2) { uint256 value4 = returnData2.length; if (0x20 <= returnData2.length) { value4 = 0x20; } if (((var_e + ((value4 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value4 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value4 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value4) - var_e) >= 0x20); } else { value5 = var_e; value6 = 0; } (bool success3, bytes memory returnData3) = ccc.Unknown_586df2d4(); // staticcall require(success3); uint256 value18 = arg0 - ((arg0 * (value6 + var_e.length)) / 0x2710); if (success3) { uint256 value7 = returnData3.length; if (0x20 <= returnData3.length) { value7 = 0x20; } if (((var_e + ((value7 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value7 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value7 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value7) - var_e) >= 0x20); } else { value18 = arg0 - ((arg0 * (value6 + 0)) / 0x2710); } value16 = value18; } else { (bool success4, bytes memory returnData4) = ccc.sellFeeRatio(); // staticcall require(success4); uint256 value19; if (success4) { uint256 value8 = returnData4.length; if (0x20 <= returnData4.length) { value8 = 0x20; } if (((var_e + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value8) - var_e) >= 0x20); uint256 value20 = arg0 - ((arg0 * var_e.length) / 0x2710); if (!(((arg0 * var_e.length) / 0x2710) > arg0)) { } else { value20 = arg0 - arg0; } value19 = value20; } else { uint256 value21 = arg0 - ((arg0 * 0) / 0x2710); if (arg0 * 0x0 / 0x2710 <= arg0) { } else { value21 = arg0 - arg0; } value19 = value21; } value16 = value19; } value14 = value16; } value9 = value14; } if (value9 == 0x0) { return 0; } else { (bool success5, bytes memory returnData5) = ccc.getPairReserves(address(mapping_17[wbnb] >> 0x18)); // staticcall require(success5); uint256 value10 = this.code.length; uint256 value11 = this.code.length; uint256 value12 = var_e.length; uint256 value13 = var_n; if (success5) { if (returnData5.length < 0x40) { if (((var_e + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData5.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value10 = 0x40; value11 = var_e; value12 = 0; value13 = 0; } bool flag0 = value12 == 0x0; if (value9 == 0x0) { flag0 = value9 == 0x0; } if (((!flag0) && (value13 == 0x0)) || (flag0)) { return 0; } else { return ((value9 * (0x2710 - swapFeeBps)) * value13) / ((value12 * 0x2710) + (value9 * (0x2710 - swapFeeBps))); } } } } } function getChannel(address account) public view returns (bool) { if (!(bytes1(mapping_17[account] >> 0x10) < 0x03)) _desolexPanic(33); return abi.encodePacked(!(!(bytes1(mapping_17[account]))), !(!(bytes1(mapping_17[account] >> 0x08))), bytes1(mapping_17[account] >> 0x10), address(mapping_17[account] >> 0x18), stor_expr_ah, address(stor_expr_ai)); } function renounceAdmin() public { if (isAdmin[msg.sender]) { uint256 value0 = this.code.length; uint256 value1 = this.code.length; uint256 value2 = this.code.length; if ((array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) != (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[msg.sender])) { if (!((array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) < array_1.length)) _desolexPanic(50); if (!((0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[msg.sender]) < array_1.length)) _desolexPanic(50); stor_expr_an = (0 & stor_expr_al) | ((stor_expr_am >> 0) << 0); isAdmin[stor_expr_am >> 0] = isAdmin[msg.sender]; } else { value0 = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[msg.sender]; value1 = array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff; value2 = (isAdmin[msg.sender]) ? 1 : 0; } if (!(array_1.length != 0x0)) _desolexPanic(49); if (!((0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + array_1.length) < array_1.length)) _desolexPanic(50); stor_expr_ap = (0) & stor_expr_ap; array_1.length = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + array_1.length; isAdmin[msg.sender] = 0; } emit AdminRemoved(msg.sender); } function setAboutAddress(address arg0, address arg1, address arg2, address arg3, address arg4) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); bool flag0 = !(arg1); if (!(arg0)) { flag0 = !(arg0); } bool flag1 = !(arg2); if (flag0) { flag1 = flag0; } bool flag2 = !(arg3); if (flag1) { flag2 = flag1; } require(!(!flag2 && arg4 == address(0) || flag2), ErrorZeroAddress()); ccc = arg0; router = arg1; wbnb = arg2; usdt = arg3; unresolved_d3af175e = arg4; profitTaxBps = 0x07d0; swapFeeBps = 0x19; uint256 var_c; if (((var_c + 0x60) > 0xffffffffffffffff) | ((var_c + 0x60) < var_c)) _desolexPanic(65); var_c = var_c + 0x60; var_d = 0x02; if (!(var_c.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_c.length <= 0x010000000000000000)) _desolexPanic(65); array_8.length = var_c.length; uint256 value1 = 0xf3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3 + array_8.length; if (var_c.length < array_8.length) { uint256 value0 = 0xf3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3 + var_c.length; while (true) { if (value0 >= (0xf3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3 + array_8.length)) { break; } stor_expr_as = 0; value0 = value0 + 0x01; } } else { value1 = array_8.length; } uint256 value2 = 0; uint256 value3 = var_c + 0x20; while (true) { if (value2 >= var_c.length) { break; } array_8[value2] = address(var_f); value2 = 0x01 + value2; value3 = 0x20 + value3; } if (!(array_8.length != 0x0)) _desolexPanic(50); stor_f3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3 = arg2; if (!(0x01 < array_8.length)) _desolexPanic(50); stor_f3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4 = arg0; if (((var_c + 0x60) > 0xffffffffffffffff) | ((var_c + 0x60) < var_c)) _desolexPanic(65); var_c = var_c + 0x60; var_e = msg.data[4:68]; if (!(var_c.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_c.length <= 0x010000000000000000)) _desolexPanic(65); array_9.length = var_c.length; uint256 value5 = 0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af + array_9.length; if (var_c.length < array_9.length) { uint256 value4 = 0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af + var_c.length; while (true) { if (value4 >= (0x6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af + array_9.length)) { break; } stor_expr_ax = 0; value4 = value4 + 0x01; } } else { value5 = array_9.length; } uint256 value6 = 0; uint256 value7 = var_c + 0x20; while (true) { if (value6 >= var_c.length) { break; } array_9[value6] = address(var_h); value6 = value6 + 0x01; value7 = value7 + 0x20; } if (!(array_9.length != 0x0)) _desolexPanic(50); stor_6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af = arg0; if (!(0x01 < array_9.length)) _desolexPanic(50); stor_6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b0 = arg2; if (((var_c + 0x80) < var_c) | ((var_c + 0x80) > 0xffffffffffffffff)) _desolexPanic(65); var_c = var_c + 0x80; (bool success0, bytes memory returnData0) = ccc.call(abi.encodeWithSelector(bytes4(0x095ea7b3), arg1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve if (returnData0.length == 0) { uint256 value11 = this.code.length; uint256 value12; if (success0) { uint256 value8 = this.code.length; uint256 value9 = this.code.length; uint256 value10 = var_d; if (var_m) { require((((0x60 + var_m) + 0x20) - 0x80) >= 0x20); require(var_d == var_d); } else { value8 = var_m; value9 = 0x60; value10 = !var_m; } value12 = value10; } else { value11 = 0x60; value12 = success0; } uint256 value13 = this.code.length; if (value12 == 0) { value13 = ccc; } if ((value12 != 0x0) && (ccc.code.length != 0x0)) { return; } if (((var_c + 0x80) > 0xffffffffffffffff) | ((var_c + 0x80) < var_c)) _desolexPanic(65); var_c = var_c + 0x80; if (((var_c + 0x40) < var_c) | ((var_c + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_c = var_c + 0x40; (bool success1, bytes memory returnData1) = ccc.call(abi.encodeWithSelector(bytes4(0x095ea7b3), arg1, 0)); // call approve uint256 value14 = 0x60; if ((returnData1.length) != 0x0) { if (!(returnData1.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value14 = var_c; } if (!success1) { require(!var_u); uint256 value15 = 0; while (true) { require(value15 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value15 = 0x20 + value15; } } else { if (!var_u) { require(ccc.code.length, "Address: call to non-contract"); uint256 value16 = this.code.length; uint256 value17 = this.code.length; uint256 value18 = var_z; if (var_u) { require((0x20 + (value14 + var_u)) - (value14 + 0x20) >= 0x20); require(var_z == (!(!(var_z)))); } else { value16 = var_u; value17 = value14; value18 = !var_u; } require(value18 != 0x0, "SafeERC20: ERC20 operation did not succeed"); if (((var_c + 0x40) < var_c) | ((var_c + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_c = var_c + 0x40; (bool success2, bytes memory returnData2) = ccc.call(abi.encodeWithSelector(bytes4(0x095ea7b3), arg1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve if (returnData2.length == 0) { if (!success2) { require(!var_m); uint256 value15 = 0; while (true) { require(value15 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value15 = 0x20 + value15; } } else { if (!var_m) { require(ccc.code.length, "Address: call to non-contract"); uint256 value19 = this.code.length; uint256 value20 = this.code.length; uint256 value21 = var_d; if (var_m) { require(((0x20 + (0x60 + var_m)) - 0x80) >= 0x20); require(var_d == var_d); } else { value19 = var_m; value20 = 0x60; value21 = !var_m; } require(value21 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value22 = this.code.length; uint256 value23 = this.code.length; uint256 value24 = var_d; if (var_m) { require(((0x20 + (0x60 + var_m)) - 0x80) >= 0x20); require(var_d == var_d); } else { value22 = var_m; value23 = 0x60; value24 = !var_m; } require(value24 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } else { if (!(returnData2.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (!success2) { require(!var_c.length); uint256 value15 = 0; while (true) { require(value15 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value15 = 0x20 + value15; } } else { if (var_c.length == 0) { require(ccc.code.length, "Address: call to non-contract"); uint256 value25 = this.code.length; uint256 value26 = this.code.length; uint256 value27 = var_e; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_e == (!(!(var_e)))); } else { value25 = var_c.length; value26 = var_c; value27 = !var_c.length; } require(value27 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value28 = this.code.length; uint256 value29 = this.code.length; uint256 value30 = var_e; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_e == (!(!(var_e)))); } else { value28 = var_c.length; value29 = var_c; value30 = !var_c.length; } require(value30 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } } else { uint256 value31 = this.code.length; uint256 value32 = this.code.length; uint256 value33 = var_z; if (var_u) { require((0x20 + (value14 + var_u)) - (value14 + 0x20) >= 0x20); require(var_z == (!(!(var_z)))); } else { value31 = var_u; value32 = value14; value33 = !var_u; } require(value33 != 0x0, "SafeERC20: ERC20 operation did not succeed"); if (((var_c + 0x40) < var_c) | ((var_c + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_c = var_c + 0x40; (bool success3, bytes memory returnData3) = ccc.call(abi.encodeWithSelector(bytes4(0x095ea7b3), arg1, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve if (returnData3.length == 0) { if (!success3) { require(!var_m); uint256 value15 = 0; while (true) { require(value15 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value15 = 0x20 + value15; } } else { if (!var_m) { require(ccc.code.length, "Address: call to non-contract"); uint256 value34 = this.code.length; uint256 value35 = this.code.length; uint256 value36 = var_d; if (var_m) { require(((0x20 + (0x60 + var_m)) - 0x80) >= 0x20); require(var_d == var_d); } else { value34 = var_m; value35 = 0x60; value36 = !var_m; } require(value36 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value37 = this.code.length; uint256 value38 = this.code.length; uint256 value39 = var_d; if (var_m) { require(((0x20 + (0x60 + var_m)) - 0x80) >= 0x20); require(var_d == var_d); } else { value37 = var_m; value38 = 0x60; value39 = !var_m; } require(value39 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } else { if (!(returnData3.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (!success3) { require(!var_c.length); uint256 value15 = 0; while (true) { require(value15 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value15 = 0x20 + value15; } } else { if (var_c.length == 0) { require(ccc.code.length, "Address: call to non-contract"); uint256 value40 = this.code.length; uint256 value41 = this.code.length; uint256 value42 = var_e; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_e == (!(!(var_e)))); } else { value40 = var_c.length; value41 = var_c; value42 = !var_c.length; } require(value42 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value43 = this.code.length; uint256 value44 = this.code.length; uint256 value45 = var_e; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_e == (!(!(var_e)))); } else { value43 = var_c.length; value44 = var_c; value45 = !var_c.length; } require(value45 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } } } } else { if (!(returnData0.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); uint256 value49 = this.code.length; uint256 value50; if (success0) { uint256 value46 = this.code.length; uint256 value47 = this.code.length; uint256 value48 = var_e; if (var_c.length != 0) { require(((var_c + var_c.length) + 0x20) - (var_c + 0x20) >= 0x20); require(var_e == (!(!(var_e)))); } else { value46 = var_c.length; value47 = var_c; value48 = !var_c.length; } value50 = value48; } else { value49 = var_c; value50 = success0; } uint256 value51 = this.code.length; if (value50 == 0) { value51 = ccc; } if ((value50 != 0x0) && (ccc.code.length != 0x0)) { return; } if (((var_c + 0x80) > 0xffffffffffffffff) | ((var_c + 0x80) < var_c)) _desolexPanic(65); var_c = var_c + 0x80; } } function initialize() public { bool flag0 = (bytes1(stor_0)) < 0x01; if (bytes1(stor_0 >> 0x08)) { flag0 = !(bytes1(stor_0 >> 0x08)); } require(!flag0 && (address(this).code.length == 0x0 && (stor_0 & 0xff) == 0x1) || flag0, "Initializable: contract is already initialized"); stor_0 = 0x01 | (stor_0 & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00)); uint256 value0 = 0x04; if (!(bytes1(stor_0 >> 0x08))) { stor_0 = 0x0101 | (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000 & stor_0); } else { value0 = stor_0; } if (!(stor_484b58927bcbdf0b6020c64f30c5c9de18ea3e029b46227b3da13af904b03da != 0x0)) { if (!(array_1.length < 0x010000000000000000)) _desolexPanic(65); array_1.length = array_1.length + 0x01; if (!(array_1.length < array_1.length)) _desolexPanic(50); array_1[array_1.length] = (0 & array_1[array_1.length]) | 0x7923ba113c5a45908ad16410c6faac365cb749ee; isAdmin[0x7923ba113c5a45908ad16410c6faac365cb749ee] = array_1.length; } emit AdminAdded(0x7923ba113c5a45908ad16410c6faac365cb749ee); if (bytes1(stor_0 >> 0x08)) { return; } stor_0 = stor_0 & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff); emit Initialized(0x01); } function Unknown_8010c146(address arg0, bool arg1) public returns (uint256) { if (arg1) { uint256 value41 = keccak256(abi.encode(arg0, 0x17)); uint256 value42 = 0xffffffffffffffffffffffffffffffffffffffff; uint256 value43 = (arg1) ? 1 : 0; if (address(stor_expr_b)) { uint256 value44 = 0; if (!arg1) { uint256 var_e; if (0 != 0) { (bool success0, bytes memory returnData0) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success0); uint256 value0 = this.code.length; uint256 value1 = this.code.length; uint256 value2 = var_e.length; uint256 value3 = var_f; if (success0) { if (returnData0.length < 0x40) { if (((var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData0.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value0 = 0x40; value1 = var_e; value2 = 0; value3 = 0; } bool flag0 = value2 == 0x0; flag0 = 0x0 == 0x0; if (!(!flag0 && value3 == 0x0 || flag0)) { return ((0 * (0x2710 - swapFeeBps)) * value3) / ((value2 * 0x2710) + (0 * (0x2710 - swapFeeBps))); } return 0; } } else { (bool success1, bytes memory returnData1) = ccc.isExcluded(address(this)); // staticcall require(success1); uint256 value4 = this.code.length; uint256 value5 = var_e.length; if (success1) { if (0x20 > returnData1.length) { if (((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData1.length) - var_e) >= 0x20); } else { if (((var_e + 0x20) > 0xffffffffffffffff) | ((var_e + 0x20) < var_e)) _desolexPanic(65); var_e = var_e + 0x20; require(((var_e + 0x20) - var_e) >= 0x20); } require(var_e.length == var_e.length); } else { value4 = var_e; value5 = 0; } uint256 value45 = (arg1) ? 1 : 0; if (value5 != 0x0) { if (arg1) { (bool success2, bytes memory returnData2) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success2); uint256 value6 = this.code.length; uint256 value7 = this.code.length; uint256 value8 = var_e.length; uint256 value9 = var_f; if (success2) { if (returnData2.length < 0x40) { if (((var_e + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData2.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value6 = 0x40; value7 = var_e; value8 = 0; value9 = 0; } bool flag2 = value8 == 0x0; if (!arg1) { flag2 = !arg1; } if (!(!flag2 && value9 == 0x0 || flag2)) { return ((arg1 * (0x2710 - swapFeeBps)) * value9) / ((value8 * 0x2710) + (arg1 * (0x2710 - swapFeeBps))); } return 0; } } else { (bool success3, bytes memory returnData3) = ccc.Unknown_520016c9(address(mapping_17[arg0] >> 0x18), arg1); // staticcall require(success3); uint256 value10 = this.code.length; uint256 value11 = var_e.length; if (success3) { if (0x20 > returnData3.length) { if (((var_e + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData3.length) - var_e) >= 0x20); } else { if (((var_e + 0x20) > 0xffffffffffffffff) | ((var_e + 0x20) < var_e)) _desolexPanic(65); var_e = var_e + 0x20; require(((var_e + 0x20) - var_e) >= 0x20); } require(var_e.length == var_e.length); } else { value10 = var_e; value11 = 0; } uint256 value46; if (value11 != 0x0) { (bool success4, bytes memory returnData4) = ccc.Unknown_dc7a6d77(); // staticcall require(success4); uint256 value13 = 0x20; uint256 value14 = var_e.length; if (success4) { uint256 value12 = returnData4.length; if (0x20 <= returnData4.length) { value12 = 0x20; } if (((var_e + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value12 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value12) - var_e) >= 0x20); } else { value13 = var_e; value14 = 0; } (bool success5, bytes memory returnData5) = ccc.Unknown_586df2d4(); // staticcall require(success5); uint256 value47 = arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710); if (success5) { uint256 value15 = returnData5.length; if (0x20 <= returnData5.length) { value15 = 0x20; } if (((var_e + ((value15 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value15 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value15 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value15) - var_e) >= 0x20); if (arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710) != 0) { (bool success6, bytes memory returnData6) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success6); uint256 value16 = this.code.length; uint256 value17 = this.code.length; uint256 value18 = var_e.length; uint256 value19 = var_f; if (success6) { if (returnData6.length < 0x40) { if (((var_e + ((returnData6.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData6.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData6.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData6.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value16 = 0x40; value17 = var_e; value18 = 0; value19 = 0; } bool flag4 = value18 == 0x0; if (arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710) == 0) { flag4 = !(arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710)); } if (!(!flag4 && value19 == 0x0 || flag4)) { return ((arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710)) * (0x2710 - swapFeeBps) * value19) / ((value18 * 0x2710) + ((arg1 - ((arg1 * (value14 + var_e.length)) / 0x2710)) * (0x2710 - swapFeeBps))); } return 0; } } else { if (arg1 - ((arg1 * (value14 + 0)) / 0x2710) != 0) { (bool success7, bytes memory returnData7) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success7); uint256 value20 = this.code.length; uint256 value21 = this.code.length; uint256 value22 = var_e.length; uint256 value23 = var_f; if (success7) { if (returnData7.length < 0x40) { if (((var_e + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData7.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value20 = 0x40; value21 = var_e; value22 = 0; value23 = 0; } bool flag6 = value22 == 0x0; if (arg1 == arg1 * (value14 + 0x0) / 0x2710) { flag6 = arg1 == arg1 * (value14 + 0x0) / 0x2710; } if (!(!flag6 && value23 == 0x0 || flag6)) { return ((arg1 - ((arg1 * (value14 + 0)) / 0x2710)) * (0x2710 - swapFeeBps) * value23) / ((value22 * 0x2710) + ((arg1 - ((arg1 * (value14 + 0)) / 0x2710)) * (0x2710 - swapFeeBps))); } return 0; } value47 = arg1 - ((arg1 * (value14 + 0)) / 0x2710); } value46 = value47; } else { (bool success8, bytes memory returnData8) = ccc.sellFeeRatio(); // staticcall require(success8); uint256 value48; if (success8) { uint256 value24 = returnData8.length; if (0x20 <= returnData8.length) { value24 = 0x20; } if (((var_e + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value24) - var_e) >= 0x20); uint256 value49 = arg1 - ((arg1 * var_e.length) / 0x2710); if (!(((arg1 * var_e.length) / 0x2710) > arg1)) { if (arg1 - ((arg1 * var_e.length) / 0x2710) != 0) { (bool success9, bytes memory returnData9) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success9); uint256 value25 = this.code.length; uint256 value26 = this.code.length; uint256 value27 = var_e.length; uint256 value28 = var_f; if (success9) { if (returnData9.length < 0x40) { if (((var_e + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData9.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value25 = 0x40; value26 = var_e; value27 = 0; value28 = 0; } bool flag8 = value27 == 0x0; if (arg1 - ((arg1 * var_e.length) / 0x2710) == 0) { flag8 = !(arg1 - ((arg1 * var_e.length) / 0x2710)); } if (!(!flag8 && value28 == 0x0 || flag8)) { return ((arg1 - ((arg1 * var_e.length) / 0x2710)) * (0x2710 - swapFeeBps) * value28) / ((value27 * 0x2710) + ((arg1 - ((arg1 * var_e.length) / 0x2710)) * (0x2710 - swapFeeBps))); } return 0; } } else { if (arg1 - arg1 != 0) { (bool success10, bytes memory returnData10) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success10); uint256 value29 = this.code.length; uint256 value30 = this.code.length; uint256 value31 = var_e.length; uint256 value32 = var_f; if (success10) { if (returnData10.length < 0x40) { if (((var_e + ((returnData10.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData10.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData10.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData10.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value29 = 0x40; value30 = var_e; value31 = 0; value32 = 0; } bool flag10 = value31 == 0x0; if (arg1 == arg1) { flag10 = arg1 == arg1; } if (!(!flag10 && value32 == 0x0 || flag10)) { return ((arg1 - arg1) * (0x2710 - swapFeeBps) * value32) / ((value31 * 0x2710) + ((arg1 - arg1) * (0x2710 - swapFeeBps))); } return 0; } value49 = arg1 - arg1; } value48 = value49; } else { uint256 value50 = arg1 - ((arg1 * 0) / 0x2710); if (arg1 * 0x0 / 0x2710 <= arg1) { if (arg1 - ((arg1 * 0) / 0x2710) != 0) { (bool success11, bytes memory returnData11) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success11); uint256 value33 = this.code.length; uint256 value34 = this.code.length; uint256 value35 = var_e.length; uint256 value36 = var_f; if (success11) { if (returnData11.length < 0x40) { if (((var_e + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData11.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value33 = 0x40; value34 = var_e; value35 = 0; value36 = 0; } bool flag12 = value35 == 0x0; if (arg1 == arg1 * 0x0 / 0x2710) { flag12 = arg1 == arg1 * 0x0 / 0x2710; } if (!(!flag12 && value36 == 0x0 || flag12)) { return ((arg1 - ((arg1 * 0) / 0x2710)) * (0x2710 - swapFeeBps) * value36) / ((value35 * 0x2710) + ((arg1 - ((arg1 * 0) / 0x2710)) * (0x2710 - swapFeeBps))); } return 0; } } else { if (arg1 - arg1 != 0) { (bool success12, bytes memory returnData12) = ccc.getPairReserves(address(mapping_17[arg0] >> 0x18)); // staticcall require(success12); uint256 value37 = this.code.length; uint256 value38 = this.code.length; uint256 value39 = var_e.length; uint256 value40 = var_f; if (success12) { if (returnData12.length < 0x40) { if (((var_e + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData12.length) - var_e) >= 0x40); } else { if (((var_e + 0x40) > 0xffffffffffffffff) | ((var_e + 0x40) < var_e)) _desolexPanic(65); var_e = var_e + 0x40; require(((var_e + 0x40) - var_e) >= 0x40); } } else { value37 = 0x40; value38 = var_e; value39 = 0; value40 = 0; } bool flag14 = value39 == 0x0; if (arg1 == arg1) { flag14 = arg1 == arg1; } if (!(!flag14 && value40 == 0x0 || flag14)) { return ((arg1 - arg1) * (0x2710 - swapFeeBps) * value40) / ((value39 * 0x2710) + ((arg1 - arg1) * (0x2710 - swapFeeBps))); } return 0; } value50 = arg1 - arg1; } value48 = value50; } value46 = value48; } value45 = value46; } value44 = value45; } value41 = 0xffffffffffffffffffffffffffffffffffffffff; value42 = value44; value43 = address(mapping_17[arg0] >> 0x18); } return 0; } return 0; } function Unknown_7ad4479c(bytes memory arg0, bytes memory arg1) public { require(((0x04 + arg0) + 0x1f) < msg.data.length); require(!(((arg0.length << 0x05) + (0x04 + arg0) + 0x20) > msg.data.length)); require(((0x04 + arg1) + 0x1f) < msg.data.length); require(!(((arg1.length << 0x05) + (0x04 + arg1) + 0x20) > msg.data.length)); require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(arg0 == arg1, ErrorArrayLengthMismatch()); uint256 value0 = 0; while (true) { if (!(value0 < arg0.length)) { return; } if (!(value0 < arg0.length)) { _desolexPanic(50); break; } if ((value0 << 0x05) + (arg0 + 0x20) != (address((value0 << 0x05) + (arg0 + 0x20)))) { revert(); break; } if (!(address((value0 << 0x05) + (arg0 + 0x20)))) { revert ErrorZeroAddress(); break; } if (!((value0 < arg1))) _desolexPanic(50); if (!(value0 < arg0.length)) { _desolexPanic(50); break; } if ((value0 << 0x05) + (arg0 + 0x20) != (address((value0 << 0x05) + (arg0 + 0x20)))) { revert(); break; } dailySellLimit[address((value0 << 0x05) + (arg0 + 0x20))] = msg.data[(value0 << 0x05) + ((0x04 + arg1) + 0x20)]; if (value0 == 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { _desolexPanic(17); break; } value0 = 0x01 + value0; } } function addAdmin(address arg0) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); if (!isAdmin[arg0]) { if (!(array_1.length < 0x010000000000000000)) _desolexPanic(65); array_1.length = array_1.length + 0x01; if (!(array_1.length < array_1.length)) _desolexPanic(50); array_1[array_1.length] = (0 & array_1[array_1.length]) | (arg0 << 0); isAdmin[arg0] = array_1.length; } emit AdminAdded(arg0); } function setSpender(address account, bool enabled) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); isSpender[account] = enabled; } function Unknown_63e96558(uint256 arg0) public { require(isSpender[msg.sender], ErrorUnauthorized()); require(arg0 != 0x0, ErrorZeroLimit()); unresolved_f88b97dd = (arg0) ? 1 : 0; } function Unknown_5d29a061(address arg0) public returns (bool) { if (arg0 == wbnb) { if (!((stor_expr_bm & 0xffffffffffffffffffffffffffffffffffffffff) != 0x0 && (mapping_17[arg0] & 0xff) == 0x0 || (stor_expr_bm & 0xffffffffffffffffffffffffffffffffffffffff) == 0x0)) { (bool success0, bytes memory returnData0) = ccc.mainPair(); // staticcall require(success0); uint256 value0 = this.code.length; uint256 var_d; uint256 value1 = var_d.length; if (success0) { if (0x20 > returnData0.length) { if (((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData0.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); } else { value0 = var_d; value1 = 0; } if (address(value1) == (address(mapping_17[arg0] >> 0x18))) { (bool success1, bytes memory returnData1) = ccc.Unknown_8b0787f8(); // staticcall require(success1); if (!(success1)) { return false; } if (returnData1.length < 0x20) { if (((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData1.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(value2 == (value2 != 0x0)); return var_d.length; } return true; } return false; } return false; } function Unknown_5b962090(address arg0, address arg1) public view returns (bytes memory) { if (0 == (!(unresolved_9323753a[arg0][arg1][(block.timestamp / 0x015180) * 0x015180] < unresolved_edd53fa0[arg1]))) { return abi.encodePacked(unresolved_edd53fa0[arg1], unresolved_9323753a[arg0][arg1][(block.timestamp / 0x015180) * 0x015180], unresolved_edd53fa0[arg1] - unresolved_9323753a[arg0][arg1][(block.timestamp / 0x015180) * 0x015180], (block.timestamp / 0x015180) * 0x015180); } else { return abi.encodePacked(unresolved_edd53fa0[arg1], unresolved_9323753a[arg0][arg1][(block.timestamp / 0x015180) * 0x015180], 0, (block.timestamp / 0x015180) * 0x015180); } } function Unknown_54c30e19(address arg0, address arg1) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(!(arg0 != address(0) && arg1 == address(0) || arg0 == address(0)), ErrorZeroAddress()); (bool success0, bytes memory returnData0) = ccc.isPair(arg1); // staticcall require(success0); uint256 value1 = this.code.length; uint256 var_e; uint256 value2 = var_e.length; if (success0) { uint256 value0 = returnData0.length; if (0x20 <= returnData0.length) { value0 = 0x20; } if (((var_e + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + value0) - var_e) >= 0x20); require(var_e.length == var_e.length); } else { value1 = var_e; value2 = 0; } require(value2 != 0x0, CustomError_7899cd93()); (bool success1, bytes memory returnData1) = ccc.pairQuoteToken(arg1); // staticcall require(success1); uint256 value3 = this.code.length; uint256 value4 = var_e.length; if (success1) { if (0x20 > returnData1.length) { if (((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_e + returnData1.length) - var_e) >= 0x20); } else { if (((var_e + 0x20) > 0xffffffffffffffff) | ((var_e + 0x20) < var_e)) _desolexPanic(65); var_e = var_e + 0x20; require(((var_e + 0x20) - var_e) >= 0x20); } require(var_e.length == (address(var_e.length))); } else { value3 = var_e; value4 = 0; } require((value4 & 0xffffffffffffffffffffffffffffffffffffffff) == arg0, CustomError_df360d7e()); if (!(address(stor_expr_b))) { if (!(channelCount < 0x010000000000000000)) _desolexPanic(65); channelCount = channelCount + 0x01; if (!((channelCount < channelCount))) _desolexPanic(50); channelList[channelCount] = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & channelList[channelCount]) | (arg0 << 0); } mapping_17[arg0] = ((arg0 == (wbnb & (0xffffffffffffffffffffffffffffffffffffffff)) << 0x08) & (0xff00) | (0xffffffffffffffffff0000000000000000000000000000000000000000000000 & mapping_17[arg0]) | ((arg1 << 0x18) & (0xffffffffffffffffffffffffffffffffffffffff000000))) | 0x010001; stor_expr_b = (stor_expr_b & (0xffffffffffffffffffffffff0000000000000000000000000000000000000000)) | arg0; address account0 = address(0); if (0 != (arg0 == wbnb)) { account0 = unresolved_d3af175e; } stor_expr_ah = account0; stor_expr_ai = stor_expr_ai & (0xffffffffffffffffffffffff0000000000000000000000000000000000000000); if (((var_e + 0x60) > 0xffffffffffffffff) | ((var_e + 0x60) < var_e)) _desolexPanic(65); var_e = var_e + 0x60; if (!(var_e.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_e.length <= 0x010000000000000000)) _desolexPanic(65); stor_expr_bt = var_e.length; uint256 value6 = (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x04))) + stor_expr_bt; if (var_e.length < stor_expr_bt) { uint256 value5 = (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x04))) + var_e.length; while (true) { if (value5 >= (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x04)) + stor_expr_bt)) { break; } stor_expr_bu = 0; value5 = value5 + 0x01; } } else { value6 = stor_expr_bt; } uint256 value7 = 0; uint256 value8 = var_e + 0x20; while (true) { if (value7 >= var_e.length) { break; } stor_expr_bv = address(var_j); value7 = value7 + 0x01; value8 = value8 + 0x20; } if (!(stor_expr_bt)) _desolexPanic(50); stor_expr_bw = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_bw) | (arg0 << 0); if (!(0x01 < stor_expr_bx)) _desolexPanic(50); stor_expr_by = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_by) | (ccc & (0xffffffffffffffffffffffffffffffffffffffff) << 0); if (((var_e + 0x60) > 0xffffffffffffffff) | ((var_e + 0x60) < var_e)) _desolexPanic(65); var_e = var_e + 0x60; if (!(var_e.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_e.length <= 0x010000000000000000)) _desolexPanic(65); stor_expr_bz = var_e.length; uint256 value10 = (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x05))) + stor_expr_bz; if (var_e.length < stor_expr_bz) { uint256 value9 = (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x05))) + var_e.length; while (true) { if (value9 >= (keccak256(abi.encode(keccak256(abi.encode(arg0, 0x17)) + 0x05)) + stor_expr_bz)) { break; } stor_expr_ca = 0; value9 = value9 + 0x01; } } else { value10 = stor_expr_bz; } uint256 value11 = 0; uint256 value12 = var_e + 0x20; while (true) { if (value11 >= var_e.length) { break; } stor_expr_cb = address(var_l); value11 = 0x01 + value11; value12 = 0x20 + value12; } if (!(stor_expr_cc != 0x0)) _desolexPanic(50); stor_expr_cd = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_cd) | (ccc & (0xffffffffffffffffffffffffffffffffffffffff) << 0); if (!(0x01 < stor_expr_ce)) _desolexPanic(50); stor_expr_cf = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_cf) | (arg0 << 0); if (arg0 == wbnb) { return; } if (((var_e + 0x80) < var_e) | ((var_e + 0x80) > 0xffffffffffffffff)) _desolexPanic(65); var_e = var_e + 0x80; (bool success2, bytes memory returnData2) = arg0.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve uint256 value13 = 0x60; if ((returnData2.length) != 0x0) { if (!(returnData2.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData2.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value13 = var_e; } uint256 value17 = this.code.length; uint256 value18; if (success2) { uint256 value14 = this.code.length; uint256 value15 = this.code.length; uint256 value16 = var_r; if (var_s) { require(((value13 + var_s) + 0x20) - (value13 + 0x20) >= 0x20); require(var_r == (!(!(var_r)))); } else { value14 = var_s; value15 = value13; value16 = !var_s; } value18 = value16; } else { value17 = value13; value18 = success2; } uint256 value19 = this.code.length; if (value18 == 0) { value19 = (arg0) ? 1 : 0; } if (!(value18 != 0x0 && arg0.code.length != 0x0)) { if (((var_e + 0x80) > 0xffffffffffffffff) | ((var_e + 0x80) < var_e)) _desolexPanic(65); var_e = var_e + 0x80; if (((var_e + 0x40) < var_e) | ((var_e + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_e = var_e + 0x40; (bool success3, bytes memory returnData3) = arg0.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0)); // call approve uint256 value20 = 0x60; if ((returnData3.length) != 0x0) { if (!(returnData3.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value20 = var_e; } if (!success3) { require(!var_z); uint256 value21 = 0; while (true) { require(value21 < var_ac, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value21 = 0x20 + value21; } } else { if (!var_z) { require(arg0.code.length != 0x0, "Address: call to non-contract"); uint256 value22 = this.code.length; uint256 value23 = this.code.length; uint256 value24 = var_ag; if (!(!(var_ah))) { require(!((0x20 + (value20 + var_ai)) - (value20 + 0x20) < 0x20)); require(var_aj == var_aj); } else { value22 = var_ah; value23 = value20; value24 = !(var_ah); } require(value24 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value25 = this.code.length; uint256 value26 = this.code.length; uint256 value27 = var_ag; if (!(!(var_ah))) { require(!((0x20 + (value20 + var_ai)) - (value20 + 0x20) < 0x20)); require(var_aj == var_aj); } else { value25 = var_ah; value26 = value20; value27 = !(var_ah); } require(value27 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } } if (((var_e + 0x40) < var_e) | ((var_e + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_e = var_e + 0x40; (bool success4, bytes memory returnData4) = arg0.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve uint256 value28 = 0x60; if ((returnData4.length) != 0x0) { if (!(returnData4.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_e)) _desolexPanic(65); var_e = var_e + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value28 = var_e; } if (!success4) { require(!var_am); uint256 value21 = 0; while (true) { require(value21 < var_e.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value21 = 0x20 + value21; } } else { if (!var_am) { require(arg0.code.length, "Address: call to non-contract"); uint256 value29 = this.code.length; uint256 value30 = this.code.length; uint256 value31 = var_aq; if (var_am) { require((0x20 + (value28 + var_am)) - (value28 + 0x20) >= 0x20); require(var_aq == (!(!(var_aq)))); } else { value29 = var_am; value30 = value28; value31 = !var_am; } require(value31 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value32 = this.code.length; uint256 value33 = this.code.length; uint256 value34 = var_aq; if (var_am) { require((0x20 + (value28 + var_am)) - (value28 + 0x20) >= 0x20); require(var_aq == (!(!(var_aq)))); } else { value32 = var_am; value33 = value28; value34 = !var_am; } require(value34 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } else { return; } } function Unknown_50baf053(address arg0, address arg1, uint256 arg2) public pure { } function Unknown_4beb394c(bool arg0) public returns (bytes memory) { if (!(arg0 && (wbnb & 0xffffffffffffffffffffffffffffffffffffffff) != (0xffffffffffffffffffffffffffffffffffffffff & (0xffffffffffffffffffffffffffffffffffffffff & wbnb)) || !arg0)) { if (address(stor_expr_i)) { (bool success0, bytes memory returnData0) = ccc.getPairReserves(address(mapping_17[wbnb] >> 0x18)); // staticcall require(success0); uint256 value1 = this.code.length; uint256 value2 = this.code.length; uint256 value3 = var_e; uint256 var_f; uint256 value4 = var_f.length; if (success0) { uint256 value0 = returnData0.length; if (returnData0.length >= 0x40) { value0 = 0x40; } if (((var_f + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value0) - var_f) >= 0x40); } else { value1 = 0x40; value2 = var_f; value3 = 0; value4 = 0; } bool flag1 = value3 == 0x0; if (!arg0) { flag1 = !arg0; } uint256 value5 = 0; if (((flag1) && (value4 == 0x0)) || (flag1)) { value5 = ((arg0 * (0x2710 - swapFeeBps)) * value4) / ((value3 * 0x2710) + (arg0 * (0x2710 - swapFeeBps))); } if (value5 == 0x0) { uint256 value13 = 0; if (arg0) { uint256 value12 = 0; if (unresolved_d3af175e) { (bool success1, bytes memory returnData1) = unresolved_d3af175e.token0(); // staticcall require(success1); uint256 value6 = 0x60; uint256 value7; if (success1) { uint256 value58 = var_f.length; if (0x20 > returnData1.length) { if (((var_f + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData1.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value58 = var_i; } value7 = value58; } else { value6 = var_f; value7 = 0; } (bool success2, bytes memory returnData2) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success2); uint256 value9 = this.code.length; uint256 value10 = var_k; uint256 value11 = var_i; if (success2) { uint256 value8 = returnData2.length; if (0x60 <= returnData2.length) { value8 = 0x60; } if (((var_f + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value8 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value8) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value9 = var_f; value10 = 0; value11 = 0; } uint256 value57 = 0; if (!((value11 & 0xffffffffffffffffffffffffffff) != 0x0 && (value10 & 0xffffffffffffffffffffffffffff) == 0x0 || (value11 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value59 = (arg0 * (uint112(value11))) / (uint112(value10)); if (0 == (wbnb == (address(value7)))) { } else { value59 = (arg0 * (uint112(value10))) / (uint112(value11)); } value57 = value59; } value12 = value57; } value13 = value12; } return abi.encodePacked(0, value13); } else { (bool success3, bytes memory returnData3) = ccc.isExcluded(address(this)); // staticcall require(success3); uint256 value14 = this.code.length; uint256 value15 = var_f.length; if (success3) { if (0x20 > returnData3.length) { if (((var_f + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData3.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData3.length) - var_f) >= 0x20); } else { if (((var_f + 0x20) > 0xffffffffffffffff) | ((var_f + 0x20) < var_f)) _desolexPanic(65); var_f = var_f + 0x20; require(((var_f + 0x20) - var_f) >= 0x20); } require(var_f.length == var_f.length); } else { value14 = var_f; value15 = 0; } if (value15 != 0x0) { uint256 value23 = 0; if (arg0) { uint256 value22 = 0; if (unresolved_d3af175e) { (bool success4, bytes memory returnData4) = unresolved_d3af175e.token0(); // staticcall require(success4); uint256 value16 = 0x60; uint256 value17; if (success4) { uint256 value61 = var_f.length; if (0x20 > returnData4.length) { if (((var_f + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData4.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value61 = var_i; } value17 = value61; } else { value16 = var_f; value17 = 0; } (bool success5, bytes memory returnData5) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success5); uint256 value19 = this.code.length; uint256 value20 = var_k; uint256 value21 = var_i; if (success5) { uint256 value18 = returnData5.length; if (0x60 <= returnData5.length) { value18 = 0x60; } if (((var_f + ((value18 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value18 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value18 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value18) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value19 = var_f; value20 = 0; value21 = 0; } uint256 value60 = 0; if (!((value21 & 0xffffffffffffffffffffffffffff) != 0x0 && (value20 & 0xffffffffffffffffffffffffffff) == 0x0 || (value21 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value62 = (arg0 * (uint112(value21))) / (uint112(value20)); if (0 == (wbnb == (address(value17)))) { } else { value62 = (arg0 * (uint112(value20))) / (uint112(value21)); } value60 = value62; } value22 = value60; } value23 = value22; } return abi.encodePacked(value5, value23); } else { (bool success6, bytes memory returnData6) = ccc.buyFeeRatio(); // staticcall require(success6); if (success6) { uint256 value24 = returnData6.length; if (0x20 <= returnData6.length) { value24 = 0x20; } if (((var_f + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value24 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value24) - var_f) >= 0x20); if (!(((value5 * var_f.length) / 0x2710) > value5)) { uint256 value32 = 0; if (arg0) { uint256 value31 = 0; if (unresolved_d3af175e) { (bool success7, bytes memory returnData7) = unresolved_d3af175e.token0(); // staticcall require(success7); uint256 value25 = 0x60; uint256 value26; if (success7) { uint256 value64 = var_f.length; if (0x20 > returnData7.length) { if (((var_f + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData7.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData7.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value64 = var_i; } value26 = value64; } else { value25 = var_f; value26 = 0; } (bool success8, bytes memory returnData8) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success8); uint256 value28 = this.code.length; uint256 value29 = var_k; uint256 value30 = var_i; if (success8) { uint256 value27 = returnData8.length; if (0x60 <= returnData8.length) { value27 = 0x60; } if (((var_f + ((value27 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value27 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value27 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value27) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value28 = var_f; value29 = 0; value30 = 0; } uint256 value63 = 0; if (!((value30 & 0xffffffffffffffffffffffffffff) != 0x0 && (value29 & 0xffffffffffffffffffffffffffff) == 0x0 || (value30 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value65 = (arg0 * (uint112(value30))) / (uint112(value29)); if (0 == (wbnb == (address(value26)))) { } else { value65 = (arg0 * (uint112(value29))) / (uint112(value30)); } value63 = value65; } value31 = value63; } value32 = value31; } return abi.encodePacked(value5 - ((value5 * var_f.length) / 0x2710), value32); } else { uint256 value40 = 0; if (arg0) { uint256 value39 = 0; if (unresolved_d3af175e) { (bool success9, bytes memory returnData9) = unresolved_d3af175e.token0(); // staticcall require(success9); uint256 value33 = 0x60; uint256 value34; if (success9) { uint256 value67 = var_f.length; if (0x20 > returnData9.length) { if (((var_f + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData9.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value67 = var_i; } value34 = value67; } else { value33 = var_f; value34 = 0; } (bool success10, bytes memory returnData10) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success10); uint256 value36 = this.code.length; uint256 value37 = var_k; uint256 value38 = var_i; if (success10) { uint256 value35 = returnData10.length; if (0x60 <= returnData10.length) { value35 = 0x60; } if (((var_f + ((value35 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value35 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value35 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value35) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value36 = var_f; value37 = 0; value38 = 0; } uint256 value66 = 0; if (!((value38 & 0xffffffffffffffffffffffffffff) != 0x0 && (value37 & 0xffffffffffffffffffffffffffff) == 0x0 || (value38 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value68 = (arg0 * (uint112(value38))) / (uint112(value37)); if (0 == (wbnb == (address(value34)))) { } else { value68 = (arg0 * (uint112(value37))) / (uint112(value38)); } value66 = value68; } value39 = value66; } value40 = value39; } return abi.encodePacked(value5 - value5, value40); } } else { if (value5 * 0x0 / 0x2710 <= value5) { uint256 value48 = 0; if (arg0) { uint256 value47 = 0; if (unresolved_d3af175e) { (bool success11, bytes memory returnData11) = unresolved_d3af175e.token0(); // staticcall require(success11); uint256 value41 = 0x60; uint256 value42; if (success11) { uint256 value70 = var_f.length; if (0x20 > returnData11.length) { if (((var_f + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData11.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData11.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value70 = var_i; } value42 = value70; } else { value41 = var_f; value42 = 0; } (bool success12, bytes memory returnData12) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success12); uint256 value44 = this.code.length; uint256 value45 = var_k; uint256 value46 = var_i; if (success12) { uint256 value43 = returnData12.length; if (0x60 <= returnData12.length) { value43 = 0x60; } if (((var_f + ((value43 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value43 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value43 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value43) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value44 = var_f; value45 = 0; value46 = 0; } uint256 value69 = 0; if (!((value46 & 0xffffffffffffffffffffffffffff) != 0x0 && (value45 & 0xffffffffffffffffffffffffffff) == 0x0 || (value46 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value71 = (arg0 * (uint112(value46))) / (uint112(value45)); if (0 == (wbnb == (address(value42)))) { } else { value71 = (arg0 * (uint112(value45))) / (uint112(value46)); } value69 = value71; } value47 = value69; } value48 = value47; } return abi.encodePacked(value5 - ((value5 * 0) / 0x2710), value48); } else { uint256 value56 = 0; if (arg0) { uint256 value55 = 0; if (unresolved_d3af175e) { (bool success13, bytes memory returnData13) = unresolved_d3af175e.token0(); // staticcall require(success13); uint256 value49 = 0x60; uint256 value50; if (success13) { uint256 value73 = var_f.length; if (0x20 > returnData13.length) { if (((var_f + ((returnData13.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((returnData13.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((returnData13.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + returnData13.length) - var_f) >= 0x20); require(var_f.length == (address(var_f.length))); } else { if (((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((0x20 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + 0x20) - var_f) >= 0x20); require(var_h == (address(var_h))); value73 = var_i; } value50 = value73; } else { value49 = var_f; value50 = 0; } (bool success14, bytes memory returnData14) = unresolved_d3af175e.staticcall(abi.encodeWithSelector(bytes4(0x0902f1ac))); // staticcall getReserves require(success14); uint256 value52 = this.code.length; uint256 value53 = var_k; uint256 value54 = var_i; if (success14) { uint256 value51 = returnData14.length; if (0x60 <= returnData14.length) { value51 = 0x60; } if (((var_f + ((value51 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_f + ((value51 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_f)) _desolexPanic(65); var_f = var_f + ((value51 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_f + value51) - var_f) >= 0x60); require(var_l == (uint112(var_l))); require(var_m == (uint112(var_m))); require(uint32(var_n) == var_n); } else { value52 = var_f; value53 = 0; value54 = 0; } uint256 value72 = 0; if (!((value54 & 0xffffffffffffffffffffffffffff) != 0x0 && (value53 & 0xffffffffffffffffffffffffffff) == 0x0 || (value54 & 0xffffffffffffffffffffffffffff) == 0x0)) { uint256 value74 = (arg0 * (uint112(value54))) / (uint112(value53)); if (0 == (wbnb == (address(value50)))) { } else { value74 = (arg0 * (uint112(value53))) / (uint112(value54)); } value72 = value74; } value55 = value72; } value56 = value55; } return abi.encodePacked(value5 - value5, value56); } } } } } return abi.encodePacked(0, 0); } return abi.encodePacked(0, 0); } function allAdmins() public view returns (bytes memory) { if (!(array_1.length <= 0xffffffffffffffff)) _desolexPanic(65); uint256 var_a; if (((var_a + (((0x20 + (array_1.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_a + (((0x20 + (array_1.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_a)) _desolexPanic(65); var_a = var_a + (((0x20 + (array_1.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (!(array_1.length <= 0xffffffffffffffff)) _desolexPanic(65); uint256 value0 = 0; while (true) { if (value0 >= array_1.length) { break; } if (!(value0 < var_a.length)) { _desolexPanic(50); break; } if (value0 == 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { _desolexPanic(17); break; } value0 = 0x01 + value0; } uint256 value1 = 0; uint256 value2 = var_a + 0x20; uint256 value3 = var_a + 0x40; while (true) { if (value1 >= var_a.length) { return abi.encodePacked(0x20, var_a.length); } value1 = 0x01 + value1; value2 = 0x20 + value2; value3 = 0x20 + value3; } } function setFeeReceivers(address arg0, address arg1, address arg2, address arg3) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); bool flag0 = !(arg1); if (!(arg0)) { flag0 = !(arg0); } bool flag1 = !(arg2); if (flag0) { flag1 = flag0; } require(!(!flag1 && arg3 == address(0) || flag1), ErrorZeroAddress()); unresolved_4e60b690 = arg0; communityReceiver = arg1; opsReceiver = arg2; nodeReceiver = arg3; } function Unknown_3a1488bb(address arg0) public view returns (bytes memory) { if (unresolved_ea90ff07[arg0][(block.timestamp / 0x015180) * 0x015180] < dailySellLimit[arg0]) { return abi.encodePacked(dailySellLimit[arg0], unresolved_ea90ff07[arg0][(block.timestamp / 0x015180) * 0x015180], dailySellLimit[arg0] - unresolved_ea90ff07[arg0][(block.timestamp / 0x015180) * 0x015180], (block.timestamp / 0x015180) * 0x015180); } else { return abi.encodePacked(dailySellLimit[arg0], unresolved_ea90ff07[arg0][(block.timestamp / 0x015180) * 0x015180], 0, (block.timestamp / 0x015180) * 0x015180); } } function setLedger(address newAddress) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(newAddress != address(0), ErrorZeroAddress()); ledger = newAddress; } function batchAddAdmin(address[] memory arg0) public { require((arg0 + 0x23) < msg.data.length); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); uint256 var_a; if (((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_a)) _desolexPanic(65); var_a = var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); address[] var_b = arg0 ; require(!(((arg0 + (arg0.length << 0x05)) + 0x24) > msg.data.length)); uint256 value1 = var_a + 0x20; uint256 value0 = 0x24 + arg0; while (true) { if (!(value0 < ((arg0 + (arg0.length << 0x05)) + 0x24))) { break; } if (msg.data[value0] != (address(msg.data[value0]))) { revert(); break; } value1 = 0x20 + value1; value0 = 0x20 + value0; } require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); uint256 value2 = 0; while (true) { if (!(value2 < var_a.length)) { break; } if (!(value2 < var_a.length)) { _desolexPanic(50); break; } if (!isAdmin[msg.sender]) { revert("AdminRole: caller does not have the Admin role"); break; } if (!isAdmin[address(var_k)]) { if (!(array_1.length < 0x010000000000000000)) { _desolexPanic(65); break; } array_1.length = array_1.length + 0x01; if (!(array_1.length < array_1.length)) _desolexPanic(50); array_1[array_1.length] = (0 & array_1[array_1.length]) | (address(var_k) << 0); isAdmin[address(var_k)] = array_1.length; } emit AdminAdded(address(var_k)); if (value2 == 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { _desolexPanic(17); break; } value2 = 0x01 + value2; } } function setProfitTaxBps(uint256 newProfitTaxBps) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(newProfitTaxBps <= 0x2710, "profit tax exceeds bps"); profitTaxBps = newProfitTaxBps; } function rescue(address arg0, address arg1, uint256 arg2) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); require(arg1 != address(0), ErrorZeroAddress()); uint256 var_c; if (!(arg0)) { (bool success0, bytes memory returnData0) = arg1.call{ value: arg2 }(""); // call if ((returnData0.length) != 0x0) { if (!(returnData0.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData0.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); } require(success0, "bnb rescue failed"); return; } var_d = 0x44; if (((var_c + 0x80) > 0xffffffffffffffff) | ((var_c + 0x80) < var_c)) _desolexPanic(65); var_c = var_c + 0x80; if (((var_c + 0x40) < var_c) | ((var_c + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_c = var_c + 0x40; (bool success1, bytes memory returnData1) = arg0.call(abi.encodeWithSelector(bytes4(0xa9059cbb), arg1, arg2)); // call transfer if (returnData1.length == 0) { if (!success1) { require(!var_j); uint256 value0 = 0; while (true) { require(value0 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value0 = 0x20 + value0; } } else { if (!var_j) { require(arg0.code.length, "Address: call to non-contract"); uint256 value1 = this.code.length; uint256 value2 = this.code.length; uint256 value3 = var_d; if (var_j) { require(((0x20 + (0x60 + var_j)) - 0x80) >= 0x20); require(var_d == var_d); } else { value1 = var_j; value2 = 0x60; value3 = !var_j; } require(value3 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value4 = this.code.length; uint256 value5 = this.code.length; uint256 value6 = var_d; if (var_j) { require(((0x20 + (0x60 + var_j)) - 0x80) >= 0x20); require(var_d == var_d); } else { value4 = var_j; value5 = 0x60; value6 = !var_j; } require(value6 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } else { if (!(returnData1.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_c)) _desolexPanic(65); var_c = var_c + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData1.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (!success1) { require(!var_c.length); uint256 value0 = 0; while (true) { require(value0 < var_c.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value0 = 0x20 + value0; } } else { if (var_c.length == 0) { require(arg0.code.length, "Address: call to non-contract"); uint256 value7 = this.code.length; uint256 value8 = this.code.length; uint256 value9 = var_s; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_s == (!(!(var_s)))); } else { value7 = var_c.length; value8 = var_c; value9 = !var_c.length; } require(value9 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value10 = this.code.length; uint256 value11 = this.code.length; uint256 value12 = var_s; if (var_c.length != 0) { require((0x20 + (var_c + var_c.length)) - (var_c + 0x20) >= 0x20); require(var_s == (!(!(var_s)))); } else { value10 = var_c.length; value11 = var_c; value12 = !var_c.length; } require(value12 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } } function removeAdmin(address arg0) public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); if (isAdmin[arg0]) { uint256 value0 = this.code.length; uint256 value1 = this.code.length; uint256 value2 = this.code.length; if ((array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) != (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[arg0])) { if (!((array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) < array_1.length)) _desolexPanic(50); if (!((0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[arg0]) < array_1.length)) _desolexPanic(50); stor_expr_an = (0 & stor_expr_cr) | ((stor_expr_am >> 0) << 0); isAdmin[stor_expr_am >> 0] = isAdmin[arg0]; } else { value0 = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + isAdmin[arg0]; value1 = array_1.length + 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff; value2 = (isAdmin[arg0]) ? 1 : 0; } if (!(array_1.length != 0x0)) _desolexPanic(49); if (!((0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + array_1.length) < array_1.length)) _desolexPanic(50); stor_expr_ap = (0) & stor_expr_ap; array_1.length = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + array_1.length; isAdmin[arg0] = 0; } emit AdminRemoved(arg0); } function Unknown_12493878() public { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); (bool success0, bytes memory returnData0) = ccc.mainPair(); // staticcall require(success0); uint256 var_d; uint256 value1 = var_d.length; if (success0) { uint256 value0 = returnData0.length; if (0x20 <= returnData0.length) { value0 = 0x20; } if (((var_d + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((value0 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + value0) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); } else { value1 = 0; } require(!(wbnb != address(0) && (value1 & 0xffffffffffffffffffffffffffffffffffffffff) == 0x0 || wbnb == 0x0), ErrorZeroAddress()); (bool success1, bytes memory returnData1) = ccc.isPair(address(value1)); // staticcall require(success1); uint256 value3 = this.code.length; uint256 value4 = var_d.length; if (success1) { uint256 value2 = returnData1.length; if (0x20 <= returnData1.length) { value2 = 0x20; } if (((var_d + ((value2 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((value2 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((value2 + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + value2) - var_d) >= 0x20); require(var_d.length == var_d.length); } else { value3 = var_d; value4 = 0; } require(value4 != 0x0, CustomError_7899cd93()); (bool success2, bytes memory returnData2) = ccc.pairQuoteToken(address(value1)); // staticcall require(success2); uint256 value5 = this.code.length; uint256 value6 = var_d.length; if (success2) { if (0x20 > returnData2.length) { if (((var_d + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData2.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData2.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); } else { value5 = var_d; value6 = 0; } require(address(value6) == wbnb, CustomError_df360d7e()); if (!(address(stor_expr_i))) { if (!(channelCount < 0x010000000000000000)) _desolexPanic(65); channelCount = channelCount + 0x01; if (!((channelCount < channelCount))) _desolexPanic(50); channelList[channelCount] = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & channelList[channelCount]) | (wbnb << 0); } mapping_17[wbnb & (0xffffffffffffffffffffffffffffffffffffffff)] = ((wbnb & (0xffffffffffffffffffffffffffffffffffffffff) == (wbnb & (0xffffffffffffffffffffffffffffffffffffffff)) << 0x08) & (0xff00) | (0xffffffffffffffffff0000000000000000000000000000000000000000000000 & mapping_17[wbnb & (0xffffffffffffffffffffffffffffffffffffffff)]) | ((value1 << 0x18) & (0xffffffffffffffffffffffffffffffffffffffff000000))) | 0x010001; stor_expr_ct = (stor_expr_ct & (0xffffffffffffffffffffffff0000000000000000000000000000000000000000)) | wbnb; address account0 = address(0); if (0 != (wbnb == wbnb)) { account0 = unresolved_d3af175e; } stor_expr_cu = account0; stor_expr_cv = stor_expr_cv & (0xffffffffffffffffffffffff0000000000000000000000000000000000000000); if (((var_d + 0x60) > 0xffffffffffffffff) | ((var_d + 0x60) < var_d)) _desolexPanic(65); var_d = var_d + 0x60; if (!(var_d.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_d.length <= 0x010000000000000000)) _desolexPanic(65); stor_expr_cw = var_d.length; uint256 value8 = (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x04))) + stor_expr_cx; if (var_d.length < stor_expr_cw) { uint256 value7 = (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x04))) + var_d.length; while (true) { if (value7 >= (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x04)) + stor_expr_cx)) { break; } stor_expr_bu = 0; value7 = value7 + 0x01; } } else { value8 = stor_expr_cw; } uint256 value9 = 0; uint256 value10 = var_d + 0x20; while (true) { if (value9 >= var_d.length) { break; } stor_expr_cy = address(var_k); value9 = value9 + 0x01; value10 = value10 + 0x20; } if (!(stor_expr_cw)) _desolexPanic(50); stor_expr_cz = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_cz) | (wbnb & (0xffffffffffffffffffffffffffffffffffffffff) << 0); if (!(0x01 < stor_expr_bx)) _desolexPanic(50); stor_expr_by = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_by) | (ccc & (0xffffffffffffffffffffffffffffffffffffffff) << 0); if (((var_d + 0x60) > 0xffffffffffffffff) | ((var_d + 0x60) < var_d)) _desolexPanic(65); var_d = var_d + 0x60; if (!(var_d.length <= 0xffffffffffffffff)) _desolexPanic(65); if (!(var_d.length <= 0x010000000000000000)) _desolexPanic(65); stor_expr_da = var_d.length; uint256 value12 = (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x05))) + stor_expr_db; if (var_d.length < stor_expr_da) { uint256 value11 = (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x05))) + var_d.length; while (true) { if (value11 >= (keccak256(abi.encode(keccak256(abi.encode(wbnb, 0x17)) + 0x05)) + stor_expr_db)) { break; } stor_expr_ca = 0; value11 = value11 + 0x01; } } else { value12 = stor_expr_da; } uint256 value13 = 0; uint256 value14 = var_d + 0x20; while (true) { if (value13 >= var_d.length) { break; } stor_expr_dc = address(var_m); value13 = 0x01 + value13; value14 = 0x20 + value14; } if (!(stor_expr_cc != 0x0)) _desolexPanic(50); stor_expr_cd = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_cd) | (ccc & (0xffffffffffffffffffffffffffffffffffffffff) << 0); if (!(0x01 < stor_expr_ce)) _desolexPanic(50); stor_expr_cf = (0xffffffffffffffffffffffff0000000000000000000000000000000000000000 & stor_expr_cf) | (wbnb << 0); if (wbnb == wbnb) { return; } if (((var_d + 0x80) < var_d) | ((var_d + 0x80) > 0xffffffffffffffff)) _desolexPanic(65); var_d = var_d + 0x80; (bool success3, bytes memory returnData3) = wbnb.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve uint256 value15 = 0x60; if ((returnData3.length) != 0x0) { if (!(returnData3.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData3.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value15 = var_d; } uint256 value19 = this.code.length; uint256 value20; if (success3) { uint256 value16 = this.code.length; uint256 value17 = this.code.length; uint256 value18 = var_s; if (var_t) { require(((value15 + var_t) + 0x20) - (value15 + 0x20) >= 0x20); require(var_s == (!(!(var_s)))); } else { value16 = var_t; value17 = value15; value18 = !var_t; } value20 = value18; } else { value19 = value15; value20 = success3; } uint256 value21 = this.code.length; if (value20 == 0) { value21 = wbnb; } if (!(value20 != 0x0 && wbnb.code.length != 0x0)) { if (((var_d + 0x80) > 0xffffffffffffffff) | ((var_d + 0x80) < var_d)) _desolexPanic(65); var_d = var_d + 0x80; if (((var_d + 0x40) < var_d) | ((var_d + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_d = var_d + 0x40; (bool success4, bytes memory returnData4) = wbnb.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0)); // call approve uint256 value22 = 0x60; if ((returnData4.length) != 0x0) { if (!(returnData4.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData4.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value22 = var_d; } if (!success4) { require(!var_aa); uint256 value23 = 0; while (true) { require(value23 < var_ad, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value23 = 0x20 + value23; } } else { if (!var_aa) { require(wbnb.code.length != 0x0, "Address: call to non-contract"); uint256 value24 = this.code.length; uint256 value25 = this.code.length; uint256 value26 = var_ah; if (!(!(var_ai))) { require(!((0x20 + (value22 + var_ag)) - (value22 + 0x20) < 0x20)); require(var_aj == var_aj); } else { value24 = var_ai; value25 = value22; value26 = !(var_ai); } require(value26 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value27 = this.code.length; uint256 value28 = this.code.length; uint256 value29 = var_ah; if (!(!(var_ai))) { require(!((0x20 + (value22 + var_ag)) - (value22 + 0x20) < 0x20)); require(var_aj == var_aj); } else { value27 = var_ai; value28 = value22; value29 = !(var_ai); } require(value29 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } } if (((var_d + 0x40) < var_d) | ((var_d + 0x40) > 0xffffffffffffffff)) _desolexPanic(65); var_d = var_d + 0x40; (bool success5, bytes memory returnData5) = wbnb.call(abi.encodeWithSelector(bytes4(0x095ea7b3), router, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)); // call approve uint256 value30 = 0x60; if ((returnData5.length) != 0x0) { if (!(returnData5.length <= 0xffffffffffffffff)) _desolexPanic(65); if (((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData5.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData5.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + (((0x20 + (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0 & (returnData5.length + 0x1f))) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); value30 = var_d; } if (!success5) { require(!var_am); uint256 value23 = 0; while (true) { require(value23 < var_d.length, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"); value23 = 0x20 + value23; } } else { if (!var_am) { require(wbnb.code.length, "Address: call to non-contract"); uint256 value31 = this.code.length; uint256 value32 = this.code.length; uint256 value33 = var_aq; if (var_am) { require((0x20 + (value30 + var_am)) - (value30 + 0x20) >= 0x20); require(var_aq == (!(!(var_aq)))); } else { value31 = var_am; value32 = value30; value33 = !var_am; } require(value33 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } else { uint256 value34 = this.code.length; uint256 value35 = this.code.length; uint256 value36 = var_aq; if (var_am) { require((0x20 + (value30 + var_am)) - (value30 + 0x20) >= 0x20); require(var_aq == (!(!(var_aq)))); } else { value34 = var_am; value35 = value30; value36 = !var_am; } require(value36 != 0x0, "SafeERC20: ERC20 operation did not succeed"); } return; } } else { return; } } function Unknown_03cf50f7(bytes memory arg0) public view returns (bytes memory) { require(((arg0 + 0x04) + 0x1f) < msg.data.length); require(!(((arg0.length << 0x05) + (arg0 + 0x04) + 0x20) > msg.data.length)); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); uint256 var_a; if (((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_a)) _desolexPanic(65); var_a = var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); if (((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_a)) _desolexPanic(65); var_a = var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); if (((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_a)) _desolexPanic(65); var_a = var_a + (((0x20 + (arg0.length << 0x05)) + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); if (arg0.length > 0xffffffffffffffff) _desolexPanic(65); uint256 value0 = 0; while (true) { if (!(value0 < arg0.length)) { break; } if (!(value0 < arg0.length)) { _desolexPanic(50); break; } if ((value0 << 0x05) + (arg0 + 0x20) != (address((value0 << 0x05) + (arg0 + 0x20)))) { revert(); break; } if (!(value0 < var_a.length)) { _desolexPanic(50); break; } if (!(value0 < var_a.length)) { _desolexPanic(50); break; } if (unresolved_ea90ff07[address((value0 << 0x05) + (arg0 + 0x20))][(block.timestamp / 0x015180) * 0x015180] < dailySellLimit[address((value0 << 0x05) + (arg0 + 0x20))]) { if (dailySellLimit[address((value0 << 0x05) + (arg0 + 0x20))] - unresolved_ea90ff07[address((value0 << 0x05) + (arg0 + 0x20))][(block.timestamp / 0x015180) * 0x015180] > dailySellLimit[address((value0 << 0x05) + (arg0 + 0x20))]) { _desolexPanic(17); break; } if (!(value0 < var_a.length)) { _desolexPanic(50); break; } } else { if (!(value0 < var_a.length)) { _desolexPanic(50); break; } } value0 = value0 + 0x01; } uint256 value1 = 0; uint256 value2 = var_a + 0x20; uint256 value3 = (var_a + 0x80) + 0x20; while (true) { if (value1 >= var_a.length) { break; } value1 = 0x01 + value1; value2 = 0x20 + value2; value3 = 0x20 + value3; } value1 = 0; value2 = var_a + 0x20; value3 = ((var_a + 0x80) + 0x20) + 0x20; while (true) { if (value1 >= var_a.length) { break; } value1 = 0x01 + value1; value2 = 0x20 + value2; value3 = 0x20 + value3; } value1 = 0; value2 = var_a + 0x20; value3 = (((var_a + 0x80) + 0x20) + 0x20) + 0x20; while (true) { if (value1 >= var_a.length) { break; } value1 = 0x01 + value1; value2 = 0x20 + value2; value3 = 0x20 + value3; } return abi.encodePacked(0x80, value3 - var_a, value3 - var_a, (block.timestamp / 0x015180) * 0x015180, var_a.length, var_a.length, var_a.length); } function createPairs() public returns (bytes memory) { require((isAdmin[msg.sender]), "AdminRole: caller does not have the Admin role"); (bool success0, bytes memory returnData0) = router.factory(); // staticcall require(success0); if (success0) { if (0x20 > returnData0.length) { uint256 var_d; if (((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData0.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData0.length) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); (bool success1, bytes memory returnData1) = address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x6bc3855827fa6ee1229c937a26bb9fca1a0ffbf0); // call require(success1); if (success1) { if (0x20 > returnData1.length) { if (((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData1.length) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } require(success1); if (!(success1)) { return abi.encodePacked(address(var_d.length), 0); } if (0x20 > returnData1.length) { if (((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData1.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData1.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(address(var_d.length), address(var_d.length)); } else { (bool success4, bytes memory returnData4) = address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call require(success4); if (!(success4)) { return abi.encodePacked(0, 0); } if (0x20 > returnData4.length) { if (((var_d + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData4.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData4.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(0, address(var_d.length)); } } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); (bool success5, bytes memory returnData5) = address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x6bc3855827fa6ee1229c937a26bb9fca1a0ffbf0); // call require(success5); if (success5) { if (0x20 > returnData5.length) { if (((var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData5.length) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } require(success5); if (!(success5)) { return abi.encodePacked(address(var_d.length), 0); } if (0x20 > returnData5.length) { if (((var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData5.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData5.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(address(var_d.length), address(var_d.length)); } else { (bool success8, bytes memory returnData8) = address(var_d.length).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call require(success8); if (!(success8)) { return abi.encodePacked(0, 0); } if (0x20 > returnData8.length) { if (((var_d + ((returnData8.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData8.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData8.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData8.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(0, address(var_d.length)); } } } else { (bool success9, bytes memory returnData9) = address(0).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x6bc3855827fa6ee1229c937a26bb9fca1a0ffbf0); // call require(success9); if (success9) { if (0x20 > returnData9.length) { if (((var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData9.length) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(0).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); require(var_d.length == (address(var_d.length))); address(0).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call } require(success9); if (!(success9)) { return abi.encodePacked(address(var_d.length), 0); } if (0x20 > returnData9.length) { if (((var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData9.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData9.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(address(var_d.length), address(var_d.length)); } else { (bool success12, bytes memory returnData12) = address(0).createPair(0xcbd8bb97b9fc45d548a66e513cd5b2649bd14ccc, 0x61a10e8556bed032ea176330e7f17d6a12a10000); // call require(success12); if (!(success12)) { return abi.encodePacked(0, 0); } if (0x20 > returnData12.length) { if (((var_d + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) > 0xffffffffffffffff) | ((var_d + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))) < var_d)) _desolexPanic(65); var_d = var_d + ((returnData12.length + 0x1f) & (0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)); require(((var_d + returnData12.length) - var_d) >= 0x20); } else { if (((var_d + 0x20) > 0xffffffffffffffff) | ((var_d + 0x20) < var_d)) _desolexPanic(65); var_d = var_d + 0x20; require(((var_d + 0x20) - var_d) >= 0x20); } require(var_d.length == (address(var_d.length))); return abi.encodePacked(0, address(var_d.length)); } } } function __desolexSelectorShim(uint32 rewrittenSelector) private { assembly { let input := mload(0x40) calldatacopy(input, 0, calldatasize()) mstore(input, or(and(mload(input), 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff), shl(224, and(rewrittenSelector, 0xffffffff)))) let success := delegatecall(gas(), address(), input, calldatasize(), 0, 0) let size := returndatasize() returndatacopy(input, 0, size) switch success case 0 { revert(input, size) } default { return(input, size) } } } // 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. // 0x014ee2c2 => unresolved_014ee2c2(address,address) // 0x0161a290 => createPairs() // 0x01be3933 => unresolved_01be3933(address) // 0x03cf50f7 => Unknown_03cf50f7(bytes) // 0x0f5f0ae8 => unresolved_0f5f0ae8() // 0x12493878 => Unknown_12493878() // 0x1785f53c => removeAdmin(address) // 0x1f0586b7 => feeEarn() // 0x20ff430b => rescue(address,address,uint256) // 0x24d7806c => isAdmin(address) // 0x24fb4048 => unresolved_24fb4048() // 0x2a77465e => setProfitTaxBps(uint256) // 0x2c9ab42b => batchAddAdmin(address[]) // 0x2f48ab7d => usdt() // 0x2ffdaf89 => swapFeeBps() // 0x3246887d => setLedger(address) // 0x3a1488bb => Unknown_3a1488bb(address) // 0x3a4b66f1 => stake() // 0x3c8e556d => setFeeReceivers(address,address,address,address) // 0x40f32be6 => allAdmins() // 0x4245ee21 => opsReceiver() // 0x4beb394c => Unknown_4beb394c(bool) // 0x4e60b690 => unresolved_4e60b690() // 0x4e6fd6c4 => DEAD_ADDRESS() // 0x4f63d9b9 => channelList(uint256) // 0x4fe67b1a => PROFIT_BURN_BPS() // 0x50baf053 => Unknown_50baf053(address,address,uint256) // 0x54c30e19 => Unknown_54c30e19(address,address) // 0x56397c35 => ledger() // 0x5b962090 => Unknown_5b962090(address,address) // 0x5d29a061 => Unknown_5d29a061(address) // 0x5d5c08f5 => unresolved_5d5c08f5(address) // 0x61dee876 => communityReceiver() // 0x63e96558 => Unknown_63e96558(uint256) // 0x64974823 => unresolved_64974823(address,bytes32) // 0x68101f8f => lpModule() // 0x6be3f3e0 => setSpender(address,bool) // 0x70480275 => addAdmin(address) // 0x7ad4479c => Unknown_7ad4479c(bytes,bytes) // 0x8010c146 => Unknown_8010c146(address,bool) // 0x8129fc1c => initialize() // 0x843540be => setAboutAddress(address,address,address,address,address) // 0x8784b038 => unresolved_8784b038() // 0x8bad0c0a => renounceAdmin() // 0x8d72647e => wbnb() // 0x9323753a => unresolved_9323753a(address,address,bytes32) // 0x9513d824 => unresolved_9513d824() // 0x9763fc1f => unresolved_9763fc1f() // 0x9a01b4d5 => getChannel(address) // 0x9a206ece => isSpender(address) // 0x9fcb0342 => unresolved_9fcb0342(address) // 0xa08f73f9 => unresolved_a08f73f9(address,bytes32) // 0xa64190c4 => quoteSell(uint256) // 0xa9ff3560 => dailySellLimit(address) // 0xacf8bf2a => channelCount() // 0xaea466d5 => Unknown_aea466d5(address) // 0xb20a0b6f => Unknown_b20a0b6f(address,address,uint256) // 0xbe7ada71 => setLpModule(address) // 0xbe842013 => unresolved_be842013() // 0xc3152427 => unresolved_c3152427(address) // 0xc6d91569 => unresolved_c6d91569(address,address) // 0xc8c6de58 => Unknown_c8c6de58(address,bool) // 0xd3af175e => unresolved_d3af175e() // 0xd894b831 => profitTaxBps() // 0xdc99a87e => unresolved_dc99a87e(address) // 0xe2ea1319 => setStake(address) // 0xe3e602b7 => nodeReceiver() // 0xe5f0f5cc => previewSell(address,uint256) // 0xe72e83ce => setSwapFeeBps(uint256) // 0xe8ec7a9c => ccc() // 0xea90ff07 => unresolved_ea90ff07(address,bytes32) // 0xedd53fa0 => unresolved_edd53fa0(address) // 0xf0475652 => Unknown_f0475652() // 0xf12b25ab => withdrawFromPair(address,uint256) // 0xf56afba3 => Unknown_f56afba3(bool) // 0xf582d293 => buyEnabled() // 0xf887ea40 => router() // 0xf88b97dd => unresolved_f88b97dd() // 0xfb09fe10 => Unknown_fb09fe10(bytes,bytes) // 0xfb9a6346 => Unknown_fb9a6346(address,bool)}