ETH Price: $3,400.78 (+3.21%)

Token

DeLiquid (DLQ)
 

Overview

Max Total Supply

10,000,000 DLQ

Holders

39

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
sneakingninjapants.eth
Balance
104,942.940851824549346763 DLQ

Value
$0.00
0x0E642E32974470085e362FE76DE5C43330632bdb
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:
DeLiquid

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 5 : DeLiquid.sol
// SPDX-License-Identifier: MIT

/**
    Website: https://www.deliquidfinance.com
    Telegram: https://t.me/dlqportal 
    Twitter: https://twitter.com/dlqfinance   
 */

pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";

interface IStaking {
    function updateReward(uint256 _amount) external;

    function init(address _rewardToken, address _stakingToken) external;
}

interface IDividendTracker {
    function LP_Token() external view returns (address);

    function accumulativeDividendOf(
        address _owner
    ) external view returns (uint256);

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

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

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

    function decimals() external view returns (uint8);

    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) external returns (bool);

    function distributeLPDividends(uint256 amount) external;

    function dividendOf(address _owner) external view returns (uint256);

    function excludeFromDividends(address account, bool value) external;

    function excludedFromDividends(address) external view returns (bool);

    function getAccount(
        address account
    ) external view returns (address, uint256, uint256, uint256, uint256);

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) external returns (bool);

    function init() external;

    function lastClaimTimes(address) external view returns (uint256);

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

    function owner() external view returns (address);

    function processAccount(address account) external returns (bool);

    function renounceOwnership() external;

    function setBalance(address account, uint256 newBalance) external;

    function totalDividendsDistributed() external view returns (uint256);

    function totalDividendsWithdrawn() external view returns (uint256);

    function totalSupply() external view returns (uint256);

    function trackerRescueETH20Tokens(
        address recipient,
        address tokenAddress
    ) external;

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

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

    function transferOwnership(address newOwner) external;

    function updateLP_Token(address _lpToken) external;

    function withdrawDividend() external;

    function withdrawableDividendOf(
        address _owner
    ) external view returns (uint256);

    function withdrawnDividendOf(
        address _owner
    ) external view returns (uint256);
}

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,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);

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

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

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

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 {}
}

// contract Ownable is Context {}

