Contract 0x830F7A104a3dF30879D526031D57DAa44BF85686 3

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6fc6a89db83a364e46a59f930833ecddeb85c771b6438ae8ef0c0508f2b7c12bApprove131587512021-12-03 12:16:391 hr 59 mins ago0x4f6927f10e5bcb3f004d18ef202c0be68bd424e3 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00026781
0x6eb7eada39d57e36ef94503b7145d97e23f44a107a9f877dfdd546533017c23fClaim Reward131577702021-12-03 11:25:102 hrs 50 mins ago0x930c804221c2d7fdfff806d4daceaac32037544e IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x88c5e52936794dc7a6be5671346974df722af79ffbe06041d9c05809f8efca7aClaim Reward131546782021-12-03 8:48:465 hrs 27 mins ago0x2dbdac7479c4389b7cda9d59cfba701cfcab530f IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000235365
0xb5cfcef4b959a41249a930916ce960fe2506e4e7a8a2ed4249b59bfe4f9f26c3Transfer131544692021-12-03 8:37:535 hrs 38 mins ago0x3f1ab58e13e0e8684c98f4b1db18f5bc69d12505 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00053584
0x641ea5fb78ef2ceeef93a2643bbe2cb8eca2ec11b1b758b4035d034e1b70cfd5Transfer131495882021-12-03 4:30:159 hrs 45 mins ago0x23f439b9cd60a9dcbf5f9f66239f2c24e536d18e IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00044423
0x0bbf0c99b0b61c47c15588f52fc63a5ba33c2b140e6ae5b16a5ff0b4361d3cdbApprove131469712021-12-03 2:18:2911 hrs 57 mins ago0xecf2ffef84658ff3b9601b90cc367b2c728186fd IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000312445
0xa3cbc00d341dc0cfe155a1f00e068d9a441ee683114c378cdac429af7a0f2433Approve131467092021-12-03 2:05:2312 hrs 10 mins ago0xb7399e65038f13a6abd0d0aca937dfa6460911af IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000312445
0x9cde86bb023fae01a7354135c90c521eac44afe39084950381fd93c05ab5a2d8Transfer131465162021-12-03 1:55:4412 hrs 20 mins ago0xb7399e65038f13a6abd0d0aca937dfa6460911af IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00044417
0xc929b61d99d5b68a1b940f76650342fd043ab61f2bce3b0d1e9168826afb96a3Transfer131429732021-12-02 22:58:1115 hrs 17 mins ago0x327bde45711275611fd0df86bcdf7d973b996e62 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000738348
0xea5c6283e5f9b3fe66629817ae34219d10c8be1b97ec34545127b7580253c3e9Approve131410362021-12-02 21:20:4716 hrs 55 mins ago0x5a11ad28e5268c0dc0dd69284e9e63e79f094e8b IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000312445
0x4f9f30ab441753432c8a834a982d0f2f7be6c573eb58bf7a98f4e23be9670afbApprove131399272021-12-02 20:25:1417 hrs 50 mins ago0x4e49377d31762cff29511625a1f2f674469ed252 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000312445
0x948e6d2436876b4af596dfc219c2b91953a338147239f4a8fc8458bb54b0e9faApprove131392332021-12-02 19:50:3218 hrs 25 mins ago0xd982901f5d58d47af410e7998961dac66513cbdd IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0x4de0620e993dc5c346669a52d3f9b29353a732e4bdbd3099cc3b3e3eed635c13Transfer131388172021-12-02 19:29:3218 hrs 46 mins ago0xd982901f5d58d47af410e7998961dac66513cbdd IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00051929
0x03a2b4898a3861d49c46d86c829cc007512e78e9f7d8d99784dc0c0163d33f02Approve131383742021-12-02 19:07:2219 hrs 8 mins ago0xba9c1001d989643b907e43f2d3d7e34e4daa1add IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0x83aa6d359e73819d0ced73209593e27f66e7218685ddf8f0de40a4f6cf056f91Transfer131376312021-12-02 18:30:1219 hrs 45 mins ago0xddc9bd1b49d7d3d8ef936305a9337b494df108f9 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00054023
0x3c45216c629f1241d3154acccfa45c5c6bc2481822741aa1e5d8b7d19f940f9dApprove131349562021-12-02 16:15:5821 hrs 59 mins ago0x6f8bd3adc6b028dd25d87cefe48cf7f0c0c43891 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0x1e70550b022cd23e7231b8c5161e6124324ee50aabb1a3ea28033f688fd51191Approve131344982021-12-02 15:52:0822 hrs 23 mins ago0x55731337fe5efc6ad2835562e6affae14a934553 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0xae57e3114ab3095c8ad5d040589add611f5b76bc4e7ba655eb29872ed17e1c17Transfer131323002021-12-02 13:58:431 day 17 mins ago0x9a91811360b8b84ccb29a72c3eff92abae950e11 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.0006082296
0xf459f548f8e9d6efc287b384f01f51a995365a574522e95b7150b7166ac7c1faTransfer131321772021-12-02 13:52:331 day 23 mins ago0x865d7ba421803c17489df3a82be5a3f95fcfd21d IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.0007131828
0x5d18a2b4f5e8ca924b2529e11632bf4b21910776ca418db81f28ec54f5784228Approve131319862021-12-02 13:42:541 day 32 mins ago0x843d2f895ee38c06901b1d10cc6cb7dc424b714b IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00026781
0x79abe360d5f876895ce6e25be2d88c16c79b407b8ea85afde22a459f9dc76698Approve131318552021-12-02 13:36:201 day 39 mins ago0x60a5935492517dd5314ec1bc19ce0edc95c5ce3a IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0xd211c820cebdae44127f46a51ccb05f8e829065fc817a52b2a94366058c73ed4Transfer131311772021-12-02 13:01:501 day 1 hr ago0xd05d19c996eac4a10b825bb72f6bd8adaa23c450 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.0005356
0xe6b00ed8d44910274cf35a46c0d0ec3a4ae9812d1f230b266136a6012e5e05a1Claim Reward131293102021-12-02 11:24:341 day 2 hrs ago0x930c804221c2d7fdfff806d4daceaac32037544e IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x8a8cac63ec3d8a3ac46a9aae3976bb7e35ad7fe28fb36bbc9264ee51bf3de2bdClaim Reward131262492021-12-02 8:47:511 day 5 hrs ago0x2dbdac7479c4389b7cda9d59cfba701cfcab530f IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000235365
0x2819351c12281bd34553bd5837a963816560c4c866a60e7364e9edbf0806709aApprove131261682021-12-02 8:43:481 day 5 hrs ago0xf6cba3d70989cdebd4e50d9a51d523e00219d90b IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000312445
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6eb7eada39d57e36ef94503b7145d97e23f44a107a9f877dfdd546533017c23f131577702021-12-03 11:25:102 hrs 50 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x930c804221c2d7fdfff806d4daceaac32037544e0.030037947030332902 BNB
0x88c5e52936794dc7a6be5671346974df722af79ffbe06041d9c05809f8efca7a131546782021-12-03 8:48:465 hrs 27 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x2dbdac7479c4389b7cda9d59cfba701cfcab530f0.605066794222799123 BNB
0x5ae7e574facfc246242e38af9a41d6c43d262211374977d36634f8554de521d6131433702021-12-02 23:18:0214 hrs 57 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.00553364623218803 BNB
0x3199983b1488a78eb08c4aebf1d161f14d86b7f1c62a23232828700cb642926c131394682021-12-02 20:02:1718 hrs 13 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.009100707904866959 BNB
0x570732bc2e9a4cf12929eef357d3b36dcba3d855bdf27479e482d8e1926b0f94131383802021-12-02 19:07:4019 hrs 8 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.008386192293735455 BNB
0xf2a2d5fe620cf0e8785a6768a97e72bf57b4b4176286acfdd25d6ef7d36016df131318702021-12-02 13:37:051 day 38 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.046813896360915013 BNB
0xe6b00ed8d44910274cf35a46c0d0ec3a4ae9812d1f230b266136a6012e5e05a1131293102021-12-02 11:24:341 day 2 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x930c804221c2d7fdfff806d4daceaac32037544e0.032531584599067505 BNB
0x8a8cac63ec3d8a3ac46a9aae3976bb7e35ad7fe28fb36bbc9264ee51bf3de2bd131262492021-12-02 8:47:511 day 5 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x2dbdac7479c4389b7cda9d59cfba701cfcab530f0.654725952680097107 BNB
0xbce9b65c5b95460586e0126b2933c39061985497ec16ac65b36da3612d29eefe131238122021-12-02 6:42:581 day 7 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.008841813797874654 BNB
0xab974e2aceb14df81e358be78ca06c54c39aa29d51a0046ebd9554c38825f3a8131186842021-12-02 2:05:251 day 12 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.00620777265450601 BNB
0x5e17ea27fca7779acf788534a5fa0e9bdf56722231263001ac75ad66da7394b8131152242021-12-01 23:02:451 day 15 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x4513e17b4472b8a6c3dd9a58fc104e6c2115976e0.000112652937610836 BNB
0x5b0f44c1d1dcd975508c22fffc0ed369f96c8e81f1d4139dfc169447aa5821e4131061102021-12-01 15:11:181 day 23 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.254284512747437849 BNB
0xba64794316489af44052ae861be7b9ae016203767e8748bba031b35f0f994e8d131054142021-12-01 14:33:591 day 23 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.006428865469682027 BNB
0xaf3007ffad680c513f0076bbe6bc338eb53eb21ced28911cf4263e6762b49ddd131021642021-12-01 11:24:082 days 2 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x930c804221c2d7fdfff806d4daceaac32037544e0.033682992387025141 BNB
0xc9718d6969665c5da887d13055cbcac19299c06609b30599911cd880d35d0e55130994702021-12-01 8:43:142 days 5 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x2dbdac7479c4389b7cda9d59cfba701cfcab530f0.674218475353035158 BNB
0x530623a532a9a16a011405dd7936768cd422684b3fc5015452c0a2145b3d9a33130751212021-11-30 11:17:313 days 2 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x930c804221c2d7fdfff806d4daceaac32037544e0.036791064185395356 BNB
0xefcc8c38a250b49f502c7477cf17be06652883aacab69116a2adfee5e099041d130742362021-11-30 10:30:423 days 3 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.185155834896203633 BNB
0x8e2381aaa685a778e797b1174a18ac931bd90a8a18c1def1a1604c7d46267abc130722112021-11-30 8:42:403 days 5 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x4513e17b4472b8a6c3dd9a58fc104e6c2115976e0.00003710526632093 BNB
0xce47829b3dc3b641945c401dfc1dff4cedbd6a1f775126232e8d0670b844e23f130721492021-11-30 8:39:343 days 5 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x2dbdac7479c4389b7cda9d59cfba701cfcab530f0.70871030421256901 BNB
0x0ab98644393d736f55cfbc8d67d903a11978535faf249d79a7858e22670676c5130696082021-11-30 6:26:413 days 7 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.007598852017718048 BNB
0x069c5184fa0558daad462dc88cac05c2b2d6cdcc613e059a6de49c890df78312130594502021-11-29 21:13:033 days 17 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.00560543796610945 BNB
0xca0e7fd7d072d9a35d33c33f1a5551421c4bda20b33192514ddd6260887cbde0130527762021-11-29 15:11:393 days 23 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.006100615519069438 BNB
0xa65a4c747e0f6c02d185deea6e573400f3d80976730017b58353531b2415e699130486102021-11-29 11:15:564 days 2 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x930c804221c2d7fdfff806d4daceaac32037544e0.038615476103791923 BNB
0xccc0efd89fbdff71fc6d990845bc7f214bf0c27df4924df67e16eb865a754413130458072021-11-29 8:36:214 days 5 hrs ago 0x830f7a104a3df30879d526031d57daa44bf856860x2dbdac7479c4389b7cda9d59cfba701cfcab530f0.772074719065709644 BNB
0x04611920de1638a48891a1e35299cef627eb0e1eef1a23917240a4371df84a5f130435952021-11-29 6:30:434 days 7 hrs ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.005703333063439668 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
iBNB

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : iBNB.sol
// SPDX-License-Identifier: GPL - @DrGorilla_md (Tg/Twtr)

