ETH Price: $3,603.32 (+9.15%)

Token

Money Protocol ($MONEY)
 

Overview

Max Total Supply

100,000,000 $MONEY

Holders

86

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
122,938.29477004 $MONEY

Value
$0.00
0x14d6d728f1250c91c2a9e90ef875fbc35360838a
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:
MoneyProtocol

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Money.sol
//  SPDX-License-Identifier: MIT

pragma solidity >=0.8.19;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {

    function totalSupply() external view returns (uint256);

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

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

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IERC20Metadata is IERC20 {

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

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

    function decimals() external view returns (uint8);
}

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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 8;
    }

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

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

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

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

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

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

        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

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

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

library SafeMath {

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }
} 

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    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 swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

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

interface IStaking {
	function stakeTokens(address, uint) external;
}

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

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;
    IStaking public staking;

    address public marketingWallet;
    address public treasuryWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;
    uint256 public coolDownTime;
    uint256 public sellablePercentage;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyTreasuryFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellTreasuryFee;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping (address => bool) public _blackList;
    
    struct HolderData {
    uint256 totalBuyAmount;
    uint256 lastCooldownTime;
    uint256 soldToday;
    }
    mapping(address => HolderData) public holderData;
    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event LimitsRemoved();

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event treasuryWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    constructor(IStaking staking_) ERC20("Money Protocol", "$MONEY") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        staking = staking_;
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMarketingFee = 5;
        uint256 _buyTreasuryFee = 5;

        uint256 _sellMarketingFee = 5;
        uint256 _sellTreasuryFee = 5;

        uint256 totalSupply = 100000000 * 1e8;

        maxTransactionAmount = totalSupply /100;
        maxWallet = totalSupply / 50;
        swapTokensAtAmount = (totalSupply * 2) / 1000; // 0.2% swap wallet
        coolDownTime = 1 days;
        sellablePercentage = 35;

        buyMarketingFee = _buyMarketingFee;
        buyTreasuryFee = _buyTreasuryFee;
        buyTotalFees = buyMarketingFee + buyTreasuryFee;

        sellMarketingFee = _sellMarketingFee;
        sellTreasuryFee = _sellTreasuryFee;
        sellTotalFees = sellMarketingFee + sellTreasuryFee;

        marketingWallet = address(0x7062934E4843039C46261eeb1BB4fD517AD182eC); 
        treasuryWallet = address(staking);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(treasuryWallet, true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(treasuryWallet, true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        emit LimitsRemoved();
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= ((totalSupply() * 1) / 10000) / 1e8,
            "Swap amount cannot be lower than 0.01% total supply."
        );
        require(
            newAmount <= ((totalSupply() * 5) / 1000) / 1e8,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount * 1e8;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 100) / 1e8,
            "Cannot set maxTransactionAmount lower than 1%"
        );
        maxTransactionAmount = newNum * 1e8;
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 100) / 1e8,
            "Cannot set maxWallet lower than 1%"
        );
        maxWallet = newNum * 1e8;
    }

    function updateCoolDownTime(uint256 newNum) external onlyOwner {
        require(
            newNum <= 1 days,
            "Cannot set cooldown time more than 1 day"
        );
        coolDownTime = newNum;
    }

    function updateSellablePercentage(uint256 newNum) external onlyOwner {
        require(
            newNum >= 20,
            "Cannot set sellable percentage less than 20%"
        );
        sellablePercentage = newNum;
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _treasuryFee
    ) external onlyOwner {
         require((_marketingFee + _treasuryFee) <= 40 ,"Buy fee cant be sent more than 40%");
        buyMarketingFee = _marketingFee;
        buyTreasuryFee = _treasuryFee;
        buyTotalFees = buyMarketingFee + buyTreasuryFee;
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _treasuryFee
    ) external onlyOwner {
        require((_marketingFee + _treasuryFee) <= 40 ,"Sell fee cant be sent more than 40% ");
        sellMarketingFee = _marketingFee;
        sellTreasuryFee = _treasuryFee;
        sellTotalFees = sellMarketingFee + sellTreasuryFee;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(address newMarketingWallet)
        external
        onlyOwner
    {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function updateTreasuryWallet(address newWallet) external onlyOwner {
        emit treasuryWalletUpdated(newWallet, treasuryWallet);
        treasuryWallet = newWallet;
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[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");
        require(_blackList[from] == false);

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

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );

                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                updateTotalSell(from,amount);
                fees = amount.mul(sellTotalFees).div(100);
                amount -= fees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                amount -= fees;
                updateTotalBuy(to,amount);
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
        }
        
        if (!_isExcludedMaxTransactionAmount[from] && !_isExcludedMaxTransactionAmount[to]) {
            updateTotalSell(from,amount);
            updateTotalBuy(to,amount);
        }

        super._transfer(from, to, amount);
        
        if (to == address(staking)) {
			staking.stakeTokens(from, amount);
		}

    }

    function _checkHolderCooldown(address account) private view returns (bool) {
        if (block.timestamp >= holderData[account].lastCooldownTime + coolDownTime){
            return false;
        }else{
            return true;
        }

    }

    function getCurrentCooldownInfo(address account) public view returns(uint256 cooledTokenAmount, uint256 sellableTokenAmount, uint256 timeLeft){
        bool cooled = _checkHolderCooldown(account);
        timeLeft = 0;
        uint256 unlocktime = uint256(holderData[account].lastCooldownTime) + uint256(coolDownTime);
        if(cooled) {
            sellableTokenAmount = ((holderData[account].totalBuyAmount).mul(sellablePercentage).div(100)) - (holderData[account].soldToday);
            cooledTokenAmount = balanceOf(account) - sellableTokenAmount;
        }
        else {
            sellableTokenAmount = ((holderData[account].totalBuyAmount).mul(sellablePercentage).div(100));

            if(balanceOf(account) > sellableTokenAmount){
                cooledTokenAmount = balanceOf(account) - sellableTokenAmount;
            }else{
                cooledTokenAmount = 0;
            }
        }

        if(unlocktime > block.timestamp){
            timeLeft = uint256(holderData[account].lastCooldownTime) + uint256(coolDownTime) - uint256(block.timestamp); // remaining time until current cooldown expires
        }else{
            timeLeft = 0;
        }
    }

    function updateTotalSell(address account, uint256 amount) private{
        if (holderData[account].totalBuyAmount > 0){
            bool cooled = _checkHolderCooldown(account);
            if(cooled) {
                require(
                        amount <=  ((holderData[account].totalBuyAmount).mul(sellablePercentage).div(100)) - (holderData[account].soldToday),
                        "You cannont sell over your daily limit"                
                );
                holderData[account].soldToday += amount;
            }
            else{
                require(
                        amount <=  ((holderData[account].totalBuyAmount).mul(sellablePercentage).div(100)),
                        "You cannont sell over your daily limit"                
                );
                holderData[account].soldToday = amount;
                holderData[account].lastCooldownTime = block.timestamp;
            }
        }
        else {
            holderData[account].totalBuyAmount = balanceOf(account);
            require(
                    amount <=  ((holderData[account].totalBuyAmount).mul(sellablePercentage).div(100)),
                    "You cannont sell over your daily limit"                
                );
            holderData[account].soldToday = amount;
            holderData[account].lastCooldownTime = block.timestamp;
        }
    }

    function updateTotalBuy(address account, uint256 amount) private{
        holderData[account].totalBuyAmount += amount;
    }

    function manageBlackListAddress(address bot, bool value) public onlyOwner{
        require(bot != uniswapV2Pair);
        _blackList[bot] = value;
    }

    function manageBlackListAddresses(address[] memory bots, bool value) public onlyOwner{
        for(uint256 i = 0; i < bots.length; i++){
            require(bots[i] != uniswapV2Pair);
            _blackList[bots[i]] = value;
        }
    }


    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        bool success;

        if (contractBalance == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount) {
            contractBalance = swapTokensAtAmount;
        }

        uint256 amountToSwapForETH = contractBalance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance;
        uint256 totalFee = buyTotalFees + sellTotalFees;
        uint256 totalTreasuryFees = buyTreasuryFee + sellTreasuryFee;

        uint256 ethForTreasury = ethBalance.mul(totalTreasuryFees).div(totalFee);
        uint256 ethForMarketing = ethBalance - ethForTreasury;

        (success, ) = address(treasuryWallet).call{value: ethForTreasury}("");
        (success, ) = address(marketingWallet).call{value: ethForMarketing}("");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IStaking","name":"staking_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","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":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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_blackList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coolDownTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentCooldownInfo","outputs":[{"internalType":"uint256","name":"cooledTokenAmount","type":"uint256"},{"internalType":"uint256","name":"sellableTokenAmount","type":"uint256"},{"internalType":"uint256","name":"timeLeft","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderData","outputs":[{"internalType":"uint256","name":"totalBuyAmount","type":"uint256"},{"internalType":"uint256","name":"lastCooldownTime","type":"uint256"},{"internalType":"uint256","name":"soldToday","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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bot","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageBlackListAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageBlackListAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellablePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateCoolDownTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateSellablePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600e805462ffffff191660011790553480156200002057600080fd5b506040516200385438038062003854833981016040819052620000439162000717565b6040518060400160405280600e81526020016d135bdb995e48141c9bdd1bd8dbdb60921b81525060405180604001604052806006815260200165244d4f4e455960d01b81525081600390816200009a9190620007e2565b506004620000a98282620007e2565b505050620000c6620000c06200044660201b60201c565b6200044a565b600680546001600160a01b0319166001600160a01b038316179055737a250d5630b4cf539739df2c5dacb4c659f2488d620001038160016200049c565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200014e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000174919062000717565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e8919062000717565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000236573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025c919062000717565b6001600160a01b031660a0819052620002779060016200049c565b60a0516200028790600162000516565b6005808080662386f26fc10000620002a1606482620008c4565b600955620002b1603282620008c4565b600b556103e8620002c4826002620008e7565b620002d09190620008c4565b600a5562015180600c556023600d5560108590556011849055620002f5848662000907565b600f55601383905560148290556200030e828462000907565b601255600780546001600160a01b0319908116737062934e4843039c46261eeb1bb4fd517ad182ec17909155600654600880549092166001600160a01b0391909116179055620003726200036a6005546001600160a01b031690565b60016200056a565b6200037f3060016200056a565b6200038e61dead60016200056a565b600754620003a7906001600160a01b031660016200056a565b600854620003c0906001600160a01b031660016200056a565b620003df620003d76005546001600160a01b031690565b60016200049c565b620003ec3060016200049c565b620003fb61dead60016200049c565b60075462000414906001600160a01b031660016200049c565b6008546200042d906001600160a01b031660016200049c565b62000439338262000614565b505050505050506200091d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004eb5760405162461bcd60e51b815260206004820181905260248201526000805160206200383483398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005b55760405162461bcd60e51b81526020600482018190526024820152600080516020620038348339815191526044820152606401620004e2565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200066c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004e2565b806002600082825462000680919062000907565b90915550506001600160a01b03821660009081526020819052604081208054839290620006af90849062000907565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b6001600160a01b03811681146200071457600080fd5b50565b6000602082840312156200072a57600080fd5b81516200073781620006fe565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200076957607f821691505b6020821081036200078a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006f957600081815260208120601f850160051c81016020861015620007b95750805b601f850160051c820191505b81811015620007da57828155600101620007c5565b505050505050565b81516001600160401b03811115620007fe57620007fe6200073e565b62000816816200080f845462000754565b8462000790565b602080601f8311600181146200084e5760008415620008355750858301515b600019600386901b1c1916600185901b178555620007da565b600085815260208120601f198616915b828110156200087f578886015182559484019460019091019084016200085e565b50858210156200089e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082620008e257634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620009015762000901620008ae565b92915050565b80820180821115620009015762000901620008ae565b60805160a051612ec76200096d60003960008181610598015281816111a90152818161131c01526117f701526000818161046501528181612800015281816128b901526128f50152612ec76000f3fe60806040526004361061037a5760003560e01c8063751039fc116101d1578063aacebbe311610102578063d2ce0db2116100a0578063ee876e371161006f578063ee876e3714610a81578063f2fde38b14610aa1578063f528535a14610ac1578063f8b45b0514610ae157600080fd5b8063d2ce0db2146109f9578063d85ba06314610a0f578063dd62ed3e14610a25578063e2f4560514610a6b57600080fd5b8063c0246668116100dc578063c024666814610983578063c18bc195146109a3578063c8c8ebe4146109c3578063d257b34f146109d957600080fd5b8063aacebbe314610914578063b62496f514610934578063bbc0c7421461096457600080fd5b80638da5cb5b1161016f57806395d89b411161014957806395d89b411461089f5780639a7a23d6146108b4578063a457c2d7146108d4578063a9059cbb146108f457600080fd5b80638da5cb5b1461084b5780639213691314610869578063924de9b71461087f57600080fd5b80637bce5a04116101ab5780637bce5a04146107e0578063809d458d146107f657806387526c5a146108165780638a8c523c1461083657600080fd5b8063751039fc1461078b5780637571336a146107a057806375f0a874146107c057600080fd5b806349bd5a5e116102ab57806366ca9b83116102495780636ddd1713116102235780636ddd1713146106df5780636fd61231146106ff57806370a0823114610756578063715018a61461077657600080fd5b806366ca9b83146106935780636a486a8e146106b35780636b2fb124146106c957600080fd5b80634fbee193116102855780634fbee193146105f4578063508ca3191461062d578063595dec3c1461064d5780635c068a8c1461067d57600080fd5b806349bd5a5e146105865780634a62bb65146105ba5780634cf088d9146105d457600080fd5b80631879d5aa1161031857806327c8f835116102f257806327c8f83514610514578063313ce5671461052a57806339509351146105465780634626402b1461056657600080fd5b80631879d5aa146104b4578063203e727e146104d457806323b872dd146104f457600080fd5b8063095ea7b311610354578063095ea7b3146103f357806310d5de53146104235780631694505e1461045357806318160ddd1461049f57600080fd5b806302dbd8f8146103865780630602bf8d146103a857806306fdde03146103d157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004612969565b610af7565b005b3480156103b457600080fd5b506103be600d5481565b6040519081526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610bab565b6040516103c8919061298b565b3480156103ff57600080fd5b5061041361040e3660046129f9565b610c3d565b60405190151581526020016103c8565b34801561042f57600080fd5b5061041361043e366004612a25565b60166020526000908152604090205460ff1681565b34801561045f57600080fd5b506104877f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103c8565b3480156104ab57600080fd5b506002546103be565b3480156104c057600080fd5b506103a66104cf366004612a42565b610c54565b3480156104e057600080fd5b506103a66104ef366004612a42565b610ce7565b34801561050057600080fd5b5061041361050f366004612a5b565b610db9565b34801561052057600080fd5b5061048761dead81565b34801561053657600080fd5b50604051600881526020016103c8565b34801561055257600080fd5b506104136105613660046129f9565b610e63565b34801561057257600080fd5b50600854610487906001600160a01b031681565b34801561059257600080fd5b506104877f000000000000000000000000000000000000000000000000000000000000000081565b3480156105c657600080fd5b50600e546104139060ff1681565b3480156105e057600080fd5b50600654610487906001600160a01b031681565b34801561060057600080fd5b5061041361060f366004612a25565b6001600160a01b031660009081526015602052604090205460ff1690565b34801561063957600080fd5b506103a6610648366004612a42565b610e9f565b34801561065957600080fd5b50610413610668366004612a25565b60186020526000908152604090205460ff1681565b34801561068957600080fd5b506103be60115481565b34801561069f57600080fd5b506103a66106ae366004612969565b610f34565b3480156106bf57600080fd5b506103be60125481565b3480156106d557600080fd5b506103be60145481565b3480156106eb57600080fd5b50600e546104139062010000900460ff1681565b34801561070b57600080fd5b5061073b61071a366004612a25565b60196020526000908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016103c8565b34801561076257600080fd5b506103be610771366004612a25565b610fde565b34801561078257600080fd5b506103a6610ff9565b34801561079757600080fd5b5061041361102f565b3480156107ac57600080fd5b506103a66107bb366004612aac565b611095565b3480156107cc57600080fd5b50600754610487906001600160a01b031681565b3480156107ec57600080fd5b506103be60105481565b34801561080257600080fd5b506103a6610811366004612a25565b6110ea565b34801561082257600080fd5b506103a6610831366004612af7565b611171565b34801561084257600080fd5b506103a661125e565b34801561085757600080fd5b506005546001600160a01b0316610487565b34801561087557600080fd5b506103be60135481565b34801561088b57600080fd5b506103a661089a366004612bce565b61129b565b3480156108ab57600080fd5b506103e66112e1565b3480156108c057600080fd5b506103a66108cf366004612aac565b6112f0565b3480156108e057600080fd5b506104136108ef3660046129f9565b6113cf565b34801561090057600080fd5b5061041361090f3660046129f9565b611468565b34801561092057600080fd5b506103a661092f366004612a25565b611475565b34801561094057600080fd5b5061041361094f366004612a25565b60176020526000908152604090205460ff1681565b34801561097057600080fd5b50600e5461041390610100900460ff1681565b34801561098f57600080fd5b506103a661099e366004612aac565b6114fc565b3480156109af57600080fd5b506103a66109be366004612a42565b611585565b3480156109cf57600080fd5b506103be60095481565b3480156109e557600080fd5b506104136109f4366004612a42565b61164c565b348015610a0557600080fd5b506103be600c5481565b348015610a1b57600080fd5b506103be600f5481565b348015610a3157600080fd5b506103be610a40366004612be9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a7757600080fd5b506103be600a5481565b348015610a8d57600080fd5b506103a6610a9c366004612aac565b6117cb565b348015610aad57600080fd5b506103a6610abc366004612a25565b61185e565b348015610acd57600080fd5b5061073b610adc366004612a25565b6118f9565b348015610aed57600080fd5b506103be600b5481565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b8152600401610b2190612c22565b60405180910390fd5b6028610b368284612c6d565b1115610b905760405162461bcd60e51b8152602060048201526024808201527f53656c6c206665652063616e742062652073656e74206d6f7265207468616e2060448201526301a1812960e51b6064820152608401610b21565b60138290556014819055610ba48183612c6d565b6012555050565b606060038054610bba90612c80565b80601f0160208091040260200160405190810160405280929190818152602001828054610be690612c80565b8015610c335780601f10610c0857610100808354040283529160200191610c33565b820191906000526020600020905b815481529060010190602001808311610c1657829003601f168201915b5050505050905090565b6000610c4a338484611a41565b5060015b92915050565b6005546001600160a01b03163314610c7e5760405162461bcd60e51b8152600401610b2190612c22565b62015180811115610ce25760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742073657420636f6f6c646f776e2074696d65206d6f7265207468604482015267616e20312064617960c01b6064820152608401610b21565b600c55565b6005546001600160a01b03163314610d115760405162461bcd60e51b8152600401610b2190612c22565b6305f5e1006064610d2160025490565b610d2c906001612cba565b610d369190612cd1565b610d409190612cd1565b811015610da55760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610b21565b610db3816305f5e100612cba565b60095550565b6000610dc6848484611b65565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610e4b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b21565b610e588533858403611a41565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c4a918590610e9a908690612c6d565b611a41565b6005546001600160a01b03163314610ec95760405162461bcd60e51b8152600401610b2190612c22565b6014811015610f2f5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74207365742073656c6c61626c652070657263656e74616765206c60448201526b657373207468616e2032302560a01b6064820152608401610b21565b600d55565b6005546001600160a01b03163314610f5e5760405162461bcd60e51b8152600401610b2190612c22565b6028610f6a8284612c6d565b1115610fc35760405162461bcd60e51b815260206004820152602260248201527f427579206665652063616e742062652073656e74206d6f7265207468616e2034604482015261302560f01b6064820152608401610b21565b60108290556011819055610fd78183612c6d565b600f555050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146110235760405162461bcd60e51b8152600401610b2190612c22565b61102d6000612241565b565b6005546000906001600160a01b0316331461105c5760405162461bcd60e51b8152600401610b2190612c22565b600e805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a150600190565b6005546001600160a01b031633146110bf5760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111145760405162461bcd60e51b8152600401610b2190612c22565b6008546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119b5760405162461bcd60e51b8152600401610b2190612c22565b60005b8251811015611259577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168382815181106111e3576111e3612cf3565b60200260200101516001600160a01b0316036111fe57600080fd5b816018600085848151811061121557611215612cf3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061125181612d09565b91505061119e565b505050565b6005546001600160a01b031633146112885760405162461bcd60e51b8152600401610b2190612c22565b600e805462ffff00191662010100179055565b6005546001600160a01b031633146112c55760405162461bcd60e51b8152600401610b2190612c22565b600e8054911515620100000262ff000019909216919091179055565b606060048054610bba90612c80565b6005546001600160a01b0316331461131a5760405162461bcd60e51b8152600401610b2190612c22565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036113c15760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b21565b6113cb8282612293565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156114515760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b21565b61145e3385858403611a41565b5060019392505050565b6000610c4a338484611b65565b6005546001600160a01b0316331461149f5760405162461bcd60e51b8152600401610b2190612c22565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115265760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146115af5760405162461bcd60e51b8152600401610b2190612c22565b6305f5e10060646115bf60025490565b6115ca906001612cba565b6115d49190612cd1565b6115de9190612cd1565b8110156116385760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610b21565b611646816305f5e100612cba565b600b5550565b6005546000906001600160a01b031633146116795760405162461bcd60e51b8152600401610b2190612c22565b6305f5e10061271061168a60025490565b611695906001612cba565b61169f9190612cd1565b6116a99190612cd1565b8210156117155760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610b21565b6305f5e1006103e861172660025490565b611731906005612cba565b61173b9190612cd1565b6117459190612cd1565b8211156117b15760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b21565b6117bf826305f5e100612cba565b600a555060015b919050565b6005546001600160a01b031633146117f55760405162461bcd60e51b8152600401610b2190612c22565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361183357600080fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146118885760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b0381166118ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b21565b6118f681612241565b50565b600080600080611908856122e7565b600c546001600160a01b03871660009081526019602052604081206001015490945091925083916119399190612c6d565b905081156119a3576001600160a01b03861660009081526019602052604090206002810154600d549154909161197c916064916119769190612327565b9061233a565b6119869190612d22565b93508361199287610fde565b61199c9190612d22565b94506119f0565b600d546001600160a01b0387166000908152601960205260409020546119cf9160649161197691612327565b9350836119db87610fde565b11156119eb578361199287610fde565b600094505b42811115611a3357600c546001600160a01b0387166000908152601960205260409020600101544291611a2291612c6d565b611a2c9190612d22565b9250611a38565b600092505b50509193909250565b6001600160a01b038316611aa35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b21565b6001600160a01b038216611b045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b21565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b8b5760405162461bcd60e51b8152600401610b2190612d35565b6001600160a01b038216611bb15760405162461bcd60e51b8152600401610b2190612d7a565b6001600160a01b03831660009081526018602052604090205460ff1615611bd757600080fd5b80600003611beb5761125983836000612346565b600e5460ff1615611f41576005546001600160a01b03848116911614801590611c2257506005546001600160a01b03838116911614155b8015611c3657506001600160a01b03821615155b8015611c4d57506001600160a01b03821661dead14155b8015611c635750600554600160a01b900460ff16155b15611f4157600e54610100900460ff16611cfb576001600160a01b03831660009081526015602052604090205460ff1680611cb657506001600160a01b03821660009081526015602052604090205460ff165b611cfb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b21565b6001600160a01b03831660009081526017602052604090205460ff168015611d3c57506001600160a01b03821660009081526016602052604090205460ff16155b15611e1057600954811115611db15760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b21565b600b54611dbd83610fde565b611dc79083612c6d565b1115611e0b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b21565b611f41565b6001600160a01b03821660009081526017602052604090205460ff168015611e5157506001600160a01b03831660009081526016602052604090205460ff16155b15611ec757600954811115611e0b5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b21565b6001600160a01b03821660009081526016602052604090205460ff16611f4157600b54611ef383610fde565b611efd9083612c6d565b1115611f415760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b21565b6000611f4c30610fde565b600a5490915081108015908190611f6b5750600e5462010000900460ff165b8015611f815750600554600160a01b900460ff16155b8015611fa657506001600160a01b03851660009081526017602052604090205460ff16155b8015611fcb57506001600160a01b03851660009081526015602052604090205460ff16155b8015611ff057506001600160a01b03841660009081526015602052604090205460ff16155b1561201e576005805460ff60a01b1916600160a01b17905561201061249b565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526015602052604090205460ff600160a01b90920482161591168061206c57506001600160a01b03851660009081526015602052604090205460ff165b15612075575060005b60008115612155576001600160a01b03861660009081526017602052604090205460ff1680156120a757506000601254115b156120e3576120b687866125bc565b6120d060646119766012548861232790919063ffffffff16565b90506120dc8186612d22565b9450612144565b6001600160a01b03871660009081526017602052604090205460ff16801561210d57506000600f54115b156121445761212c6064611976600f548861232790919063ffffffff16565b90506121388186612d22565b94506121448686612778565b801561215557612155873083612346565b6001600160a01b03871660009081526016602052604090205460ff1615801561219757506001600160a01b03861660009081526016602052604090205460ff16155b156121b0576121a687866125bc565b6121b08686612778565b6121bb878787612346565b6006546001600160a01b039081169087160361223857600654604051633cd41fad60e11b81526001600160a01b03898116600483015260248201889052909116906379a83f5a90604401600060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050505b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600c546001600160a01b038216600090815260196020526040812060010154909161231191612c6d565b421061231f57506000919050565b506001919050565b60006123338284612cba565b9392505050565b60006123338284612cd1565b6001600160a01b03831661236c5760405162461bcd60e51b8152600401610b2190612d35565b6001600160a01b0382166123925760405162461bcd60e51b8152600401610b2190612d7a565b6001600160a01b0383166000908152602081905260409020548181101561240a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b21565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612441908490612c6d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161248d91815260200190565b60405180910390a350505050565b60006124a630610fde565b90506000816000036124b6575050565b600a548211156124c657600a5491505b816124d0816127a9565b601254600f5447916000916124e59190612c6d565b905060006014546011546124f99190612c6d565b9050600061250b836119768685612327565b905060006125198286612d22565b6008546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114612567576040519150601f19603f3d011682016040523d82523d6000602084013e61256c565b606091505b50506007546040519198506001600160a01b0316908290600081818185875af1925050503d8060008114612233576040519150601f19603f3d011682016040523d82523d6000602084013e612233565b6001600160a01b038216600090815260196020526040902054156126f75760006125e5836122e7565b90508015612681576001600160a01b03831660009081526019602052604090206002810154600d5491549091612622916064916119769190612327565b61262c9190612d22565b82111561264b5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b03831660009081526019602052604081206002018054849290612676908490612c6d565b909155506112599050565b600d546001600160a01b0384166000908152601960205260409020546126ad9160649161197691612327565b8211156126cc5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b03831660009081526019602052604090206002810183905542600190910155505050565b61270082610fde565b6001600160a01b0383166000908152601960205260409020819055600d5461272f916064916119769190612327565b81111561274e5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b038216600090815260196020526040902060028101829055426001909101555050565b6001600160a01b038216600090815260196020526040812080548392906127a0908490612c6d565b90915550505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127de576127de612cf3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561285c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128809190612e03565b8160018151811061289357612893612cf3565b60200260200101906001600160a01b031690816001600160a01b0316815250506128de307f000000000000000000000000000000000000000000000000000000000000000084611a41565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612933908590600090869030904290600401612e20565b600060405180830381600087803b15801561294d57600080fd5b505af1158015612961573d6000803e3d6000fd5b505050505050565b6000806040838503121561297c57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156129b85785810183015185820160400152820161299c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146118f657600080fd5b80356117c6816129d9565b60008060408385031215612a0c57600080fd5b8235612a17816129d9565b946020939093013593505050565b600060208284031215612a3757600080fd5b8135612333816129d9565b600060208284031215612a5457600080fd5b5035919050565b600080600060608486031215612a7057600080fd5b8335612a7b816129d9565b92506020840135612a8b816129d9565b929592945050506040919091013590565b803580151581146117c657600080fd5b60008060408385031215612abf57600080fd5b8235612aca816129d9565b9150612ad860208401612a9c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215612b0a57600080fd5b823567ffffffffffffffff80821115612b2257600080fd5b818501915085601f830112612b3657600080fd5b8135602082821115612b4a57612b4a612ae1565b8160051b604051601f19603f83011681018181108682111715612b6f57612b6f612ae1565b604052928352818301935084810182019289841115612b8d57600080fd5b948201945b83861015612bb257612ba3866129ee565b85529482019493820193612b92565b9650612bc19050878201612a9c565b9450505050509250929050565b600060208284031215612be057600080fd5b61233382612a9c565b60008060408385031215612bfc57600080fd5b8235612c07816129d9565b91506020830135612c17816129d9565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c4e57610c4e612c57565b600181811c90821680612c9457607f821691505b602082108103612cb457634e487b7160e01b600052602260045260246000fd5b50919050565b8082028115828204841417610c4e57610c4e612c57565b600082612cee57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612d1b57612d1b612c57565b5060010190565b81810381811115610c4e57610c4e612c57565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f596f752063616e6e6f6e742073656c6c206f76657220796f7572206461696c79604082015265081b1a5b5a5d60d21b606082015260800190565b600060208284031215612e1557600080fd5b8151612333816129d9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612e705784516001600160a01b031683529383019391830191600101612e4b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212208b69d9b0d4000d1404292eb6ad25fa24b83bc888d1767bfcf0a751a3bc8d2d0764736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000003a31c0a5aa46bc8e405a4d044216ededd3bd7b44

Deployed Bytecode

0x60806040526004361061037a5760003560e01c8063751039fc116101d1578063aacebbe311610102578063d2ce0db2116100a0578063ee876e371161006f578063ee876e3714610a81578063f2fde38b14610aa1578063f528535a14610ac1578063f8b45b0514610ae157600080fd5b8063d2ce0db2146109f9578063d85ba06314610a0f578063dd62ed3e14610a25578063e2f4560514610a6b57600080fd5b8063c0246668116100dc578063c024666814610983578063c18bc195146109a3578063c8c8ebe4146109c3578063d257b34f146109d957600080fd5b8063aacebbe314610914578063b62496f514610934578063bbc0c7421461096457600080fd5b80638da5cb5b1161016f57806395d89b411161014957806395d89b411461089f5780639a7a23d6146108b4578063a457c2d7146108d4578063a9059cbb146108f457600080fd5b80638da5cb5b1461084b5780639213691314610869578063924de9b71461087f57600080fd5b80637bce5a04116101ab5780637bce5a04146107e0578063809d458d146107f657806387526c5a146108165780638a8c523c1461083657600080fd5b8063751039fc1461078b5780637571336a146107a057806375f0a874146107c057600080fd5b806349bd5a5e116102ab57806366ca9b83116102495780636ddd1713116102235780636ddd1713146106df5780636fd61231146106ff57806370a0823114610756578063715018a61461077657600080fd5b806366ca9b83146106935780636a486a8e146106b35780636b2fb124146106c957600080fd5b80634fbee193116102855780634fbee193146105f4578063508ca3191461062d578063595dec3c1461064d5780635c068a8c1461067d57600080fd5b806349bd5a5e146105865780634a62bb65146105ba5780634cf088d9146105d457600080fd5b80631879d5aa1161031857806327c8f835116102f257806327c8f83514610514578063313ce5671461052a57806339509351146105465780634626402b1461056657600080fd5b80631879d5aa146104b4578063203e727e146104d457806323b872dd146104f457600080fd5b8063095ea7b311610354578063095ea7b3146103f357806310d5de53146104235780631694505e1461045357806318160ddd1461049f57600080fd5b806302dbd8f8146103865780630602bf8d146103a857806306fdde03146103d157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004612969565b610af7565b005b3480156103b457600080fd5b506103be600d5481565b6040519081526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610bab565b6040516103c8919061298b565b3480156103ff57600080fd5b5061041361040e3660046129f9565b610c3d565b60405190151581526020016103c8565b34801561042f57600080fd5b5061041361043e366004612a25565b60166020526000908152604090205460ff1681565b34801561045f57600080fd5b506104877f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103c8565b3480156104ab57600080fd5b506002546103be565b3480156104c057600080fd5b506103a66104cf366004612a42565b610c54565b3480156104e057600080fd5b506103a66104ef366004612a42565b610ce7565b34801561050057600080fd5b5061041361050f366004612a5b565b610db9565b34801561052057600080fd5b5061048761dead81565b34801561053657600080fd5b50604051600881526020016103c8565b34801561055257600080fd5b506104136105613660046129f9565b610e63565b34801561057257600080fd5b50600854610487906001600160a01b031681565b34801561059257600080fd5b506104877f0000000000000000000000000ef79993eee71975dc35839d5865f9dc7b38dd1381565b3480156105c657600080fd5b50600e546104139060ff1681565b3480156105e057600080fd5b50600654610487906001600160a01b031681565b34801561060057600080fd5b5061041361060f366004612a25565b6001600160a01b031660009081526015602052604090205460ff1690565b34801561063957600080fd5b506103a6610648366004612a42565b610e9f565b34801561065957600080fd5b50610413610668366004612a25565b60186020526000908152604090205460ff1681565b34801561068957600080fd5b506103be60115481565b34801561069f57600080fd5b506103a66106ae366004612969565b610f34565b3480156106bf57600080fd5b506103be60125481565b3480156106d557600080fd5b506103be60145481565b3480156106eb57600080fd5b50600e546104139062010000900460ff1681565b34801561070b57600080fd5b5061073b61071a366004612a25565b60196020526000908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016103c8565b34801561076257600080fd5b506103be610771366004612a25565b610fde565b34801561078257600080fd5b506103a6610ff9565b34801561079757600080fd5b5061041361102f565b3480156107ac57600080fd5b506103a66107bb366004612aac565b611095565b3480156107cc57600080fd5b50600754610487906001600160a01b031681565b3480156107ec57600080fd5b506103be60105481565b34801561080257600080fd5b506103a6610811366004612a25565b6110ea565b34801561082257600080fd5b506103a6610831366004612af7565b611171565b34801561084257600080fd5b506103a661125e565b34801561085757600080fd5b506005546001600160a01b0316610487565b34801561087557600080fd5b506103be60135481565b34801561088b57600080fd5b506103a661089a366004612bce565b61129b565b3480156108ab57600080fd5b506103e66112e1565b3480156108c057600080fd5b506103a66108cf366004612aac565b6112f0565b3480156108e057600080fd5b506104136108ef3660046129f9565b6113cf565b34801561090057600080fd5b5061041361090f3660046129f9565b611468565b34801561092057600080fd5b506103a661092f366004612a25565b611475565b34801561094057600080fd5b5061041361094f366004612a25565b60176020526000908152604090205460ff1681565b34801561097057600080fd5b50600e5461041390610100900460ff1681565b34801561098f57600080fd5b506103a661099e366004612aac565b6114fc565b3480156109af57600080fd5b506103a66109be366004612a42565b611585565b3480156109cf57600080fd5b506103be60095481565b3480156109e557600080fd5b506104136109f4366004612a42565b61164c565b348015610a0557600080fd5b506103be600c5481565b348015610a1b57600080fd5b506103be600f5481565b348015610a3157600080fd5b506103be610a40366004612be9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a7757600080fd5b506103be600a5481565b348015610a8d57600080fd5b506103a6610a9c366004612aac565b6117cb565b348015610aad57600080fd5b506103a6610abc366004612a25565b61185e565b348015610acd57600080fd5b5061073b610adc366004612a25565b6118f9565b348015610aed57600080fd5b506103be600b5481565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b8152600401610b2190612c22565b60405180910390fd5b6028610b368284612c6d565b1115610b905760405162461bcd60e51b8152602060048201526024808201527f53656c6c206665652063616e742062652073656e74206d6f7265207468616e2060448201526301a1812960e51b6064820152608401610b21565b60138290556014819055610ba48183612c6d565b6012555050565b606060038054610bba90612c80565b80601f0160208091040260200160405190810160405280929190818152602001828054610be690612c80565b8015610c335780601f10610c0857610100808354040283529160200191610c33565b820191906000526020600020905b815481529060010190602001808311610c1657829003601f168201915b5050505050905090565b6000610c4a338484611a41565b5060015b92915050565b6005546001600160a01b03163314610c7e5760405162461bcd60e51b8152600401610b2190612c22565b62015180811115610ce25760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742073657420636f6f6c646f776e2074696d65206d6f7265207468604482015267616e20312064617960c01b6064820152608401610b21565b600c55565b6005546001600160a01b03163314610d115760405162461bcd60e51b8152600401610b2190612c22565b6305f5e1006064610d2160025490565b610d2c906001612cba565b610d369190612cd1565b610d409190612cd1565b811015610da55760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610b21565b610db3816305f5e100612cba565b60095550565b6000610dc6848484611b65565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610e4b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b21565b610e588533858403611a41565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c4a918590610e9a908690612c6d565b611a41565b6005546001600160a01b03163314610ec95760405162461bcd60e51b8152600401610b2190612c22565b6014811015610f2f5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74207365742073656c6c61626c652070657263656e74616765206c60448201526b657373207468616e2032302560a01b6064820152608401610b21565b600d55565b6005546001600160a01b03163314610f5e5760405162461bcd60e51b8152600401610b2190612c22565b6028610f6a8284612c6d565b1115610fc35760405162461bcd60e51b815260206004820152602260248201527f427579206665652063616e742062652073656e74206d6f7265207468616e2034604482015261302560f01b6064820152608401610b21565b60108290556011819055610fd78183612c6d565b600f555050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146110235760405162461bcd60e51b8152600401610b2190612c22565b61102d6000612241565b565b6005546000906001600160a01b0316331461105c5760405162461bcd60e51b8152600401610b2190612c22565b600e805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a150600190565b6005546001600160a01b031633146110bf5760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111145760405162461bcd60e51b8152600401610b2190612c22565b6008546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119b5760405162461bcd60e51b8152600401610b2190612c22565b60005b8251811015611259577f0000000000000000000000000ef79993eee71975dc35839d5865f9dc7b38dd136001600160a01b03168382815181106111e3576111e3612cf3565b60200260200101516001600160a01b0316036111fe57600080fd5b816018600085848151811061121557611215612cf3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061125181612d09565b91505061119e565b505050565b6005546001600160a01b031633146112885760405162461bcd60e51b8152600401610b2190612c22565b600e805462ffff00191662010100179055565b6005546001600160a01b031633146112c55760405162461bcd60e51b8152600401610b2190612c22565b600e8054911515620100000262ff000019909216919091179055565b606060048054610bba90612c80565b6005546001600160a01b0316331461131a5760405162461bcd60e51b8152600401610b2190612c22565b7f0000000000000000000000000ef79993eee71975dc35839d5865f9dc7b38dd136001600160a01b0316826001600160a01b0316036113c15760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b21565b6113cb8282612293565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156114515760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b21565b61145e3385858403611a41565b5060019392505050565b6000610c4a338484611b65565b6005546001600160a01b0316331461149f5760405162461bcd60e51b8152600401610b2190612c22565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115265760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146115af5760405162461bcd60e51b8152600401610b2190612c22565b6305f5e10060646115bf60025490565b6115ca906001612cba565b6115d49190612cd1565b6115de9190612cd1565b8110156116385760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610b21565b611646816305f5e100612cba565b600b5550565b6005546000906001600160a01b031633146116795760405162461bcd60e51b8152600401610b2190612c22565b6305f5e10061271061168a60025490565b611695906001612cba565b61169f9190612cd1565b6116a99190612cd1565b8210156117155760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610b21565b6305f5e1006103e861172660025490565b611731906005612cba565b61173b9190612cd1565b6117459190612cd1565b8211156117b15760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b21565b6117bf826305f5e100612cba565b600a555060015b919050565b6005546001600160a01b031633146117f55760405162461bcd60e51b8152600401610b2190612c22565b7f0000000000000000000000000ef79993eee71975dc35839d5865f9dc7b38dd136001600160a01b0316826001600160a01b03160361183357600080fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146118885760405162461bcd60e51b8152600401610b2190612c22565b6001600160a01b0381166118ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b21565b6118f681612241565b50565b600080600080611908856122e7565b600c546001600160a01b03871660009081526019602052604081206001015490945091925083916119399190612c6d565b905081156119a3576001600160a01b03861660009081526019602052604090206002810154600d549154909161197c916064916119769190612327565b9061233a565b6119869190612d22565b93508361199287610fde565b61199c9190612d22565b94506119f0565b600d546001600160a01b0387166000908152601960205260409020546119cf9160649161197691612327565b9350836119db87610fde565b11156119eb578361199287610fde565b600094505b42811115611a3357600c546001600160a01b0387166000908152601960205260409020600101544291611a2291612c6d565b611a2c9190612d22565b9250611a38565b600092505b50509193909250565b6001600160a01b038316611aa35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b21565b6001600160a01b038216611b045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b21565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b8b5760405162461bcd60e51b8152600401610b2190612d35565b6001600160a01b038216611bb15760405162461bcd60e51b8152600401610b2190612d7a565b6001600160a01b03831660009081526018602052604090205460ff1615611bd757600080fd5b80600003611beb5761125983836000612346565b600e5460ff1615611f41576005546001600160a01b03848116911614801590611c2257506005546001600160a01b03838116911614155b8015611c3657506001600160a01b03821615155b8015611c4d57506001600160a01b03821661dead14155b8015611c635750600554600160a01b900460ff16155b15611f4157600e54610100900460ff16611cfb576001600160a01b03831660009081526015602052604090205460ff1680611cb657506001600160a01b03821660009081526015602052604090205460ff165b611cfb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b21565b6001600160a01b03831660009081526017602052604090205460ff168015611d3c57506001600160a01b03821660009081526016602052604090205460ff16155b15611e1057600954811115611db15760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b21565b600b54611dbd83610fde565b611dc79083612c6d565b1115611e0b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b21565b611f41565b6001600160a01b03821660009081526017602052604090205460ff168015611e5157506001600160a01b03831660009081526016602052604090205460ff16155b15611ec757600954811115611e0b5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b21565b6001600160a01b03821660009081526016602052604090205460ff16611f4157600b54611ef383610fde565b611efd9083612c6d565b1115611f415760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b21565b6000611f4c30610fde565b600a5490915081108015908190611f6b5750600e5462010000900460ff165b8015611f815750600554600160a01b900460ff16155b8015611fa657506001600160a01b03851660009081526017602052604090205460ff16155b8015611fcb57506001600160a01b03851660009081526015602052604090205460ff16155b8015611ff057506001600160a01b03841660009081526015602052604090205460ff16155b1561201e576005805460ff60a01b1916600160a01b17905561201061249b565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526015602052604090205460ff600160a01b90920482161591168061206c57506001600160a01b03851660009081526015602052604090205460ff165b15612075575060005b60008115612155576001600160a01b03861660009081526017602052604090205460ff1680156120a757506000601254115b156120e3576120b687866125bc565b6120d060646119766012548861232790919063ffffffff16565b90506120dc8186612d22565b9450612144565b6001600160a01b03871660009081526017602052604090205460ff16801561210d57506000600f54115b156121445761212c6064611976600f548861232790919063ffffffff16565b90506121388186612d22565b94506121448686612778565b801561215557612155873083612346565b6001600160a01b03871660009081526016602052604090205460ff1615801561219757506001600160a01b03861660009081526016602052604090205460ff16155b156121b0576121a687866125bc565b6121b08686612778565b6121bb878787612346565b6006546001600160a01b039081169087160361223857600654604051633cd41fad60e11b81526001600160a01b03898116600483015260248201889052909116906379a83f5a90604401600060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050505b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600c546001600160a01b038216600090815260196020526040812060010154909161231191612c6d565b421061231f57506000919050565b506001919050565b60006123338284612cba565b9392505050565b60006123338284612cd1565b6001600160a01b03831661236c5760405162461bcd60e51b8152600401610b2190612d35565b6001600160a01b0382166123925760405162461bcd60e51b8152600401610b2190612d7a565b6001600160a01b0383166000908152602081905260409020548181101561240a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b21565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612441908490612c6d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161248d91815260200190565b60405180910390a350505050565b60006124a630610fde565b90506000816000036124b6575050565b600a548211156124c657600a5491505b816124d0816127a9565b601254600f5447916000916124e59190612c6d565b905060006014546011546124f99190612c6d565b9050600061250b836119768685612327565b905060006125198286612d22565b6008546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114612567576040519150601f19603f3d011682016040523d82523d6000602084013e61256c565b606091505b50506007546040519198506001600160a01b0316908290600081818185875af1925050503d8060008114612233576040519150601f19603f3d011682016040523d82523d6000602084013e612233565b6001600160a01b038216600090815260196020526040902054156126f75760006125e5836122e7565b90508015612681576001600160a01b03831660009081526019602052604090206002810154600d5491549091612622916064916119769190612327565b61262c9190612d22565b82111561264b5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b03831660009081526019602052604081206002018054849290612676908490612c6d565b909155506112599050565b600d546001600160a01b0384166000908152601960205260409020546126ad9160649161197691612327565b8211156126cc5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b03831660009081526019602052604090206002810183905542600190910155505050565b61270082610fde565b6001600160a01b0383166000908152601960205260409020819055600d5461272f916064916119769190612327565b81111561274e5760405162461bcd60e51b8152600401610b2190612dbd565b6001600160a01b038216600090815260196020526040902060028101829055426001909101555050565b6001600160a01b038216600090815260196020526040812080548392906127a0908490612c6d565b90915550505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127de576127de612cf3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561285c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128809190612e03565b8160018151811061289357612893612cf3565b60200260200101906001600160a01b031690816001600160a01b0316815250506128de307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611a41565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612933908590600090869030904290600401612e20565b600060405180830381600087803b15801561294d57600080fd5b505af1158015612961573d6000803e3d6000fd5b505050505050565b6000806040838503121561297c57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156129b85785810183015185820160400152820161299c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146118f657600080fd5b80356117c6816129d9565b60008060408385031215612a0c57600080fd5b8235612a17816129d9565b946020939093013593505050565b600060208284031215612a3757600080fd5b8135612333816129d9565b600060208284031215612a5457600080fd5b5035919050565b600080600060608486031215612a7057600080fd5b8335612a7b816129d9565b92506020840135612a8b816129d9565b929592945050506040919091013590565b803580151581146117c657600080fd5b60008060408385031215612abf57600080fd5b8235612aca816129d9565b9150612ad860208401612a9c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215612b0a57600080fd5b823567ffffffffffffffff80821115612b2257600080fd5b818501915085601f830112612b3657600080fd5b8135602082821115612b4a57612b4a612ae1565b8160051b604051601f19603f83011681018181108682111715612b6f57612b6f612ae1565b604052928352818301935084810182019289841115612b8d57600080fd5b948201945b83861015612bb257612ba3866129ee565b85529482019493820193612b92565b9650612bc19050878201612a9c565b9450505050509250929050565b600060208284031215612be057600080fd5b61233382612a9c565b60008060408385031215612bfc57600080fd5b8235612c07816129d9565b91506020830135612c17816129d9565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c4e57610c4e612c57565b600181811c90821680612c9457607f821691505b602082108103612cb457634e487b7160e01b600052602260045260246000fd5b50919050565b8082028115828204841417610c4e57610c4e612c57565b600082612cee57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612d1b57612d1b612c57565b5060010190565b81810381811115610c4e57610c4e612c57565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f596f752063616e6e6f6e742073656c6c206f76657220796f7572206461696c79604082015265081b1a5b5a5d60d21b606082015260800190565b600060208284031215612e1557600080fd5b8151612333816129d9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612e705784516001600160a01b031683529383019391830191600101612e4b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212208b69d9b0d4000d1404292eb6ad25fa24b83bc888d1767bfcf0a751a3bc8d2d0764736f6c63430008130033

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

0000000000000000000000003a31c0a5aa46bc8e405a4d044216ededd3bd7b44

-----Decoded View---------------
Arg [0] : staking_ (address): 0x3A31C0A5aA46BC8e405a4D044216eDeDd3Bd7B44

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003a31c0a5aa46bc8e405a4d044216ededd3bd7b44


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.