ETH Price: $2,403.50 (-4.21%)

Token

ExPepe (三PEPE)
 

Overview

Max Total Supply

50,000,000 三PEPE

Holders

57

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ExPepe

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : ExPepe.sol
//                 #########    #########
//              ####+++++++#######++++++###
//             ##+++++++++++++###+++++++++##
//           ###++++#########################
//        #####+++##++++++########+++++++########
//     ####++#+##++++++###########################            .-''-.   _____     __  .-------.     .-''-.  .-------.     .-''-.
//    #++++##+++#++########+#################+#####         .'_ _   \  \   _\   /  / \  _(`)_ \  .'_ _   \ \  _(`)_ \  .'_ _   \
//     ####+-###++#############.    ##-##-##     +##       / ( ` )   ' .-./ ). /  '  | (_ o._)| / ( ` )   '| (_ o._)| / ( ` )   '
//      #++##++#+++++########+##   .########   .+#        . (_ o _)  | \ '_ .') .'   |  (_,_) /. (_ o _)  ||  (_,_) /. (_ o _)  |
//     ########++##++############################         |  (_,_)___|(_ (_) _) '    |   '-.-' |  (_,_)___||   '-.-' |  (_,_)___|
//    ##++++++++++++++++###########++++++++####           '  \   .---.  /    \   \   |   |     '  \   .---.|   |     '  \   .---.
//    #+++++++++++###++++++#####+++++++###++###            \  `-'    /  `-'`-'    \  |   |      \  `-'    /|   |      \  `-'    /
//   ##++++++++++######++++#++++++++++++++++++##            \       /  /  /   \    \ /   )       \       / /   )       \       /
//  ###++++++++++++#+++##++++++++++++++++++++++##            `'-..-'  '--'     '----'`---'        `'-..-'  `---'        `'-..-'
//  ###+++++++++++++#+-#++##++++++++++++++++++###
//  ###++++++++++++++##--#+--+##############---+#       EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP
//  ###++++++++++++++++###+-##++++++++++++++####        EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP EXPEPE.VIP
//   ##+++++++++++++++++++####+---+++++-----+###
//    ###++++++++++++++++++++++##############
//       #####+++++++++++++++++++++#+####
//           #########################
//                 ###############

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./DividendTracker.sol";
import "./interfaces/ILeaderContract.sol";

contract ExPepe is ERC20, Ownable {
    IUniswapRouter public router;
    address public pair;
    address public marketing;
    ILeaderContract public leaderContract;
    DividendTracker public dividendTracker;

    bool private swapping;
    bool public swapEnabled = true;
    bool public tradingEnabled;

    uint256 public swapTaxesAtAmount;
    uint256 public maxBuyAntiBotAmount;
    uint256 public maxSellAntiBotAmount;
    uint256 public txTradeCount;
    uint256 public antiBotTime;
    uint256 public blacklistTime;
    uint256 cachedFeeAmountForHolder;
    uint256 cachedFeeAmountForMarketing;

    struct Taxes {
        uint256 holder;
        uint256 marketing;
        uint256 leaderContract;
    }

    // Decimal 2: 100 = 1%
    // Anti-bot
    Taxes public antiBotTaxes = Taxes(0, 8000, 0);
    // First 100 tx
    Taxes public phase1Taxes = Taxes(250, 250, 500);
    // 101 tx to 500 tx
    Taxes public phase2Taxes = Taxes(150, 150, 200);
    // After 501 tx
    Taxes public phase3Taxes = Taxes(200, 0, 100);

    // Decimal 2: 100 = 1%
    uint256 public constant totalAntiBotTax = 8000;
    uint256 public constant totalPhase1Tax = 1000;
    uint256 public constant totalPhase2Tax = 500;
    uint256 public constant totalPhase3Tax = 300;

    // phase1Tx = 0;
    uint256 public constant phase2Tx = 100;
    uint256 public constant phase3Tx = 500;

    mapping(address => bool) public isBlacklist;
    mapping(address => bool) public isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => mapping(uint256 => bool)) public isTransferred;

    event SendDividends(uint256 amount);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor(
        address _marketing,
        address _routerAddress,
        address _leaderContract
    ) ERC20("ExPepe", unicode"三PEPE") {
        dividendTracker = new DividendTracker();

        IUniswapRouter _router = IUniswapRouter(_routerAddress);

        marketing = _marketing;

        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;

        pair = _pair;

        swapTaxesAtAmount = 100_000 * 10 ** 18;

        _approve(address(this), address(_router), type(uint256).max);

        maxBuyAntiBotAmount = 1_000_000 * 10 ** 18;
        maxSellAntiBotAmount = 1_000_000 * 10 ** 18;

        _setAutomatedMarketMakerPair(_pair, true);

        leaderContract = ILeaderContract(_leaderContract);
        leaderContract.init(address(this));

        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(_leaderContract, true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(0xdead), true);
        dividendTracker.excludeFromDividends(address(_router), true);

        isExcludedFromFees[owner()] = true;
        isExcludedFromFees[_marketing] = true;
        isExcludedFromFees[address(this)] = true;
        isExcludedFromFees[_leaderContract] = true;

        _mint(owner(), 50_000_000 * (10 ** 18));
    }

    receive() external payable {}

    function updateDividendTracker(address newAddress) public onlyOwner {
        DividendTracker newDividendTracker = DividendTracker(
            payable(newAddress)
        );
        newDividendTracker.excludeFromDividends(
            address(newDividendTracker),
            true
        );
        newDividendTracker.excludeFromDividends(address(this), true);
        newDividendTracker.excludeFromDividends(owner(), true);
        newDividendTracker.excludeFromDividends(address(router), true);
        dividendTracker = newDividendTracker;
    }

    function claim() external {
        dividendTracker.processAccount(payable(msg.sender));
    }

    function setMaxBuyAndSellAntiBot(
        uint256 maxBuyAntiBot,
        uint256 maxSellAntiBot
    ) external onlyOwner {
        maxBuyAntiBotAmount = maxBuyAntiBot;
        maxSellAntiBotAmount = maxSellAntiBot;
    }

    function setSwapTaxesAtAmount(uint256 amount) external onlyOwner {
        swapTaxesAtAmount = amount;
    }

    function rescueETH20Tokens(address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).transfer(
            owner(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function forceSend() external onlyOwner {
        uint256 ETHbalance = address(this).balance;
        (bool success, ) = payable(marketing).call{value: ETHbalance}("");
        require(success);
    }

    function dividendTrackerRescueETH20Tokens(
        address tokenAddress
    ) external onlyOwner {
        dividendTracker.trackerRescueETH20Tokens(msg.sender, tokenAddress);
    }

    function dividendTrackerRescueStuckETH() external {
        require(msg.sender == marketing, "Not Admin");
        dividendTracker.rescueStuckETH(payable(msg.sender));
    }

    function updateRouter(address newRouter) external onlyOwner {
        router = IUniswapRouter(newRouter);
    }

    function excludeFromFees(
        address account,
        bool excluded
    ) external onlyOwner {
        isExcludedFromFees[account] = excluded;
    }

    function excludeFromDividends(
        address account,
        bool value
    ) public onlyOwner {
        dividendTracker.excludeFromDividends(account, value);
    }

    function setMarketingAddress(
        address payable _newMarketing
    ) external onlyOwner {
        require(_newMarketing != address(0), "Can not set zero address");
        marketing = _newMarketing;
    }

    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
    }

    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
        antiBotTime = block.timestamp + 30;
        blacklistTime = block.timestamp + 600;
    }

    function setAutomatedMarketMakerPair(
        address newPair,
        bool value
    ) external onlyOwner {
        _setAutomatedMarketMakerPair(newPair, value);
    }

    function _setAutomatedMarketMakerPair(address newPair, bool value) private {
        require(
            automatedMarketMakerPairs[newPair] != value,
            "Automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[newPair] = value;

        if (value) {
            dividendTracker.excludeFromDividends(newPair, true);
        }

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

    function withdrawableDividendOf(
        address account
    ) public view returns (uint256) {
        return dividendTracker.withdrawableDividendOf(account);
    }

    function dividendTokenBalanceOf(
        address account
    ) public view returns (uint256) {
        return dividendTracker.balanceOf(account);
    }

    function getAccountInfo(
        address account
    ) external view returns (address, uint256, uint256, uint256, uint256) {
        return dividendTracker.getAccount(account);
    }

    function addToBlacklist(address[] calldata _addresses) external onlyOwner {
        require(
            block.timestamp <= blacklistTime || !tradingEnabled,
            "Can only add blacklist in the first 10 minutes"
        );
        for (uint256 i = 0; i < _addresses.length; i++) {
            isBlacklist[_addresses[i]] = true;
        }
    }

    function removeBlacklist(address[] calldata _addresses) external onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            isBlacklist[_addresses[i]] = false;
        }
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!isBlacklist[from] && !isBlacklist[to], "In blacklist");
        bool isBot = false;
        if (!isExcludedFromFees[from] && !isExcludedFromFees[to] && !swapping) {
            require(tradingEnabled, "Trading is not enabled");
            if (antiBotTime >= block.timestamp) {
                if (automatedMarketMakerPairs[to]) {
                    if (amount >= maxSellAntiBotAmount) isBot = true;
                } else if (automatedMarketMakerPairs[from]) {
                    if (amount >= maxBuyAntiBotAmount) isBot = true;
                }
            }
        }

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (tx.origin == from || tx.origin == to) {
            require(!isTransferred[tx.origin][block.number], "Robot!");
            isTransferred[tx.origin][block.number] = true;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTaxesAtAmount;

        if (
            canSwap &&
            !swapping &&
            swapEnabled &&
            automatedMarketMakerPairs[to] &&
            !isExcludedFromFees[from] &&
            !isExcludedFromFees[to]
        ) {
            swapping = true;

            swapAndSend(swapTaxesAtAmount);

            swapping = false;
        }

        bool takeFee = !swapping;

        if (isExcludedFromFees[from] || isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (!automatedMarketMakerPairs[to] && !automatedMarketMakerPairs[from])
            takeFee = false;

        if (takeFee) {
            uint256 feeAmt;
            uint256 feeToHolder;
            uint256 feeToLeader;
            uint256 curTotalPhaseTax;
            uint256 lastTxTradeCount = txTradeCount;
            lastTxTradeCount++;
            txTradeCount = lastTxTradeCount;
            Taxes memory curPhase;

            if (isBot) {
                curTotalPhaseTax = totalAntiBotTax;
                curPhase = antiBotTaxes;
            } else if (lastTxTradeCount <= phase2Tx) {
                curTotalPhaseTax = totalPhase1Tax;
                curPhase = phase1Taxes;
            } else if (lastTxTradeCount <= phase3Tx) {
                curTotalPhaseTax = totalPhase2Tax;
                curPhase = phase2Taxes;
            } else {
                curTotalPhaseTax = totalPhase3Tax;
                curPhase = phase3Taxes;
            }
            feeAmt = (amount * curTotalPhaseTax) / 10000; // decimal 2, total fee
            amount = amount - feeAmt; //amount: go to reciever
            feeToHolder = (feeAmt * curPhase.holder) / curTotalPhaseTax;
            feeToLeader = (feeAmt * curPhase.leaderContract) / curTotalPhaseTax;
            feeAmt = feeAmt - feeToLeader - feeToHolder; // reused variable: feeAmt is for marketing

            cachedFeeAmountForHolder += feeToHolder;
            cachedFeeAmountForMarketing += feeAmt;
            super._transfer(from, address(this), feeAmt + feeToHolder);

            leaderContract.updateReward(feeToLeader);
            super._transfer(from, address(leaderContract), feeToLeader);
        }
        super._transfer(from, to, amount);
        try dividendTracker.setBalance(from, balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(to, balanceOf(to)) {} catch {}
    }

    function swapAndSend(uint256 tokens) private {
        swapTokensForETH(tokens);

        uint256 feeForMarketing = cachedFeeAmountForMarketing;
        uint256 feeForHolder = cachedFeeAmountForHolder;
        cachedFeeAmountForMarketing = 0;
        cachedFeeAmountForHolder = 0;

        uint256 totalETHfee = address(this).balance;

        uint256 ethForMarketing = (totalETHfee * feeForMarketing) /
            (feeForMarketing + feeForHolder);
        uint256 ethForHolder = totalETHfee - ethForMarketing;

        if (ethForMarketing > 0) {
            payable(marketing).transfer(ethForMarketing);
        }

        if (ethForHolder > 0) {
            try dividendTracker.distributeRewardDividends(ethForHolder) {
                payable(dividendTracker).transfer(ethForHolder);
                emit SendDividends(ethForHolder);
            } catch {}
        }
    }

    function manualTokenDistributionForHolder(uint256 amount) public onlyOwner {
        bool success = IERC20(address(this)).transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeRewardDividends(amount);
        }
    }

    function swapTokensForETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 5 of 12 : 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);
}