pragma solidity 0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";

/**
 * $iBNB Token
 *
 * Every tx is subject to:
 * - a sell tax, at fixed tranches (see selling_taxes_tranches and selling_taxes_rates - above the last threshold, th tx revert).
      the sell tax is applicable on tx to the uni/pancake pool. This tax goes to the reward pool.
 * - 0.1% flat to the "flexible" wallet -> burn initialy, can be fitted to new projects on the long run
 * - 9.9% to the balancer (which, in turn, fill 2 internal "pools" via the pro_balances struct: reward and liquidity).
 * - a "check and trigger" on both liquidity and reward internal pools -> if they have more token than the threshold, swap is triggered
 *   and BNB are stored in the contract (for the reward subpool) or liquidity is added to the uni pool.
 *   The threshold is adapted to market conditions (via a nodeJS bot)
 *
 * Reward is claimable daily, and is based on the % of the circulating supply (defined as total_supply-dead address balance-pool balance)
 *  owned by the claimer; on the time since the last transfer into owner's wallet module 24; on the BNB balance of the contract :
 *
 *           reward in BNB = (token owned / circulating supply) * [(current time - last transfer in) % 24] / 1 day * BNB contract balance
 *
 * Feel free to reach out for tech chat Tg/CT: @ DrGorilla_md
 *
 *                    -- Godspeed --
 */

