Contract 0x683b98716c1bde0d7de9362ec304e7f81a6c68ab 1

 

Contract Overview

Rafflection: RAFF Token
Balance:
0.299 BNB

BNB Value:
$111.25 (@ $372.06/BNB)
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x10e86b53effcd6095f2d0d86567cb99fc49ba3d89aa785449a16c57e9d3a2215Approve109747402021-09-16 21:14:473 days 20 hrs ago0xbaf7a6cf0af79ca462922fcbcde5bc3af6e7cd59 IN  Rafflection: RAFF Token0 BNB0.00022558
0x3751c4b1e1ff72ef85bc073b82b37da0aa3a8a85638328e18c702fd5ba0110a4Approve109645572021-09-16 12:44:284 days 4 hrs ago0xd7be330feae07f4ebdffbf4e9170d1112ae329f0 IN  Rafflection: RAFF Token0 BNB0.00022558
0x9f036714b4e15b66c315d5062e912f22f8e3d59d3f889a0ac648cf38bff383b6Approve109644132021-09-16 12:37:164 days 4 hrs ago0x21cd629bb9e46cc68923d2afaa727776946ae52e IN  Rafflection: RAFF Token0 BNB0.000270696
0xe45981b0357d333518c3fc482a75b70165265021f780662c4297491ab3a42815Approve109529612021-09-16 3:02:384 days 14 hrs ago0xa4ea34665663999ea8460b64fb2361d78bc14727 IN  Rafflection: RAFF Token0 BNB0.00022558
0xc01b9ef1eb1a9150e1d9eff0a3dac68080f99afe4d87a9389be87bbc3394a9feApprove109467782021-09-15 21:53:294 days 19 hrs ago0x459e0e3031a9502eb8fd22cb64fd7918f6b53a73 IN  Rafflection: RAFF Token0 BNB0.00022558
0x7d86a7bce9858297ec5971180b5dec8805036d0ef134d53e0868b8ce95fc3268Approve109385252021-09-15 15:00:495 days 2 hrs ago0x682d7f72ced206781107e03db2e25929d3a7f332 IN  Rafflection: RAFF Token0 BNB0.00022558
0x1f4b21dc8fd1f45d924ddc9f7e50c6f3cecac4f00b3cef27db2835e843d58b97Approve108897062021-09-13 22:09:596 days 19 hrs ago0x4a4f0bf61a08e379d23031f6f7ff8271eb7ccee3 IN  Rafflection: RAFF Token0 BNB0.00022558
0x884631132b4f7f6246105cf2cd6f775f5938b133f52c96f21d4852dfe37101e1Approve108223272021-09-11 13:50:059 days 3 hrs ago0xda3f8db5f3ecb711a5c6952f0b14eb0005ebf63c IN  Rafflection: RAFF Token0 BNB0.00022558
0x3467c651ebdfe69d566dcd62e76e28251ed818b2a88a6e8591714bd129fae553Approve108147572021-09-11 7:28:369 days 9 hrs ago0x01b3e8547adfb5e5c48ae44ed9f335dc63ad86b0 IN  Rafflection: RAFF Token0 BNB0.00022558
0xe860cbb159159cdf1f40001a9549219464c6ad09187852d8e86ce9f6bcc02056Approve107359282021-09-08 13:01:4412 days 4 hrs ago0x86c0f13b30ba3ad75aa8a9414ba5b1c1a081946c IN  Rafflection: RAFF Token0 BNB0.000315812
0x354127d125550e32ff9096ff14c6f271abbeaa424e36b5bebec4e536db734990Approve106692482021-09-06 4:40:2114 days 12 hrs ago0x6836f46c6722d9ddcdc5687370745fe3fa60722d IN  Rafflection: RAFF Token0 BNB0.00022558
0x440c010b775657aadeaf3d4a95766c2607bf0bddcb331a86d2b3774985a7738fApprove106275452021-09-04 17:46:0015 days 23 hrs ago0xffb4d8e31cd2afb663b6181713b3325c9499a143 IN  Rafflection: RAFF Token0 BNB0.00022558
0xdbb94b2f62dbdb4e552d662290323cdd2d63dc4aea052259779e5ab60851e9faApprove105364632021-09-01 13:11:0619 days 4 hrs ago0xea1346170a5240d46943591d9a0067b942df0c0c IN  Rafflection: RAFF Token0 BNB0.00022558
0x6de5d9341a68beb2222295b2913e948da1d3ce0f94193096bce64f762a10748cApprove104833092021-08-30 16:07:2621 days 1 hr ago0x4aaf3528210a596e1f48d29c1dcd76f277abf7ff IN  Rafflection: RAFF Token0 BNB0.00022558
0x4e6883c79bcab97aa8f9bbeead6249d23711b444b634e2c3cbb10d05074d2bbfApprove104480062021-08-29 10:22:2722 days 7 hrs ago0x72fc753dd08df8dd2fb9f84f6f20ce7257150f59 IN  Rafflection: RAFF Token0 BNB0.00022558
0xdb59eef6012ad494ff586b29b87de92e5766d72c44eb5522268bf68cdec48f3bApprove104283792021-08-28 18:00:3522 days 23 hrs ago0xd76ecd450c0d034136776324a8fbe6715591180d IN  Rafflection: RAFF Token0 BNB0.00022558
0x514a0409c90b60e98684d2d75c9690215964be6e91d0dc6d13d95825cf64554bApprove103984022021-08-27 16:41:2324 days 41 mins ago0x817892ff00c7d52f8acba50ff6d8f5e4497ae359 IN  Rafflection: RAFF Token0 BNB0.00022558
0xefd404554f54f71a9a7f5f6841d6b45a6de549e9602196cbcd6572e5d4ff2829Approve103635572021-08-26 10:44:2525 days 6 hrs ago0x14f9488ae26f6ee7479cb6d1a6fa16b5e2ffb404 IN  Rafflection: RAFF Token0 BNB0.00022558
0x53705096a9dd13020518537d61ac505ca16e274d356f19211529260097dca50bApprove103571622021-08-26 5:24:4025 days 11 hrs ago0x80021ae01862479a5dddb71fd6b8218638867431 IN  Rafflection: RAFF Token0 BNB0.00022558
0xd813fd6c33a3956545a9d2438a9f161f8cca2e18b2dfaa340fe4e93a0422601dApprove103570532021-08-26 5:19:1325 days 12 hrs ago0x80021ae01862479a5dddb71fd6b8218638867431 IN  Rafflection: RAFF Token0 BNB0.00022558
0xc55d888e15218ff8ab18ad6bca558b8ceaa229419794a8d80c50ebf226eeb9e0Approve103422682021-08-25 16:55:0326 days 27 mins ago0x96feb2b7422befb4a6fe294a749da2e3799c83a7 IN  Rafflection: RAFF Token0 BNB0.00022558
0xbaed164e0472f241920d41f62f3630620a69fd65d1587110b825ef3e7f79adf4Approve103348822021-08-25 10:45:2126 days 6 hrs ago0x80021ae01862479a5dddb71fd6b8218638867431 IN  Rafflection: RAFF Token0 BNB0.000270696
0x76dab63c6383ed554d0856af94fb58c17674ef1063f8f8dd644c0d89a40d4fc1Transfer103291072021-08-25 5:55:4326 days 11 hrs ago0x80b6424129b98050c19617f65ce78077b4d351f0 IN  Rafflection: RAFF Token0 BNB0.00111186
0x9eed55470272e5082ac67ce21773b1b781f49110ded014a3f38ec9303b9a34c6Approve103190492021-08-24 21:30:3726 days 19 hrs ago0x186b0b5ff5e5b651f57bb430c5ccee79e7f5b7a7 IN  Rafflection: RAFF Token0 BNB0.00022558
0xccf49153ec7bcd89c39932d7a8fb7531f6096ce8d0019396b8b5f1078ca894edApprove103060752021-08-24 10:36:1427 days 6 hrs ago0x2de7fc238a25eb3103c70d788cfdff2ad71deade IN  Rafflection: RAFF Token0 BNB0.00022558
[ Download CSV Export 

OVERVIEW

Rafflection is a self-deflationary token including static rewards, liquidity injection, and a new and innovative way of rewarding holders, in a decentralized way, where every 4 hours, a random holder is picked and given 50% of their holding balance.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x53e3ad681b8de21873d0a9ba6a6ce01fe88eab29dbe0af294838de4ba5d1c193103060952021-08-24 10:37:1427 days 6 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.080304655420819477 BNB
0x53e3ad681b8de21873d0a9ba6a6ce01fe88eab29dbe0af294838de4ba5d1c193103060952021-08-24 10:37:1427 days 6 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.080304655420819477 BNB
0xa5cd0bd4b1032af0bf0efbda8cb4a5a0ebe41fc6a08dbc6a2ddd5ca10eb528c994167122021-07-23 19:34:1558 days 21 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.086863646371390662 BNB
0xa5cd0bd4b1032af0bf0efbda8cb4a5a0ebe41fc6a08dbc6a2ddd5ca10eb528c994167122021-07-23 19:34:1558 days 21 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.086863646371390662 BNB
0xe6287cd48ddc8e61f420b12a0ae98013036a078a4272113744b4793ae55ebdd683487672021-06-16 14:10:4796 days 3 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.093023809245463756 BNB
0xe6287cd48ddc8e61f420b12a0ae98013036a078a4272113744b4793ae55ebdd683487672021-06-16 14:10:4796 days 3 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.093023809245463756 BNB
0x53581fbf123c9e8354bf6e40839571d3b272f5c18d91126a4dd4cd82e9eefba880911992021-06-07 14:03:10105 days 3 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.094874788840824804 BNB
0x53581fbf123c9e8354bf6e40839571d3b272f5c18d91126a4dd4cd82e9eefba880911992021-06-07 14:03:10105 days 3 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.094874788840824804 BNB
0x9bb93c1926b2e2cc8dfb4450084830a0d862cfe6b71ea9a61155a5fa489b4ba179832132021-06-03 19:52:52108 days 21 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.102276479478262762 BNB
0x9bb93c1926b2e2cc8dfb4450084830a0d862cfe6b71ea9a61155a5fa489b4ba179832132021-06-03 19:52:52108 days 21 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.102276479478262762 BNB
0xc8db971497dd15ea1444153b16793a4ad85346aaa556d25691384c27eedfacb979555022021-06-02 20:42:21109 days 20 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.110919511215856713 BNB
0xc8db971497dd15ea1444153b16793a4ad85346aaa556d25691384c27eedfacb979555022021-06-02 20:42:21109 days 20 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.110919511215856713 BNB
0x94cec9ce54708909d3ac8cf2900808bb9e05a1c5936639a273afb18d65e2631779495602021-06-02 15:44:50110 days 1 hr ago Rafflection: RAFF Token PancakeSwap: Router v20.121529707360642966 BNB
0x94cec9ce54708909d3ac8cf2900808bb9e05a1c5936639a273afb18d65e2631779495602021-06-02 15:44:50110 days 1 hr ago PancakeSwap: Router v2 Rafflection: RAFF Token0.121529707360642966 BNB
0x68aaef7f40b3e8996078af7969983e09f445d7ff3b669b8d71d6389e79f1cca779479422021-06-02 14:23:41110 days 2 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.120889699231915927 BNB
0x68aaef7f40b3e8996078af7969983e09f445d7ff3b669b8d71d6389e79f1cca779479422021-06-02 14:23:41110 days 2 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.120889699231915927 BNB
0x43a5bf424a42f444bcd769c1b9545bcc7a841e0fb165d23b1d524b480d20eb1879451232021-06-02 12:01:21110 days 5 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.118881675551420807 BNB
0x43a5bf424a42f444bcd769c1b9545bcc7a841e0fb165d23b1d524b480d20eb1879451232021-06-02 12:01:21110 days 5 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.118881675551420807 BNB
0xd15ceeb71753365b92db46b11ba503a2ed7f8a47ed68e0c1ba5f264ded8d62ed79416542021-06-02 9:07:02110 days 8 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.117267453306921227 BNB
0xd15ceeb71753365b92db46b11ba503a2ed7f8a47ed68e0c1ba5f264ded8d62ed79416542021-06-02 9:07:02110 days 8 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.117267453306921227 BNB
0xa5cb3b80a829aa063748d756e77a268a1a68800dc8cba57acbbbab9196cc80bb79345472021-06-02 3:11:13110 days 14 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.121172118499631842 BNB
0xa5cb3b80a829aa063748d756e77a268a1a68800dc8cba57acbbbab9196cc80bb79345472021-06-02 3:11:13110 days 14 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.121172118499631842 BNB
0xed5735974433ba75818fa4d94f2fb9115fca82bd5d27d09efebb922e43da4bf779272932021-06-01 21:07:48110 days 20 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.117158173482308002 BNB
0xed5735974433ba75818fa4d94f2fb9115fca82bd5d27d09efebb922e43da4bf779272932021-06-01 21:07:48110 days 20 hrs ago PancakeSwap: Router v2 Rafflection: RAFF Token0.117158173482308002 BNB
0xcf51d711213113ab47394728e9cd3b6132040b4b166974d18b26853ed947337079243522021-06-01 18:40:11110 days 22 hrs ago Rafflection: RAFF Token PancakeSwap: Router v20.111891046593656772 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : Token.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./lib/Context.sol";
import "./lib/IERC20.sol";
import "./lib/SafeMath.sol";
import "./lib/Address.sol";
import "./lib/Ownable.sol";
import "./lib/PancakeSwap.sol";

import "./Raffle.sol";

contract Token is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 10 ** 6 * 10 ** 6 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = "Rafflection";
    string private _symbol = "RAFF";
    uint8 private _decimals = 9;

    uint256 public numTokensSellToAddToLiquidity = 500 * 10**6 * 10**9;
    uint256 public numTokensToAddToRaffle = 500 * 10**6 * 10**9;

    uint256 public balanceForRaffle;
    uint256 public balanceForLiquidity;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    IPancakeSwapV2Router02 private immutable PancakeSwapV2Router;
    address private immutable PancakeSwapV2Pair;

    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    Raffle raffleContract;
    bool private raffleContractSet = false;
    bool public raffleFeesEnabled = false;

    bool public feesEnabled = true;

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor(IPancakeSwapV2Router02 PancakeSwapRouter) {
        _rOwned[_msgSender()] = _rTotal;

        IPancakeSwapV2Router02 _PancakeSwapV2Router = IPancakeSwapV2Router02(PancakeSwapRouter);

        PancakeSwapV2Pair = IPancakeSwapV2Factory(_PancakeSwapV2Router.factory())
            .createPair(address(this), _PancakeSwapV2Router.WETH());

        PancakeSwapV2Router = _PancakeSwapV2Router;

        _isExcluded[address(this)] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    function isExcluded(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function reflect(uint256 tAmount) private {
        address sender = _msgSender();
        require(
            !_isExcluded[sender],
            "Excluded addresses cannot call this function"
        );
        (uint256 rAmount, , , , , , ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
        public
        view
        returns (uint256)
    {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , , , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rTransferAmount, , , , , ) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeAccount(address account) external onlyOwner() {
        require(!_isExcluded[account], "Account is already excluded");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function setFeesEnabled(bool enabled) public onlyOwner {
        feesEnabled = enabled;
    }

    function setRaffleFeesEnabled(bool enabled) public onlyOwner {
        raffleFeesEnabled = enabled;
    }

    function includeAccount(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function setRaffleContract(Raffle _raffle) public onlyOwner() {
        raffleContract = Raffle(_raffle);
        raffleContractSet = true;
        raffleFeesEnabled = true;
    }

    receive() external payable {}

    function swapAndLiquify(uint256 toAdd) private lockTheSwap {
        _enableAllFess(false);

        // split the contract balance into halves
        uint256 half = toAdd.div(2);
        uint256 otherHalf = toAdd.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to PancakeSwap
        addLiquidity(otherHalf, newBalance);

        // remove liquidity transfered from balance
        balanceForLiquidity = balanceForLiquidity.sub(toAdd);

        _enableAllFess(true);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the PancakeSwap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = PancakeSwapV2Router.WETH();

        _approve(address(this), address(PancakeSwapV2Router), tokenAmount);

        // make the swap
        PancakeSwapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp.add(10000)
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(PancakeSwapV2Router), tokenAmount);

        // add the liquidity
        PancakeSwapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(0),
            block.timestamp
        );
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        bool overMinTokenBalance =
            balanceForLiquidity >= numTokensSellToAddToLiquidity;
        if (
            swapAndLiquifyEnabled &&
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            sender != PancakeSwapV2Pair
        ) {
            //add liquidity
            swapAndLiquify(numTokensSellToAddToLiquidity);
        }

        // token swapping

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (raffleContractSet) {
            raffleContract.updateBalances(
                sender,
                recipient,
                balanceOf(sender),
                balanceOf(recipient),
                _tTotal.sub(balanceOf(BURN_ADDRESS))
            );
        }

        bool overMinRafBalance = balanceForRaffle >= numTokensToAddToRaffle;
        if (
            raffleContractSet &&
            raffleFeesEnabled &&
            overMinRafBalance &&
            raffleContractSet
        ) {
            // transfer to raffle contract
            _transferToRaffle(numTokensToAddToRaffle);
        }
    }

    function _transferToRaffle(uint256 toAdd) private {
        _enableAllFess(false);
        _transfer(address(this), address(raffleContract), toAdd);
        balanceForRaffle = balanceForRaffle.sub(toAdd);
        _enableAllFess(true);
    }

    function enableAllFeels(bool enabled) public onlyOwner {
        _enableAllFess(enabled);
    }

    function _enableAllFess (bool enabled) private {
        feesEnabled = enabled;
        swapAndLiquifyEnabled = enabled;
        raffleFeesEnabled = enabled;
    }

    function _takeLiquidityAndRaffle(uint256 tLiquidity, uint256 tRaffle)
        private
    {
        uint256 currentRate = _getRate();
        uint256 tTotalFees = tLiquidity.add(tRaffle);
        uint256 rTotalFees = tTotalFees.mul(currentRate);

        _rOwned[address(this)] = _rOwned[address(this)].add(rTotalFees);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tTotalFees);

        balanceForLiquidity = balanceForLiquidity.add(tLiquidity);
        balanceForRaffle = balanceForRaffle.add(tRaffle);
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity,
            uint256 tRaffle
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidityAndRaffle(tLiquidity, tRaffle);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity,
            uint256 tRaffle
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidityAndRaffle(tLiquidity, tRaffle);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity,
            uint256 tRaffle
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidityAndRaffle(tLiquidity, tRaffle);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity,
            uint256 tRaffle
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidityAndRaffle(tLiquidity, tRaffle);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity,
            uint256 tRaffle
        ) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) =
            _getRValues(tAmount, tFee, tLiquidity, tRaffle, _getRate());
        return (
            rAmount,
            rTransferAmount,
            rFee,
            tTransferAmount,
            tFee,
            tLiquidity,
            tRaffle
        );
    }

    function _getTValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = 0;
        uint256 tLiquidity = 0;
        uint256 tRaffle = 0;

        if (feesEnabled) {
            tFee = tAmount.div(25); // 4%
        }

        if (swapAndLiquifyEnabled) {
            tLiquidity = tAmount.div(50); // 2%
        }

        if (raffleFeesEnabled) {
            tRaffle = tAmount.div(50);
        }

        uint256 tTransferAmount =
            tAmount.sub(tFee).sub(tLiquidity).sub(tRaffle);
        return (tTransferAmount, tFee, tLiquidity, tRaffle);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 tRaffle,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rRaffle = tRaffle.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rRaffle);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
}