contract DeLiquid is ERC20, Ownable(msg.sender) {
    IUniswapRouter public router;
    address public pair;

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

    IDividendTracker public dividendTracker;

    address public marketingWallet;
    IStaking public stakingPool;

    uint256 public swapTokensAtAmount;
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWallet;

    struct Taxes {
        uint256 liquidity;
        uint256 dev;
        uint256 stakingPool;
    }

    Taxes public taxes = Taxes(2, 2, 2);

    uint256 public tax = 6;

    uint256 private _initialTax = 25;
    uint256 private _reduceTaxAt = 25;
    uint256 private _buyCount = 0;
    uint256 private _sellCount = 0;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) private _isExcludedFromMaxWallet;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );
    event SendDividends(uint256 tokensSwapped, uint256 amount);

    constructor(
        address _dividendTracker,
        address _stakingPool
    ) ERC20("DeLiquid", "DLQ") {
        marketingWallet = _msgSender();

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

        router = _router;
        pair = _pair;

        dividendTracker = IDividendTracker(_dividendTracker);

        stakingPool = IStaking(_stakingPool);
        stakingPool.init(address(this), _pair);

        setSwapTokensAtAmount(30000);
        updateMaxWalletAmount(200_000);
        setMaxBuyAndSell(200_000, 200_000);

        _setAutomatedMarketMakerPair(_pair, true);
        dividendTracker.init();
        dividendTracker.updateLP_Token(pair);

        setExcludeFromMaxWallet(address(_pair), true);
        setExcludeFromMaxWallet(address(this), true);
        setExcludeFromMaxWallet(address(_router), true);
        setExcludeFromMaxWallet(_stakingPool, true);

        setExcludeFromFees(owner(), true);
        setExcludeFromFees(address(this), true);
        setExcludeFromFees(_stakingPool, true);

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

    receive() external payable {}

    function claim() external {
        require(claimEnabled, "Claim not enabled");
        dividendTracker.processAccount(msg.sender);
    }

    function updateMaxWalletAmount(uint256 newNum) public onlyOwner {
        require(newNum >= 100000, "Cannot set maxWallet lower than 1%");
        maxWallet = newNum * 10 ** 18;
    }

    function setMaxBuyAndSell(
        uint256 maxBuy,
        uint256 maxSell
    ) public onlyOwner {
        require(maxBuy >= 100000, "Can't set maxbuy lower than 1% ");
        require(maxSell >= 50000, "Can't set maxsell lower than 0.5% ");
        maxBuyAmount = maxBuy * 10 ** 18;
        maxSellAmount = maxSell * 10 ** 18;
    }

    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount * 10 ** 18;
    }

    function setExcludeFromMaxWallet(
        address account,
        bool excluded
    ) public onlyOwner {
        _isExcludedFromMaxWallet[account] = excluded;
    }

    function setExcludeFromFees(
        address account,
        bool excluded
    ) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

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

    function setClaimStatus(bool _status) external onlyOwner {
        claimEnabled = _status;
    }

    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 isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    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 _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");

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
            if (automatedMarketMakerPairs[to]) {
                require(
                    amount <= maxSellAmount,
                    "You are exceeding maxSellAmount"
                );
                _sellCount++;
            } else if (automatedMarketMakerPairs[from]) {
                require(
                    amount <= maxBuyAmount,
                    "You are exceeding maxBuyAmount"
                );
                _buyCount++;
            }
            if (!_isExcludedFromMaxWallet[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Unable to exceed Max Wallet"
                );
            }
        }

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

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

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

            swapAndLiquify(swapTokensAtAmount);

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

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

        if (takeFee) {
            uint256 feeAmt;
            if (automatedMarketMakerPairs[to]) {
                feeAmt =
                    (amount * (_sellCount > _reduceTaxAt ? tax : _initialTax)) /
                    100;
            } else if (automatedMarketMakerPairs[from]) {
                feeAmt =
                    (amount * (_buyCount > _reduceTaxAt ? tax : _initialTax)) /
                    100;
            } else {
                feeAmt = (amount * 10) / 100;
            }

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        super._transfer(from, to, amount);

        try dividendTracker.setBalance(from, balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(to, balanceOf(to)) {} catch {}
    }

    function swapAndLiquify(uint256 tokens) private {
        uint256 toSwapForLiq = ((tokens * taxes.liquidity) / tax) / 2;
        uint256 tokensToAddLiquidityWith = ((tokens * taxes.liquidity) / tax) /
            2;
        uint256 toSwapForDev = (tokens * taxes.dev) / tax;
        uint256 toStakingPool = (tokens * taxes.stakingPool) / tax;

        super._transfer(address(this), address(stakingPool), toStakingPool);
        try stakingPool.updateReward(toStakingPool) {} catch {}

        swapTokensForETH(toSwapForLiq);

        uint256 currentbalance = address(this).balance;

        if (currentbalance > 0) {
            // Add liquidity to uni
            addLiquidity(tokensToAddLiquidityWith, currentbalance);
        }

        swapTokensForETH(toSwapForDev);

        uint256 EthTaxBalance = address(this).balance;

        // Send ETH to dev
        uint256 devAmt = EthTaxBalance;

        if (devAmt > 0) {
            (bool success, ) = payable(marketingWallet).call{value: devAmt}("");
            require(success, "Failed to send ETH to dev wallet");
        }

        uint256 lpBalance = IERC20(pair).balanceOf(address(this));

        //Send LP to dividends
        uint256 dividends = lpBalance;

        if (dividends > 0) {
            bool success = IERC20(pair).transfer(
                address(dividendTracker),
                dividends
            );
            if (success) {
                // dividendTracker.distributeLPDividends(dividends);
                emit SendDividends(tokens, dividends);
            }
        }
    }

    function distributionLiquidity(uint256 amount) public onlyOwner {
        bool success = IERC20(pair).transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeLPDividends(amount);
        }
    }

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

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

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

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

    function withdrawDividend(address _address) external {
        IERC20(_address).transfer(
            owner(),
            IERC20(_address).balanceOf(address(this))
        );
    }

    function recover() external onlyOwner {
        payable(marketingWallet).transfer(address(this).balance);
    }
}

File 2 of 5 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 3 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 4 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

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

