ETH Price: $3,416.18 (+3.14%)

Contract

0x8eb5bD8c9Ab0F8ad28e94693F3c889F490bE2aB0
 

Overview

ETH Balance

0.000759204729111392 ETH

Eth Value

$2.59 (@ $3,416.18/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Approve211225252024-11-05 16:04:3518 days ago1730822675IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0003627814.93479069
Approve209903142024-10-18 5:19:4736 days ago1729228787IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0004196717.23442362
Approve204490522024-08-03 15:56:23112 days ago1722700583IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000099273.75386792
Approve204490462024-08-03 15:55:11112 days ago1722700511IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000161093.47581359
Approve202261022024-07-03 12:52:47143 days ago1720011167IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000717329.52972532
Approve201917922024-06-28 17:51:23148 days ago1719597083IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000215854.66226992
Approve201266362024-06-19 15:19:35157 days ago1718810375IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000373528.0656007
Approve201256392024-06-19 11:58:47157 days ago1718798327IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000213434.58270794
Approve201083352024-06-17 1:49:11159 days ago1718588951IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000315916.78299448
Approve201052172024-06-16 15:21:47160 days ago1718551307IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000154935.30605808
Approve201051702024-06-16 15:11:59160 days ago1718550719IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000213184.60334064
Approve201013962024-06-16 2:34:47160 days ago1718505287IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000109872.35899837
Approve201007942024-06-16 0:33:35160 days ago1718498015IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000067572.31319024
Approve200990512024-06-15 18:41:59161 days ago1718476919IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000173083.73163676
Approve200983402024-06-15 16:18:59161 days ago1718468339IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000243755.23365254
Approve200951322024-06-15 5:32:11161 days ago1718429531IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000203194.38651025
Approve200877492024-06-14 4:46:11162 days ago1718340371IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000334057.2132372
Approve200877292024-06-14 4:42:11162 days ago1718340131IN
0x8eb5bD8c...490bE2aB0
0 ETH0.000333477.20068076
Approve200846762024-06-13 18:26:35163 days ago1718303195IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0004953410.63535782
Approve200845982024-06-13 18:10:47163 days ago1718302247IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0004384914.98053173
Approve200609242024-06-10 10:45:47166 days ago1718016347IN
0x8eb5bD8c...490bE2aB0
0 ETH0.00027195.83056469
Approve200285602024-06-05 22:17:23171 days ago1717625843IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0012215526.22775339
Approve200269812024-06-05 17:00:23171 days ago1717606823IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0010895923.39434074
Approve200251172024-06-05 10:45:59171 days ago1717584359IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0010333322.15785674
Transfer199850372024-05-30 20:28:35177 days ago1717100915IN
0x8eb5bD8c...490bE2aB0
0 ETH0.0007131410.08
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
201482722024-06-22 15:55:35154 days ago1719071735
0x8eb5bD8c...490bE2aB0
0.00070804 ETH
201482722024-06-22 15:55:35154 days ago1719071735
0x8eb5bD8c...490bE2aB0
0.00017701 ETH
201482722024-06-22 15:55:35154 days ago1719071735
0x8eb5bD8c...490bE2aB0
0.00088505 ETH
201266422024-06-19 15:20:47157 days ago1718810447
0x8eb5bD8c...490bE2aB0
0.00046339 ETH
201266422024-06-19 15:20:47157 days ago1718810447
0x8eb5bD8c...490bE2aB0
0.00011584 ETH
201266422024-06-19 15:20:47157 days ago1718810447
0x8eb5bD8c...490bE2aB0
0.00057924 ETH
201256052024-06-19 11:51:59157 days ago1718797919
0x8eb5bD8c...490bE2aB0
0.00174609 ETH
201256052024-06-19 11:51:59157 days ago1718797919
0x8eb5bD8c...490bE2aB0
0.00043652 ETH
201256052024-06-19 11:51:59157 days ago1718797919
0x8eb5bD8c...490bE2aB0
0.00218261 ETH
201083112024-06-17 1:44:23159 days ago1718588663
0x8eb5bD8c...490bE2aB0
0.00094352 ETH
201083112024-06-17 1:44:23159 days ago1718588663
0x8eb5bD8c...490bE2aB0
0.00023588 ETH
201083112024-06-17 1:44:23159 days ago1718588663
0x8eb5bD8c...490bE2aB0
0.0011794 ETH
201052362024-06-16 15:25:35160 days ago1718551535
0x8eb5bD8c...490bE2aB0
0.01190821 ETH
201052362024-06-16 15:25:35160 days ago1718551535
0x8eb5bD8c...490bE2aB0
0.00297705 ETH
201052362024-06-16 15:25:35160 days ago1718551535
0x8eb5bD8c...490bE2aB0
0.01488527 ETH
201052322024-06-16 15:24:47160 days ago1718551487
0x8eb5bD8c...490bE2aB0
0.00545373 ETH
201052322024-06-16 15:24:47160 days ago1718551487
0x8eb5bD8c...490bE2aB0
0.00136343 ETH
201052322024-06-16 15:24:47160 days ago1718551487
0x8eb5bD8c...490bE2aB0
0.00681717 ETH
201052292024-06-16 15:24:11160 days ago1718551451
0x8eb5bD8c...490bE2aB0
0.00113585 ETH
201052292024-06-16 15:24:11160 days ago1718551451
0x8eb5bD8c...490bE2aB0
0.00028396 ETH
201052292024-06-16 15:24:11160 days ago1718551451
0x8eb5bD8c...490bE2aB0
0.00141982 ETH
201052262024-06-16 15:23:35160 days ago1718551415
0x8eb5bD8c...490bE2aB0
0.00130801 ETH
201052262024-06-16 15:23:35160 days ago1718551415
0x8eb5bD8c...490bE2aB0
0.000327 ETH
201052262024-06-16 15:23:35160 days ago1718551415
0x8eb5bD8c...490bE2aB0
0.00163501 ETH
201051392024-06-16 15:05:47160 days ago1718550347
0x8eb5bD8c...490bE2aB0
0.00011562 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
POS32

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : POS32.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

contract POS32 is ERC20, Ownable {
    using SafeMath for uint256;

    modifier lockSwap() {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    modifier liquidityAdd() {
        _inLiquidityAdd = true;
        _;
        _inLiquidityAdd = false;
    }

    // == CONSTANTS ==
    uint256 public constant MAX_SUPPLY = 1_000_000_000 ether;
    uint256 public constant BPS_DENOMINATOR = 10_000;
    uint256 public constant SNIPE_BLOCKS = 2;

    // == TAXES ==
    /// @notice Buy devTax in BPS
    uint256 public buyDevTax = 200;
    /// @notice Buy rewardsTax in BPS
    uint256 public buyRewardsTax = 700;
    /// @notice Sell devTax in BPS
    uint256 public sellDevTax = 200;
    /// @notice Sell rewardsTax in BPS
    uint256 public sellRewardsTax = 700;
    /// @notice address that devTax is sent to
    address payable public devTaxRecipient;
    /// @notice address that rewardsTax is sent to
    address payable public rewardsTaxRecipient;
    /// @notice tokens currently allocated for devTax
    uint256 public totalDevTax;
    /// @notice tokens currently allocated for rewardsTax
    uint256 public totalRewardsTax;

    // == FLAGS ==
    /// @notice flag indicating whether initialDistribute() was successfully called
    bool public initialDistributeDone = false;
    /// @notice flag indicating Uniswap trading status
    bool public tradingActive = false;
    /// @notice flag indicating token to token transfers
    bool public transfersActive = false;
    /// @notice flag indicating swapAll enabled
    bool public swapFees = true;

    // == UNISWAP ==
    IUniswapV2Router02 public router;
    address public pair;

    // == WALLET STATUSES ==
    /// @notice Maps each recipient to their tax exlcusion status
    mapping(address => bool) public taxExcluded;
    /// @notice Maps each recipient to the last timestamp they bought
    mapping(address => uint256) public lastBuy;
    /// @notice Maps each recipient to their blacklist status
    mapping(address => bool) public blacklist;
    /// @notice Maps each recipient to their whitelist status on buy limit
    mapping(address => bool) public recipientLimitWhitelist;

    // == MISC ==
    /// @notice Block when trading is first enabled
    uint256 public tradingBlock;
    /// @notice Contract token balance threshold before `_swap` is invoked
    uint256 public minTokenBalance = 1000 ether;

    // == INTERNAL ==
    uint256 internal _totalSupply = 0;
    bool internal _inSwap = false;
    bool internal _inLiquidityAdd = false;
    mapping(address => uint256) private _balances;

    event DevTaxRecipientChanged(
        address previousRecipient,
        address nextRecipient
    );
    event RewardsTaxRecipientChanged(
        address previousRecipient,
        address nextRecipient
    );
    event BuyDevTaxChanged(uint256 previousTax, uint256 nextTax);
    event SellDevTaxChanged(uint256 previousTax, uint256 nextTax);
    event BuyRewardsTaxChanged(uint256 previousTax, uint256 nextTax);
    event SellRewardsTaxChanged(uint256 previousTax, uint256 nextTax);
    event DevTaxRescued(uint256 amount);
    event RewardsTaxRescued(uint256 amount);
    event TradingActiveChanged(bool enabled);
    event TaxExclusionChanged(address user, bool taxExcluded);
    event BlacklistUpdated(address user, bool previousStatus, bool nextStatus);
    event SwapFeesChanged(bool previousStatus, bool nextStatus);

    constructor(
        address _factory,
        address _router,
        address payable _devTaxRecipient,
        address payable _rewardsTaxRecipient
    ) ERC20("PoS-32", "POS32") Ownable() {
        taxExcluded[owner()] = true;
        taxExcluded[address(0)] = true;
        taxExcluded[_devTaxRecipient] = true;
        taxExcluded[_rewardsTaxRecipient] = true;
        taxExcluded[address(this)] = true;

        devTaxRecipient = _devTaxRecipient;
        rewardsTaxRecipient = _rewardsTaxRecipient;

        router = IUniswapV2Router02(_router);
        IUniswapV2Factory factory = IUniswapV2Factory(_factory);
        pair = factory.createPair(address(this), router.WETH());

        _mint(msg.sender, MAX_SUPPLY);
    }

    function addLiquidity(uint256 tokens)
        external
        payable
        onlyOwner
        liquidityAdd
    {
        _rawTransfer(msg.sender, address(this), tokens);
        _approve(address(this), address(router), tokens);

        router.addLiquidityETH{value: msg.value}(
            address(this),
            tokens,
            0,
            0,
            owner(),
            // solhint-disable-next-line not-rely-on-time
            block.timestamp
        );
    }

    /// @notice Change the address of the devTax recipient
    /// @param _devTaxRecipient The new address of the devTax recipient
    function setDevTaxRecipient(address payable _devTaxRecipient)
        external
        onlyOwner
    {
        emit DevTaxRecipientChanged(devTaxRecipient, _devTaxRecipient);
        devTaxRecipient = _devTaxRecipient;
    }

    /// @notice Change the address of the rewardTax recipient
    /// @param _rewardsTaxRecipient The new address of the rewardTax recipient
    function setRewardsTaxRecipient(address payable _rewardsTaxRecipient)
        external
        onlyOwner
    {
        emit RewardsTaxRecipientChanged(
            rewardsTaxRecipient,
            _rewardsTaxRecipient
        );
        rewardsTaxRecipient = _rewardsTaxRecipient;
    }

    /// @notice Change the buy devTax rate
    /// @param _buyDevTax The new devTax rate
    function setBuyDevTax(uint256 _buyDevTax) external onlyOwner {
        require(
            _buyDevTax <= BPS_DENOMINATOR,
            "_buyDevTax cannot exceed BPS_DENOMINATOR"
        );
        emit BuyDevTaxChanged(buyDevTax, _buyDevTax);
        buyDevTax = _buyDevTax;
    }

    /// @notice Change the buy devTax rate
    /// @param _sellDevTax The new devTax rate
    function setSellDevTax(uint256 _sellDevTax) external onlyOwner {
        require(
            _sellDevTax <= BPS_DENOMINATOR,
            "_sellDevTax cannot exceed BPS_DENOMINATOR"
        );
        emit SellDevTaxChanged(sellDevTax, _sellDevTax);
        sellDevTax = _sellDevTax;
    }

    /// @notice Change the buy rewardsTax rate
    /// @param _buyRewardsTax The new buy rewardsTax rate
    function setBuyRewardsTax(uint256 _buyRewardsTax) external onlyOwner {
        require(
            _buyRewardsTax <= BPS_DENOMINATOR,
            "_buyRewardsTax cannot exceed BPS_DENOMINATOR"
        );
        emit BuyRewardsTaxChanged(buyRewardsTax, _buyRewardsTax);
        buyRewardsTax = _buyRewardsTax;
    }

    /// @notice Change the sell rewardsTax rate
    /// @param _sellRewardsTax The new sell rewardsTax rate
    function setSellRewardsTax(uint256 _sellRewardsTax) external onlyOwner {
        require(
            _sellRewardsTax <= BPS_DENOMINATOR,
            "_sellRewardsTax cannot exceed BPS_DENOMINATOR"
        );
        emit SellRewardsTaxChanged(sellRewardsTax, _sellRewardsTax);
        sellRewardsTax = _sellRewardsTax;
    }

    /// @notice Rescue ATI from the devTax amount
    /// @dev Should only be used in an emergency
    /// @param _amount The amount of ATI to rescue
    /// @param _recipient The recipient of the rescued ATI
    function rescueDevTaxTokens(uint256 _amount, address _recipient)
        external
        onlyOwner
    {
        require(
            _amount <= totalDevTax,
            "Amount cannot be greater than totalDevTax"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit DevTaxRescued(_amount);
        totalDevTax -= _amount;
    }

    /// @notice Rescue ATI from the rewardsTax amount
    /// @dev Should only be used in an emergency
    /// @param _amount The amount of ATI to rescue
    /// @param _recipient The recipient of the rescued ATI
    function rescueRewardsTaxTokens(uint256 _amount, address _recipient)
        external
        onlyOwner
    {
        require(
            _amount <= totalRewardsTax,
            "Amount cannot be greater than totalRewardsTax"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit RewardsTaxRescued(_amount);
        totalRewardsTax -= _amount;
    }

    /// @notice Admin function to update a recipient's blacklist status
    /// @param user the recipient
    /// @param status the new status
    function updateBlacklist(address user, bool status)
        external
        virtual
        onlyOwner
    {
        _updateBlacklist(user, status);
    }

    function _updateBlacklist(address user, bool status) internal virtual {
        emit BlacklistUpdated(user, blacklist[user], status);
        blacklist[user] = status;
    }

    /// @notice Enables trading on Uniswap
    function enableTrading() external onlyOwner {
        tradingActive = true;
    }

    /// @notice Disables trading on Uniswap
    function disableTrading() external onlyOwner {
        tradingActive = false;
    }

    /// @notice Enables token to token transfers
    function enableTransfers() external onlyOwner {
        transfersActive = true;
    }

    /// @notice Disables token to token transfers
    function disableTransfers() external onlyOwner {
        transfersActive = false;
    }

    /// @notice Updates tax exclusion status
    /// @param _account Account to update the tax exclusion status of
    /// @param _taxExcluded If true, exclude taxes for this user
    function setTaxExcluded(address _account, bool _taxExcluded)
        public
        onlyOwner
    {
        taxExcluded[_account] = _taxExcluded;
        emit TaxExclusionChanged(_account, _taxExcluded);
    }

    /// @notice Enable or disable whether swap occurs during `_transfer`
    /// @param _swapFees If true, enables swap during `_transfer`
    function setSwapFees(bool _swapFees) external onlyOwner {
        emit SwapFeesChanged(swapFees, _swapFees);
        swapFees = _swapFees;
    }

    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    function _addBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] + amount;
    }

    function _subtractBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        require(!blacklist[recipient], "Recipient is blacklisted");

        if (taxExcluded[sender] || taxExcluded[recipient]) {
            _rawTransfer(sender, recipient, amount);
            return;
        }

        bool overMinTokenBalance = balanceOf(address(this)) >= minTokenBalance;
        if (overMinTokenBalance && !_inSwap && sender != pair && swapFees) {
            swapAll();
        }

        uint256 send = amount;
        uint256 devTax;
        uint256 rewardsTax;
        if (sender == pair) {
            require(tradingActive, "Trading is not yet active");
            if (block.number <= tradingBlock + SNIPE_BLOCKS) {
                _updateBlacklist(recipient, true);
            }
            (send, devTax, rewardsTax) = _getTaxAmounts(amount, true);
        } else if (recipient == pair) {
            require(tradingActive, "Trading is not yet active");
            (send, devTax, rewardsTax) = _getTaxAmounts(amount, false);
        } else {
            require(transfersActive, "Transfers are not yet active");
        }
        _rawTransfer(sender, recipient, send);
        _takeTaxes(sender, devTax, rewardsTax);
    }

    /// @notice Peforms auto liquidity and tax distribution
    function swapAll() public {
        if (!_inSwap) {
            _swap(balanceOf(address(this)));
        }
    }

    /// @notice Perform a Uniswap v2 swap from token to ETH and handle tax distribution
    /// @param amount The amount of token to swap in wei
    /// @dev `amount` is always <= this contract's ETH balance.
    function _swap(uint256 amount) internal lockSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

        _approve(address(this), address(router), amount);

        uint256 contractEthBalance = address(this).balance;

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 tradeValue = address(this).balance - contractEthBalance;

        uint256 totalTaxes = totalDevTax.add(totalRewardsTax);
        uint256 devAmount = amount.mul(totalDevTax).div(totalTaxes);
        uint256 rewardsAmount = amount.mul(totalRewardsTax).div(totalTaxes);

        uint256 devEth = tradeValue.mul(totalDevTax).div(totalTaxes);
        uint256 rewardsEth = tradeValue.mul(totalRewardsTax).div(totalTaxes);

        // Update state
        totalDevTax = totalDevTax.sub(devAmount);
        totalRewardsTax = totalRewardsTax.sub(rewardsAmount);

        // Do transfer
        if (devEth > 0) {
            devTaxRecipient.transfer(devEth);
        }
        if (rewardsEth > 0) {
            rewardsTaxRecipient.transfer(rewardsEth);
        }
    }

    /// @notice Change the minimum contract ACAP balance before `_swap` gets invoked
    /// @param _minTokenBalance The new minimum balance
    function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner {
        minTokenBalance = _minTokenBalance;
    }

    /// @notice Admin function to rescue ETH from the contract
    function rescueETH() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /// @notice Transfers ATI from an account to this contract for taxes
    /// @param _account The account to transfer ATI from
    /// @param _devTaxAmount The amount of devTax tax to transfer
    function _takeTaxes(
        address _account,
        uint256 _devTaxAmount,
        uint256 _rewardsTaxAmount
    ) internal {
        require(_account != address(0), "taxation from the zero address");

        uint256 totalAmount = _devTaxAmount.add(_rewardsTaxAmount);
        _rawTransfer(_account, address(this), totalAmount);
        totalDevTax += _devTaxAmount;
        totalRewardsTax += _rewardsTaxAmount;
    }

    /// @notice Get a breakdown of send and tax amounts
    /// @param amount The amount to tax in wei
    /// @return send The raw amount to send
    /// @return devTax The raw devTax tax amount
    function _getTaxAmounts(uint256 amount, bool buying)
        internal
        view
        returns (
            uint256 send,
            uint256 devTax,
            uint256 rewardsTax
        )
    {
        if (buying) {
            devTax = amount.mul(buyDevTax).div(BPS_DENOMINATOR);
            rewardsTax = amount.mul(buyRewardsTax).div(BPS_DENOMINATOR);
        } else {
            devTax = amount.mul(sellDevTax).div(BPS_DENOMINATOR);
            rewardsTax = amount.mul(sellRewardsTax).div(BPS_DENOMINATOR);
        }
        send = amount.sub(devTax).sub(rewardsTax);
    }

    // modified from OpenZeppelin ERC20
    function _rawTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), "transfer from the zero address");
        require(recipient != address(0), "transfer to the zero address");

        uint256 senderBalance = balanceOf(sender);
        require(senderBalance >= amount, "transfer amount exceeds balance");
        unchecked {
            _subtractBalance(sender, amount);
        }
        _addBalance(recipient, amount);

        emit Transfer(sender, recipient, amount);
    }

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

    function _mint(address account, uint256 amount) internal override {
        require(_totalSupply.add(amount) <= MAX_SUPPLY, "Max supply exceeded");
        _totalSupply += amount;
        _addBalance(account, amount);
        emit Transfer(address(0), account, amount);
    }

    receive() external payable {}
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 subtraction 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. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

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

