Contract 0x830f7a104a3df30879d526031d57daa44bf85686 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb734a9d7104644f879e1af6203496cd51f1aa17281172bc344c179e1f8067993Claim Reward118359482021-10-16 23:50:381 min ago0x96da0aab5f934d56833abfbe171cea28fcb5e33d IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x6fb79df4155b33ccd29bcdba9de01c690f9a068e8a612435ee6cc076aa26fc32Claim Reward118359032021-10-16 23:48:233 mins ago0x21fb74957ef9745e492e55d7abbb365a421064c0 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xbfd97e22e78287104917805e3b9295ff99e1045137a1b3e12f8ba3662c93a001Claim Reward118354392021-10-16 23:25:1127 mins ago0x5f6d6fec7f6849836d3a8cab8d5624d101dc7f19 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x2bac3d258456ad6c5f833d49a9c26731e71a6ca4c2e3a981c551084284bd1ab8Claim Reward118352682021-10-16 23:16:3835 mins ago0x3a1adb3a2b2bd6e23c37422eedaebb425a5859e0 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xa3a043311fcec48fc4421f1d4f1ee128c0b27d6b529729dbff5d2adc3c4d5354Claim Reward118347702021-10-16 22:51:421 hr ago0xb3469d8258e20662a8390f6befef2c47382734c0 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xf88d46c03700295166f6a484d9cc71c37c7637db58a4168181b0db52fac3b724Claim Reward118346012021-10-16 22:43:051 hr 9 mins ago0x401fbbc69b8494d4f65e8fdf32768b9ca830769a IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xe220193133b615525993de9711bf32749570cba772fd4c9de771e22bbf06ccbfApprove118345352021-10-16 22:39:471 hr 12 mins ago0xc8dc983507b078ec57d6e47d27990308d60b20d1 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.000223175
0xd64e9ad5716993ff4a687e699ec55b08cef291521c92c0137a321328d3a4d637Claim Reward118344952021-10-16 22:37:471 hr 14 mins ago0xcdf3a8e3ac961e29aa061ddb7d970a74cc34eaf9 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xbd976e264e9bff3842121423d67a3c038ac5af2c732371c549e9ed080b7016afClaim Reward118341952021-10-16 22:22:471 hr 29 mins ago0x6b3a06e1c91a2937429f86ff0d9f45e64d38faf9 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x35be05ce686f4930b56f1fc72551dad2c6b5ba09570611a37f8c1d3b74f0ab96Claim Reward118337282021-10-16 21:59:261 hr 52 mins ago0x66922a78015ed7d2c92e09670fd072c48ede71bf IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x5049861356d7c15c4e74406eb39177cdeb0468a69a15c68f3b24c316a810e26eClaim Reward118337132021-10-16 21:58:411 hr 53 mins ago0x6c0ffebe69d8eb0f94a7e6ba3b7ef822c1104b56 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x4142b7bd9ce50d9eb9dd1cea39c5b5b9844aad92157cac0442ee532b96a5b7d8Claim Reward118337042021-10-16 21:58:141 hr 54 mins ago0xbefc4a0d437508ba17e857e9c92b534a70a88438 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x37cec02591c2f9729ee5ccc4d84a387c72634ddeac5f740d65dfc72e3c9c5373Claim Reward118334712021-10-16 21:46:352 hrs 5 mins ago0x345b26f6cbc7c4f9b999a2aa2867e4e64a0d4482 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xdf9f81a40fb2e3ad8a52946d2f5cbe1593ec1ba13ae0c2ec2cabfac0bd3a8d26Claim Reward118331862021-10-16 21:32:202 hrs 19 mins ago0x9da06e3eb274864e0f94613507643ab32844c20a IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xba4eb4deefadcae9868568c428092831e751af385bb6f376bca075a418508c7fClaim Reward118331422021-10-16 21:30:082 hrs 22 mins ago0xc833252f65bd529bdb8466a0097ec8dd340f72f5 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x76fd941aa053f7d870a3fce7e061773b3f5ea27fe668b1a107cd499634e03ed4Claim Reward118329642021-10-16 21:21:142 hrs 31 mins ago0xc4bbd35696459d974073c69fc3eeb8ec7746c25d IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x3939d77043a95443abc5c5bcdb723607d94cf09ad9c4e12a87257c20e792361fClaim Reward118326932021-10-16 21:07:412 hrs 44 mins ago0x07eba7dff730f58e932c5730bad48e757e188fc3 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x22ee0e8ed53199976bdb0af080dc6c3d4c88ff950e1c350d2b2b388986e16b71Claim Reward118325412021-10-16 21:00:052 hrs 52 mins ago0xd5afc5e324645ec5d40ed32562b84e3c376580f8 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xa0212a12b94a6a37e75d7e0ae8d4eb42009514a243ab7bd618e1f2d76aec7d84Transfer118324662021-10-16 20:56:202 hrs 55 mins ago0x2be2f3e1a6421cf6ef125beacc4502932ef3d578 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00118453
0x89951d3dea1dfc59c8b0db1090277b73350033793aac27ba678c92c148c7ad58Claim Reward118324042021-10-16 20:53:142 hrs 59 mins ago0x10c116d938561a7bc5bac476382729deec9a6b53 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x283f54fccff9b231d41e5093a3468600638d2176fc904b61fe57caaf7c02b704Claim Reward118323602021-10-16 20:51:023 hrs 1 min ago0x8dfd529a6b28f06437a9cdb4fb95279899676775 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x0b24d717b0d0516dac9a4dedce4b1317a78e18df0fa1b4394824f69af4138559Claim Reward118322112021-10-16 20:43:353 hrs 8 mins ago0x32852018719ac945c6d4d7efb86f29df75d54ae7 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0xb8140f5363bc42fb1208319e52618da3f809818c673ce7c0967870f54c8d0531Claim Reward118319722021-10-16 20:31:383 hrs 20 mins ago0x62c1feea586778f948b26ec6814aa0c4dd412dac IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x1978113eb22032660f732b4b47296413b06d7effc88d4b7c1192552115d5b8adClaim Reward118315522021-10-16 20:10:383 hrs 41 mins ago0xaa6f1ada4cca11d68c7900e738373da4cb28c898 IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
0x69ea265fbda8cffc1a3052956f76c648de67874984ec2e9926ad1e5ce6fcdc2fClaim Reward118313592021-10-16 20:00:593 hrs 51 mins ago0xfc0e4cc4bd4100740ccff36b60bfc57e74a88bcd IN  0x830f7a104a3df30879d526031d57daa44bf856860 BNB0.00022967
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb734a9d7104644f879e1af6203496cd51f1aa17281172bc344c179e1f8067993118359482021-10-16 23:50:381 min ago 0x830f7a104a3df30879d526031d57daa44bf856860x96da0aab5f934d56833abfbe171cea28fcb5e33d0.01602882081636771 BNB
0x6fb79df4155b33ccd29bcdba9de01c690f9a068e8a612435ee6cc076aa26fc32118359032021-10-16 23:48:233 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x21fb74957ef9745e492e55d7abbb365a421064c00.01880292568096241 BNB
0xbfd97e22e78287104917805e3b9295ff99e1045137a1b3e12f8ba3662c93a001118354392021-10-16 23:25:1127 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x5f6d6fec7f6849836d3a8cab8d5624d101dc7f190.083690064998811016 BNB
0x2bac3d258456ad6c5f833d49a9c26731e71a6ca4c2e3a981c551084284bd1ab8118352682021-10-16 23:16:3835 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x3a1adb3a2b2bd6e23c37422eedaebb425a5859e00.00873824885861572 BNB
0xa3a043311fcec48fc4421f1d4f1ee128c0b27d6b529729dbff5d2adc3c4d5354118347702021-10-16 22:51:421 hr ago 0x830f7a104a3df30879d526031d57daa44bf856860xb3469d8258e20662a8390f6befef2c47382734c00.000451628787484487 BNB
0xf88d46c03700295166f6a484d9cc71c37c7637db58a4168181b0db52fac3b724118346012021-10-16 22:43:051 hr 9 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x401fbbc69b8494d4f65e8fdf32768b9ca830769a0.02471964181596301 BNB
0x67f4e3bf1a4d9f0451e67600ddc631ac5b77af44a19e744d07fd1c525a09ed30118345782021-10-16 22:41:561 hr 10 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.072576198345087405 BNB
0xd64e9ad5716993ff4a687e699ec55b08cef291521c92c0137a321328d3a4d637118344952021-10-16 22:37:471 hr 14 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xcdf3a8e3ac961e29aa061ddb7d970a74cc34eaf90.003943976102439453 BNB
0xbd976e264e9bff3842121423d67a3c038ac5af2c732371c549e9ed080b7016af118341952021-10-16 22:22:471 hr 29 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x6b3a06e1c91a2937429f86ff0d9f45e64d38faf90.007252174786379096 BNB
0x35be05ce686f4930b56f1fc72551dad2c6b5ba09570611a37f8c1d3b74f0ab96118337282021-10-16 21:59:261 hr 52 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x66922a78015ed7d2c92e09670fd072c48ede71bf0.009633687571824842 BNB
0x5049861356d7c15c4e74406eb39177cdeb0468a69a15c68f3b24c316a810e26e118337132021-10-16 21:58:411 hr 53 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x6c0ffebe69d8eb0f94a7e6ba3b7ef822c1104b560.0242931140348831 BNB
0x4142b7bd9ce50d9eb9dd1cea39c5b5b9844aad92157cac0442ee532b96a5b7d8118337042021-10-16 21:58:141 hr 54 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xbefc4a0d437508ba17e857e9c92b534a70a884380.034951990042646243 BNB
0x37cec02591c2f9729ee5ccc4d84a387c72634ddeac5f740d65dfc72e3c9c5373118334712021-10-16 21:46:352 hrs 5 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x345b26f6cbc7c4f9b999a2aa2867e4e64a0d44820.000727035192032437 BNB
0xdf9f81a40fb2e3ad8a52946d2f5cbe1593ec1ba13ae0c2ec2cabfac0bd3a8d26118331862021-10-16 21:32:202 hrs 19 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x9da06e3eb274864e0f94613507643ab32844c20a0.04107236731620013 BNB
0xba4eb4deefadcae9868568c428092831e751af385bb6f376bca075a418508c7f118331422021-10-16 21:30:082 hrs 22 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xc833252f65bd529bdb8466a0097ec8dd340f72f50.061298778105165257 BNB
0x76fd941aa053f7d870a3fce7e061773b3f5ea27fe668b1a107cd499634e03ed4118329642021-10-16 21:21:142 hrs 31 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xc4bbd35696459d974073c69fc3eeb8ec7746c25d0.001548246186997534 BNB
0x3939d77043a95443abc5c5bcdb723607d94cf09ad9c4e12a87257c20e792361f118326932021-10-16 21:07:412 hrs 44 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x07eba7dff730f58e932c5730bad48e757e188fc30.000928195847662983 BNB
0x22ee0e8ed53199976bdb0af080dc6c3d4c88ff950e1c350d2b2b388986e16b71118325412021-10-16 21:00:052 hrs 52 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xd5afc5e324645ec5d40ed32562b84e3c376580f80.001085511361855227 BNB
0xa0212a12b94a6a37e75d7e0ae8d4eb42009514a243ab7bd618e1f2d76aec7d84118324662021-10-16 20:56:202 hrs 55 mins ago PancakeSwap: Router v2 0x830f7a104a3df30879d526031d57daa44bf856860.169604733522292801 BNB
0x89951d3dea1dfc59c8b0db1090277b73350033793aac27ba678c92c148c7ad58118324042021-10-16 20:53:142 hrs 59 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x10c116d938561a7bc5bac476382729deec9a6b530.002632356490041765 BNB
0x283f54fccff9b231d41e5093a3468600638d2176fc904b61fe57caaf7c02b704118323602021-10-16 20:51:023 hrs 1 min ago 0x830f7a104a3df30879d526031d57daa44bf856860x8dfd529a6b28f06437a9cdb4fb952798996767750.005372390454827604 BNB
0x0b24d717b0d0516dac9a4dedce4b1317a78e18df0fa1b4394824f69af4138559118322112021-10-16 20:43:353 hrs 8 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x32852018719ac945c6d4d7efb86f29df75d54ae70.000377006835875849 BNB
0xb8140f5363bc42fb1208319e52618da3f809818c673ce7c0967870f54c8d0531118319722021-10-16 20:31:383 hrs 20 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860x62c1feea586778f948b26ec6814aa0c4dd412dac0.00148657887035265 BNB
0x1978113eb22032660f732b4b47296413b06d7effc88d4b7c1192552115d5b8ad118315522021-10-16 20:10:383 hrs 41 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xaa6f1ada4cca11d68c7900e738373da4cb28c8980.009038359197399155 BNB
0x69ea265fbda8cffc1a3052956f76c648de67874984ec2e9926ad1e5ce6fcdc2f118313592021-10-16 20:00:593 hrs 51 mins ago 0x830f7a104a3df30879d526031d57daa44bf856860xfc0e4cc4bd4100740ccff36b60bfc57e74a88bcd0.028461727708961653 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.