File 2 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    address internal immutable BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 8 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 8 : PancakeSwap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IPancakeSwapPair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IPancakeSwapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IPancakeSwapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IPancakeSwapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IPancakeSwapV2Router02 is IPancakeSwapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

File 8 of 8 : Raffle.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./lib/Context.sol";
import "./lib/SafeMath.sol";
import "./lib/Address.sol";
import "./lib/Ownable.sol";

import "./Token.sol";

contract Raffle is Context, Ownable {
    using SafeMath for uint256;
    using Address for address;
    
    struct DeletableIndex {
        uint256 index;
        bool active;
    }
    
    mapping (address => DeletableIndex) public raffleAddressIndexes;
    address[] public raffleAddresses;
    mapping (address => bool) public excluded;
    
    Token public tokenContract;
    
    // TODO change public to private when needed
    address public trustedParty;
    uint256 public storedBlockNumber;
    bytes32 public sealedSeed;
    bool public raffleInProgress = false;
    bool public sealSet = false;
    
    modifier onlyTokenContract() {
        require(_msgSender() == address(tokenContract), "Only the token contract can call this function");
        _;
    }
    
    event StartRaffle(bytes32 seal, uint256 blockNumber);
    event EndRaffle(address winner, uint256 sum, bytes32 seed);
    event AddRaffleParticipant(address account, uint256 balance);
    event RemoveRaffleParticipant(address account, uint256 balance); 
    
    uint256 public minOverheadWinAmount = 10 ** 2 * 10 ** 6 * 10 ** 9;
    
    uint256 public contractBalanceRatio = 100;
    uint256 public winnerBalanceRatio = 2;
    
    uint256 public minSupplyBalanceRatioToEnter = 100000;
    
    constructor (Token _tokenContract) {
        tokenContract = Token(_tokenContract);
        trustedParty = _msgSender();
        
        excluded[address(this)] = true;
    }
    
    function setMinSupplyBalanceToEnter(uint256 _minSupplyBalanceRatioToEnter) public onlyOwner {
        minSupplyBalanceRatioToEnter = _minSupplyBalanceRatioToEnter;
    }
    
    function setWinnerBalanceRatio(uint256 _winnerBalanceRatio) public onlyOwner {
        winnerBalanceRatio = _winnerBalanceRatio;
    }
    
    function setContractBalanceRatio(uint256 _contractBalanceRatio) public onlyOwner {
        contractBalanceRatio = _contractBalanceRatio;
    }
    
    function setMinOverheadWinAmount(uint256 _minOverheadWinAmount) public onlyOwner {
        minOverheadWinAmount = _minOverheadWinAmount;
    }
    
    function startRaffle(bytes32 _sealedSeed) public onlyOwner {
        if (raffleInProgress && block.number.sub(storedBlockNumber) >= 256) {
            raffleInProgress = false;
            sealSet = false;
            sealedSeed = 0;
        }
        
        require (!raffleInProgress, "Raffle already in progress, finish the first one first");
        require (!sealSet, "A seal is already set");
        require (tokenContract.balanceOf(address(this)) > 0, "Not enough balance in the raffle");
        
        raffleInProgress = true;
        sealSet = true;
        sealedSeed = _sealedSeed;
        storedBlockNumber = block.number + 1;
        
        emit StartRaffle(sealedSeed, storedBlockNumber);
    }
    
    function finishRaffle(bytes32 _seed) public onlyOwner returns (address) {
        require (sealSet, "Seal is not set");
        require (raffleInProgress, "A raffle is not started yet");
        require (storedBlockNumber < block.number, "Cannot finish raffle until the storedBlockNumber is reached");
        require (keccak256(abi.encodePacked(_msgSender(), _seed)) == sealedSeed, "Cannot verify the seed against the sealed seed");
        
        sealSet = false;
        raffleInProgress = false;
        sealedSeed = 0x0;
        
        uint256 random = uint256(keccak256(abi.encodePacked(_seed, blockhash(storedBlockNumber))));
        address winner = raffleAddresses[random % raffleAddresses.length];
        uint256 winnedAmmount = _calculateWinAmmount(winner);
        
        tokenContract.transfer(winner, winnedAmmount);
        
        emit EndRaffle(winner, winnedAmmount, _seed);
        return raffleAddresses[random % raffleAddresses.length];
    }
    
    function _calculateWinAmmount(address winner) private view returns (uint256) {
        uint256 currentBalance = tokenContract.balanceOf(address(this));
        uint256 winnerBalance = tokenContract.balanceOf(winner);
        
        uint256 calculatedTotalBalance = currentBalance.div(contractBalanceRatio);
        uint256 calculatedWinnerBalance = winnerBalance.div(winnerBalanceRatio);
        
        if (calculatedTotalBalance > calculatedWinnerBalance) {
            return calculatedWinnerBalance;
        } else {
            if (calculatedTotalBalance < minOverheadWinAmount) {
                return minOverheadWinAmount > currentBalance ? currentBalance : minOverheadWinAmount;
            } else {
                return calculatedTotalBalance;
            }
        }
    }
    
    function updateBalances(address sender, address recipient, uint256 senderBalance, uint256 recipientBalance, uint256 remainingSupply) public payable onlyTokenContract {
        if(!excluded[sender]) {
            _checkAddToRaffle(sender, senderBalance, remainingSupply);
        }

        if(!excluded[recipient]) {
            _checkAddToRaffle(recipient, recipientBalance, remainingSupply);
        }
    }
    
    
    function _checkEnoughBalance (uint256 balance, uint256 remainingSupply) private view returns (bool) {
      return balance >= remainingSupply.div(minSupplyBalanceRatioToEnter);
    }
    
    function _checkAddToRaffle(address holder, uint256 balance, uint256 remainingSupply) private {
        bool hasBalanceForRaffle = _checkEnoughBalance(balance, remainingSupply);
        
        if (!hasBalanceForRaffle && raffleAddressIndexes[holder].active) {
            DeletableIndex storage deletedIndex = raffleAddressIndexes[holder];
            address lastAddress = raffleAddresses[raffleAddresses.length - 1];
            address deletedAddress = raffleAddresses[deletedIndex.index];
            raffleAddresses[deletedIndex.index] = lastAddress;
            raffleAddresses.pop();
            raffleAddressIndexes[lastAddress] = deletedIndex;
            raffleAddressIndexes[deletedAddress].active = false;
            
            emit RemoveRaffleParticipant(holder, balance);
        } else if (hasBalanceForRaffle && !raffleAddressIndexes[holder].active) {
            raffleAddresses.push(holder);
            raffleAddressIndexes[holder] = DeletableIndex({
                index : raffleAddresses.length - 1,
                active: true
            });
            
            emit AddRaffleParticipant(holder, balance);
        }
    }
    
    function isParticipant(address account) public view returns (bool) {
        return raffleAddressIndexes[account].active;
    }
    
    function excludeAccount(address account) external onlyTokenContract {
        excluded[account] = true;
    }
    
    function includeAccount(address account) external onlyTokenContract {
        excluded[account] = false;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IPancakeSwapV2Router02","name":"PancakeSwapRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balanceForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceForRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"enableAllFeels","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensToAddToRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleFeesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setFeesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Raffle","name":"_raffle","type":"address"}],"name":"setRaffleContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setRaffleFeesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405261dead73ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1660601b815250683635c9adc5dea000006006556006546000196200005b91906200082e565b6000196200006a91906200076b565b6007556040518060400160405280600b81526020017f526166666c656374696f6e00000000000000000000000000000000000000000081525060099080519060200190620000ba929190620005c9565b506040518060400160405280600481526020017f5241464600000000000000000000000000000000000000000000000000000000815250600a908051906020019062000108929190620005c9565b506009600b60006101000a81548160ff021916908360ff1602179055506706f05b59d3b20000600c556706f05b59d3b20000600d556001601060016101000a81548160ff0219169083151502179055506000601060166101000a81548160ff0219169083151502179055506000601060176101000a81548160ff0219169083151502179055506001601060186101000a81548160ff021916908315150217905550348015620001b657600080fd5b5060405162005354380380620053548339818101604052810190620001dc9190620006d3565b6000620001ee620005c160201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060075460016000620002a3620005c160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008190508073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200032d57600080fd5b505afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003689190620006a7565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620003cb57600080fd5b505afa158015620003e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004069190620006a7565b6040518363ffffffff1660e01b81526004016200042592919062000721565b602060405180830381600087803b1580156200044057600080fd5b505af115801562000455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047b9190620006a7565b73ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250506001600460003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000550620005c160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600654604051620005b191906200074e565b60405180910390a3505062000927565b600033905090565b828054620005d790620007f8565b90600052602060002090601f016020900481019282620005fb576000855562000647565b82601f106200061657805160ff191683800117855562000647565b8280016001018555821562000647579182015b828111156200064657825182559160200191906001019062000629565b5b5090506200065691906200065a565b5090565b5b80821115620006755760008160009055506001016200065b565b5090565b6000815190506200068a81620008f3565b92915050565b600081519050620006a1816200090d565b92915050565b600060208284031215620006ba57600080fd5b6000620006ca8482850162000679565b91505092915050565b600060208284031215620006e657600080fd5b6000620006f68482850162000690565b91505092915050565b6200070a81620007a6565b82525050565b6200071b81620007ee565b82525050565b6000604082019050620007386000830185620006ff565b620007476020830184620006ff565b9392505050565b600060208201905062000765600083018462000710565b92915050565b60006200077882620007ee565b91506200078583620007ee565b9250828210156200079b576200079a62000866565b5b828203905092915050565b6000620007b382620007ce565b9050919050565b6000620007c782620007a6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200081157607f821691505b60208210811415620008285762000827620008c4565b5b50919050565b60006200083b82620007ee565b91506200084883620007ee565b9250826200085b576200085a62000895565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620008fe81620007a6565b81146200090a57600080fd5b50565b6200091881620007ba565b81146200092457600080fd5b50565b60805160601c60a05160601c60c05160601c6149d86200097c6000396000611f050152600081816135fa0152818161371001528181613737015281816137e7015261380e015260006122c301526149d86000f3fe6080604052600436106101e65760003560e01c806370a0823111610102578063c49b9a8011610095578063ee66061811610064578063ee6606181461073c578063f2cc0c1814610767578063f2fde38b14610790578063f84354f1146107b9576101ed565b8063c49b9a801461066e578063cba0e99614610697578063d12a7688146106d4578063dd62ed3e146106ff576101ed565b8063a457c2d7116100d1578063a457c2d7146105a0578063a64e4f8a146105dd578063a901dd9214610608578063a9059cbb14610631576101ed565b806370a08231146104f6578063715018a6146105335780638da5cb5b1461054a57806395d89b4114610575576101ed565b806323b872dd1161017a5780633acf5d57116101495780633acf5d571461043a57806341cbe8fc146104635780634549b0391461048e5780634a74bb02146104cb576101ed565b806323b872dd146103585780632d83811914610395578063313ce567146103d257806339509351146103fd576101ed565b8063095ea7b3116101b6578063095ea7b31461029c578063102f5157146102d957806313114a9d1461030257806318160ddd1461032d576101ed565b806256c084146101f257806301ed4e2d1461021b5780630523c42d1461024657806306fdde0314610271576101ed565b366101ed57005b600080fd5b3480156101fe57600080fd5b5061021960048036038101906102149190613ccf565b6107e2565b005b34801561022757600080fd5b506102306108d8565b60405161023d919061425f565b60405180910390f35b34801561025257600080fd5b5061025b6108de565b604051610268919061425f565b60405180910390f35b34801561027d57600080fd5b506102866108e4565b60405161029391906140fd565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190613c6a565b610976565b6040516102d091906140e2565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190613ca6565b610994565b005b34801561030e57600080fd5b50610317610a2d565b604051610324919061425f565b60405180910390f35b34801561033957600080fd5b50610342610a37565b60405161034f919061425f565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613c1b565b610a41565b60405161038c91906140e2565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190613cf8565b610b1a565b6040516103c9919061425f565b60405180910390f35b3480156103de57600080fd5b506103e7610b88565b6040516103f4919061430b565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190613c6a565b610b9f565b60405161043191906140e2565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c9190613ca6565b610c52565b005b34801561046f57600080fd5b50610478610cda565b604051610485919061425f565b60405180910390f35b34801561049a57600080fd5b506104b560048036038101906104b09190613d21565b610ce0565b6040516104c2919061425f565b60405180910390f35b3480156104d757600080fd5b506104e0610d66565b6040516104ed91906140e2565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613b8d565b610d79565b60405161052a919061425f565b60405180910390f35b34801561053f57600080fd5b50610548610e64565b005b34801561055657600080fd5b5061055f610f9e565b60405161056c9190614013565b60405180910390f35b34801561058157600080fd5b5061058a610fc7565b60405161059791906140fd565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190613c6a565b611059565b6040516105d491906140e2565b60405180910390f35b3480156105e957600080fd5b506105f2611126565b6040516105ff91906140e2565b60405180910390f35b34801561061457600080fd5b5061062f600480360381019061062a9190613ca6565b611139565b005b34801561063d57600080fd5b5061065860048036038101906106539190613c6a565b6111d2565b60405161066591906140e2565b60405180910390f35b34801561067a57600080fd5b5061069560048036038101906106909190613ca6565b6111f0565b005b3480156106a357600080fd5b506106be60048036038101906106b99190613b8d565b6112c0565b6040516106cb91906140e2565b60405180910390f35b3480156106e057600080fd5b506106e9611316565b6040516106f6919061425f565b60405180910390f35b34801561070b57600080fd5b5061072660048036038101906107219190613bdf565b61131c565b604051610733919061425f565b60405180910390f35b34801561074857600080fd5b506107516113a3565b60405161075e91906140e2565b60405180910390f35b34801561077357600080fd5b5061078e60048036038101906107899190613b8d565b6113b6565b005b34801561079c57600080fd5b506107b760048036038101906107b29190613b8d565b611651565b005b3480156107c557600080fd5b506107e060048036038101906107db9190613b8d565b6117fa565b005b6107ea611bc8565b73ffffffffffffffffffffffffffffffffffffffff16610808610f9e565b73ffffffffffffffffffffffffffffffffffffffff161461085e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610855906141df565b60405180910390fd5b80601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601060166101000a81548160ff0219169083151502179055506001601060176101000a81548160ff02191690831515021790555050565b600f5481565b600e5481565b6060600980546108f39061453c565b80601f016020809104026020016040519081016040528092919081815260200182805461091f9061453c565b801561096c5780601f106109415761010080835404028352916020019161096c565b820191906000526020600020905b81548152906001019060200180831161094f57829003601f168201915b5050505050905090565b600061098a610983611bc8565b8484611bd0565b6001905092915050565b61099c611bc8565b73ffffffffffffffffffffffffffffffffffffffff166109ba610f9e565b73ffffffffffffffffffffffffffffffffffffffff1614610a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a07906141df565b60405180910390fd5b80601060176101000a81548160ff02191690831515021790555050565b6000600854905090565b6000600654905090565b6000610a4e848484611d9b565b610b0f84610a5a611bc8565b610b0a8560405180606001604052806028815260200161495660289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610ac0611bc8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123b89092919063ffffffff16565b611bd0565b600190509392505050565b6000600754821115610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b589061413f565b60405180910390fd5b6000610b6b61240d565b9050610b80818461243890919063ffffffff16565b915050919050565b6000600b60009054906101000a900460ff16905090565b6000610c48610bac611bc8565b84610c438560036000610bbd611bc8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b611bd0565b6001905092915050565b610c5a611bc8565b73ffffffffffffffffffffffffffffffffffffffff16610c78610f9e565b73ffffffffffffffffffffffffffffffffffffffff1614610cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc5906141df565b60405180910390fd5b610cd781612464565b50565b600d5481565b6000600654831115610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e906141bf565b60405180910390fd5b81610d48576000610d37846124b5565b505050505050905080915050610d60565b6000610d53846124b5565b5050505050915050809150505b92915050565b601060019054906101000a900460ff1681565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e1457600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610e5f565b610e5c600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b1a565b90505b919050565b610e6c611bc8565b73ffffffffffffffffffffffffffffffffffffffff16610e8a610f9e565b73ffffffffffffffffffffffffffffffffffffffff1614610ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed7906141df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600a8054610fd69061453c565b80601f01602080910402602001604051908101604052809291908181526020018280546110029061453c565b801561104f5780601f106110245761010080835404028352916020019161104f565b820191906000526020600020905b81548152906001019060200180831161103257829003601f168201915b5050505050905090565b600061111c611066611bc8565b846111178560405180606001604052806025815260200161497e6025913960036000611090611bc8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123b89092919063ffffffff16565b611bd0565b6001905092915050565b601060189054906101000a900460ff1681565b611141611bc8565b73ffffffffffffffffffffffffffffffffffffffff1661115f610f9e565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac906141df565b60405180910390fd5b80601060186101000a81548160ff02191690831515021790555050565b60006111e66111df611bc8565b8484611d9b565b6001905092915050565b6111f8611bc8565b73ffffffffffffffffffffffffffffffffffffffff16611216610f9e565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611263906141df565b60405180910390fd5b80601060016101000a81548160ff0219169083151502179055507f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159816040516112b591906140e2565b60405180910390a150565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600c5481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b601060179054906101000a900460ff1681565b6113be611bc8565b73ffffffffffffffffffffffffffffffffffffffff166113dc610f9e565b73ffffffffffffffffffffffffffffffffffffffff1614611432576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611429906141df565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b69061419f565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156115935761154f600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b1a565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506005819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611659611bc8565b73ffffffffffffffffffffffffffffffffffffffff16611677610f9e565b73ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c4906141df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561173d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117349061415f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611802611bc8565b73ffffffffffffffffffffffffffffffffffffffff16611820610f9e565b73ffffffffffffffffffffffffffffffffffffffff1614611876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186d906141df565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f99061419f565b60405180910390fd5b60005b600580549050811015611bc4578173ffffffffffffffffffffffffffffffffffffffff1660058281548110611963577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611bb157600560016005805490506119be919061445c565b815481106119f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660058281548110611a5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506005805480611b77577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055611bc4565b8080611bbc9061456e565b915050611905565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c379061423f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca79061417f565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d8e919061425f565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e029061421f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e729061411f565b60405180910390fd5b60008111611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb5906141ff565b60405180910390fd5b6000600c54600f5410159050601060019054906101000a900460ff168015611ee35750805b8015611efc5750601060009054906101000a900460ff16155b8015611f5457507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611f6557611f64600c5461251d565b5b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156120085750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561201d57612018848484612622565b612254565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156120c05750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156120d5576120d0848484612888565b612253565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156121795750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561218e57612189848484612aee565b612252565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156122305750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561224557612240848484612cbf565b612251565b612250848484612aee565b5b5b5b5b601060169054906101000a900460ff161561234b57601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638789de0e85856122b288610d79565b6122bb88610d79565b6122f86122e77f0000000000000000000000000000000000000000000000000000000000000000610d79565b600654612fba90919063ffffffff16565b6040518663ffffffff1660e01b815260040161231895949392919061402e565b600060405180830381600087803b15801561233257600080fd5b505af1158015612346573d6000803e3d6000fd5b505050505b6000600d54600e5410159050601060169054906101000a900460ff16801561237f5750601060179054906101000a900460ff165b80156123885750805b80156123a05750601060169054906101000a900460ff165b156123b1576123b0600d54612fd0565b5b5050505050565b6000838311158290612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f791906140fd565b60405180910390fd5b5082840390509392505050565b600080600061241a61302f565b91509150612431818361243890919063ffffffff16565b9250505090565b6000818361244691906143d1565b905092915050565b6000818361245c919061437b565b905092915050565b80601060186101000a81548160ff02191690831515021790555080601060016101000a81548160ff02191690831515021790555080601060176101000a81548160ff02191690831515021790555050565b60008060008060008060008060008060006124cf8c61337a565b935093509350935060008060006124f08f8787876124eb61240d565b61345b565b925092509250828282898989899d509d509d509d509d509d509d5050505050505050919395979092949650565b6001601060006101000a81548160ff0219169083151502179055506125426000612464565b600061255860028361243890919063ffffffff16565b9050600061256f8284612fba90919063ffffffff16565b9050600047905061257f8361350f565b60006125948247612fba90919063ffffffff16565b90506125a083826137e1565b6125b585600f54612fba90919063ffffffff16565b600f819055506125c56001612464565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618482856040516125f8939291906142d4565b60405180910390a1505050506000601060006101000a81548160ff02191690831515021790555050565b6000806000806000806000612636886124b5565b965096509650965096509650965061269688600260008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600260008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061272b87600160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127c086600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061280d82826138cb565b6128178584613abf565b8873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612874919061425f565b60405180910390a350505050505050505050565b600080600080600080600061289c886124b5565b96509650965096509650965096506128fc87600160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061299184600260008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612a2686600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612a7382826138cb565b612a7d8584613abf565b8873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612ada919061425f565b60405180910390a350505050505050505050565b6000806000806000806000612b02886124b5565b9650965096509650965096509650612b6287600160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612bf786600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612c4482826138cb565b612c4e8584613abf565b8873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612cab919061425f565b60405180910390a350505050505050505050565b6000806000806000806000612cd3886124b5565b9650965096509650965096509650612d3388600260008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600260008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612dc887600160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fba90919063ffffffff16565b600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612e5d84600260008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ef286600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612f3f82826138cb565b612f498584613abf565b8873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612fa6919061425f565b60405180910390a350505050505050505050565b60008183612fc8919061445c565b905092915050565b612fda6000612464565b61300730601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611d9b565b61301c81600e54612fba90919063ffffffff16565b600e8190555061302c6001612464565b50565b600080600060075490506000600654905060005b60058054905081101561333d5782600160006005848154811061308f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411806131a3575081600260006005848154811061313b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b156131ba5760075460065494509450505050613376565b61327060016000600584815481106131fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484612fba90919063ffffffff16565b925061332860026000600584815481106132b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483612fba90919063ffffffff16565b915080806133359061456e565b915050613043565b5061335560065460075461243890919063ffffffff16565b82101561336d57600754600654935093505050613376565b81819350935050505b9091565b6000806000806000806000601060189054906101000a900460ff16156133b1576133ae60198961243890919063ffffffff16565b92505b601060019054906101000a900460ff16156133dd576133da60328961243890919063ffffffff16565b91505b601060179054906101000a900460ff16156134095761340660328961243890919063ffffffff16565b90505b60006134428261343485613426888e612fba90919063ffffffff16565b612fba90919063ffffffff16565b612fba90919063ffffffff16565b9050808484849750975097509750505050509193509193565b600080600080613474858a613af990919063ffffffff16565b9050600061348b868a613af990919063ffffffff16565b905060006134a2878a613af990919063ffffffff16565b905060006134b9888a613af990919063ffffffff16565b905060006134f4826134e6856134d8888a612fba90919063ffffffff16565b612fba90919063ffffffff16565b612fba90919063ffffffff16565b90508481859750975097505050505050955095509592505050565b6000600267ffffffffffffffff811115613552577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156135805781602001602082028036833780820191505090505b50905030816000815181106135be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561365e57600080fd5b505afa158015613672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136969190613bb6565b816001815181106136d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613735307f000000000000000000000000000000000000000000000000000000000000000084611bd0565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663791ac947836000843061378b6127104261244e90919063ffffffff16565b6040518663ffffffff1660e01b81526004016137ab95949392919061427a565b600060405180830381600087803b1580156137c557600080fd5b505af11580156137d9573d6000803e3d6000fd5b505050505050565b61380c307f000000000000000000000000000000000000000000000000000000000000000084611bd0565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f305d7198230856000806000426040518863ffffffff1660e01b815260040161387296959493929190614081565b6060604051808303818588803b15801561388b57600080fd5b505af115801561389f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138c49190613d5d565b5050505050565b60006138d561240d565b905060006138ec838561244e90919063ffffffff16565b905060006139038383613af990919063ffffffff16565b905061395781600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600460003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615613a8257613a3e82600260003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461244e90919063ffffffff16565b600260003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b613a9785600f5461244e90919063ffffffff16565b600f81905550613ab284600e5461244e90919063ffffffff16565b600e819055505050505050565b613ad482600754612fba90919063ffffffff16565b600781905550613aef8160085461244e90919063ffffffff16565b6008819055505050565b60008183613b079190614402565b905092915050565b600081359050613b1e816148f9565b92915050565b600081519050613b33816148f9565b92915050565b600081359050613b4881614910565b92915050565b600081359050613b5d81614927565b92915050565b600081359050613b728161493e565b92915050565b600081519050613b878161493e565b92915050565b600060208284031215613b9f57600080fd5b6000613bad84828501613b0f565b91505092915050565b600060208284031215613bc857600080fd5b6000613bd684828501613b24565b91505092915050565b60008060408385031215613bf257600080fd5b6000613c0085828601613b0f565b9250506020613c1185828601613b0f565b9150509250929050565b600080600060608486031215613c3057600080fd5b6000613c3e86828701613b0f565b9350506020613c4f86828701613b0f565b9250506040613c6086828701613b63565b9150509250925092565b60008060408385031215613c7d57600080fd5b6000613c8b85828601613b0f565b9250506020613c9c85828601613b63565b9150509250929050565b600060208284031215613cb857600080fd5b6000613cc684828501613b39565b91505092915050565b600060208284031215613ce157600080fd5b6000613cef84828501613b4e565b91505092915050565b600060208284031215613d0a57600080fd5b6000613d1884828501613b63565b91505092915050565b60008060408385031215613d3457600080fd5b6000613d4285828601613b63565b9250506020613d5385828601613b39565b9150509250929050565b600080600060608486031215613d7257600080fd5b6000613d8086828701613b78565b9350506020613d9186828701613b78565b9250506040613da286828701613b78565b9150509250925092565b6000613db88383613dc4565b60208301905092915050565b613dcd81614490565b82525050565b613ddc81614490565b82525050565b6000613ded82614336565b613df78185614359565b9350613e0283614326565b8060005b83811015613e33578151613e1a8882613dac565b9750613e258361434c565b925050600181019050613e06565b5085935050505092915050565b613e49816144a2565b82525050565b613e58816144f7565b82525050565b6000613e6982614341565b613e73818561436a565b9350613e83818560208601614509565b613e8c81614644565b840191505092915050565b6000613ea460238361436a565b9150613eaf82614655565b604082019050919050565b6000613ec7602a8361436a565b9150613ed2826146a4565b604082019050919050565b6000613eea60268361436a565b9150613ef5826146f3565b604082019050919050565b6000613f0d60228361436a565b9150613f1882614742565b604082019050919050565b6000613f30601b8361436a565b9150613f3b82614791565b602082019050919050565b6000613f53601f8361436a565b9150613f5e826147ba565b602082019050919050565b6000613f7660208361436a565b9150613f81826147e3565b602082019050919050565b6000613f9960298361436a565b9150613fa48261480c565b604082019050919050565b6000613fbc60258361436a565b9150613fc78261485b565b604082019050919050565b6000613fdf60248361436a565b9150613fea826148aa565b604082019050919050565b613ffe816144e0565b82525050565b61400d816144ea565b82525050565b60006020820190506140286000830184613dd3565b92915050565b600060a0820190506140436000830188613dd3565b6140506020830187613dd3565b61405d6040830186613ff5565b61406a6060830185613ff5565b6140776080830184613ff5565b9695505050505050565b600060c0820190506140966000830189613dd3565b6140a36020830188613ff5565b6140b06040830187613e4f565b6140bd6060830186613e4f565b6140ca6080830185613dd3565b6140d760a0830184613ff5565b979650505050505050565b60006020820190506140f76000830184613e40565b92915050565b600060208201905081810360008301526141178184613e5e565b905092915050565b6000602082019050818103600083015261413881613e97565b9050919050565b6000602082019050818103600083015261415881613eba565b9050919050565b6000602082019050818103600083015261417881613edd565b9050919050565b6000602082019050818103600083015261419881613f00565b9050919050565b600060208201905081810360008301526141b881613f23565b9050919050565b600060208201905081810360008301526141d881613f46565b9050919050565b600060208201905081810360008301526141f881613f69565b9050919050565b6000602082019050818103600083015261421881613f8c565b9050919050565b6000602082019050818103600083015261423881613faf565b9050919050565b6000602082019050818103600083015261425881613fd2565b9050919050565b60006020820190506142746000830184613ff5565b92915050565b600060a08201905061428f6000830188613ff5565b61429c6020830187613e4f565b81810360408301526142ae8186613de2565b90506142bd6060830185613dd3565b6142ca6080830184613ff5565b9695505050505050565b60006060820190506142e96000830186613ff5565b6142f66020830185613ff5565b6143036040830184613ff5565b949350505050565b60006020820190506143206000830184614004565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000614386826144e0565b9150614391836144e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143c6576143c56145b7565b5b828201905092915050565b60006143dc826144e0565b91506143e7836144e0565b9250826143f7576143f66145e6565b5b828204905092915050565b600061440d826144e0565b9150614418836144e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614451576144506145b7565b5b828202905092915050565b6000614467826144e0565b9150614472836144e0565b925082821015614485576144846145b7565b5b828203905092915050565b600061449b826144c0565b9050919050565b60008115159050919050565b60006144b982614490565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614502826144e0565b9050919050565b60005b8381101561452757808201518184015260208101905061450c565b83811115614536576000848401525b50505050565b6000600282049050600182168061455457607f821691505b6020821081141561456857614567614615565b5b50919050565b6000614579826144e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145ac576145ab6145b7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260008201527f65666c656374696f6e7300000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4163636f756e7420697320616c7265616479206578636c756465640000000000600082015250565b7f416d6f756e74206d757374206265206c657373207468616e20737570706c7900600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b61490281614490565b811461490d57600080fd5b50565b614919816144a2565b811461492457600080fd5b50565b614930816144ae565b811461493b57600080fd5b50565b614947816144e0565b811461495257600080fd5b5056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220be027c8cf3d90eecfe02d67633717acba24ab5f13401ebbe0cbe92eac9ca968964736f6c6343000801003300000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e

-----Decoded View---------------
Arg [0] : PancakeSwapRouter (address): 0x10ed43c718714eb63d5aa57b78b54704e256024e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.