File 6 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 7 of 12 : 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 8 of 12 : DividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./SafeMath.sol";
import "./interfaces/IDividendPayingToken.sol";

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

    function token0() external view returns (address);
}

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

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

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

    function WETH() external pure returns (address);

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

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

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

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

contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
    // For more discussion about choosing the value of `magnitude`,
    //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
    uint256 internal constant magnitude = 2 ** 128;

    uint256 internal magnifiedDividendPerShare;

    // About dividendCorrection:
    // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
    // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
    //   `dividendOf(_user)` should not be changed,
    //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
    // To keep the `dividendOf(_user)` unchanged, we add a correction term:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
    //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
    //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
    // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;

    uint256 public totalDividendsDistributed;
    uint256 public totalDividendsWithdrawn;

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC20(_name, _symbol) {}

    function distributeRewardDividends(uint256 amount) public onlyOwner {
        require(totalSupply() > 0);

        if (amount > 0) {
            magnifiedDividendPerShare = magnifiedDividendPerShare.add(
                (amount).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amount);

            totalDividendsDistributed = totalDividendsDistributed.add(amount);
        }
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function withdrawDividend() public virtual override {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function _withdrawDividendOfUser(
        address payable user
    ) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] = withdrawnDividends[user].add(
                _withdrawableDividend
            );
            totalDividendsWithdrawn += _withdrawableDividend;
            emit DividendWithdrawn(user, _withdrawableDividend);
            user.transfer(_withdrawableDividend);
            return _withdrawableDividend;
        }

        return 0;
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner) public view override returns (uint256) {
        return withdrawableDividendOf(_owner);
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(
        address _owner
    ) public view override returns (uint256) {
        return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
    }

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(
        address _owner
    ) public view override returns (uint256) {
        return withdrawnDividends[_owner];
    }

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(
        address _owner
    ) public view override returns (uint256) {
        return
            magnifiedDividendPerShare
                .mul(balanceOf(_owner))
                .toInt256Safe()
                .add(magnifiedDividendCorrections[_owner])
                .toUint256Safe() / magnitude;
    }

    /// @dev Internal function that transfer tokens from one address to another.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param from The address to transfer from.
    /// @param to The address to transfer to.
    /// @param value The amount to be transferred.
    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual override {
        int256 _magCorrection = magnifiedDividendPerShare
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from]
            .add(_magCorrection);
        magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(
            _magCorrection
        );
    }

    /// @dev Internal function that mints tokens to an account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account that will receive the created tokens.
    /// @param value The amount that will be created.
    function _mint(address account, uint256 value) internal override {
        super._mint(account, value);

        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }

    /// @dev Internal function that burns an amount of the token of a given account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account whose tokens will be burnt.
    /// @param value The amount that will be burnt.
    function _burn(address account, uint256 value) internal override {
        super._burn(account, value);

        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
            account
        ].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = balanceOf(account);

        if (newBalance > currentBalance) {
            uint256 mintAmount = newBalance.sub(currentBalance);
            _mint(account, mintAmount);
        } else if (newBalance < currentBalance) {
            uint256 burnAmount = currentBalance.sub(newBalance);
            _burn(account, burnAmount);
        }
    }

    receive() external payable virtual {}
}

File 9 of 12 : DividendTracker.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./DividendPayingToken.sol";

contract DividendTracker is Ownable, DividendPayingToken {
    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 totalDividends;
        uint256 lastClaimTime;
    }

    mapping(address => bool) public excludedFromDividends;
    mapping(address => uint256) public lastClaimTimes;

    event ExcludeFromDividends(address indexed account, bool value);
    event Claim(address indexed account, uint256 amount);

    constructor()
        DividendPayingToken(
            unicode"三PEPE_Dividend_Tracker",
            unicode"三PEPE_Dividend_Tracker"
        )
    {}

    function trackerRescueETH20Tokens(
        address recipient,
        address tokenAddress
    ) external onlyOwner {
        IERC20(tokenAddress).transfer(
            recipient,
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function _transfer(address, address, uint256) internal pure override {
        require(false, "Dividend_Tracker: Transfer not allowed");
    }

    function rescueStuckETH(address payable recipient) external onlyOwner {
        recipient.transfer(address(this).balance);
    }

    function excludeFromDividends(
        address account,
        bool value
    ) external onlyOwner {
        require(excludedFromDividends[account] != value);
        excludedFromDividends[account] = value;
        if (value == true) {
            _setBalance(account, 0);
        } else {
            _setBalance(account, balanceOf(account));
        }
        emit ExcludeFromDividends(account, value);
    }

    function getAccount(
        address account
    ) public view returns (address, uint256, uint256, uint256, uint256) {
        AccountInfo memory info;
        info.account = account;
        info.withdrawableDividends = withdrawableDividendOf(account);
        info.totalDividends = accumulativeDividendOf(account);
        info.lastClaimTime = lastClaimTimes[account];
        return (
            info.account,
            info.withdrawableDividends,
            info.totalDividends,
            info.lastClaimTime,
            totalDividendsWithdrawn
        );
    }

    function setBalance(
        address account,
        uint256 newBalance
    ) external onlyOwner {
        if (excludedFromDividends[account]) {
            return;
        }
        _setBalance(account, newBalance);
    }

    function processAccount(
        address payable account
    ) external onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount);
            return true;
        }
        return false;
    }
}