contract iBNB is Ownable, IERC20 {
    using SafeMath for uint256;

    struct past_tx {
      uint256 cum_transfer; //this is not what you think, you perv
      uint256 last_timestamp;
      uint256 last_claim;
    }

    struct prop_balances {
      uint256 reward_pool;
      uint256 liquidity_pool;
    }

    mapping (address => uint256) private _balances;
    mapping (address => past_tx) private _last_tx;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private excluded;

    uint8 private _decimals = 9;
    uint8 public pcs_pool_to_circ_ratio = 10;

    uint32 public reward_rate = 1 days;

    uint256 private _totalSupply = 10**15 * 10**_decimals;
    uint256 public swap_for_liquidity_threshold = 10**13 * 10**_decimals; //1%
    uint256 public swap_for_reward_threshold = 10**13 * 10**_decimals;

    uint8[4] public selling_taxes_rates = [2, 4, 6, 8];
    uint8[5] public claiming_taxes_rates = [2, 4, 6, 8, 15];
    uint16[5] public selling_taxes_tranches = [125, 250, 500, 750, 1000]; // % and div by 10**4 0.0125% -0.025% -(...)

    bool public circuit_breaker;
    bool private liq_swap_reentrancy_guard;
    bool private reward_swap_reentrancy_guard;

    string private _name = "iBNB";
    string private _symbol = "iBNB";

    address public LP_recipient;
    address public devWallet;

    IUniswapV2Pair public pair;
    IUniswapV2Router02 public router;

    prop_balances private balancer_balances;

    event TaxRatesChanged();
    event SwapForBNB(string);
    event BalancerPools(uint256,uint256);
    event RewardTaxChanged();
    event AddLiq(string);
    event balancerReset(uint256, uint256);

    constructor (address _router) {
         //create pair to get the pair address
         router = IUniswapV2Router02(_router);
         IUniswapV2Factory factory = IUniswapV2Factory(router.factory());
         pair = IUniswapV2Pair(factory.createPair(address(this), router.WETH()));

         LP_recipient = address(0x000000000000000000000000000000000000dEaD); //LP token: burn
         devWallet = address(0x000000000000000000000000000000000000dEaD); //0.1%: burn

         excluded[msg.sender] = true;
         excluded[address(this)] = true;
         excluded[devWallet] = true; //exclude burn address from max_tx

         circuit_breaker = true; //ERC20 behavior by default/presale
         
         _balances[msg.sender] = _totalSupply;
         emit Transfer(address(0), msg.sender, _totalSupply);
    }

    function decimals() public view returns (uint256) {
         return _decimals;
    }
    function name() public view returns (string memory) {
        return _name;
    }
    function symbol() public view returns (string memory) {
        return _symbol;
    }
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        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 _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        
        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");

        uint256 sell_tax;
        uint256 dev_tax;
        uint256 balancer_amount;
        
        //>1 day since last tx
        if(block.timestamp > _last_tx[sender].last_timestamp + 1 days) {
          _last_tx[sender].cum_transfer = 0; // a.k.a The Virgin
        }


        if(excluded[sender] == false && excluded[recipient] == false && circuit_breaker == false) {
        
          (uint112 _reserve0, uint112 _reserve1,) = pair.getReserves(); // returns reserve0, reserve1, timestamp last tx
          if(address(this) != pair.token0()) { // 0 := iBNB
            (_reserve0, _reserve1) = (_reserve1, _reserve0);
          }
          
        // ----  Sell tax  ----
          if(recipient == address(pair)) {
            sell_tax = sellingTax(sender, amount, _reserve0); //will update the balancer ledger too
          }
          
        // ------ "flexible"/dev tax 0.1% -------
          dev_tax = amount.div(1000);

        // ------ balancer tax 9.9% ------
          balancer_amount = amount.mul(99).div(1000);
          balancer(balancer_amount, _reserve0);

          //@dev every extra token are collected into address(this), it's the balancer job to then split them
          //between pool and reward, using the dedicated struct
          _balances[address(this)] += sell_tax.add(balancer_amount);
          _balances[devWallet] += dev_tax;
        }
        //else, by default:
        //  sell_tax = 0;
        //  dev_tax = 0;
        //  balancer_amount = 0;


        //reward reinit
        _last_tx[recipient].last_timestamp = block.timestamp;

        _balances[sender] = senderBalance.sub(amount);
        _balances[recipient] += amount.sub(sell_tax).sub(dev_tax).sub(balancer_amount);

        emit Transfer(sender, recipient, amount);
        emit Transfer(sender, address(this), sell_tax);
        emit Transfer(sender, address(this), balancer_amount);
        emit Transfer(sender, devWallet, dev_tax);
    }

    //@dev take a selling tax if transfer from a non-excluded address or from the pair contract exceed
    //the thresholds defined in selling_taxes_thresholds on 24h floating window
    function sellingTax(address sender, uint256 amount, uint256 pool_balance) internal returns(uint256 sell_tax) {
        uint16[5] memory _tax_tranches = selling_taxes_tranches;
        past_tx memory sender_last_tx = _last_tx[sender];

        uint256 new_cum_sum = amount.add(_last_tx[sender].cum_transfer);

        if(new_cum_sum > pool_balance.mul(_tax_tranches[4]).div(10**4)) {
          revert("Selling tax: above max amount");
        }
        else if(new_cum_sum > pool_balance.mul(_tax_tranches[3]).div(10**4)) {
          sell_tax = amount.mul(selling_taxes_rates[3]).div(100);
        }
        else if(new_cum_sum > pool_balance.mul(_tax_tranches[2]).div(10**4)) {
          sell_tax = amount.mul(selling_taxes_rates[2]).div(100);
        }
        else if(new_cum_sum > pool_balance.mul(_tax_tranches[1]).div(10**4)) {
          sell_tax = amount.mul(selling_taxes_rates[1]).div(100);
        }
        else if(new_cum_sum > pool_balance.mul(_tax_tranches[0]).div(10**4)) {
          sell_tax = amount.mul(selling_taxes_rates[0]).div(100);
        }
        else { sell_tax = 0; }

        _last_tx[sender].cum_transfer = sender_last_tx.cum_transfer.add(amount);

        balancer_balances.reward_pool += sell_tax; //sell tax is for reward:)

        return sell_tax;
    }

    //@dev take the 9.9% taxes as input, split it between reward and liq subpools
    //    according to pool condition -> circ-pool/circ supply closer to one implies
    //    priority to the reward pool
    function balancer(uint256 amount, uint256 pool_balance) internal {

        address DEAD = address(0x000000000000000000000000000000000000dEaD);
        uint256 unwght_circ_supply = totalSupply().sub(_balances[DEAD]);

        // we aim at a set % of liquidity pool (defaut 10% of circ supply), 100% in pancake swap is NOT a good news
        uint256 circ_supply = (pool_balance < unwght_circ_supply * pcs_pool_to_circ_ratio / 100) ? unwght_circ_supply * pcs_pool_to_circ_ratio / 100 : pool_balance;



        balancer_balances.liquidity_pool += (amount.mul(circ_supply.sub(pool_balance)).mul(10**9).div(circ_supply)).div(10**9);
        balancer_balances.reward_pool += (amount.mul(circ_supply.sub((circ_supply.sub(pool_balance)))).mul(10**9).div(circ_supply)).div(10**9);

        prop_balances memory _balancer_balances = balancer_balances;

        if(_balancer_balances.liquidity_pool >= swap_for_liquidity_threshold && !liq_swap_reentrancy_guard) {
            liq_swap_reentrancy_guard = true;
            uint256 token_out = addLiquidity(_balancer_balances.liquidity_pool);
            balancer_balances.liquidity_pool -= token_out; //not balanceOf, in case addLiq revert
            liq_swap_reentrancy_guard = false;
        }

        if(_balancer_balances.reward_pool >= swap_for_reward_threshold && !reward_swap_reentrancy_guard) {
            reward_swap_reentrancy_guard = true;
            uint256 token_out = swapForBNB(_balancer_balances.reward_pool, address(this));
            balancer_balances.reward_pool -= token_out;
            reward_swap_reentrancy_guard = false;
        }

        emit BalancerPools(_balancer_balances.liquidity_pool, _balancer_balances.reward_pool);
    }

    //@dev when triggered, will swap and provide liquidity
    //    BNBfromSwap being the difference between and after the swap, slippage
    //    will result in extra-BNB for the reward pool (free money for the guys:)
    function addLiquidity(uint256 token_amount) internal returns (uint256) {
      uint256 BNBfromReward = address(this).balance;

      address[] memory route = new address[](2);
      route[0] = address(this);
      route[1] = router.WETH();

      if(allowance(address(this), address(router)) < token_amount) {
        _allowances[address(this)][address(router)] = ~uint256(0);
        emit Approval(address(this), address(router), ~uint256(0));
      }
      
      //odd numbers management
      uint256 half = token_amount.div(2);
      uint256 half_2 = token_amount.sub(half);
      
      try router.swapExactTokensForETHSupportingFeeOnTransferTokens(half, 0, route, address(this), block.timestamp) {
        uint256 BNBfromSwap = address(this).balance.sub(BNBfromReward);
        router.addLiquidityETH{value: BNBfromSwap}(address(this), half_2, 0, 0, LP_recipient, block.timestamp); //will not be catched
        emit AddLiq("addLiq: ok");
        return token_amount;
      }
      catch {
        emit AddLiq("addLiq: fail");
        return 0;
      }
    }

    //@dev individual reward is growing linearly througout 24h, and is the portion of the reward pool
    //     weighted by the "free" (ie non-pool non-death) supply owned.
    //     reward = (balance/free supply) * [(now - lastClaim) / 1d] * BNB_balance
    //     If an extra-buy occurs in the last 24h, reset 24h timer (in sell tax)
    //     (frontend will automatize claim then buy)
    //     returns net reward and tax on the reward
    function computeReward() public view returns(uint256, uint256 tax_to_pay) {

      past_tx memory sender_last_tx = _last_tx[msg.sender];

      if(sender_last_tx.last_claim + reward_rate > block.timestamp) { // 1 claim every 24h max
        return (0, 0);//too soon (that's what she said)
      }

      address DEAD = address(0x000000000000000000000000000000000000dEaD);

      uint256 claimable_supply = totalSupply().sub(_balances[DEAD]).sub(_balances[address(pair)]);
      uint256 time_factor = (block.timestamp - sender_last_tx.last_timestamp) % reward_rate;

      uint256 _nom = _balances[msg.sender].mul(time_factor).mul(address(this).balance);
      uint256 _denom = claimable_supply.mul(1 days);
      uint256 gross_reward_in_BNB = _nom.div(_denom);
      tax_to_pay = taxOnClaim(gross_reward_in_BNB);
      return (gross_reward_in_BNB.sub(tax_to_pay), tax_to_pay);
    }

    //@dev Compute the tax on claimed reward - labelled in BNB (as per team agreement)
    function taxOnClaim(uint256 amount) internal view returns(uint256 tax){

      if(amount > 2 ether) { return amount.mul(claiming_taxes_rates[4]).div(100); }
      else if(amount > 1.50 ether) { return amount.mul(claiming_taxes_rates[3]).div(100); }
      else if(amount > 1 ether) { return amount.mul(claiming_taxes_rates[2]).div(100); }
      else if(amount > 0.5 ether) { return amount.mul(claiming_taxes_rates[1]).div(100); }
      else if(amount > 0.25 ether) { return amount.mul(claiming_taxes_rates[0]).div(100); }
      else { return 0; }

    }

    //@dev frontend integration
    function endOfPeriod() external view returns (uint256) {
      return _last_tx[msg.sender].last_claim + reward_rate;
    }

    //@dev computeReward check if last claim is less than 1d ago
    function claimReward() external {
      (uint256 claimable, uint256 tax) = computeReward();
      require(claimable > 0, "Claim: 0");
      _last_tx[msg.sender].last_claim = block.timestamp;
      emit Transfer(msg.sender, address(this), tax);
      safeTransferETH(msg.sender, claimable);
    }

    function swapForBNB(uint256 token_amount, address receiver) internal returns (uint256) {
      address[] memory route = new address[](2);
      route[0] = address(this);
      route[1] = router.WETH();

      if(allowance(address(this), address(router)) < token_amount) {
        _allowances[address(this)][address(router)] = ~uint256(0);
        emit Approval(address(this), address(router), ~uint256(0));
      }

      try router.swapExactTokensForETHSupportingFeeOnTransferTokens(token_amount, 0, route, receiver, block.timestamp) {
        emit SwapForBNB("Swap success");
        return token_amount;
      }
      catch Error(string memory _err) {
        emit SwapForBNB(_err);
        return 0;
      }
    }

    //@dev taken from uniswapV2 TransferHelper lib
    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }

    function excludeFromTaxes(address adr) external onlyOwner {
      require(!excluded[adr], "already excluded");
      excluded[adr] = true;
    }

    function includeInTaxes(address adr) external onlyOwner {
      require(excluded[adr], "already taxed");
      excluded[adr] = false;
    }

    function isExcluded(address adr) external view returns (bool){
      return excluded[adr];
    }

    function resetBalancer() external onlyOwner {
      uint256 _contract_balance = _balances[address(this)];
      balancer_balances.reward_pool = _contract_balance.div(2);
      balancer_balances.liquidity_pool = _contract_balance.div(2);
      emit balancerReset(balancer_balances.reward_pool, balancer_balances.liquidity_pool);
    }

    //@dev will bypass all the taxes and act as erc20.
    //     pools & balancer balances will remain untouched
    function setCircuitBreaker(bool status) external onlyOwner {
      circuit_breaker = status;
    }

    //@dev default = burn
    function setLPRecipient(address _LP_recipient) external onlyOwner {
      LP_recipient = _LP_recipient;
    }

    function setDevWallet(address _devWallet) external onlyOwner {
      devWallet = _devWallet;
    }

    function setSwapFor_Liq_Threshold(uint128 threshold_in_token) external onlyOwner {
      swap_for_liquidity_threshold = threshold_in_token * 10**_decimals;
    }

    function setSwapFor_Reward_Threshold(uint128 threshold_in_token) external onlyOwner {
      swap_for_reward_threshold = threshold_in_token * 10**_decimals;
    }

    function setSellingTaxesTranches(uint16[5] memory new_tranches) external onlyOwner {
      selling_taxes_tranches = new_tranches;
      emit TaxRatesChanged();
    }

    function setSellingTaxesrates(uint8[4] memory new_amounts) external onlyOwner {
      selling_taxes_rates = new_amounts;
      emit TaxRatesChanged();
    }

    function setRewardTaxesTranches(uint8[5] memory new_tranches) external onlyOwner {
      claiming_taxes_rates = new_tranches;
      emit RewardTaxChanged();
    }

    function setRewardRate(uint32 new_periodicity) external onlyOwner {
      reward_rate = new_periodicity;
    }

    //@dev fallback in order to receive BNB from swapToBNB
    receive () external payable {}
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/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 3 of 9 : 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 9 : 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 {
    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 5 of 9 : 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 6 of 9 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 7 of 9 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 8 of 9 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 9 of 9 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"","type":"string"}],"name":"AddLiq","type":"event"},{"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":"","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"BalancerPools","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":[],"name":"RewardTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"","type":"string"}],"name":"SwapForBNB","type":"event"},{"anonymous":false,"inputs":[],"name":"TaxRatesChanged","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"balancerReset","type":"event"},{"inputs":[],"name":"LP_recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circuit_breaker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claiming_taxes_rates","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"computeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"tax_to_pay","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endOfPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"excludeFromTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"includeInTaxes","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":"adr","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcs_pool_to_circ_ratio","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetBalancer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reward_rate","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"selling_taxes_rates","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"selling_taxes_tranches","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setCircuitBreaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_LP_recipient","type":"address"}],"name":"setLPRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"new_periodicity","type":"uint32"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[5]","name":"new_tranches","type":"uint8[5]"}],"name":"setRewardTaxesTranches","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[5]","name":"new_tranches","type":"uint16[5]"}],"name":"setSellingTaxesTranches","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[4]","name":"new_amounts","type":"uint8[4]"}],"name":"setSellingTaxesrates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"threshold_in_token","type":"uint128"}],"name":"setSwapFor_Liq_Threshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"threshold_in_token","type":"uint128"}],"name":"setSwapFor_Reward_Threshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swap_for_liquidity_threshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swap_for_reward_threshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