Settings
{
  "remappings": [
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "lib/forge-std:ds-test/=lib/forge-std/lib/ds-test/src/",
    "lib/openzeppelin-contracts:@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "lib/openzeppelin-contracts:ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/openzeppelin-contracts:erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/openzeppelin-contracts:forge-std/=lib/openzeppelin-contracts/lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_dividendTracker","type":"address"},{"internalType":"address","name":"_stakingPool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributionLiquidity","outputs":[],"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 IDividendTracker","name":"","type":"address"}],"stateMutability":"view","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"}],"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":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"recover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setClaimStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBuy","type":"uint256"},{"internalType":"uint256","name":"maxSell","type":"uint256"}],"name":"setMaxBuyAndSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingPool","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxes","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"stakingPool","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":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdrawDividend","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"}]

6007805460ff60b01b1916600160b01b17905560e06040526002608081905260a081905260c0819052600f8190556010819055601155600660125560196013819055601455600060158190556016553480156200005b57600080fd5b5060405162003129380380620031298339810160408190526200007e9162000a75565b33604051806040016040528060088152602001671119531a5c5d5a5960c21b81525060405180604001604052806003815260200162444c5160e81b8152508160039081620000cd919062000b51565b506004620000dc828262000b51565b5050506001600160a01b0381166200010f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200011a81620004e8565b50600980546001600160a01b031916331790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048083019260209291908290030181865afa15801562000183573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a9919062000c1d565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021d919062000c1d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000291919062000c1d565b600680546001600160a01b038581166001600160a01b03199283161790925560078054848416908316811790915560088054898516908416179055600a805493881693909216831790915560405163784d200b60e11b815230600482015260248101919091529192509063f09a401690604401600060405180830381600087803b1580156200031f57600080fd5b505af115801562000334573d6000803e3d6000fd5b505050506200034b6175306200053a60201b60201c565b6200035962030d406200055e565b6200036862030d4080620005e2565b62000375816001620006d2565b600860009054906101000a90046001600160a01b03166001600160a01b031663e1c7392a6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620003c657600080fd5b505af1158015620003db573d6000803e3d6000fd5b505060085460075460405163225b5ecf60e11b81526001600160a01b039182166004820152911692506344b6bd9e9150602401600060405180830381600087803b1580156200042957600080fd5b505af11580156200043e573d6000803e3d6000fd5b50505050620004558160016200083c60201b60201c565b620004623060016200083c565b6200046f8260016200083c565b6200047c8360016200083c565b6200049b620004936005546001600160a01b031690565b600162000871565b620004a830600162000871565b620004b583600162000871565b620004de620004cc6005546001600160a01b031690565b6a084595161401484a0000006200095f565b5050505062000c8e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200054462000a22565b6200055881670de0b6b3a764000062000c58565b600b5550565b6200056862000a22565b620186a0811015620005c85760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b606482015260840162000106565b620005dc81670de0b6b3a764000062000c58565b600e5550565b620005ec62000a22565b620186a0821015620006415760405162461bcd60e51b815260206004820152601f60248201527f43616e277420736574206d6178627579206c6f776572207468616e2031252000604482015260640162000106565b61c350811015620006a05760405162461bcd60e51b815260206004820152602260248201527f43616e277420736574206d617873656c6c206c6f776572207468616e20302e35604482015261012960f51b606482015260840162000106565b620006b482670de0b6b3a764000062000c58565b600c55620006cb81670de0b6b3a764000062000c58565b600d555050565b6001600160a01b03821660009081526018602052604090205481151560ff9091161515036200076a5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c75650000000000000000606482015260840162000106565b6001600160a01b0382166000908152601860205260409020805460ff19168215801591909117909155620008005760085460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b158015620007e657600080fd5b505af1158015620007fb573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6200084662000a22565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6200087b62000a22565b6001600160a01b03821660009081526017602052604090205481151560ff909116151503620009005760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840162000106565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620009b75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000106565b8060026000828254620009cb919062000c78565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331462000a515760405163118cdaa760e01b815233600482015260240162000106565b565b505050565b80516001600160a01b038116811462000a7057600080fd5b919050565b6000806040838503121562000a8957600080fd5b62000a948362000a58565b915062000aa46020840162000a58565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000ad857607f821691505b60208210810362000af957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a5357600081815260208120601f850160051c8101602086101562000b285750805b601f850160051c820191505b8181101562000b495782815560010162000b34565b505050505050565b81516001600160401b0381111562000b6d5762000b6d62000aad565b62000b858162000b7e845462000ac3565b8462000aff565b602080601f83116001811462000bbd576000841562000ba45750858301515b600019600386901b1c1916600185901b17855562000b49565b600085815260208120601f198616915b8281101562000bee5788860151825594840194600190910190840162000bcd565b508582101562000c0d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c3057600080fd5b62000c3b8262000a58565b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000c725762000c7262000c42565b92915050565b8082018082111562000c725762000c7262000c42565b61248b8062000c9e6000396000f3fe60806040526004361061026b5760003560e01c80637b510fe811610144578063a9059cbb116100b6578063d63cad221161007a578063d63cad221461079d578063dd62ed3e146107bd578063e2f45605146107dd578063f2fde38b146107f3578063f887ea4014610813578063f8b45b051461083357600080fd5b8063a9059cbb146106f8578063afa4f3b214610718578063b62496f514610738578063c18bc19514610768578063ce7460241461078857600080fd5b806399c8d5561161010857806399c8d556146106425780639c53c0ca14610658578063a457c2d714610678578063a6ca5d2414610698578063a8aa1b31146106b8578063a8b9d240146106d857600080fd5b80637b510fe81461058757806388e765ff146105d95780638da5cb5b146105ef578063929f13601461060d57806395d89b411461062d57600080fd5b80634ada218b116101dd5780636843cd84116101a15780636843cd84146104a257806370a08231146104c2578063715018a6146104f8578063728f8eea1461050d57806375f0a8741461054757806379b447bd1461056757600080fd5b80634ada218b146103fd5780634e71d92d1461041e5780634fbee19314610433578063654f97a31461046c57806366d602ae1461048c57600080fd5b806323b872dd1161022f57806323b872dd1461034b5780632866ed211461036b5780632c1f52161461038c57806330bb4cff146103ac578063313ce567146103c157806339509351146103dd57600080fd5b80630483f7a01461027757806306fdde0314610299578063095ea7b3146102c45780630c56ae3b146102f457806318160ddd1461032c57600080fd5b3661027257005b600080fd5b34801561028357600080fd5b50610297610292366004612016565b610849565b005b3480156102a557600080fd5b506102ae6108bc565b6040516102bb919061204f565b60405180910390f35b3480156102d057600080fd5b506102e46102df36600461209d565b61094e565b60405190151581526020016102bb565b34801561030057600080fd5b50600a54610314906001600160a01b031681565b6040516001600160a01b0390911681526020016102bb565b34801561033857600080fd5b506002545b6040519081526020016102bb565b34801561035757600080fd5b506102e46103663660046120c9565b610968565b34801561037757600080fd5b506007546102e490600160a81b900460ff1681565b34801561039857600080fd5b50600854610314906001600160a01b031681565b3480156103b857600080fd5b5061033d61098c565b3480156103cd57600080fd5b50604051601281526020016102bb565b3480156103e957600080fd5b506102e46103f836600461209d565b6109ff565b34801561040957600080fd5b506007546102e490600160b01b900460ff1681565b34801561042a57600080fd5b50610297610a21565b34801561043f57600080fd5b506102e461044e36600461210a565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561047857600080fd5b5061029761048736600461212e565b610ae4565b34801561049857600080fd5b5061033d600d5481565b3480156104ae57600080fd5b5061033d6104bd36600461210a565b610b0a565b3480156104ce57600080fd5b5061033d6104dd36600461210a565b6001600160a01b031660009081526020819052604090205490565b34801561050457600080fd5b50610297610b7a565b34801561051957600080fd5b50600f5460105460115461052c92919083565b604080519384526020840192909252908201526060016102bb565b34801561055357600080fd5b50600954610314906001600160a01b031681565b34801561057357600080fd5b5061029761058236600461214b565b610b8e565b34801561059357600080fd5b506105a76105a236600461210a565b610c74565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016102bb565b3480156105e557600080fd5b5061033d600c5481565b3480156105fb57600080fd5b506005546001600160a01b0316610314565b34801561061957600080fd5b50610297610628366004612016565b610cfe565b34801561063957600080fd5b506102ae610d31565b34801561064e57600080fd5b5061033d60125481565b34801561066457600080fd5b5061029761067336600461210a565b610d40565b34801561068457600080fd5b506102e461069336600461209d565b610e3c565b3480156106a457600080fd5b506102976106b336600461216d565b610eb7565b3480156106c457600080fd5b50600754610314906001600160a01b031681565b3480156106e457600080fd5b5061033d6106f336600461210a565b610f7c565b34801561070457600080fd5b506102e461071336600461209d565b610faf565b34801561072457600080fd5b5061029761073336600461216d565b610fbd565b34801561074457600080fd5b506102e461075336600461210a565b60186020526000908152604090205460ff1681565b34801561077457600080fd5b5061029761078336600461216d565b610fdd565b34801561079457600080fd5b5061029761105b565b3480156107a957600080fd5b506102976107b8366004612016565b61109c565b3480156107c957600080fd5b5061033d6107d8366004612186565b611186565b3480156107e957600080fd5b5061033d600b5481565b3480156107ff57600080fd5b5061029761080e36600461210a565b6111b1565b34801561081f57600080fd5b50600654610314906001600160a01b031681565b34801561083f57600080fd5b5061033d600e5481565b6108516111ec565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050505050565b6060600380546108cb906121b4565b80601f01602080910402602001604051908101604052809291908181526020018280546108f7906121b4565b80156109445780601f1061091957610100808354040283529160200191610944565b820191906000526020600020905b81548152906001019060200180831161092757829003601f168201915b5050505050905090565b60003361095c818585611219565b60019150505b92915050565b60003361097685828561133d565b6109818585856113b7565b506001949350505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa91906121ee565b905090565b60003361095c818585610a128383611186565b610a1c919061221d565b611219565b600754600160a81b900460ff16610a735760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b60448201526064015b60405180910390fd5b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190612230565b50565b610aec6111ec565b60078054911515600160a81b0260ff60a81b19909216919091179055565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096291906121ee565b610b826111ec565b610b8c6000611983565b565b610b966111ec565b620186a0821015610be95760405162461bcd60e51b815260206004820152601f60248201527f43616e277420736574206d6178627579206c6f776572207468616e20312520006044820152606401610a6a565b61c350811015610c465760405162461bcd60e51b815260206004820152602260248201527f43616e277420736574206d617873656c6c206c6f776572207468616e20302e35604482015261012960f51b6064820152608401610a6a565b610c5882670de0b6b3a764000061224d565b600c55610c6d81670de0b6b3a764000061224d565b600d555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec9190612264565b939a9299509097509550909350915050565b610d066111ec565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6060600480546108cb906121b4565b806001600160a01b031663a9059cbb610d616005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc991906121ee565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e389190612230565b5050565b60003381610e4a8286611186565b905083811015610eaa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a6a565b6109818286868403611219565b610ebf6111ec565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af1158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f439190612230565b90508015610e3857600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610886565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610b39565b60003361095c8185856113b7565b610fc56111ec565b610fd781670de0b6b3a764000061224d565b600b5550565b610fe56111ec565b620186a08110156110435760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610a6a565b61105581670de0b6b3a764000061224d565b600e5550565b6110636111ec565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ae1573d6000803e3d6000fd5b6110a46111ec565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036111275760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610a6a565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111b96111ec565b6001600160a01b0381166111e357604051631e4fbdf760e01b815260006004820152602401610a6a565b610ae181611983565b6005546001600160a01b03163314610b8c5760405163118cdaa760e01b8152336004820152602401610a6a565b6001600160a01b03831661127b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a6a565b6001600160a01b0382166112dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a6a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113498484611186565b905060001981146113b157818110156113a45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a6a565b6113b18484848403611219565b50505050565b6001600160a01b0383166113dd5760405162461bcd60e51b8152600401610a6a906122ad565b6001600160a01b0382166114035760405162461bcd60e51b8152600401610a6a906122f2565b6001600160a01b03831660009081526017602052604090205460ff1615801561144557506001600160a01b03821660009081526017602052604090205460ff16155b801561145b5750600754600160a01b900460ff16155b1561165857600754600160b01b900460ff166114ae5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a6a565b6001600160a01b03821660009081526018602052604090205460ff161561153b57600d548111156115215760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610a6a565b6016805490600061153183612335565b91905055506115c4565b6001600160a01b03831660009081526018602052604090205460ff16156115c457600c548111156115ae5760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610a6a565b601580549060006115be83612335565b91905055505b6001600160a01b03821660009081526019602052604090205460ff1661165857600e546001600160a01b03831660009081526020819052604090205461160a908361221d565b11156116585760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610a6a565b806000036116715761166c838360006119d5565b505050565b30600090815260208190526040902054600b548110801590819061169f5750600754600160a01b900460ff16155b80156116c357506001600160a01b03841660009081526018602052604090205460ff165b80156116e857506001600160a01b03851660009081526017602052604090205460ff16155b801561170d57506001600160a01b03841660009081526017602052604090205460ff16155b1561173f576007805460ff60a01b1916600160a01b179055600b5461173190611aff565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526017602052604090205460ff600160a01b90920482161591168061178d57506001600160a01b03851660009081526017602052604090205460ff165b15611796575060005b801561185a576001600160a01b03851660009081526018602052604081205460ff16156117f1576064601454601654116117d2576013546117d6565b6012545b6117e0908761224d565b6117ea919061234e565b9050611841565b6001600160a01b03871660009081526018602052604090205460ff1615611827576064601454601554116117d2576013546117d6565b606461183486600a61224d565b61183e919061234e565b90505b61184b8186612370565b94506118588730836119d5565b505b6118658686866119d5565b6008546001600160a01b031663e30443bc87611896816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156118dc57600080fd5b505af19250505080156118ed575060015b506008546001600160a01b031663e30443bc8661191f816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561196557600080fd5b505af1925050508015611976575060015b156108b457505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166119fb5760405162461bcd60e51b8152600401610a6a906122ad565b6001600160a01b038216611a215760405162461bcd60e51b8152600401610a6a906122f2565b6001600160a01b03831660009081526020819052604090205481811015611a995760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a6a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113b1565b601254600f54600091600291611b15908561224d565b611b1f919061234e565b611b29919061234e565b905060006002601254600f6000015485611b43919061224d565b611b4d919061234e565b611b57919061234e565b601254601054919250600091611b6d908661224d565b611b77919061234e565b601254601154919250600091611b8d908761224d565b611b97919061234e565b600a54909150611bb29030906001600160a01b0316836119d5565b600a5460405163425c8abd60e01b8152600481018390526001600160a01b039091169063425c8abd90602401600060405180830381600087803b158015611bf857600080fd5b505af1925050508015611c09575060015b50611c1384611e1e565b478015611c2457611c248482611f42565b611c2d83611e1e565b47808015611cda576009546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611c82576040519150601f19603f3d011682016040523d82523d6000602084013e611c87565b606091505b5050905080611cd85760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610a6a565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4791906121ee565b9050808015611e125760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af1158015611daa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dce9190612230565b90508015611e1057604080518c8152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15b505b50505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e5357611e53612383565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed09190612399565b81600181518110611ee357611ee3612383565b6001600160a01b039283166020918202929092010152600654611f099130911684611219565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906108869085906000908690309042906004016123b6565b600654611f5a9030906001600160a01b031684611219565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015611fc7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611fec9190612427565b5050505050565b6001600160a01b0381168114610ae157600080fd5b8015158114610ae157600080fd5b6000806040838503121561202957600080fd5b823561203481611ff3565b9150602083013561204481612008565b809150509250929050565b600060208083528351808285015260005b8181101561207c57858101830151858201604001528201612060565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156120b057600080fd5b82356120bb81611ff3565b946020939093013593505050565b6000806000606084860312156120de57600080fd5b83356120e981611ff3565b925060208401356120f981611ff3565b929592945050506040919091013590565b60006020828403121561211c57600080fd5b813561212781611ff3565b9392505050565b60006020828403121561214057600080fd5b813561212781612008565b6000806040838503121561215e57600080fd5b50508035926020909101359150565b60006020828403121561217f57600080fd5b5035919050565b6000806040838503121561219957600080fd5b82356121a481611ff3565b9150602083013561204481611ff3565b600181811c908216806121c857607f821691505b6020821081036121e857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561220057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561096257610962612207565b60006020828403121561224257600080fd5b815161212781612008565b808202811582820484141761096257610962612207565b600080600080600060a0868803121561227c57600080fd5b855161228781611ff3565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60006001820161234757612347612207565b5060010190565b60008261236b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561096257610962612207565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ab57600080fd5b815161212781611ff3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124065784516001600160a01b0316835293830193918301916001016123e1565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561243c57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212200f7de4527d847eb0204a74cec971710ce20be9104c5a3b90ea3c3582b242105964736f6c6343000814003300000000000000000000000078f3622bc811e813a5d86aeb09835a00e9bd87bf00000000000000000000000023002f4daf2a9cffe0213d0c0e3b6a33e42147aa

Deployed Bytecode

0x60806040526004361061026b5760003560e01c80637b510fe811610144578063a9059cbb116100b6578063d63cad221161007a578063d63cad221461079d578063dd62ed3e146107bd578063e2f45605146107dd578063f2fde38b146107f3578063f887ea4014610813578063f8b45b051461083357600080fd5b8063a9059cbb146106f8578063afa4f3b214610718578063b62496f514610738578063c18bc19514610768578063ce7460241461078857600080fd5b806399c8d5561161010857806399c8d556146106425780639c53c0ca14610658578063a457c2d714610678578063a6ca5d2414610698578063a8aa1b31146106b8578063a8b9d240146106d857600080fd5b80637b510fe81461058757806388e765ff146105d95780638da5cb5b146105ef578063929f13601461060d57806395d89b411461062d57600080fd5b80634ada218b116101dd5780636843cd84116101a15780636843cd84146104a257806370a08231146104c2578063715018a6146104f8578063728f8eea1461050d57806375f0a8741461054757806379b447bd1461056757600080fd5b80634ada218b146103fd5780634e71d92d1461041e5780634fbee19314610433578063654f97a31461046c57806366d602ae1461048c57600080fd5b806323b872dd1161022f57806323b872dd1461034b5780632866ed211461036b5780632c1f52161461038c57806330bb4cff146103ac578063313ce567146103c157806339509351146103dd57600080fd5b80630483f7a01461027757806306fdde0314610299578063095ea7b3146102c45780630c56ae3b146102f457806318160ddd1461032c57600080fd5b3661027257005b600080fd5b34801561028357600080fd5b50610297610292366004612016565b610849565b005b3480156102a557600080fd5b506102ae6108bc565b6040516102bb919061204f565b60405180910390f35b3480156102d057600080fd5b506102e46102df36600461209d565b61094e565b60405190151581526020016102bb565b34801561030057600080fd5b50600a54610314906001600160a01b031681565b6040516001600160a01b0390911681526020016102bb565b34801561033857600080fd5b506002545b6040519081526020016102bb565b34801561035757600080fd5b506102e46103663660046120c9565b610968565b34801561037757600080fd5b506007546102e490600160a81b900460ff1681565b34801561039857600080fd5b50600854610314906001600160a01b031681565b3480156103b857600080fd5b5061033d61098c565b3480156103cd57600080fd5b50604051601281526020016102bb565b3480156103e957600080fd5b506102e46103f836600461209d565b6109ff565b34801561040957600080fd5b506007546102e490600160b01b900460ff1681565b34801561042a57600080fd5b50610297610a21565b34801561043f57600080fd5b506102e461044e36600461210a565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561047857600080fd5b5061029761048736600461212e565b610ae4565b34801561049857600080fd5b5061033d600d5481565b3480156104ae57600080fd5b5061033d6104bd36600461210a565b610b0a565b3480156104ce57600080fd5b5061033d6104dd36600461210a565b6001600160a01b031660009081526020819052604090205490565b34801561050457600080fd5b50610297610b7a565b34801561051957600080fd5b50600f5460105460115461052c92919083565b604080519384526020840192909252908201526060016102bb565b34801561055357600080fd5b50600954610314906001600160a01b031681565b34801561057357600080fd5b5061029761058236600461214b565b610b8e565b34801561059357600080fd5b506105a76105a236600461210a565b610c74565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016102bb565b3480156105e557600080fd5b5061033d600c5481565b3480156105fb57600080fd5b506005546001600160a01b0316610314565b34801561061957600080fd5b50610297610628366004612016565b610cfe565b34801561063957600080fd5b506102ae610d31565b34801561064e57600080fd5b5061033d60125481565b34801561066457600080fd5b5061029761067336600461210a565b610d40565b34801561068457600080fd5b506102e461069336600461209d565b610e3c565b3480156106a457600080fd5b506102976106b336600461216d565b610eb7565b3480156106c457600080fd5b50600754610314906001600160a01b031681565b3480156106e457600080fd5b5061033d6106f336600461210a565b610f7c565b34801561070457600080fd5b506102e461071336600461209d565b610faf565b34801561072457600080fd5b5061029761073336600461216d565b610fbd565b34801561074457600080fd5b506102e461075336600461210a565b60186020526000908152604090205460ff1681565b34801561077457600080fd5b5061029761078336600461216d565b610fdd565b34801561079457600080fd5b5061029761105b565b3480156107a957600080fd5b506102976107b8366004612016565b61109c565b3480156107c957600080fd5b5061033d6107d8366004612186565b611186565b3480156107e957600080fd5b5061033d600b5481565b3480156107ff57600080fd5b5061029761080e36600461210a565b6111b1565b34801561081f57600080fd5b50600654610314906001600160a01b031681565b34801561083f57600080fd5b5061033d600e5481565b6108516111ec565b60085460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b1580156108a057600080fd5b505af11580156108b4573d6000803e3d6000fd5b505050505050565b6060600380546108cb906121b4565b80601f01602080910402602001604051908101604052809291908181526020018280546108f7906121b4565b80156109445780601f1061091957610100808354040283529160200191610944565b820191906000526020600020905b81548152906001019060200180831161092757829003601f168201915b5050505050905090565b60003361095c818585611219565b60019150505b92915050565b60003361097685828561133d565b6109818585856113b7565b506001949350505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa91906121ee565b905090565b60003361095c818585610a128383611186565b610a1c919061221d565b611219565b600754600160a81b900460ff16610a735760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b60448201526064015b60405180910390fd5b60085460405163807ab4f760e01b81523360048201526001600160a01b039091169063807ab4f7906024016020604051808303816000875af1158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190612230565b50565b610aec6111ec565b60078054911515600160a81b0260ff60a81b19909216919091179055565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096291906121ee565b610b826111ec565b610b8c6000611983565b565b610b966111ec565b620186a0821015610be95760405162461bcd60e51b815260206004820152601f60248201527f43616e277420736574206d6178627579206c6f776572207468616e20312520006044820152606401610a6a565b61c350811015610c465760405162461bcd60e51b815260206004820152602260248201527f43616e277420736574206d617873656c6c206c6f776572207468616e20302e35604482015261012960f51b6064820152608401610a6a565b610c5882670de0b6b3a764000061224d565b600c55610c6d81670de0b6b3a764000061224d565b600d555050565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839291169063fbcbc0f19060240160a060405180830381865afa158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec9190612264565b939a9299509097509550909350915050565b610d066111ec565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6060600480546108cb906121b4565b806001600160a01b031663a9059cbb610d616005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc991906121ee565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e389190612230565b5050565b60003381610e4a8286611186565b905083811015610eaa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a6a565b6109818286868403611219565b610ebf6111ec565b6007546008546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905260009291909116906323b872dd906064016020604051808303816000875af1158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f439190612230565b90508015610e3857600854604051633b79ab6760e21b8152600481018490526001600160a01b039091169063ede6ad9c90602401610886565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610b39565b60003361095c8185856113b7565b610fc56111ec565b610fd781670de0b6b3a764000061224d565b600b5550565b610fe56111ec565b620186a08110156110435760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610a6a565b61105581670de0b6b3a764000061224d565b600e5550565b6110636111ec565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ae1573d6000803e3d6000fd5b6110a46111ec565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036111275760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610a6a565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111b96111ec565b6001600160a01b0381166111e357604051631e4fbdf760e01b815260006004820152602401610a6a565b610ae181611983565b6005546001600160a01b03163314610b8c5760405163118cdaa760e01b8152336004820152602401610a6a565b6001600160a01b03831661127b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a6a565b6001600160a01b0382166112dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a6a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113498484611186565b905060001981146113b157818110156113a45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a6a565b6113b18484848403611219565b50505050565b6001600160a01b0383166113dd5760405162461bcd60e51b8152600401610a6a906122ad565b6001600160a01b0382166114035760405162461bcd60e51b8152600401610a6a906122f2565b6001600160a01b03831660009081526017602052604090205460ff1615801561144557506001600160a01b03821660009081526017602052604090205460ff16155b801561145b5750600754600160a01b900460ff16155b1561165857600754600160b01b900460ff166114ae5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a6a565b6001600160a01b03821660009081526018602052604090205460ff161561153b57600d548111156115215760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610a6a565b6016805490600061153183612335565b91905055506115c4565b6001600160a01b03831660009081526018602052604090205460ff16156115c457600c548111156115ae5760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610a6a565b601580549060006115be83612335565b91905055505b6001600160a01b03821660009081526019602052604090205460ff1661165857600e546001600160a01b03831660009081526020819052604090205461160a908361221d565b11156116585760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610a6a565b806000036116715761166c838360006119d5565b505050565b30600090815260208190526040902054600b548110801590819061169f5750600754600160a01b900460ff16155b80156116c357506001600160a01b03841660009081526018602052604090205460ff165b80156116e857506001600160a01b03851660009081526017602052604090205460ff16155b801561170d57506001600160a01b03841660009081526017602052604090205460ff16155b1561173f576007805460ff60a01b1916600160a01b179055600b5461173190611aff565b6007805460ff60a01b191690555b6007546001600160a01b03861660009081526017602052604090205460ff600160a01b90920482161591168061178d57506001600160a01b03851660009081526017602052604090205460ff165b15611796575060005b801561185a576001600160a01b03851660009081526018602052604081205460ff16156117f1576064601454601654116117d2576013546117d6565b6012545b6117e0908761224d565b6117ea919061234e565b9050611841565b6001600160a01b03871660009081526018602052604090205460ff1615611827576064601454601554116117d2576013546117d6565b606461183486600a61224d565b61183e919061234e565b90505b61184b8186612370565b94506118588730836119d5565b505b6118658686866119d5565b6008546001600160a01b031663e30443bc87611896816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156118dc57600080fd5b505af19250505080156118ed575060015b506008546001600160a01b031663e30443bc8661191f816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561196557600080fd5b505af1925050508015611976575060015b156108b457505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166119fb5760405162461bcd60e51b8152600401610a6a906122ad565b6001600160a01b038216611a215760405162461bcd60e51b8152600401610a6a906122f2565b6001600160a01b03831660009081526020819052604090205481811015611a995760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a6a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113b1565b601254600f54600091600291611b15908561224d565b611b1f919061234e565b611b29919061234e565b905060006002601254600f6000015485611b43919061224d565b611b4d919061234e565b611b57919061234e565b601254601054919250600091611b6d908661224d565b611b77919061234e565b601254601154919250600091611b8d908761224d565b611b97919061234e565b600a54909150611bb29030906001600160a01b0316836119d5565b600a5460405163425c8abd60e01b8152600481018390526001600160a01b039091169063425c8abd90602401600060405180830381600087803b158015611bf857600080fd5b505af1925050508015611c09575060015b50611c1384611e1e565b478015611c2457611c248482611f42565b611c2d83611e1e565b47808015611cda576009546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611c82576040519150601f19603f3d011682016040523d82523d6000602084013e611c87565b606091505b5050905080611cd85760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610a6a565b505b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4791906121ee565b9050808015611e125760075460085460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052600092919091169063a9059cbb906044016020604051808303816000875af1158015611daa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dce9190612230565b90508015611e1057604080518c8152602081018490527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15b505b50505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e5357611e53612383565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed09190612399565b81600181518110611ee357611ee3612383565b6001600160a01b039283166020918202929092010152600654611f099130911684611219565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906108869085906000908690309042906004016123b6565b600654611f5a9030906001600160a01b031684611219565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015611fc7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611fec9190612427565b5050505050565b6001600160a01b0381168114610ae157600080fd5b8015158114610ae157600080fd5b6000806040838503121561202957600080fd5b823561203481611ff3565b9150602083013561204481612008565b809150509250929050565b600060208083528351808285015260005b8181101561207c57858101830151858201604001528201612060565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156120b057600080fd5b82356120bb81611ff3565b946020939093013593505050565b6000806000606084860312156120de57600080fd5b83356120e981611ff3565b925060208401356120f981611ff3565b929592945050506040919091013590565b60006020828403121561211c57600080fd5b813561212781611ff3565b9392505050565b60006020828403121561214057600080fd5b813561212781612008565b6000806040838503121561215e57600080fd5b50508035926020909101359150565b60006020828403121561217f57600080fd5b5035919050565b6000806040838503121561219957600080fd5b82356121a481611ff3565b9150602083013561204481611ff3565b600181811c908216806121c857607f821691505b6020821081036121e857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561220057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561096257610962612207565b60006020828403121561224257600080fd5b815161212781612008565b808202811582820484141761096257610962612207565b600080600080600060a0868803121561227c57600080fd5b855161228781611ff3565b602087015160408801516060890151608090990151929a91995097965090945092505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60006001820161234757612347612207565b5060010190565b60008261236b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561096257610962612207565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ab57600080fd5b815161212781611ff3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124065784516001600160a01b0316835293830193918301916001016123e1565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561243c57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212200f7de4527d847eb0204a74cec971710ce20be9104c5a3b90ea3c3582b242105964736f6c63430008140033

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

00000000000000000000000078f3622bc811e813a5d86aeb09835a00e9bd87bf00000000000000000000000023002f4daf2a9cffe0213d0c0e3b6a33e42147aa

-----Decoded View---------------
Arg [0] : _dividendTracker (address): 0x78F3622Bc811E813a5D86AEB09835A00e9bd87bf
Arg [1] : _stakingPool (address): 0x23002F4daF2a9cFfe0213D0c0E3b6a33E42147AA

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000078f3622bc811e813a5d86aeb09835a00e9bd87bf
Arg [1] : 00000000000000000000000023002f4daf2a9cffe0213d0c0e3b6a33e42147aa


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.