File 10 of 12 : IDividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

interface DividendPayingTokenInterface {
    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner) external view returns (uint256);

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
    ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
    function withdrawDividend() external;

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(
        address _owner
    ) external view returns (uint256);

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(
        address _owner
    ) external view returns (uint256);

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(
        address _owner
    ) external view returns (uint256);

    /// @dev This event MUST emit when ether is distributed to token holders.
    /// @param from The address which sends ether to this contract.
    /// @param weiAmount The amount of distributed ether in wei.
    event DividendsDistributed(address indexed from, uint256 weiAmount);

    /// @dev This event MUST emit when an address withdraws their dividend.
    /// @param to The address which withdraws ether from this contract.
    /// @param weiAmount The amount of withdrawn ether in wei.
    event DividendWithdrawn(address indexed to, uint256 weiAmount);
}

File 11 of 12 : ILeaderContract.sol
pragma solidity ^0.8.0;

interface ILeaderContract {
    function init(address _rewardToken) external;

    function updateReward(uint256 _amount) external;
}

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

pragma solidity ^0.8.6;

library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_marketing","type":"address"},{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_leaderContract","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":"activateTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","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":[],"name":"antiBotTaxes","outputs":[{"internalType":"uint256","name":"holder","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"leaderContract","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotTime","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blacklistTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"dividendTrackerRescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dividendTrackerRescueStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isTransferred","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leaderContract","outputs":[{"internalType":"contract ILeaderContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualTokenDistributionForHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketing","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAntiBotAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAntiBotAmount","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":[],"name":"phase1Taxes","outputs":[{"internalType":"uint256","name":"holder","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"leaderContract","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Taxes","outputs":[{"internalType":"uint256","name":"holder","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"leaderContract","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Tx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase3Taxes","outputs":[{"internalType":"uint256","name":"holder","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"leaderContract","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase3Tx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newMarketing","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBuyAntiBot","type":"uint256"},{"internalType":"uint256","name":"maxSellAntiBot","type":"uint256"}],"name":"setMaxBuyAndSellAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTaxesAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTaxesAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAntiBotTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPhase1Tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPhase2Tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPhase3Tax","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":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"txTradeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

600a805460ff60a81b1916600160a81b17905560006080819052611f4060a081905260c08290526013829055601455601581905560fa60e08190526101008190526101f46101208190526016829055601791909155601855609661014081905261016081905260c86101808190526019829055601a91909155601b8190556102006040526101a08190526101c082905260646101e0819052601c91909155601d91909155601e55348015620000b357600080fd5b506040516200539338038062005393833981016040819052620000d69162000ba0565b604080518082018252600681526545785065706560d01b602080830191825283518085019094526007845266e4b8895045504560c81b908401528151919291620001239160039162000acf565b5080516200013990600490602084019062000acf565b50505062000156620001506200071260201b60201c565b62000716565b604051620001649062000b5e565b604051809103906000f08015801562000181573d6000803e3d6000fd5b50600a80546001600160a01b03199081166001600160a01b0393841617909155600880549091168583161790556040805163c45a015560e01b8152905184926000929084169163c45a0155916004808201926020929091908290030181865afa158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000219919062000bea565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000267573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028d919062000bea565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002db573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000301919062000bea565b600680546001600160a01b038086166001600160a01b031992831617909255600780549284169290911691909117905569152d02c7e14af6800000600b55905062000350308360001962000768565b69d3c21bcecceda1000000600c819055600d556200037081600162000894565b600980546001600160a01b0319166001600160a01b03851690811790915560405163066ad14f60e21b81523060048201526319ab453c90602401600060405180830381600087803b158015620003c557600080fd5b505af1158015620003da573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b0390911660048201819052600160248301529250630483f7a09150604401600060405180830381600087803b1580156200042b57600080fd5b505af115801562000440573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b038781166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b1580156200049257600080fd5b505af1158015620004a7573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b158015620004f757600080fd5b505af11580156200050c573d6000803e3d6000fd5b5050600a546001600160a01b03169150630483f7a09050620005366005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200057f57600080fd5b505af115801562000594573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b815261dead6004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b158015620005e657600080fd5b505af1158015620005fb573d6000803e3d6000fd5b5050600a5460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b1580156200064d57600080fd5b505af115801562000662573d6000803e3d6000fd5b505050506001602060006200067c620009fd60201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790558982168152928052818320805485166001908117909155308452828420805486168217905590871683529120805490921617905562000707620006f56005546001600160a01b031690565b6a295be96e6406697200000062000a0c565b505050505062000c73565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620007d05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620008335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620007c7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03821660009081526021602052604090205460ff16151581151514156200092b5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401620007c7565b6001600160a01b0382166000908152602160205260409020805460ff19168215801591909117909155620009c157600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b158015620009a757600080fd5b505af1158015620009bc573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6001600160a01b03821662000a645760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620007c7565b806002600082825462000a78919062000c0f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b82805462000add9062000c36565b90600052602060002090601f01602090048101928262000b01576000855562000b4c565b82601f1062000b1c57805160ff191683800117855562000b4c565b8280016001018555821562000b4c579182015b8281111562000b4c57825182559160200191906001019062000b2f565b5062000b5a92915062000b6c565b5090565b611a8d806200390683390190565b5b8082111562000b5a576000815560010162000b6d565b80516001600160a01b038116811462000b9b57600080fd5b919050565b60008060006060848603121562000bb657600080fd5b62000bc18462000b83565b925062000bd16020850162000b83565b915062000be16040850162000b83565b90509250925092565b60006020828403121562000bfd57600080fd5b62000c088262000b83565b9392505050565b6000821982111562000c3157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168062000c4b57607f821691505b6020821081141562000c6d57634e487b7160e01b600052602260045260246000fd5b50919050565b612c838062000c836000396000f3fe6080604052600436106103bc5760003560e01c806370a08231116101f2578063a8aa1b311161010d578063cb5da9a6116100a0578063f2fde38b1161006f578063f2fde38b14610b31578063f887ea4014610b51578063fb17e97014610b71578063feb4916914610b9057600080fd5b8063cb5da9a614610abb578063cc44c3b514610adb578063dd62ed3e14610af1578063e01af92c14610b1157600080fd5b8063b62496f5116100dc578063b62496f514610a2b578063c024666814610a5b578063c0c645f914610a7b578063c851cc3214610a9b57600080fd5b8063a8aa1b31146109b5578063a8b9d240146109d5578063a9059cbb146109f5578063a9f1c25c14610a1557600080fd5b806388bdd9be1161018557806395d89b411161015457806395d89b41146109415780639a7a23d614610956578063a457c2d714610976578063a7ba6ce81461099657600080fd5b806388bdd9be146108c35780638da5cb5b146108e3578063906e9dd014610901578063935eb35f1461092157600080fd5b80637cb96b8c116101c15780637cb96b8c146108325780637ffe9a921461084857806380f2a12a146108835780638580cd58146108a357600080fd5b806370a0823114610775578063715018a6146107ab5780637911ef9d146107c05780637b510fe8146107e057600080fd5b80632f96bece116102e25780634e71d92d116102755780635c728bf4116102445780635c728bf4146105c15780635fe1c4261461071e5780636843cd84146107345780636ddd17131461075457600080fd5b80634e71d92d146106a55780634fab2bbb146106ba5780634fbee193146106d0578063516a54f1146106ff57600080fd5b806339509351116102b15780633950935114610638578063446443c5146106585780634489d6f81461066e5780634ada218b1461068457600080fd5b80632f96bece146105c157806330bb4cff146105d7578063313ce567146105ec578063333e99db1461060857600080fd5b80630bd05b691161035a5780631854f832116103295780631854f8321461052757806323b872dd146105615780632c1f5216146105815780632d3e474a146105a157600080fd5b80630bd05b69146104b05780630fde3d7c146104c557806312b77e8a146104fd57806318160ddd1461051257600080fd5b806307019cb91161039657806307019cb914610435578063070b8b121461044b578063095ea7b3146104605780630a78097d1461049057600080fd5b8063032d9076146103c85780630483f7a0146103f157806306fdde031461041357600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103de600d5481565b6040519081526020015b60405180910390f35b3480156103fd57600080fd5b5061041161040c3660046127ac565b610ba5565b005b34801561041f57600080fd5b50610428610c18565b6040516103e891906127e5565b34801561044157600080fd5b506103de600c5481565b34801561045757600080fd5b50610411610caa565b34801561046c57600080fd5b5061048061047b36600461283a565b610d54565b60405190151581526020016103e8565b34801561049c57600080fd5b506104116104ab366004612866565b610d6c565b3480156104bc57600080fd5b50610411610e70565b3480156104d157600080fd5b506009546104e5906001600160a01b031681565b6040516001600160a01b0390911681526020016103e8565b34801561050957600080fd5b50610411610f04565b34801561051e57600080fd5b506002546103de565b34801561053357600080fd5b5060135460145460155461054692919083565b604080519384526020840192909252908201526060016103e8565b34801561056d57600080fd5b5061048061057c36600461288a565b610f70565b34801561058d57600080fd5b50600a546104e5906001600160a01b031681565b3480156105ad57600080fd5b506008546104e5906001600160a01b031681565b3480156105cd57600080fd5b506103de6101f481565b3480156105e357600080fd5b506103de610f94565b3480156105f857600080fd5b50604051601281526020016103e8565b34801561061457600080fd5b50610480610623366004612866565b601f6020526000908152604090205460ff1681565b34801561064457600080fd5b5061048061065336600461283a565b611007565b34801561066457600080fd5b506103de600b5481565b34801561067a57600080fd5b506103de60105481565b34801561069057600080fd5b50600a5461048090600160b01b900460ff1681565b3480156106b157600080fd5b50610411611029565b3480156106c657600080fd5b506103de600f5481565b3480156106dc57600080fd5b506104806106eb366004612866565b602080526000908152604090205460ff1681565b34801561070b57600080fd5b5060165460175460185461054692919083565b34801561072a57600080fd5b506103de611f4081565b34801561074057600080fd5b506103de61074f366004612866565b61109a565b34801561076057600080fd5b50600a5461048090600160a81b900460ff1681565b34801561078157600080fd5b506103de610790366004612866565b6001600160a01b031660009081526020819052604090205490565b3480156107b757600080fd5b50610411611110565b3480156107cc57600080fd5b506104116107db3660046128cb565b611124565b3480156107ec57600080fd5b506108006107fb366004612866565b6111a3565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103e8565b34801561083e57600080fd5b506103de61012c81565b34801561085457600080fd5b5061048061086336600461283a565b602260209081526000928352604080842090915290825290205460ff1681565b34801561088f57600080fd5b5061041161089e366004612940565b61122d565b3480156108af57600080fd5b506104116108be366004612940565b6112ec565b3480156108cf57600080fd5b506104116108de366004612866565b6112f9565b3480156108ef57600080fd5b506005546001600160a01b03166104e5565b34801561090d57600080fd5b5061041161091c366004612866565b6114cb565b34801561092d57600080fd5b5061041161093c3660046128cb565b61154b565b34801561094d57600080fd5b50610428611643565b34801561096257600080fd5b506104116109713660046127ac565b611652565b34801561098257600080fd5b5061048061099136600461283a565b611664565b3480156109a257600080fd5b50601c54601d54601e5461054692919083565b3480156109c157600080fd5b506007546104e5906001600160a01b031681565b3480156109e157600080fd5b506103de6109f0366004612866565b6116df565b348015610a0157600080fd5b50610480610a1036600461283a565b611712565b348015610a2157600080fd5b506103de6103e881565b348015610a3757600080fd5b50610480610a46366004612866565b60216020526000908152604090205460ff1681565b348015610a6757600080fd5b50610411610a763660046127ac565b611720565b348015610a8757600080fd5b50610411610a96366004612959565b611752565b348015610aa757600080fd5b50610411610ab6366004612866565b611765565b348015610ac757600080fd5b50610411610ad6366004612866565b61178f565b348015610ae757600080fd5b506103de600e5481565b348015610afd57600080fd5b506103de610b0c36600461297b565b6117ff565b348015610b1d57600080fd5b50610411610b2c3660046129a9565b61182a565b348015610b3d57600080fd5b50610411610b4c366004612866565b611850565b348015610b5d57600080fd5b506006546104e5906001600160a01b031681565b348015610b7d57600080fd5b50601954601a54601b5461054692919083565b348015610b9c57600080fd5b506103de606481565b610bad6118c6565b600a5460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b505050505050565b606060038054610c27906129c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c53906129c6565b8015610ca05780601f10610c7557610100808354040283529160200191610ca0565b820191906000526020600020905b815481529060010190602001808311610c8357829003601f168201915b5050505050905090565b6008546001600160a01b03163314610cf55760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b60448201526064015b60405180910390fd5b600a546040516357283c5560e01b81523360048201526001600160a01b03909116906357283c5590602401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50505050565b600033610d62818585611920565b5060019392505050565b610d746118c6565b806001600160a01b031663a9059cbb610d956005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610dd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfd9190612a01565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c9190612a1a565b5050565b610e786118c6565b600a54600160b01b900460ff1615610ed25760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cec565b600a805460ff60b01b1916600160b01b179055610ef042601e612a4d565b600f55610eff42610258612a4d565b601055565b610f0c6118c6565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f5d576040519150601f19603f3d011682016040523d82523d6000602084013e610f62565b606091505b5050905080610e6c57600080fd5b600033610f7e858285611a44565b610f89858585611ab8565b506001949350505050565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190612a01565b905090565b600033610d6281858561101a83836117ff565b6110249190612a4d565b611920565b600a5460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015611073573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110979190612a1a565b50565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156110e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a9190612a01565b92915050565b6111186118c6565b6111226000612233565b565b61112c6118c6565b60005b8181101561119e576000601f600085858581811061114f5761114f612a65565b90506020020160208101906111649190612866565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061119681612a7b565b91505061112f565b505050565b600a5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa1580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b9190612a96565b939a9299509097509550909350915050565b6112356118c6565b600a546040516323b872dd60e01b81523360048201526001600160a01b0390911660248201526044810182905260009030906323b872dd906064016020604051808303816000875af115801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190612a1a565b90508015610e6c57600a54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa7690602401610be2565b6112f46118c6565b600b55565b6113016118c6565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561134a57600080fd5b505af115801561135e573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156113a957600080fd5b505af11580156113bd573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06113e26005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561142a57600080fd5b505af115801561143e573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b15801561148f57600080fd5b505af11580156114a3573d6000803e3d6000fd5b5050600a80546001600160a01b0319166001600160a01b039490941693909317909255505050565b6114d36118c6565b6001600160a01b0381166115295760405162461bcd60e51b815260206004820152601860248201527f43616e206e6f7420736574207a65726f206164647265737300000000000000006044820152606401610cec565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6115536118c6565b6010544211158061156e5750600a54600160b01b900460ff16155b6115d15760405162461bcd60e51b815260206004820152602e60248201527f43616e206f6e6c792061646420626c61636b6c69737420696e2074686520666960448201526d727374203130206d696e7574657360901b6064820152608401610cec565b60005b8181101561119e576001601f60008585858181106115f4576115f4612a65565b90506020020160208101906116099190612866565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061163b81612a7b565b9150506115d4565b606060048054610c27906129c6565b61165a6118c6565b610e6c8282612285565b6000338161167282866117ff565b9050838110156116d25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cec565b610f898286868403611920565b600a546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016110c9565b600033610d62818585611ab8565b6117286118c6565b6001600160a01b039190911660009081526020805260409020805460ff1916911515919091179055565b61175a6118c6565b600c91909155600d55565b61176d6118c6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6117976118c6565b600a5460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401600060405180830381600087803b1580156117e457600080fd5b505af11580156117f8573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6118326118c6565b600a8054911515600160a81b0260ff60a81b19909216919091179055565b6118586118c6565b6001600160a01b0381166118bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cec565b61109781612233565b6005546001600160a01b031633146111225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cec565b6001600160a01b0383166119825760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cec565b6001600160a01b0382166119e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cec565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a5084846117ff565b90506000198114610d4e5781811015611aab5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cec565b610d4e8484848403611920565b6001600160a01b038316611ade5760405162461bcd60e51b8152600401610cec90612adf565b6001600160a01b038216611b045760405162461bcd60e51b8152600401610cec90612b24565b6001600160a01b0383166000908152601f602052604090205460ff16158015611b4657506001600160a01b0382166000908152601f602052604090205460ff16155b611b815760405162461bcd60e51b815260206004820152600c60248201526b125b88189b1858dadb1a5cdd60a21b6044820152606401610cec565b6001600160a01b038316600090815260208052604081205460ff16158015611bc157506001600160a01b038316600090815260208052604090205460ff16155b8015611bd75750600a54600160a01b900460ff16155b15611c9857600a54600160b01b900460ff16611c2e5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610cec565b42600f5410611c98576001600160a01b03831660009081526021602052604090205460ff1615611c6a57600d548210611c65575060015b611c98565b6001600160a01b03841660009081526021602052604090205460ff1615611c9857600c548210611c98575060015b81611ca957610d4e848460006123e9565b326001600160a01b0385161480611cc85750326001600160a01b038416145b15611d475732600090815260226020908152604080832043845290915290205460ff1615611d215760405162461bcd60e51b8152602060048201526006602482015265526f626f742160d01b6044820152606401610cec565b3260009081526022602090815260408083204384529091529020805460ff191660011790555b30600090815260208190526040902054600b5481108015908190611d755750600a54600160a01b900460ff16155b8015611d8a5750600a54600160a81b900460ff165b8015611dae57506001600160a01b03851660009081526021602052604090205460ff165b8015611dd257506001600160a01b038616600090815260208052604090205460ff16155b8015611df657506001600160a01b038516600090815260208052604090205460ff16155b15611e2857600a805460ff60a01b1916600160a01b179055600b54611e1a90612513565b600a805460ff60a01b191690555b600a546001600160a01b038716600090815260208052604090205460ff600160a01b909204821615911680611e7457506001600160a01b038616600090815260208052604090205460ff165b15611e7d575060005b6001600160a01b03861660009081526021602052604090205460ff16158015611ebf57506001600160a01b03871660009081526021602052604090205460ff16155b15611ec8575060005b801561210d576000806000806000600e5490508080611ee690612a7b565b91505080600e81905550611f1460405180606001604052806000815260200160008152602001600081525090565b8915611f465750604080516060810182526013548152601454602082015260155491810191909152611f409250611fd7565b60648211611f7a57506040805160608101825260165481526017546020820152601854918101919091526103e89250611fd7565b6101f48211611faf5750604080516060810182526019548152601a546020820152601b54918101919091526101f49250611fd7565b5060408051606081018252601c548152601d546020820152601e549181019190915261012c92505b612710611fe4848d612b67565b611fee9190612b86565b9550611ffa868c612ba8565b8151909b50839061200b9088612b67565b6120159190612b86565b9450828160400151876120289190612b67565b6120329190612b86565b93508461203f8588612ba8565b6120499190612ba8565b9550846011600082825461205d9190612a4d565b9250508190555085601260008282546120769190612a4d565b9091555061209090508d3061208b888a612a4d565b6123e9565b60095460405163425c8abd60e01b8152600481018690526001600160a01b039091169063425c8abd90602401600060405180830381600087803b1580156120d657600080fd5b505af11580156120ea573d6000803e3d6000fd5b505060095461210692508f91506001600160a01b0316866123e9565b5050505050505b6121188787876123e9565b600a546001600160a01b031663e30443bc88612149816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561218f57600080fd5b505af19250505080156121a0575060015b50600a546001600160a01b031663e30443bc876121d2816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561221857600080fd5b505af1925050508015612229575060015b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526021602052604090205460ff161515811515141561231a5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cec565b6001600160a01b0382166000908152602160205260409020805460ff191682158015919091179091556123ad57600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561239457600080fd5b505af11580156123a8573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03831661240f5760405162461bcd60e51b8152600401610cec90612adf565b6001600160a01b0382166124355760405162461bcd60e51b8152600401610cec90612b24565b6001600160a01b038316600090815260208190526040902054818110156124ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cec565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d4e565b61251c8161267e565b6012805460118054600093849055908390559091479061253c8385612a4d565b6125468584612b67565b6125509190612b86565b9050600061255e8284612ba8565b905081156125a2576008546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156125a0573d6000803e3d6000fd5b505b8015610c1057600a54604051632287d53b60e11b8152600481018390526001600160a01b039091169063450faa7690602401600060405180830381600087803b1580156125ee57600080fd5b505af19250505080156125ff575060015b61260857610c10565b600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612642573d6000803e3d6000fd5b506040518181527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126b3576126b3612a65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561270c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127309190612bbf565b8160018151811061274357612743612a65565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790610be2908590600090869030904290600401612bdc565b6001600160a01b038116811461109757600080fd5b801515811461109757600080fd5b600080604083850312156127bf57600080fd5b82356127ca81612789565b915060208301356127da8161279e565b809150509250929050565b600060208083528351808285015260005b81811015612812578581018301518582016040015282016127f6565b81811115612824576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561284d57600080fd5b823561285881612789565b946020939093013593505050565b60006020828403121561287857600080fd5b813561288381612789565b9392505050565b60008060006060848603121561289f57600080fd5b83356128aa81612789565b925060208401356128ba81612789565b929592945050506040919091013590565b600080602083850312156128de57600080fd5b823567ffffffffffffffff808211156128f657600080fd5b818501915085601f83011261290a57600080fd5b81358181111561291957600080fd5b8660208260051b850101111561292e57600080fd5b60209290920196919550909350505050565b60006020828403121561295257600080fd5b5035919050565b6000806040838503121561296c57600080fd5b50508035926020909101359150565b6000806040838503121561298e57600080fd5b823561299981612789565b915060208301356127da81612789565b6000602082840312156129bb57600080fd5b81356128838161279e565b600181811c908216806129da57607f821691505b602082108114156129fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a1357600080fd5b5051919050565b600060208284031215612a2c57600080fd5b81516128838161279e565b634e487b7160e01b600052601160045260246000fd5b60008219821115612a6057612a60612a37565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612a8f57612a8f612a37565b5060010190565b600080600080600060a08688031215612aae57600080fd5b8551612ab981612789565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000816000190483118215151615612b8157612b81612a37565b500290565b600082612ba357634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612bba57612bba612a37565b500390565b600060208284031215612bd157600080fd5b815161288381612789565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c2c5784516001600160a01b031683529383019391830191600101612c07565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e249a4b811e6fbfc02edf583628199f1a00200eb8f3869929e61d26d2312149264736f6c634300080a003360806040523480156200001157600080fd5b5060408051808201825260188082527fe4b889504550455f4469766964656e645f547261636b65720000000000000000602080840182815285518087019096529285528401528151919291839183916200006e91600391620000ff565b50805162000084906004906020840190620000ff565b505050620000a16200009b620000a960201b60201c565b620000ad565b5050620001e2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010d90620001a5565b90600052602060002090601f0160209004810192826200013157600085556200017c565b82601f106200014c57805160ff19168380011785556200017c565b828001600101855582156200017c579182015b828111156200017c5782518255916020019190600101906200015f565b506200018a9291506200018e565b5090565b5b808211156200018a57600081556001016200018f565b600181811c90821680620001ba57607f821691505b60208210811415620001dc57634e487b7160e01b600052602260045260246000fd5b50919050565b61189b80620001f26000396000f3fe6080604052600436106101d15760003560e01c8063715018a6116100f7578063a457c2d711610095578063dd62ed3e11610064578063dd62ed3e14610551578063e30443bc14610571578063f2fde38b14610591578063fbcbc0f1146105b157600080fd5b8063a457c2d7146104bb578063a8b9d240146104db578063a9059cbb146104fb578063aafd847a1461051b57600080fd5b80638da5cb5b116100d15780638da5cb5b1461044857806391b89fba1461047057806395d89b41146104905780639e1e0661146104a557600080fd5b8063715018a6146103fd578063807ab4f71461041257806385a6b3ae1461043257600080fd5b8063313ce5671161016f5780634e7b827f1161013e5780634e7b827f1461036257806357283c55146103925780636a474002146103b257806370a08231146103c757600080fd5b8063313ce567146102e65780633950935114610302578063450faa7614610322578063497ec8231461034257600080fd5b806318160ddd116101ab57806318160ddd1461025a578063226cfa3d1461027957806323b872dd146102a657806327ce0147146102c657600080fd5b80630483f7a0146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f836600461158f565b610603565b005b34801561020b57600080fd5b506102146106e7565b60405161022191906115c8565b60405180910390f35b34801561023657600080fd5b5061024a61024536600461161d565b610779565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b5061026b610294366004611649565b600c6020526000908152604090205481565b3480156102b257600080fd5b5061024a6102c1366004611666565b610793565b3480156102d257600080fd5b5061026b6102e1366004611649565b6107b7565b3480156102f257600080fd5b5060405160128152602001610221565b34801561030e57600080fd5b5061024a61031d36600461161d565b610813565b34801561032e57600080fd5b506101fd61033d3660046116a7565b610835565b34801561034e57600080fd5b506101fd61035d3660046116c0565b6108d1565b34801561036e57600080fd5b5061024a61037d366004611649565b600b6020526000908152604090205460ff1681565b34801561039e57600080fd5b506101fd6103ad366004611649565b6109bf565b3480156103be57600080fd5b506101fd610a00565b3480156103d357600080fd5b5061026b6103e2366004611649565b6001600160a01b031660009081526020819052604090205490565b34801561040957600080fd5b506101fd610a09565b34801561041e57600080fd5b5061024a61042d366004611649565b610a1d565b34801561043e57600080fd5b5061026b60095481565b34801561045457600080fd5b506005546040516001600160a01b039091168152602001610221565b34801561047c57600080fd5b5061026b61048b366004611649565b610aa1565b34801561049c57600080fd5b50610214610aac565b3480156104b157600080fd5b5061026b600a5481565b3480156104c757600080fd5b5061024a6104d636600461161d565b610abb565b3480156104e757600080fd5b5061026b6104f6366004611649565b610b3b565b34801561050757600080fd5b5061024a61051636600461161d565b610b67565b34801561052757600080fd5b5061026b610536366004611649565b6001600160a01b031660009081526008602052604090205490565b34801561055d57600080fd5b5061026b61056c3660046116c0565b610b75565b34801561057d57600080fd5b506101fd61058c36600461161d565b610ba0565b34801561059d57600080fd5b506101fd6105ac366004611649565b610bd7565b3480156105bd57600080fd5b506105d16105cc366004611649565b610c4d565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610221565b61060b610cf5565b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561063757600080fd5b6001600160a01b0382166000908152600b60205260409020805460ff19168215159081179091556001141561067657610671826000610d4f565b61069e565b61069e82610699846001600160a01b031660009081526020819052604090205490565b610d4f565b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be826040516106db911515815260200190565b60405180910390a25050565b6060600380546106f6906116ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610722906116ee565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050905090565b600033610787818585610dae565b60019150505b92915050565b6000336107a1858285610ed2565b6107ac858585610f46565b506001949350505050565b6001600160a01b03811660009081526007602090815260408083205491839052822054600654600160801b9261080992610804926107fe916107f99190610f9d565b611023565b90611033565b611071565b61078d919061173f565b6000336107878185856108268383610b75565b6108309190611761565b610dae565b61083d610cf5565b600061084860025490565b1161085257600080fd5b80156108ce5761088561086460025490565b61087283600160801b610f9d565b61087c919061173f565b60065490611084565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546108ca9082611084565b6009555b50565b6108d9610cf5565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90849083906370a0823190602401602060405180830381865afa158015610927573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094b9190611779565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ba9190611792565b505050565b6109c7610cf5565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156109fc573d6000803e3d6000fd5b5050565b6108ce336110e3565b610a11610cf5565b610a1b60006111c8565b565b6000610a27610cf5565b6000610a32836110e3565b90508015610a98576001600160a01b0383166000818152600c602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610a879084815260200190565b60405180910390a250600192915050565b50600092915050565b600061078d82610b3b565b6060600480546106f6906116ee565b60003381610ac98286610b75565b905083811015610b2e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6107ac8286868403610dae565b6001600160a01b03811660009081526008602052604081205461078d90610b61846107b7565b9061121a565b600033610787818585610f46565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ba8610cf5565b6001600160a01b0382166000908152600b602052604090205460ff1615610bcd575050565b6109fc8282610d4f565b610bdf610cf5565b6001600160a01b038116610c445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b25565b6108ce816111c8565b6000806000806000610c89604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610c9e87610b3b565b6020820152610cac876107b7565b60408281019182526001600160a01b03989098166000908152600c60209081529890205460608301819052825198909201519051600a5498999198909750919550909350915050565b6005546001600160a01b03163314610a1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b25565b6001600160a01b03821660009081526020819052604090205480821115610d8e576000610d7c838361121a565b9050610d88848261125c565b50505050565b808210156109ba576000610da2828461121a565b9050610d8884826112c0565b6001600160a01b038316610e105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b25565b6001600160a01b038216610e715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b25565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ede8484610b75565b90506000198114610d885781811015610f395760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b25565b610d888484848403610dae565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a205472616e73666572206e6f7420616044820152651b1b1bddd95960d21b6064820152608401610b25565b600082610fac5750600061078d565b6000610fb883856117af565b905082610fc5858361173f565b1461101c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b25565b9392505050565b6000818181121561078d57600080fd5b60008061104083856117ce565b9050600083121580156110535750838112155b80611068575060008312801561106857508381125b61101c57600080fd5b60008082121561108057600080fd5b5090565b6000806110918385611761565b90508381101561101c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b25565b6000806110ef83610b3b565b90508015610a98576001600160a01b03831660009081526008602052604090205461111a9082611084565b6001600160a01b038416600090815260086020526040812091909155600a8054839290611148908490611761565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26040516001600160a01b0384169082156108fc029083906000818181858888f193505050501580156111c1573d6000803e3d6000fd5b5092915050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061101c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611304565b611266828261133e565b6112a06112816107f983600654610f9d90919063ffffffff16565b6001600160a01b038416600090815260076020526040902054906113fd565b6001600160a01b0390921660009081526007602052604090209190915550565b6112ca828261143a565b6112a06112e56107f983600654610f9d90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490611033565b600081848411156113285760405162461bcd60e51b8152600401610b2591906115c8565b506000611335848661180f565b95945050505050565b6001600160a01b0382166113945760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610b25565b80600260008282546113a69190611761565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008061140a8385611826565b90506000831215801561141d5750838113155b806110685750600083128015611068575083811361101c57600080fd5b6001600160a01b03821661149a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b25565b6001600160a01b0382166000908152602081905260409020548181101561150e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b25565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b03811681146108ce57600080fd5b80151581146108ce57600080fd5b600080604083850312156115a257600080fd5b82356115ad8161156c565b915060208301356115bd81611581565b809150509250929050565b600060208083528351808285015260005b818110156115f5578581018301518582016040015282016115d9565b81811115611607576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561163057600080fd5b823561163b8161156c565b946020939093013593505050565b60006020828403121561165b57600080fd5b813561101c8161156c565b60008060006060848603121561167b57600080fd5b83356116868161156c565b925060208401356116968161156c565b929592945050506040919091013590565b6000602082840312156116b957600080fd5b5035919050565b600080604083850312156116d357600080fd5b82356116de8161156c565b915060208301356115bd8161156c565b600181811c9082168061170257607f821691505b6020821081141561172357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261175c57634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561177457611774611729565b500190565b60006020828403121561178b57600080fd5b5051919050565b6000602082840312156117a457600080fd5b815161101c81611581565b60008160001904831182151516156117c9576117c9611729565b500290565b600080821280156001600160ff1b03849003851316156117f0576117f0611729565b600160ff1b839003841281161561180957611809611729565b50500190565b60008282101561182157611821611729565b500390565b60008083128015600160ff1b85018412161561184457611844611729565b6001600160ff1b038401831381161561185f5761185f611729565b5050039056fea2646970667358221220dbf4ee912e4e8016f4892098f048110e5021171490a20ad5477b21c6dd6d7a9264736f6c634300080a0033000000000000000000000000a176e51c47dc6d6d8d17f3dac430b57261ad9a2b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c018b63f17093652da72d9fbc638fdad49513a5a

Deployed Bytecode

0x6080604052600436106103bc5760003560e01c806370a08231116101f2578063a8aa1b311161010d578063cb5da9a6116100a0578063f2fde38b1161006f578063f2fde38b14610b31578063f887ea4014610b51578063fb17e97014610b71578063feb4916914610b9057600080fd5b8063cb5da9a614610abb578063cc44c3b514610adb578063dd62ed3e14610af1578063e01af92c14610b1157600080fd5b8063b62496f5116100dc578063b62496f514610a2b578063c024666814610a5b578063c0c645f914610a7b578063c851cc3214610a9b57600080fd5b8063a8aa1b31146109b5578063a8b9d240146109d5578063a9059cbb146109f5578063a9f1c25c14610a1557600080fd5b806388bdd9be1161018557806395d89b411161015457806395d89b41146109415780639a7a23d614610956578063a457c2d714610976578063a7ba6ce81461099657600080fd5b806388bdd9be146108c35780638da5cb5b146108e3578063906e9dd014610901578063935eb35f1461092157600080fd5b80637cb96b8c116101c15780637cb96b8c146108325780637ffe9a921461084857806380f2a12a146108835780638580cd58146108a357600080fd5b806370a0823114610775578063715018a6146107ab5780637911ef9d146107c05780637b510fe8146107e057600080fd5b80632f96bece116102e25780634e71d92d116102755780635c728bf4116102445780635c728bf4146105c15780635fe1c4261461071e5780636843cd84146107345780636ddd17131461075457600080fd5b80634e71d92d146106a55780634fab2bbb146106ba5780634fbee193146106d0578063516a54f1146106ff57600080fd5b806339509351116102b15780633950935114610638578063446443c5146106585780634489d6f81461066e5780634ada218b1461068457600080fd5b80632f96bece146105c157806330bb4cff146105d7578063313ce567146105ec578063333e99db1461060857600080fd5b80630bd05b691161035a5780631854f832116103295780631854f8321461052757806323b872dd146105615780632c1f5216146105815780632d3e474a146105a157600080fd5b80630bd05b69146104b05780630fde3d7c146104c557806312b77e8a146104fd57806318160ddd1461051257600080fd5b806307019cb91161039657806307019cb914610435578063070b8b121461044b578063095ea7b3146104605780630a78097d1461049057600080fd5b8063032d9076146103c85780630483f7a0146103f157806306fdde031461041357600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103de600d5481565b6040519081526020015b60405180910390f35b3480156103fd57600080fd5b5061041161040c3660046127ac565b610ba5565b005b34801561041f57600080fd5b50610428610c18565b6040516103e891906127e5565b34801561044157600080fd5b506103de600c5481565b34801561045757600080fd5b50610411610caa565b34801561046c57600080fd5b5061048061047b36600461283a565b610d54565b60405190151581526020016103e8565b34801561049c57600080fd5b506104116104ab366004612866565b610d6c565b3480156104bc57600080fd5b50610411610e70565b3480156104d157600080fd5b506009546104e5906001600160a01b031681565b6040516001600160a01b0390911681526020016103e8565b34801561050957600080fd5b50610411610f04565b34801561051e57600080fd5b506002546103de565b34801561053357600080fd5b5060135460145460155461054692919083565b604080519384526020840192909252908201526060016103e8565b34801561056d57600080fd5b5061048061057c36600461288a565b610f70565b34801561058d57600080fd5b50600a546104e5906001600160a01b031681565b3480156105ad57600080fd5b506008546104e5906001600160a01b031681565b3480156105cd57600080fd5b506103de6101f481565b3480156105e357600080fd5b506103de610f94565b3480156105f857600080fd5b50604051601281526020016103e8565b34801561061457600080fd5b50610480610623366004612866565b601f6020526000908152604090205460ff1681565b34801561064457600080fd5b5061048061065336600461283a565b611007565b34801561066457600080fd5b506103de600b5481565b34801561067a57600080fd5b506103de60105481565b34801561069057600080fd5b50600a5461048090600160b01b900460ff1681565b3480156106b157600080fd5b50610411611029565b3480156106c657600080fd5b506103de600f5481565b3480156106dc57600080fd5b506104806106eb366004612866565b602080526000908152604090205460ff1681565b34801561070b57600080fd5b5060165460175460185461054692919083565b34801561072a57600080fd5b506103de611f4081565b34801561074057600080fd5b506103de61074f366004612866565b61109a565b34801561076057600080fd5b50600a5461048090600160a81b900460ff1681565b34801561078157600080fd5b506103de610790366004612866565b6001600160a01b031660009081526020819052604090205490565b3480156107b757600080fd5b50610411611110565b3480156107cc57600080fd5b506104116107db3660046128cb565b611124565b3480156107ec57600080fd5b506108006107fb366004612866565b6111a3565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016103e8565b34801561083e57600080fd5b506103de61012c81565b34801561085457600080fd5b5061048061086336600461283a565b602260209081526000928352604080842090915290825290205460ff1681565b34801561088f57600080fd5b5061041161089e366004612940565b61122d565b3480156108af57600080fd5b506104116108be366004612940565b6112ec565b3480156108cf57600080fd5b506104116108de366004612866565b6112f9565b3480156108ef57600080fd5b506005546001600160a01b03166104e5565b34801561090d57600080fd5b5061041161091c366004612866565b6114cb565b34801561092d57600080fd5b5061041161093c3660046128cb565b61154b565b34801561094d57600080fd5b50610428611643565b34801561096257600080fd5b506104116109713660046127ac565b611652565b34801561098257600080fd5b5061048061099136600461283a565b611664565b3480156109a257600080fd5b50601c54601d54601e5461054692919083565b3480156109c157600080fd5b506007546104e5906001600160a01b031681565b3480156109e157600080fd5b506103de6109f0366004612866565b6116df565b348015610a0157600080fd5b50610480610a1036600461283a565b611712565b348015610a2157600080fd5b506103de6103e881565b348015610a3757600080fd5b50610480610a46366004612866565b60216020526000908152604090205460ff1681565b348015610a6757600080fd5b50610411610a763660046127ac565b611720565b348015610a8757600080fd5b50610411610a96366004612959565b611752565b348015610aa757600080fd5b50610411610ab6366004612866565b611765565b348015610ac757600080fd5b50610411610ad6366004612866565b61178f565b348015610ae757600080fd5b506103de600e5481565b348015610afd57600080fd5b506103de610b0c36600461297b565b6117ff565b348015610b1d57600080fd5b50610411610b2c3660046129a9565b61182a565b348015610b3d57600080fd5b50610411610b4c366004612866565b611850565b348015610b5d57600080fd5b506006546104e5906001600160a01b031681565b348015610b7d57600080fd5b50601954601a54601b5461054692919083565b348015610b9c57600080fd5b506103de606481565b610bad6118c6565b600a5460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b505050505050565b606060038054610c27906129c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c53906129c6565b8015610ca05780601f10610c7557610100808354040283529160200191610ca0565b820191906000526020600020905b815481529060010190602001808311610c8357829003601f168201915b5050505050905090565b6008546001600160a01b03163314610cf55760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b60448201526064015b60405180910390fd5b600a546040516357283c5560e01b81523360048201526001600160a01b03909116906357283c5590602401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50505050565b600033610d62818585611920565b5060019392505050565b610d746118c6565b806001600160a01b031663a9059cbb610d956005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610dd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfd9190612a01565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6c9190612a1a565b5050565b610e786118c6565b600a54600160b01b900460ff1615610ed25760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cec565b600a805460ff60b01b1916600160b01b179055610ef042601e612a4d565b600f55610eff42610258612a4d565b601055565b610f0c6118c6565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f5d576040519150601f19603f3d011682016040523d82523d6000602084013e610f62565b606091505b5050905080610e6c57600080fd5b600033610f7e858285611a44565b610f89858585611ab8565b506001949350505050565b600a54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190612a01565b905090565b600033610d6281858561101a83836117ff565b6110249190612a4d565b611920565b600a5460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015611073573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110979190612a1a565b50565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa1580156110e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a9190612a01565b92915050565b6111186118c6565b6111226000612233565b565b61112c6118c6565b60005b8181101561119e576000601f600085858581811061114f5761114f612a65565b90506020020160208101906111649190612866565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061119681612a7b565b91505061112f565b505050565b600a5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa1580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b9190612a96565b939a9299509097509550909350915050565b6112356118c6565b600a546040516323b872dd60e01b81523360048201526001600160a01b0390911660248201526044810182905260009030906323b872dd906064016020604051808303816000875af115801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190612a1a565b90508015610e6c57600a54604051632287d53b60e11b8152600481018490526001600160a01b039091169063450faa7690602401610be2565b6112f46118c6565b600b55565b6113016118c6565b60405162241fbd60e51b81526001600160a01b03821660048201819052600160248301528291630483f7a090604401600060405180830381600087803b15801561134a57600080fd5b505af115801561135e573d6000803e3d6000fd5b505060405162241fbd60e51b8152306004820152600160248201526001600160a01b0384169250630483f7a09150604401600060405180830381600087803b1580156113a957600080fd5b505af11580156113bd573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a06113e26005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b15801561142a57600080fd5b505af115801561143e573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b039182166004820152600160248201529084169250630483f7a09150604401600060405180830381600087803b15801561148f57600080fd5b505af11580156114a3573d6000803e3d6000fd5b5050600a80546001600160a01b0319166001600160a01b039490941693909317909255505050565b6114d36118c6565b6001600160a01b0381166115295760405162461bcd60e51b815260206004820152601860248201527f43616e206e6f7420736574207a65726f206164647265737300000000000000006044820152606401610cec565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6115536118c6565b6010544211158061156e5750600a54600160b01b900460ff16155b6115d15760405162461bcd60e51b815260206004820152602e60248201527f43616e206f6e6c792061646420626c61636b6c69737420696e2074686520666960448201526d727374203130206d696e7574657360901b6064820152608401610cec565b60005b8181101561119e576001601f60008585858181106115f4576115f4612a65565b90506020020160208101906116099190612866565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061163b81612a7b565b9150506115d4565b606060048054610c27906129c6565b61165a6118c6565b610e6c8282612285565b6000338161167282866117ff565b9050838110156116d25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cec565b610f898286868403611920565b600a546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016110c9565b600033610d62818585611ab8565b6117286118c6565b6001600160a01b039190911660009081526020805260409020805460ff1916911515919091179055565b61175a6118c6565b600c91909155600d55565b61176d6118c6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6117976118c6565b600a5460405163497ec82360e01b81523360048201526001600160a01b0383811660248301529091169063497ec82390604401600060405180830381600087803b1580156117e457600080fd5b505af11580156117f8573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6118326118c6565b600a8054911515600160a81b0260ff60a81b19909216919091179055565b6118586118c6565b6001600160a01b0381166118bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cec565b61109781612233565b6005546001600160a01b031633146111225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cec565b6001600160a01b0383166119825760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cec565b6001600160a01b0382166119e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cec565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a5084846117ff565b90506000198114610d4e5781811015611aab5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cec565b610d4e8484848403611920565b6001600160a01b038316611ade5760405162461bcd60e51b8152600401610cec90612adf565b6001600160a01b038216611b045760405162461bcd60e51b8152600401610cec90612b24565b6001600160a01b0383166000908152601f602052604090205460ff16158015611b4657506001600160a01b0382166000908152601f602052604090205460ff16155b611b815760405162461bcd60e51b815260206004820152600c60248201526b125b88189b1858dadb1a5cdd60a21b6044820152606401610cec565b6001600160a01b038316600090815260208052604081205460ff16158015611bc157506001600160a01b038316600090815260208052604090205460ff16155b8015611bd75750600a54600160a01b900460ff16155b15611c9857600a54600160b01b900460ff16611c2e5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610cec565b42600f5410611c98576001600160a01b03831660009081526021602052604090205460ff1615611c6a57600d548210611c65575060015b611c98565b6001600160a01b03841660009081526021602052604090205460ff1615611c9857600c548210611c98575060015b81611ca957610d4e848460006123e9565b326001600160a01b0385161480611cc85750326001600160a01b038416145b15611d475732600090815260226020908152604080832043845290915290205460ff1615611d215760405162461bcd60e51b8152602060048201526006602482015265526f626f742160d01b6044820152606401610cec565b3260009081526022602090815260408083204384529091529020805460ff191660011790555b30600090815260208190526040902054600b5481108015908190611d755750600a54600160a01b900460ff16155b8015611d8a5750600a54600160a81b900460ff165b8015611dae57506001600160a01b03851660009081526021602052604090205460ff165b8015611dd257506001600160a01b038616600090815260208052604090205460ff16155b8015611df657506001600160a01b038516600090815260208052604090205460ff16155b15611e2857600a805460ff60a01b1916600160a01b179055600b54611e1a90612513565b600a805460ff60a01b191690555b600a546001600160a01b038716600090815260208052604090205460ff600160a01b909204821615911680611e7457506001600160a01b038616600090815260208052604090205460ff165b15611e7d575060005b6001600160a01b03861660009081526021602052604090205460ff16158015611ebf57506001600160a01b03871660009081526021602052604090205460ff16155b15611ec8575060005b801561210d576000806000806000600e5490508080611ee690612a7b565b91505080600e81905550611f1460405180606001604052806000815260200160008152602001600081525090565b8915611f465750604080516060810182526013548152601454602082015260155491810191909152611f409250611fd7565b60648211611f7a57506040805160608101825260165481526017546020820152601854918101919091526103e89250611fd7565b6101f48211611faf5750604080516060810182526019548152601a546020820152601b54918101919091526101f49250611fd7565b5060408051606081018252601c548152601d546020820152601e549181019190915261012c92505b612710611fe4848d612b67565b611fee9190612b86565b9550611ffa868c612ba8565b8151909b50839061200b9088612b67565b6120159190612b86565b9450828160400151876120289190612b67565b6120329190612b86565b93508461203f8588612ba8565b6120499190612ba8565b9550846011600082825461205d9190612a4d565b9250508190555085601260008282546120769190612a4d565b9091555061209090508d3061208b888a612a4d565b6123e9565b60095460405163425c8abd60e01b8152600481018690526001600160a01b039091169063425c8abd90602401600060405180830381600087803b1580156120d657600080fd5b505af11580156120ea573d6000803e3d6000fd5b505060095461210692508f91506001600160a01b0316866123e9565b5050505050505b6121188787876123e9565b600a546001600160a01b031663e30443bc88612149816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561218f57600080fd5b505af19250505080156121a0575060015b50600a546001600160a01b031663e30443bc876121d2816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561221857600080fd5b505af1925050508015612229575060015b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526021602052604090205460ff161515811515141561231a5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cec565b6001600160a01b0382166000908152602160205260409020805460ff191682158015919091179091556123ad57600a5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561239457600080fd5b505af11580156123a8573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b03831661240f5760405162461bcd60e51b8152600401610cec90612adf565b6001600160a01b0382166124355760405162461bcd60e51b8152600401610cec90612b24565b6001600160a01b038316600090815260208190526040902054818110156124ad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cec565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d4e565b61251c8161267e565b6012805460118054600093849055908390559091479061253c8385612a4d565b6125468584612b67565b6125509190612b86565b9050600061255e8284612ba8565b905081156125a2576008546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156125a0573d6000803e3d6000fd5b505b8015610c1057600a54604051632287d53b60e11b8152600481018390526001600160a01b039091169063450faa7690602401600060405180830381600087803b1580156125ee57600080fd5b505af19250505080156125ff575060015b61260857610c10565b600a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612642573d6000803e3d6000fd5b506040518181527fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b19060200160405180910390a1505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126b3576126b3612a65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561270c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127309190612bbf565b8160018151811061274357612743612a65565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790610be2908590600090869030904290600401612bdc565b6001600160a01b038116811461109757600080fd5b801515811461109757600080fd5b600080604083850312156127bf57600080fd5b82356127ca81612789565b915060208301356127da8161279e565b809150509250929050565b600060208083528351808285015260005b81811015612812578581018301518582016040015282016127f6565b81811115612824576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561284d57600080fd5b823561285881612789565b946020939093013593505050565b60006020828403121561287857600080fd5b813561288381612789565b9392505050565b60008060006060848603121561289f57600080fd5b83356128aa81612789565b925060208401356128ba81612789565b929592945050506040919091013590565b600080602083850312156128de57600080fd5b823567ffffffffffffffff808211156128f657600080fd5b818501915085601f83011261290a57600080fd5b81358181111561291957600080fd5b8660208260051b850101111561292e57600080fd5b60209290920196919550909350505050565b60006020828403121561295257600080fd5b5035919050565b6000806040838503121561296c57600080fd5b50508035926020909101359150565b6000806040838503121561298e57600080fd5b823561299981612789565b915060208301356127da81612789565b6000602082840312156129bb57600080fd5b81356128838161279e565b600181811c908216806129da57607f821691505b602082108114156129fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a1357600080fd5b5051919050565b600060208284031215612a2c57600080fd5b81516128838161279e565b634e487b7160e01b600052601160045260246000fd5b60008219821115612a6057612a60612a37565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612a8f57612a8f612a37565b5060010190565b600080600080600060a08688031215612aae57600080fd5b8551612ab981612789565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000816000190483118215151615612b8157612b81612a37565b500290565b600082612ba357634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612bba57612bba612a37565b500390565b600060208284031215612bd157600080fd5b815161288381612789565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c2c5784516001600160a01b031683529383019391830191600101612c07565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e249a4b811e6fbfc02edf583628199f1a00200eb8f3869929e61d26d2312149264736f6c634300080a0033

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

000000000000000000000000a176e51c47dc6d6d8d17f3dac430b57261ad9a2b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c018b63f17093652da72d9fbc638fdad49513a5a

-----Decoded View---------------
Arg [0] : _marketing (address): 0xa176E51c47dC6d6d8d17F3daC430B57261Ad9A2b
Arg [1] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _leaderContract (address): 0xC018b63F17093652da72D9fBC638FdaD49513A5a

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a176e51c47dc6d6d8d17f3dac430b57261ad9a2b
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 000000000000000000000000c018b63f17093652da72d9fbc638fdad49513a5a


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.