608060405260058054600960ff199091161761ff001916610a001765ffffffff0000191664015180000017908190556200003e9060ff16600a62000719565b620000519066038d7ea4c6800062000804565b600655600554620000679060ff16600a62000719565b62000079906509184e72a00062000804565b6007556005546200008f9060ff16600a62000719565b620000a1906509184e72a00062000804565b600890815560408051608081018252600281526004602082018190526006928201929092526060810192909252620000dc91600991620004c2565b506040805160a081018252600281526004602082015260069181019190915260086060820152600f60808201526200011990600a906005620004c2565b506040805160a081018252607d815260fa60208201526101f4918101919091526102ee60608201526103e860808201526200015990600b9060056200055c565b506040805180820190915260048082526334a1272160e11b60209092019182526200018791600d91620005e5565b506040805180820190915260048082526334a1272160e11b6020909201918252620001b591600e91620005e5565b50348015620001c357600080fd5b506040516200399438038062003994833981016040819052620001e69162000679565b6000620001f2620004be565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601280546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b815290516000939092169163c45a015591600480820192602092909190829003018186803b1580156200029b57600080fd5b505afa158015620002b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d6919062000679565b9050806001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200033757600080fd5b505afa1580156200034c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000372919062000679565b6040518363ffffffff1660e01b815260040162000391929190620006a9565b602060405180830381600087803b158015620003ac57600080fd5b505af1158015620003c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003e7919062000679565b601180546001600160a01b039283166001600160a01b031991821617909155600f8054821661dead90811790915560108054909216178155336000818152600460209081526040808320805460ff1990811660019081179092553085528285208054821683179055955490961683528083208054861687179055600c80549095168617909455600654838352949052828120849055915190927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620004ae9190620006c3565b60405180910390a3505062000879565b3390565b6001830191839082156200054a5791602002820160005b838211156200051957835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302620004d9565b8015620005485782816101000a81549060ff021916905560010160208160000104928301926001030262000519565b505b506200055892915062000662565b5090565b6001830191839082156200054a5791602002820160005b83821115620005b557835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000573565b8015620005485782816101000a81549061ffff0219169055600201602081600101049283019260010302620005b5565b828054620005f39062000826565b90600052602060002090601f0160209004810192826200061757600085556200054a565b82601f106200063257805160ff19168380011785556200054a565b828001600101855582156200054a579182015b828111156200054a57825182559160200191906001019062000645565b5b8082111562000558576000815560010162000663565b6000602082840312156200068b578081fd5b81516001600160a01b0381168114620006a2578182fd5b9392505050565b6001600160a01b0392831681529116602082015260400190565b90815260200190565b80825b6001808611620006e0575062000710565b818704821115620006f557620006f562000863565b808616156200070357918102915b9490941c938002620006cf565b94509492505050565b6000620006a260001960ff8516846000826200073857506001620006a2565b816200074757506000620006a2565b81600181146200076057600281146200076b576200079f565b6001915050620006a2565b60ff8411156200077f576200077f62000863565b6001841b91508482111562000798576200079862000863565b50620006a2565b5060208310610133831016604e8410600b8410161715620007d7575081810a83811115620007d157620007d162000863565b620006a2565b620007e68484846001620006cc565b808604821115620007fb57620007fb62000863565b02949350505050565b600081600019048311821515161562000821576200082162000863565b500290565b6002810460018216806200083b57607f821691505b602082108114156200085d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61310b80620008896000396000f3fe6080604052600436106102555760003560e01c80638ac6e33a11610139578063b88a802f116100b6578063e0e283361161007a578063e0e2833614610697578063ed995c60146106ba578063f22b1084146106da578063f2fde38b146106fa578063f887ea401461071a578063fb3fbc121461072f5761025c565b8063b88a802f14610602578063ca882eda14610617578063cba0e99614610637578063d9a86cdf14610657578063dd62ed3e146106775761025c565b8063983e9158116100fd578063983e91581461056b5780639e0ffbce1461058b578063a457c2d7146105ad578063a8aa1b31146105cd578063a9059cbb146105e25761025c565b80638ac6e33a146104f75780638da5cb5b146105175780638ea5220f1461052c57806395d89b4114610541578063961a31ce146105565761025c565b80631f53ac02116101d257806333a464701161019657806333a464701461044d578063395093511461046d578063425064491461048d57806367250b59146104ad57806370a08231146104c2578063715018a6146104e25761025c565b80631f53ac02146103c1578063222b03f6146103e157806323b872dd146103f6578063313ce5671461041657806332fb782b1461042b5761025c565b8063131e00b711610219578063131e00b71461032a57806313a55aa51461034a57806316e6fa101461036a57806318160ddd146103975780631e776cbf146103ac5761025c565b806301faf61a146102615780630281d18e1461028357806306fdde03146102b9578063095ea7b3146102db5780630ce6bb6f146103085761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612894565b610744565b005b34801561028f57600080fd5b506102a361029e36600461284f565b6107b0565b6040516102b09190612d76565b60405180910390f35b3480156102c557600080fd5b506102ce6107da565b6040516102b09190612926565b3480156102e757600080fd5b506102fb6102f636600461265b565b61086d565b6040516102b0919061291b565b34801561031457600080fd5b5061031d61088b565b6040516102b09190612cde565b34801561033657600080fd5b506102816103453660046125ab565b610891565b34801561035657600080fd5b5061028161036536600461275f565b61092d565b34801561037657600080fd5b5061038a61038536600461284f565b6109a6565b6040516102b09190612ccf565b3480156103a357600080fd5b5061031d6109d4565b3480156103b857600080fd5b506102a36109da565b3480156103cd57600080fd5b506102816103dc3660046125ab565b6109e8565b3480156103ed57600080fd5b5061031d610a49565b34801561040257600080fd5b506102fb61041136600461261b565b610a4f565b34801561042257600080fd5b5061031d610ae8565b34801561043757600080fd5b50610440610af1565b6040516102b091906128cc565b34801561045957600080fd5b50610281610468366004612828565b610b00565b34801561047957600080fd5b506102fb61048836600461265b565b610b69565b34801561049957600080fd5b506102816104a83660046127c2565b610bb8565b3480156104b957600080fd5b50610281610c0a565b3480156104ce57600080fd5b5061031d6104dd3660046125ab565b610cb4565b3480156104ee57600080fd5b50610281610cd3565b34801561050357600080fd5b50610281610512366004612828565b610d5c565b34801561052357600080fd5b50610440610dc5565b34801561053857600080fd5b50610440610dd4565b34801561054d57600080fd5b506102ce610de3565b34801561056257600080fd5b5061031d610df2565b34801561057757600080fd5b506102816105863660046125ab565b610e26565b34801561059757600080fd5b506105a0610ebe565b6040516102b09190612d65565b3480156105b957600080fd5b506102fb6105c836600461265b565b610ed0565b3480156105d957600080fd5b50610440610f4b565b3480156105ee57600080fd5b506102fb6105fd36600461265b565b610f5a565b34801561060e57600080fd5b50610281610f6e565b34801561062357600080fd5b50610281610632366004612686565b610fe9565b34801561064357600080fd5b506102fb6106523660046125ab565b611062565b34801561066357600080fd5b506102816106723660046126fc565b611080565b34801561068357600080fd5b5061031d6106923660046125e3565b6110cc565b3480156106a357600080fd5b506106ac6110f7565b6040516102b0929190612d57565b3480156106c657600080fd5b506102816106d53660046125ab565b61125b565b3480156106e657600080fd5b506102a36106f536600461284f565b6112bc565b34801561070657600080fd5b506102816107153660046125ab565b6112cc565b34801561072657600080fd5b5061044061138c565b34801561073b57600080fd5b506102fb61139b565b61074c6113a4565b6001600160a01b031661075d610dc5565b6001600160a01b03161461078c5760405162461bcd60e51b815260040161078390612adc565b60405180910390fd5b6005805463ffffffff909216620100000265ffffffff000019909216919091179055565b600981600481106107c057600080fd5b60209182820401919006915054906101000a900460ff1681565b6060600d80546107e990612f65565b80601f016020809104026020016040519081016040528092919081815260200182805461081590612f65565b80156108625780601f1061083757610100808354040283529160200191610862565b820191906000526020600020905b81548152906001019060200180831161084557829003601f168201915b505050505090505b90565b600061088161087a6113a4565b84846113a8565b5060015b92915050565b60085481565b6108996113a4565b6001600160a01b03166108aa610dc5565b6001600160a01b0316146108d05760405162461bcd60e51b815260040161078390612adc565b6001600160a01b03811660009081526004602052604090205460ff16156109095760405162461bcd60e51b815260040161078390612c60565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6109356113a4565b6001600160a01b0316610946610dc5565b6001600160a01b03161461096c5760405162461bcd60e51b815260040161078390612adc565b610979600a826005612457565b506040517ffa718b2e3c4eff6c1ad7f30d8799d768c9c9c172a31e28102f58e23bdf2550c790600090a150565b600b81600581106109b657600080fd5b60109182820401919006600202915054906101000a900461ffff1681565b60065490565b600554610100900460ff1681565b6109f06113a4565b6001600160a01b0316610a01610dc5565b6001600160a01b031614610a275760405162461bcd60e51b815260040161078390612adc565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60075481565b6000610a5c84848461145c565b6001600160a01b038416600090815260036020526040812081610a7d6113a4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054905082811015610ac05760405162461bcd60e51b815260040161078390612a94565b610adb85610acc6113a4565b610ad68685612f1e565b6113a8565b60019150505b9392505050565b60055460ff1690565b600f546001600160a01b031681565b610b086113a4565b6001600160a01b0316610b19610dc5565b6001600160a01b031614610b3f5760405162461bcd60e51b815260040161078390612adc565b600554610b509060ff16600a612e2e565b610b63906001600160801b038316612eff565b60085550565b6000610881610b766113a4565b848460036000610b846113a4565b6001600160a01b03908116825260208083019390935260409182016000908120918b1681529252902054610ad69190612dbc565b610bc06113a4565b6001600160a01b0316610bd1610dc5565b6001600160a01b031614610bf75760405162461bcd60e51b815260040161078390612adc565b600c805460ff1916911515919091179055565b610c126113a4565b6001600160a01b0316610c23610dc5565b6001600160a01b031614610c495760405162461bcd60e51b815260040161078390612adc565b30600090815260016020526040902054610c648160026118c1565b601355610c728160026118c1565b60148190556013546040517feac7c420776212140a54f51e3179e218232d622b4fa6556ab2ef0b973c0f5ab092610ca99291612d57565b60405180910390a150565b6001600160a01b0381166000908152600160205260409020545b919050565b610cdb6113a4565b6001600160a01b0316610cec610dc5565b6001600160a01b031614610d125760405162461bcd60e51b815260040161078390612adc565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610d646113a4565b6001600160a01b0316610d75610dc5565b6001600160a01b031614610d9b5760405162461bcd60e51b815260040161078390612adc565b600554610dac9060ff16600a612e2e565b610dbf906001600160801b038316612eff565b60075550565b6000546001600160a01b031690565b6010546001600160a01b031681565b6060600e80546107e990612f65565b600554336000908152600260208190526040822001549091610e21916201000090910463ffffffff1690612dbc565b905090565b610e2e6113a4565b6001600160a01b0316610e3f610dc5565b6001600160a01b031614610e655760405162461bcd60e51b815260040161078390612adc565b6001600160a01b03811660009081526004602052604090205460ff16610e9d5760405162461bcd60e51b815260040161078390612a6d565b6001600160a01b03166000908152600460205260409020805460ff19169055565b60055462010000900463ffffffff1681565b60008060036000610edf6113a4565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610f2b5760405162461bcd60e51b815260040161078390612c8a565b610f41610f366113a4565b85610ad68685612f1e565b5060019392505050565b6011546001600160a01b031681565b6000610881610f676113a4565b848461145c565b600080610f796110f7565b9150915060008211610f9d5760405162461bcd60e51b815260040161078390612a4b565b3360008181526002602081905260409182902042910155513091906000805160206130b683398151915290610fd3908590612cde565b60405180910390a3610fe533836118cd565b5050565b610ff16113a4565b6001600160a01b0316611002610dc5565b6001600160a01b0316146110285760405162461bcd60e51b815260040161078390612adc565b611035600b8260056124ea565b506040517f3aaf767b2e63f4c5f274684ce36da44af23d293465914ee94908682af41e652790600090a150565b6001600160a01b031660009081526004602052604090205460ff1690565b6110886113a4565b6001600160a01b0316611099610dc5565b6001600160a01b0316146110bf5760405162461bcd60e51b815260040161078390612adc565b6110356009826004612457565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3360009081526002602081815260408084208151606081018352815481526001820154938101939093529092015491810182905260055483924291611149916201000090910463ffffffff1690612dbc565b111561115c576000809250925050611257565b6011546001600160a01b031660009081526001602052604081205461dead8083527fb34209a263f6c38fe55f099e9e70f9d67e93982480ff3234a5e0108028ad164d549092916111b6916111b090816109d4565b9061195f565b90506000600560029054906101000a900463ffffffff1663ffffffff168460200151426111e39190612f1e565b6111ed9190612fa0565b3360009081526001602052604081205491925090611217904790611211908561196b565b9061196b565b90506000611228846201518061196b565b9050600061123683836118c1565b905061124181611977565b975061124d818961195f565b9850505050505050505b9091565b6112636113a4565b6001600160a01b0316611274610dc5565b6001600160a01b03161461129a5760405162461bcd60e51b815260040161078390612adc565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b600a81600581106107c057600080fd5b6112d46113a4565b6001600160a01b03166112e5610dc5565b6001600160a01b03161461130b5760405162461bcd60e51b815260040161078390612adc565b6001600160a01b0381166113315760405162461bcd60e51b815260040161078390612959565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6012546001600160a01b031681565b600c5460ff1681565b3390565b6001600160a01b0383166113ce5760405162461bcd60e51b815260040161078390612bd9565b6001600160a01b0382166113f45760405162461bcd60e51b81526004016107839061299f565b6001600160a01b0380841660008181526003602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061144f908590612cde565b60405180910390a3505050565b6001600160a01b0383166114825760405162461bcd60e51b815260040161078390612b48565b6001600160a01b038316600090815260016020526040902054818110156114bb5760405162461bcd60e51b8152600401610783906129e1565b6001600160a01b038416600090815260026020526040812060010154819081906114e89062015180612dbc565b421115611509576001600160a01b0387166000908152600260205260408120555b6001600160a01b03871660009081526004602052604090205460ff1615801561154b57506001600160a01b03861660009081526004602052604090205460ff16155b801561155a5750600c5460ff16155b1561175457600080601160009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156115b057600080fd5b505afa1580156115c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e891906127e2565b5091509150601160009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561163b57600080fd5b505afa15801561164f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167391906125c7565b6001600160a01b0316306001600160a01b03161461168d57905b6011546001600160a01b03898116911614156116ba576116b78988846001600160701b0316611a45565b94505b6116c6876103e86118c1565b93506116df6103e86116d989606361196b565b906118c1565b92506116f483836001600160701b0316611c3d565b6116fe8584611e78565b306000908152600160205260408120805490919061171d908490612dbc565b90915550506010546001600160a01b03166000908152600160205260408120805486929061174c908490612dbc565b909155505050505b6001600160a01b03861660009081526002602052604090204260019091015561177d848661195f565b6001600160a01b0388166000908152600160205260409020556117a6816111b08481898861195f565b6001600160a01b038716600090815260016020526040812080549091906117ce908490612dbc565b92505081905550856001600160a01b0316876001600160a01b03166000805160206130b6833981519152876040516118069190612cde565b60405180910390a3306001600160a01b0316876001600160a01b03166000805160206130b68339815191528560405161183f9190612cde565b60405180910390a3306001600160a01b0316876001600160a01b03166000805160206130b6833981519152836040516118789190612cde565b60405180910390a36010546040516001600160a01b03918216918916906000805160206130b6833981519152906118b0908690612cde565b60405180910390a350505050505050565b6000610ae18284612dd4565b604080516000808252602082019092526001600160a01b0384169083906040516118f791906128b0565b60006040518083038185875af1925050503d8060008114611934576040519150601f19603f3d011682016040523d82523d6000602084013e611939565b606091505b505090508061195a5760405162461bcd60e51b815260040161078390612c1d565b505050565b6000610ae18284612f1e565b6000610ae18284612eff565b6000671bc16d674ec800008211156119b9576119b260646116d9600a60045b6020810491909101548691601f166101000a900460ff1661196b565b9050610cce565b6714d1120d7b1600008211156119da576119b260646116d9600a6003611996565b670de0b6b3a76400008211156119fb576119b260646116d9600a6002611996565b6706f05b59d3b20000821115611a1c576119b260646116d9600a6001611996565b6703782dace9d90000821115611a3d576119b260646116d9600a6000611996565b506000610cce565b6040805160a0810191829052600091829190600b906005908285855b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611a6157505050506001600160a01b03881660008181526002602081815260408084208151606081018352815480825260018301548286015291850154928101929092529484529190529495509250611aee91508790611e78565b9050611b0d6127106116d98560045b6020020151889061ffff1661196b565b811115611b2c5760405162461bcd60e51b815260040161078390612b11565b611b3d6127106116d9856003611afd565b811115611b7457611b6d60646116d9600960035b6020810491909101548a91601f166101000a900460ff1661196b565b9350611bf4565b611b856127106116d9856002611afd565b811115611b9d57611b6d60646116d960096002611b51565b611bae6127106116d9856001611afd565b811115611bc657611b6d60646116d960096001611b51565b611bd76127106116d9856000611afd565b811115611bef57611b6d60646116d960096000611b51565b600093505b8151611c009087611e78565b6001600160a01b03881660009081526002602052604081209190915560138054869290611c2e908490612dbc565b90915550505050509392505050565b61dead600081815260016020527fb34209a263f6c38fe55f099e9e70f9d67e93982480ff3234a5e0108028ad164d54611c78906111b06109d4565b600554909150600090606490611c9690610100900460ff1684612eff565b611ca09190612dd4565b8410611cac5783611cce565b600554606490611cc490610100900460ff1684612eff565b611cce9190612dd4565b9050611cf2633b9aca006116d9838183611211611ceb848c61195f565b8c9061196b565b60148054600090611d04908490612dbc565b90915550611d2f9050633b9aca006116d9838183611211611ceb611d28858d61195f565b899061195f565b60138054600090611d41908490612dbc565b90915550506040805180820190915260135481526014546020820181905260075411801590611d785750600c54610100900460ff16155b15611dc657600c805461ff0019166101001790556020810151600090611d9d90611e84565b90508060136001016000828254611db49190612f1e565b9091555050600c805461ff0019169055505b600854815110801590611de25750600c5462010000900460ff16155b15611e3157600c805462ff00001916620100001790558051600090611e0790306121c3565b90508060136000016000828254611e1e9190612f1e565b9091555050600c805462ff000019169055505b602081015181516040517fb05a5c60182995cbe8b5d64191ecb58d9ece5049b395067659fd414adf97d5fd92611e68929091612d57565b60405180910390a1505050505050565b6000610ae18284612dbc565b6040805160028082526060820183526000924792849290916020830190803683370190505090503081600081518110611ecd57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611f2157600080fd5b505afa158015611f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5991906125c7565b81600181518110611f7a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526012548591611fa1913091166110cc565b101561201557306000818152600360209081526040808320601280546001600160a01b03908116865291909352928190206000199081905591549051921692917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259161200c91612cde565b60405180910390a35b60006120228560026118c1565b90506000612030868361195f565b60125460405163791ac94760e01b81529192506001600160a01b03169063791ac9479061206a908590600090889030904290600401612ce7565b600060405180830381600087803b15801561208457600080fd5b505af1925050508015612095575060015b6120db577facabbd54c23d6a523d8111565d14ae729de6bbe5ea4707cb6162c24d4fae03f46040516120c690612b8d565b60405180910390a16000945050505050610cce565b60006120e7478661195f565b601254600f5460405163f305d71960e01b81529293506001600160a01b039182169263f305d71992859261212c923092899260009283929091169042906004016128e0565b6060604051808303818588803b15801561214557600080fd5b505af1158015612159573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061217e9190612867565b5050507facabbd54c23d6a523d8111565d14ae729de6bbe5ea4707cb6162c24d4fae03f46040516121ae90612a27565b60405180910390a18695505050505050610cce565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061220a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561225e57600080fd5b505afa158015612272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229691906125c7565b816001815181106122b757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260125485916122de913091166110cc565b101561235257306000818152600360209081526040808320601280546001600160a01b03908116865291909352928190206000199081905591549051921692917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259161234991612cde565b60405180910390a35b60125460405163791ac94760e01b81526001600160a01b039091169063791ac9479061238b908790600090869089904290600401612ce7565b600060405180830381600087803b1580156123a557600080fd5b505af19250505080156123b6575060015b612419576123c2612fe6565b806123cd575061240f565b7f63f96232640ee3b5914be68a756c36599d36b83c5f2ca097c9c40afdf6f7fc2d816040516123fc9190612926565b60405180910390a1600092505050610885565b3d6000803e3d6000fd5b7f63f96232640ee3b5914be68a756c36599d36b83c5f2ca097c9c40afdf6f7fc2d60405161244690612bb3565b60405180910390a183915050610885565b6001830191839082156124da5791602002820160005b838211156124ab57835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030261246d565b80156124d85782816101000a81549060ff02191690556001016020816000010492830192600103026124ab565b505b506124e692915061256e565b5090565b6001830191839082156124da5791602002820160005b8382111561254057835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302612500565b80156124d85782816101000a81549061ffff0219169055600201602081600101049283019260010302612540565b5b808211156124e6576000815560010161256f565b80516001600160701b0381168114610cce57600080fd5b803560ff81168114610cce57600080fd5b6000602082840312156125bc578081fd5b8135610ae18161308b565b6000602082840312156125d8578081fd5b8151610ae18161308b565b600080604083850312156125f5578081fd5b82356126008161308b565b915060208301356126108161308b565b809150509250929050565b60008060006060848603121561262f578081fd5b833561263a8161308b565b9250602084013561264a8161308b565b929592945050506040919091013590565b6000806040838503121561266d578182fd5b82356126788161308b565b946020939093013593505050565b600060a08284031215612697578081fd5b82601f8301126126a5578081fd5b6126af60a0612d84565b80838560a0860111156126c0578384fd5b835b60058110156126f157813561ffff811681146126dc578586fd5b845260209384019391909101906001016126c2565b509095945050505050565b60006080828403121561270d578081fd5b82601f83011261271b578081fd5b6127256080612d84565b808385608086011115612736578384fd5b835b60048110156126f15761274a8261259a565b84526020938401939190910190600101612738565b600060a08284031215612770578081fd5b82601f83011261277e578081fd5b61278860a0612d84565b80838560a086011115612799578384fd5b835b60058110156126f1576127ad8261259a565b8452602093840193919091019060010161279b565b6000602082840312156127d3578081fd5b81358015158114610ae1578182fd5b6000806000606084860312156127f6578081fd5b6127ff84612583565b925061280d60208501612583565b9150604084015161281d816130a3565b809150509250925092565b600060208284031215612839578081fd5b81356001600160801b0381168114610ae1578182fd5b600060208284031215612860578081fd5b5035919050565b60008060006060848603121561287b578081fd5b8351925060208401519150604084015190509250925092565b6000602082840312156128a5578081fd5b8135610ae1816130a3565b600082516128c2818460208701612f35565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b901515815260200190565b6000602082528251806020840152612945816040850160208701612f35565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252600a90820152696164644c69713a206f6b60b01b604082015260600190565b6020808252600890820152670436c61696d3a20360c41b604082015260600190565b6020808252600d908201526c185b1c9958591e481d185e1959609a1b604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f53656c6c696e67207461783a2061626f7665206d617820616d6f756e74000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252600c908201526b185919131a5c4e8819985a5b60a21b604082015260600190565b6020808252600c908201526b53776170207375636365737360a01b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b60208082526010908201526f185b1c9958591e48195e18db1d59195960821b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b61ffff91909116815260200190565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612d365784516001600160a01b031683529383019391830191600101612d11565b50506001600160a01b03969096166060850152505050608001529392505050565b918252602082015260400190565b63ffffffff91909116815260200190565b60ff91909116815260200190565b60405181810167ffffffffffffffff81118282101715612db457634e487b7160e01b600052604160045260246000fd5b604052919050565b60008219821115612dcf57612dcf612fb4565b500190565b600082612de357612de3612fca565b500490565b80825b6001808611612dfa5750612e25565b818704821115612e0c57612e0c612fb4565b80861615612e1957918102915b9490941c938002612deb565b94509492505050565b6000610ae160001960ff851684600082612e4a57506001610ae1565b81612e5757506000610ae1565b8160018114612e6d5760028114612e7757612ea4565b6001915050610ae1565b60ff841115612e8857612e88612fb4565b6001841b915084821115612e9e57612e9e612fb4565b50610ae1565b5060208310610133831016604e8410600b8410161715612ed7575081810a83811115612ed257612ed2612fb4565b610ae1565b612ee48484846001612de8565b808604821115612ef657612ef6612fb4565b02949350505050565b6000816000190483118215151615612f1957612f19612fb4565b500290565b600082821015612f3057612f30612fb4565b500390565b60005b83811015612f50578181015183820152602001612f38565b83811115612f5f576000848401525b50505050565b600281046001821680612f7957607f821691505b60208210811415612f9a57634e487b7160e01b600052602260045260246000fd5b50919050565b600082612faf57612faf612fca565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b60e01c90565b600060443d1015612ff65761086a565b600481823e6308c379a061300a8251612fe0565b146130145761086a565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715613044575050505061086a565b8284019250825191508082111561305e575050505061086a565b503d830160208284010111156130765750505061086a565b601f01601f1916810160200160405291505090565b6001600160a01b03811681146130a057600080fd5b50565b63ffffffff811681146130a057600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206146dd312b0a340e62c98f3fc5e62a241c6a8280cd57a804a916552d18e0d75b64736f6c6343000800003300000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e

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

00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e

-----Decoded View---------------
Arg [0] : _router (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.