File 5 of 11 : 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;
}

File 6 of 11 : 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 7 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    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);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 8 of 11 : 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 9 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

File 10 of 11 : 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 11 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address payable","name":"_devTaxRecipient","type":"address"},{"internalType":"address payable","name":"_rewardsTaxRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"previousStatus","type":"bool"},{"indexed":false,"internalType":"bool","name":"nextStatus","type":"bool"}],"name":"BlacklistUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyDevTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyRewardsTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousRecipient","type":"address"},{"indexed":false,"internalType":"address","name":"nextRecipient","type":"address"}],"name":"DevTaxRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DevTaxRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousRecipient","type":"address"},{"indexed":false,"internalType":"address","name":"nextRecipient","type":"address"}],"name":"RewardsTaxRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsTaxRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellDevTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellRewardsTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"previousStatus","type":"bool"},{"indexed":false,"internalType":"bool","name":"nextStatus","type":"bool"}],"name":"SwapFeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNIPE_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRewardsTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devTaxRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTransfers","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":[],"name":"initialDistributeDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"recipientLimitWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueDevTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueRewardsTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsTaxRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardsTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyDevTax","type":"uint256"}],"name":"setBuyDevTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyRewardsTax","type":"uint256"}],"name":"setBuyRewardsTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_devTaxRecipient","type":"address"}],"name":"setDevTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_rewardsTaxRecipient","type":"address"}],"name":"setRewardsTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellDevTax","type":"uint256"}],"name":"setSellDevTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellRewardsTax","type":"uint256"}],"name":"setSellRewardsTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapFees","type":"bool"}],"name":"setSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDevTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardsTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"inputs":[],"name":"transfersActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260c860068190556102bc6007819055600891909155600955600e805463ffffffff19166301000000179055683635c9adc5dea0000060155560006016556017805461ffff191690553480156200005957600080fd5b5060405162002abe38038062002abe8339810160408190526200007c91620004c5565b604051806040016040528060068152602001652837a996999960d11b815250604051806040016040528060058152602001642827a9999960d91b8152508160039081620000ca9190620005d2565b506004620000d98282620005d2565b505050620000f6620000f06200031260201b60201c565b62000316565b6001601060006200010f6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055601084527f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb018054861660019081179091558783168083528483208054881683179055878416808452858420805489168417905530808552938690208054909816909217909655600a80546001600160a01b03199081169097179055600b805490961617909455600e8054888316640100000000908102600160201b600160c01b0319909216919091179182905583516315ab88c960e31b815293518a968785169663c9c65396969195939094049092169263ad5c464892600481810193918290030181865afa15801562000235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025b91906200069e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf91906200069e565b600f80546001600160a01b0319166001600160a01b039290921691909117905562000307336b033b2e3c9fd0803ce800000062000368565b5050505050620006e7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6b033b2e3c9fd0803ce800000062000391826016546200044f60201b6200146e1790919060201c565b1115620003e45760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c7920657863656564656400000000000000000000000000604482015260640160405180910390fd5b8060166000828254620003f89190620006c5565b909155506200040a9050828262000466565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006200045d8284620006c5565b90505b92915050565b6001600160a01b0382166000908152601860205260409020546200048c908290620006c5565b6001600160a01b0390921660009081526018602052604090209190915550565b6001600160a01b0381168114620004c257600080fd5b50565b60008060008060808587031215620004dc57600080fd5b8451620004e981620004ac565b6020860151909450620004fc81620004ac565b60408601519093506200050f81620004ac565b60608601519092506200052281620004ac565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055857607f821691505b6020821081036200057957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005cd57600081815260208120601f850160051c81016020861015620005a85750805b601f850160051c820191505b81811015620005c957828155600101620005b4565b5050505b505050565b81516001600160401b03811115620005ee57620005ee6200052d565b6200060681620005ff845462000543565b846200057f565b602080601f8311600181146200063e5760008415620006255750858301515b600019600386901b1c1916600185901b178555620005c9565b600085815260208120601f198616915b828110156200066f578886015182559484019460019091019084016200064e565b50858210156200068e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006b157600080fd5b8151620006be81620004ac565b9392505050565b808201808211156200046057634e487b7160e01b600052601160045260246000fd5b6123c780620006f76000396000f3fe60806040526004361061036f5760003560e01c80639155e083116101c6578063be691883116100f7578063ed00c02511610095578063f2fde38b1161006f578063f2fde38b1461099c578063f887ea40146109bc578063f9f92be4146109e4578063fe033fda14610a1457600080fd5b8063ed00c02514610947578063f016d83b14610967578063f29e44861461097c57600080fd5b8063db12c8b6116100d1578063db12c8b6146108d1578063dd62ed3e146108f1578063e1a4521814610911578063e3f9fc631461092757600080fd5b8063be69188314610878578063c1adf7bc1461088e578063cd51e6d4146108bb57600080fd5b8063a9059cbb11610164578063b082c19a1161013e578063b082c19a146107f8578063b0ac157114610818578063b9ccf21d14610838578063bbc0c7421461085957600080fd5b8063a9059cbb146107ad578063af35c6c7146107cd578063af8f26e7146107e257600080fd5b8063967a3a10116101a0578063967a3a101461071d578063a3e8730e1461074d578063a457c2d71461076d578063a8aa1b311461078d57600080fd5b80639155e083146106ce5780639207cc5d146106ee57806395d89b411461070857600080fd5b80633a67a0f6116102a05780635d20d9181161023e578063715018a611610218578063715018a6146106665780637db557e31461067b5780638a8c523c1461069b5780638da5cb5b146106b057600080fd5b80635d20d918146105fa5780636053b8811461061a57806370a082311461063057600080fd5b80634c6d1cd81161027a5780634c6d1cd81461059b57806351c6590a146105bb5780635a686d54146105ce5780635b78f35f146105e457600080fd5b80633a67a0f6146105515780633e9ffbea146105665780633f651a5f1461057b57600080fd5b80632433c0781161030d578063313ce567116102e7578063313ce567146104c557806332cb6b0c146104e1578063395093511461050157806339b622d31461052157600080fd5b80632433c0781461046157806325edf518146104995780632f1e3e82146104af57600080fd5b806318160ddd1161034957806318160ddd146103ed57806319c2c40d1461040c57806320800a001461042c57806323b872dd1461044157600080fd5b806306fdde031461037b578063095ea7b3146103a657806317700f01146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a34565b60405161039d919061203f565b60405180910390f35b3480156103b257600080fd5b506103c66103c13660046120a2565b610ac6565b604051901515815260200161039d565b3480156103e257600080fd5b506103eb610ae0565b005b3480156103f957600080fd5b506016545b60405190815260200161039d565b34801561041857600080fd5b506103eb6104273660046120e3565b610af5565b34801561043857600080fd5b506103eb610b60565b34801561044d57600080fd5b506103c661045c366004612118565b610ba4565b34801561046d57600080fd5b50600a54610481906001600160a01b031681565b6040516001600160a01b03909116815260200161039d565b3480156104a557600080fd5b506103fe600c5481565b3480156104bb57600080fd5b506103fe600d5481565b3480156104d157600080fd5b506040516012815260200161039d565b3480156104ed57600080fd5b506103fe6b033b2e3c9fd0803ce800000081565b34801561050d57600080fd5b506103c661051c3660046120a2565b610bc8565b34801561052d57600080fd5b506103c661053c366004612159565b60106020526000908152604090205460ff1681565b34801561055d57600080fd5b506103eb610bea565b34801561057257600080fd5b506103eb610c00565b34801561058757600080fd5b50600b54610481906001600160a01b031681565b3480156105a757600080fd5b506103eb6105b6366004612176565b610c25565b6103eb6105c9366004612176565b610cda565b3480156105da57600080fd5b506103fe60075481565b3480156105f057600080fd5b506103fe60155481565b34801561060657600080fd5b506103eb610615366004612176565b610dec565b34801561062657600080fd5b506103fe60095481565b34801561063c57600080fd5b506103fe61064b366004612159565b6001600160a01b031660009081526018602052604090205490565b34801561067257600080fd5b506103eb610e9d565b34801561068757600080fd5b506103eb610696366004612176565b610eaf565b3480156106a757600080fd5b506103eb610f5c565b3480156106bc57600080fd5b506005546001600160a01b0316610481565b3480156106da57600080fd5b506103eb6106e93660046120e3565b610f75565b3480156106fa57600080fd5b50600e546103c69060ff1681565b34801561071457600080fd5b50610390610f8b565b34801561072957600080fd5b506103c6610738366004612159565b60136020526000908152604090205460ff1681565b34801561075957600080fd5b506103eb610768366004612176565b610f9a565b34801561077957600080fd5b506103c66107883660046120a2565b611046565b34801561079957600080fd5b50600f54610481906001600160a01b031681565b3480156107b957600080fd5b506103c66107c83660046120a2565b6110c1565b3480156107d957600080fd5b506103eb6110cf565b3480156107ee57600080fd5b506103fe60065481565b34801561080457600080fd5b506103eb61081336600461218f565b6110ea565b34801561082457600080fd5b506103eb610833366004612176565b6111af565b34801561084457600080fd5b50600e546103c6906301000000900460ff1681565b34801561086557600080fd5b50600e546103c690610100900460ff1681565b34801561088457600080fd5b506103fe60085481565b34801561089a57600080fd5b506103fe6108a9366004612159565b60116020526000908152604090205481565b3480156108c757600080fd5b506103fe60145481565b3480156108dd57600080fd5b506103eb6108ec366004612159565b6111bc565b3480156108fd57600080fd5b506103fe61090c3660046121bf565b61122d565b34801561091d57600080fd5b506103fe61271081565b34801561093357600080fd5b506103eb6109423660046121ed565b611258565b34801561095357600080fd5b506103eb61096236600461218f565b6112c7565b34801561097357600080fd5b506103fe600281565b34801561098857600080fd5b50600e546103c69062010000900460ff1681565b3480156109a857600080fd5b506103eb6109b7366004612159565b611387565b3480156109c857600080fd5b50600e546104819064010000000090046001600160a01b031681565b3480156109f057600080fd5b506103c66109ff366004612159565b60126020526000908152604090205460ff1681565b348015610a2057600080fd5b506103eb610a2f366004612159565b6113fd565b606060038054610a4390612208565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90612208565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b5050505050905090565b600033610ad4818585611481565b60019150505b92915050565b610ae86115a5565b600e805461ff0019169055565b610afd6115a5565b6001600160a01b038216600081815260106020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b610b686115a5565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ba1573d6000803e3d6000fd5b50565b600033610bb28582856115ff565b610bbd858585611679565b506001949350505050565b600033610ad4818585610bdb838361122d565b610be59190612258565b611481565b610bf26115a5565b600e805462ff000019169055565b60175460ff16610c235730600090815260186020526040902054610c239061192a565b565b610c2d6115a5565b612710811115610c995760405162461bcd60e51b815260206004820152602c60248201527f5f627579526577617264735461782063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b60075460408051918252602082018390527f329f5e7109b9e04ed6c5230453b1f7e26c4b2d5cca1b3905f5d9568673a9e9fe910160405180910390a1600755565b610ce26115a5565b6017805461ff001916610100179055610cfc333083611c16565b600e54610d1c90309064010000000090046001600160a01b031683611481565b600e546001600160a01b036401000000009091041663f305d719343084600080610d4e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610db6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ddb919061226b565b50506017805461ff00191690555050565b610df46115a5565b612710811115610e5c5760405162461bcd60e51b815260206004820152602d60248201527f5f73656c6c526577617264735461782063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610c90565b60095460408051918252602082018390527fcc0c894e0aa284b088a2e0f6e7f0d0ac09f79e4876ba88612e6e0ca487f3633b910160405180910390a1600955565b610ea56115a5565b610c236000611d92565b610eb76115a5565b612710811115610f1b5760405162461bcd60e51b815260206004820152602960248201527f5f73656c6c4465765461782063616e6e6f7420657863656564204250535f44456044820152682727a6a4a720aa27a960b91b6064820152608401610c90565b60085460408051918252602082018390527fb586ed184cc52a9de023ce91b18e7c0af2d6e67c455593efb571c65748da800d910160405180910390a1600855565b610f646115a5565b600e805461ff001916610100179055565b610f7d6115a5565b610f878282611de4565b5050565b606060048054610a4390612208565b610fa26115a5565b6127108111156110055760405162461bcd60e51b815260206004820152602860248201527f5f6275794465765461782063616e6e6f7420657863656564204250535f44454e60448201526727a6a4a720aa27a960c11b6064820152608401610c90565b60065460408051918252602082018390527fc42f244a2cb2dfd33ff7e802759f2bc521c79832d2e43453eb4bb09e8196216b910160405180910390a1600655565b60003381611054828661122d565b9050838110156110b45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c90565b610bbd8286868403611481565b600033610ad4818585611679565b6110d76115a5565b600e805462ff0000191662010000179055565b6110f26115a5565b600c548211156111565760405162461bcd60e51b815260206004820152602960248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152680e8c2d888caeca8c2f60bb1b6064820152608401610c90565b611161308284611c16565b6040518281527f5a2ddfaa8cd29d1c9d0334d8197f34ae397aea07fdd59189acfe5010290ccd699060200160405180910390a181600c60008282546111a69190612299565b90915550505050565b6111b76115a5565b601555565b6111c46115a5565b600b54604080516001600160a01b03928316815291831660208301527f54920079c625fd9d65e9c2cc9e905b6045a1fc4b350cb1931738abb9fc74f59a910160405180910390a1600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6112606115a5565b600e5460408051630100000090920460ff161515825282151560208301527fae3a1b402f74f11fa4278ade0285e40f015bc944c463953eb7eba4dc7952a073910160405180910390a1600e805491151563010000000263ff00000019909216919091179055565b6112cf6115a5565b600d548211156113375760405162461bcd60e51b815260206004820152602d60248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f60448201526c0e8c2d8a4caeec2e4c8e6a8c2f609b1b6064820152608401610c90565b611342308284611c16565b6040518281527fbb94e30962759790974c82682351ddb23a0dd0156e5abbca7a62f9f48dcc61cb9060200160405180910390a181600d60008282546111a69190612299565b61138f6115a5565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c90565b610ba181611d92565b6114056115a5565b600a54604080516001600160a01b03928316815291831660208301527fa2e7e5be2ef4e337f327725cfb42a1922cffb5f8276b8683f0e24539eb259c4e910160405180910390a1600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061147a8284612258565b9392505050565b6001600160a01b0383166114e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b0382166115445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c90565b600061160b848461122d565b9050600019811461167357818110156116665760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b6116738484848403611481565b50505050565b6001600160a01b03821660009081526012602052604090205460ff16156116e25760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610c90565b6001600160a01b03831660009081526010602052604090205460ff168061172157506001600160a01b03821660009081526010602052604090205460ff165b1561173657611731838383611c16565b505050565b6015543060009081526018602052604090205410801590819061175c575060175460ff16155b80156117765750600f546001600160a01b03858116911614155b801561178b5750600e546301000000900460ff165b1561179857611798610c00565b600f54829060009081906001600160a01b039081169088160361183f57600e54610100900460ff166118085760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610c90565b60026014546118179190612258565b431161182857611828866001611de4565b611833856001611e6c565b9194509250905061190b565b600f546001600160a01b03908116908716036118b357600e54610100900460ff166118a85760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610c90565b611833856000611e6c565b600e5462010000900460ff1661190b5760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665727320617265206e6f742079657420616374697665000000006044820152606401610c90565b611916878785611c16565b611921878383611f0e565b50505050505050565b6017805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061196c5761196c6122ac565b60200260200101906001600160a01b031690816001600160a01b031681525050600e60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0391906122c2565b81600181518110611a1657611a166122ac565b6001600160a01b039283166020918202929092010152600e54611a4491309164010000000090041684611481565b600e5460405163791ac94760e01b8152479164010000000090046001600160a01b03169063791ac94790611a859086906000908790309042906004016122df565b600060405180830381600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b5050505060008147611ac59190612299565b90506000611ae0600d54600c5461146e90919063ffffffff16565b90506000611b0382611afd600c5489611fb390919063ffffffff16565b90611fbf565b90506000611b2083611afd600d548a611fb390919063ffffffff16565b90506000611b3d84611afd600c5488611fb390919063ffffffff16565b90506000611b5a85611afd600d5489611fb390919063ffffffff16565b600c54909150611b6a9085611fcb565b600c55600d54611b7a9084611fcb565b600d558115611bbf57600a546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611bbd573d6000803e3d6000fd5b505b8015611c0157600b546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611bff573d6000803e3d6000fd5b505b50506017805460ff1916905550505050505050565b6001600160a01b038316611c6c5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610c90565b6001600160a01b038216611cc25760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610c90565b6001600160a01b03831660009081526018602052604090205481811015611d2b5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610c90565b611d358483611fd7565b611d3f838361201b565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d8491815260200190565b60405180910390a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660008181526012602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60008060008315611eb657611e92612710611afd60065488611fb390919063ffffffff16565b9150611eaf612710611afd60075488611fb390919063ffffffff16565b9050611ef1565b611ed1612710611afd60085488611fb390919063ffffffff16565b9150611eee612710611afd60095488611fb390919063ffffffff16565b90505b611f0581611eff8785611fcb565b90611fcb565b92509250925092565b6001600160a01b038316611f645760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610c90565b6000611f70838361146e565b9050611f7d843083611c16565b82600c6000828254611f8f9190612258565b9250508190555081600d6000828254611fa89190612258565b909155505050505050565b600061147a8284612350565b600061147a828461236f565b600061147a8284612299565b6001600160a01b038216600090815260186020526040902054611ffb908290612299565b6001600160a01b0390921660009081526018602052604090209190915550565b6001600160a01b038216600090815260186020526040902054611ffb908290612258565b600060208083528351808285015260005b8181101561206c57858101830151858201604001528201612050565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ba157600080fd5b600080604083850312156120b557600080fd5b82356120c08161208d565b946020939093013593505050565b803580151581146120de57600080fd5b919050565b600080604083850312156120f657600080fd5b82356121018161208d565b915061210f602084016120ce565b90509250929050565b60008060006060848603121561212d57600080fd5b83356121388161208d565b925060208401356121488161208d565b929592945050506040919091013590565b60006020828403121561216b57600080fd5b813561147a8161208d565b60006020828403121561218857600080fd5b5035919050565b600080604083850312156121a257600080fd5b8235915060208301356121b48161208d565b809150509250929050565b600080604083850312156121d257600080fd5b82356121dd8161208d565b915060208301356121b48161208d565b6000602082840312156121ff57600080fd5b61147a826120ce565b600181811c9082168061221c57607f821691505b60208210810361223c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ada57610ada612242565b60008060006060848603121561228057600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610ada57610ada612242565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122d457600080fd5b815161147a8161208d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561232f5784516001600160a01b03168352938301939183019160010161230a565b50506001600160a01b03969096166060850152505050608001529392505050565b600081600019048311821515161561236a5761236a612242565b500290565b60008261238c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212200d853c360a73aaa30e7db26a1c10b37f7c48eb89501f83b63740dd27e271616364736f6c634300081000330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000069f3e70f5ccbe7152258a656f7a98188ed90c7130000000000000000000000006903504f6d9c84b3d4a4f78ac42337060a1f0afd

Deployed Bytecode

0x60806040526004361061036f5760003560e01c80639155e083116101c6578063be691883116100f7578063ed00c02511610095578063f2fde38b1161006f578063f2fde38b1461099c578063f887ea40146109bc578063f9f92be4146109e4578063fe033fda14610a1457600080fd5b8063ed00c02514610947578063f016d83b14610967578063f29e44861461097c57600080fd5b8063db12c8b6116100d1578063db12c8b6146108d1578063dd62ed3e146108f1578063e1a4521814610911578063e3f9fc631461092757600080fd5b8063be69188314610878578063c1adf7bc1461088e578063cd51e6d4146108bb57600080fd5b8063a9059cbb11610164578063b082c19a1161013e578063b082c19a146107f8578063b0ac157114610818578063b9ccf21d14610838578063bbc0c7421461085957600080fd5b8063a9059cbb146107ad578063af35c6c7146107cd578063af8f26e7146107e257600080fd5b8063967a3a10116101a0578063967a3a101461071d578063a3e8730e1461074d578063a457c2d71461076d578063a8aa1b311461078d57600080fd5b80639155e083146106ce5780639207cc5d146106ee57806395d89b411461070857600080fd5b80633a67a0f6116102a05780635d20d9181161023e578063715018a611610218578063715018a6146106665780637db557e31461067b5780638a8c523c1461069b5780638da5cb5b146106b057600080fd5b80635d20d918146105fa5780636053b8811461061a57806370a082311461063057600080fd5b80634c6d1cd81161027a5780634c6d1cd81461059b57806351c6590a146105bb5780635a686d54146105ce5780635b78f35f146105e457600080fd5b80633a67a0f6146105515780633e9ffbea146105665780633f651a5f1461057b57600080fd5b80632433c0781161030d578063313ce567116102e7578063313ce567146104c557806332cb6b0c146104e1578063395093511461050157806339b622d31461052157600080fd5b80632433c0781461046157806325edf518146104995780632f1e3e82146104af57600080fd5b806318160ddd1161034957806318160ddd146103ed57806319c2c40d1461040c57806320800a001461042c57806323b872dd1461044157600080fd5b806306fdde031461037b578063095ea7b3146103a657806317700f01146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a34565b60405161039d919061203f565b60405180910390f35b3480156103b257600080fd5b506103c66103c13660046120a2565b610ac6565b604051901515815260200161039d565b3480156103e257600080fd5b506103eb610ae0565b005b3480156103f957600080fd5b506016545b60405190815260200161039d565b34801561041857600080fd5b506103eb6104273660046120e3565b610af5565b34801561043857600080fd5b506103eb610b60565b34801561044d57600080fd5b506103c661045c366004612118565b610ba4565b34801561046d57600080fd5b50600a54610481906001600160a01b031681565b6040516001600160a01b03909116815260200161039d565b3480156104a557600080fd5b506103fe600c5481565b3480156104bb57600080fd5b506103fe600d5481565b3480156104d157600080fd5b506040516012815260200161039d565b3480156104ed57600080fd5b506103fe6b033b2e3c9fd0803ce800000081565b34801561050d57600080fd5b506103c661051c3660046120a2565b610bc8565b34801561052d57600080fd5b506103c661053c366004612159565b60106020526000908152604090205460ff1681565b34801561055d57600080fd5b506103eb610bea565b34801561057257600080fd5b506103eb610c00565b34801561058757600080fd5b50600b54610481906001600160a01b031681565b3480156105a757600080fd5b506103eb6105b6366004612176565b610c25565b6103eb6105c9366004612176565b610cda565b3480156105da57600080fd5b506103fe60075481565b3480156105f057600080fd5b506103fe60155481565b34801561060657600080fd5b506103eb610615366004612176565b610dec565b34801561062657600080fd5b506103fe60095481565b34801561063c57600080fd5b506103fe61064b366004612159565b6001600160a01b031660009081526018602052604090205490565b34801561067257600080fd5b506103eb610e9d565b34801561068757600080fd5b506103eb610696366004612176565b610eaf565b3480156106a757600080fd5b506103eb610f5c565b3480156106bc57600080fd5b506005546001600160a01b0316610481565b3480156106da57600080fd5b506103eb6106e93660046120e3565b610f75565b3480156106fa57600080fd5b50600e546103c69060ff1681565b34801561071457600080fd5b50610390610f8b565b34801561072957600080fd5b506103c6610738366004612159565b60136020526000908152604090205460ff1681565b34801561075957600080fd5b506103eb610768366004612176565b610f9a565b34801561077957600080fd5b506103c66107883660046120a2565b611046565b34801561079957600080fd5b50600f54610481906001600160a01b031681565b3480156107b957600080fd5b506103c66107c83660046120a2565b6110c1565b3480156107d957600080fd5b506103eb6110cf565b3480156107ee57600080fd5b506103fe60065481565b34801561080457600080fd5b506103eb61081336600461218f565b6110ea565b34801561082457600080fd5b506103eb610833366004612176565b6111af565b34801561084457600080fd5b50600e546103c6906301000000900460ff1681565b34801561086557600080fd5b50600e546103c690610100900460ff1681565b34801561088457600080fd5b506103fe60085481565b34801561089a57600080fd5b506103fe6108a9366004612159565b60116020526000908152604090205481565b3480156108c757600080fd5b506103fe60145481565b3480156108dd57600080fd5b506103eb6108ec366004612159565b6111bc565b3480156108fd57600080fd5b506103fe61090c3660046121bf565b61122d565b34801561091d57600080fd5b506103fe61271081565b34801561093357600080fd5b506103eb6109423660046121ed565b611258565b34801561095357600080fd5b506103eb61096236600461218f565b6112c7565b34801561097357600080fd5b506103fe600281565b34801561098857600080fd5b50600e546103c69062010000900460ff1681565b3480156109a857600080fd5b506103eb6109b7366004612159565b611387565b3480156109c857600080fd5b50600e546104819064010000000090046001600160a01b031681565b3480156109f057600080fd5b506103c66109ff366004612159565b60126020526000908152604090205460ff1681565b348015610a2057600080fd5b506103eb610a2f366004612159565b6113fd565b606060038054610a4390612208565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90612208565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b5050505050905090565b600033610ad4818585611481565b60019150505b92915050565b610ae86115a5565b600e805461ff0019169055565b610afd6115a5565b6001600160a01b038216600081815260106020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b610b686115a5565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ba1573d6000803e3d6000fd5b50565b600033610bb28582856115ff565b610bbd858585611679565b506001949350505050565b600033610ad4818585610bdb838361122d565b610be59190612258565b611481565b610bf26115a5565b600e805462ff000019169055565b60175460ff16610c235730600090815260186020526040902054610c239061192a565b565b610c2d6115a5565b612710811115610c995760405162461bcd60e51b815260206004820152602c60248201527f5f627579526577617264735461782063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b60075460408051918252602082018390527f329f5e7109b9e04ed6c5230453b1f7e26c4b2d5cca1b3905f5d9568673a9e9fe910160405180910390a1600755565b610ce26115a5565b6017805461ff001916610100179055610cfc333083611c16565b600e54610d1c90309064010000000090046001600160a01b031683611481565b600e546001600160a01b036401000000009091041663f305d719343084600080610d4e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610db6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ddb919061226b565b50506017805461ff00191690555050565b610df46115a5565b612710811115610e5c5760405162461bcd60e51b815260206004820152602d60248201527f5f73656c6c526577617264735461782063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610c90565b60095460408051918252602082018390527fcc0c894e0aa284b088a2e0f6e7f0d0ac09f79e4876ba88612e6e0ca487f3633b910160405180910390a1600955565b610ea56115a5565b610c236000611d92565b610eb76115a5565b612710811115610f1b5760405162461bcd60e51b815260206004820152602960248201527f5f73656c6c4465765461782063616e6e6f7420657863656564204250535f44456044820152682727a6a4a720aa27a960b91b6064820152608401610c90565b60085460408051918252602082018390527fb586ed184cc52a9de023ce91b18e7c0af2d6e67c455593efb571c65748da800d910160405180910390a1600855565b610f646115a5565b600e805461ff001916610100179055565b610f7d6115a5565b610f878282611de4565b5050565b606060048054610a4390612208565b610fa26115a5565b6127108111156110055760405162461bcd60e51b815260206004820152602860248201527f5f6275794465765461782063616e6e6f7420657863656564204250535f44454e60448201526727a6a4a720aa27a960c11b6064820152608401610c90565b60065460408051918252602082018390527fc42f244a2cb2dfd33ff7e802759f2bc521c79832d2e43453eb4bb09e8196216b910160405180910390a1600655565b60003381611054828661122d565b9050838110156110b45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c90565b610bbd8286868403611481565b600033610ad4818585611679565b6110d76115a5565b600e805462ff0000191662010000179055565b6110f26115a5565b600c548211156111565760405162461bcd60e51b815260206004820152602960248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152680e8c2d888caeca8c2f60bb1b6064820152608401610c90565b611161308284611c16565b6040518281527f5a2ddfaa8cd29d1c9d0334d8197f34ae397aea07fdd59189acfe5010290ccd699060200160405180910390a181600c60008282546111a69190612299565b90915550505050565b6111b76115a5565b601555565b6111c46115a5565b600b54604080516001600160a01b03928316815291831660208301527f54920079c625fd9d65e9c2cc9e905b6045a1fc4b350cb1931738abb9fc74f59a910160405180910390a1600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6112606115a5565b600e5460408051630100000090920460ff161515825282151560208301527fae3a1b402f74f11fa4278ade0285e40f015bc944c463953eb7eba4dc7952a073910160405180910390a1600e805491151563010000000263ff00000019909216919091179055565b6112cf6115a5565b600d548211156113375760405162461bcd60e51b815260206004820152602d60248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f60448201526c0e8c2d8a4caeec2e4c8e6a8c2f609b1b6064820152608401610c90565b611342308284611c16565b6040518281527fbb94e30962759790974c82682351ddb23a0dd0156e5abbca7a62f9f48dcc61cb9060200160405180910390a181600d60008282546111a69190612299565b61138f6115a5565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c90565b610ba181611d92565b6114056115a5565b600a54604080516001600160a01b03928316815291831660208301527fa2e7e5be2ef4e337f327725cfb42a1922cffb5f8276b8683f0e24539eb259c4e910160405180910390a1600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061147a8284612258565b9392505050565b6001600160a01b0383166114e35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b0382166115445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c90565b600061160b848461122d565b9050600019811461167357818110156116665760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b6116738484848403611481565b50505050565b6001600160a01b03821660009081526012602052604090205460ff16156116e25760405162461bcd60e51b815260206004820152601860248201527f526563697069656e7420697320626c61636b6c697374656400000000000000006044820152606401610c90565b6001600160a01b03831660009081526010602052604090205460ff168061172157506001600160a01b03821660009081526010602052604090205460ff165b1561173657611731838383611c16565b505050565b6015543060009081526018602052604090205410801590819061175c575060175460ff16155b80156117765750600f546001600160a01b03858116911614155b801561178b5750600e546301000000900460ff165b1561179857611798610c00565b600f54829060009081906001600160a01b039081169088160361183f57600e54610100900460ff166118085760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610c90565b60026014546118179190612258565b431161182857611828866001611de4565b611833856001611e6c565b9194509250905061190b565b600f546001600160a01b03908116908716036118b357600e54610100900460ff166118a85760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610c90565b611833856000611e6c565b600e5462010000900460ff1661190b5760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665727320617265206e6f742079657420616374697665000000006044820152606401610c90565b611916878785611c16565b611921878383611f0e565b50505050505050565b6017805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061196c5761196c6122ac565b60200260200101906001600160a01b031690816001600160a01b031681525050600e60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0391906122c2565b81600181518110611a1657611a166122ac565b6001600160a01b039283166020918202929092010152600e54611a4491309164010000000090041684611481565b600e5460405163791ac94760e01b8152479164010000000090046001600160a01b03169063791ac94790611a859086906000908790309042906004016122df565b600060405180830381600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b5050505060008147611ac59190612299565b90506000611ae0600d54600c5461146e90919063ffffffff16565b90506000611b0382611afd600c5489611fb390919063ffffffff16565b90611fbf565b90506000611b2083611afd600d548a611fb390919063ffffffff16565b90506000611b3d84611afd600c5488611fb390919063ffffffff16565b90506000611b5a85611afd600d5489611fb390919063ffffffff16565b600c54909150611b6a9085611fcb565b600c55600d54611b7a9084611fcb565b600d558115611bbf57600a546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611bbd573d6000803e3d6000fd5b505b8015611c0157600b546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611bff573d6000803e3d6000fd5b505b50506017805460ff1916905550505050505050565b6001600160a01b038316611c6c5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610c90565b6001600160a01b038216611cc25760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610c90565b6001600160a01b03831660009081526018602052604090205481811015611d2b5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610c90565b611d358483611fd7565b611d3f838361201b565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d8491815260200190565b60405180910390a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660008181526012602090815260409182902054825193845260ff1615159083015282151582820152517f248358295a71c50a9351204f4da6e13409c2887fde3625358fbb80b9743e433b9181900360600190a16001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60008060008315611eb657611e92612710611afd60065488611fb390919063ffffffff16565b9150611eaf612710611afd60075488611fb390919063ffffffff16565b9050611ef1565b611ed1612710611afd60085488611fb390919063ffffffff16565b9150611eee612710611afd60095488611fb390919063ffffffff16565b90505b611f0581611eff8785611fcb565b90611fcb565b92509250925092565b6001600160a01b038316611f645760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610c90565b6000611f70838361146e565b9050611f7d843083611c16565b82600c6000828254611f8f9190612258565b9250508190555081600d6000828254611fa89190612258565b909155505050505050565b600061147a8284612350565b600061147a828461236f565b600061147a8284612299565b6001600160a01b038216600090815260186020526040902054611ffb908290612299565b6001600160a01b0390921660009081526018602052604090209190915550565b6001600160a01b038216600090815260186020526040902054611ffb908290612258565b600060208083528351808285015260005b8181101561206c57858101830151858201604001528201612050565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ba157600080fd5b600080604083850312156120b557600080fd5b82356120c08161208d565b946020939093013593505050565b803580151581146120de57600080fd5b919050565b600080604083850312156120f657600080fd5b82356121018161208d565b915061210f602084016120ce565b90509250929050565b60008060006060848603121561212d57600080fd5b83356121388161208d565b925060208401356121488161208d565b929592945050506040919091013590565b60006020828403121561216b57600080fd5b813561147a8161208d565b60006020828403121561218857600080fd5b5035919050565b600080604083850312156121a257600080fd5b8235915060208301356121b48161208d565b809150509250929050565b600080604083850312156121d257600080fd5b82356121dd8161208d565b915060208301356121b48161208d565b6000602082840312156121ff57600080fd5b61147a826120ce565b600181811c9082168061221c57607f821691505b60208210810361223c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ada57610ada612242565b60008060006060848603121561228057600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610ada57610ada612242565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122d457600080fd5b815161147a8161208d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561232f5784516001600160a01b03168352938301939183019160010161230a565b50506001600160a01b03969096166060850152505050608001529392505050565b600081600019048311821515161561236a5761236a612242565b500290565b60008261238c57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212200d853c360a73aaa30e7db26a1c10b37f7c48eb89501f83b63740dd27e271616364736f6c63430008100033

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

0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000069f3e70f5ccbe7152258a656f7a98188ed90c7130000000000000000000000006903504f6d9c84b3d4a4f78ac42337060a1f0afd

-----Decoded View---------------
Arg [0] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [1] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _devTaxRecipient (address): 0x69f3E70F5cCBe7152258a656f7A98188Ed90c713
Arg [3] : _rewardsTaxRecipient (address): 0x6903504f6d9c84b3d4a4f78Ac42337060a1f0AFD

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 00000000000000000000000069f3e70f5ccbe7152258a656f7a98188ed90c713
Arg [3] : 0000000000000000000000006903504f6d9c84b3d4a4f78ac42337060a1f0afd


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.