ETH Price: $3,522.83 (+5.02%)

Token

GHOSTDAG (GDAG)
 

Overview

Max Total Supply

28,700,000,000 GDAG

Holders

4,101 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
19,041.7163743953 GDAG

Value
$0.00
0x41ce79d98de6f8244c91e6e3ce8e13e5f3bfdc6d
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

GhostDAG enables colocated Mining services for KAS as an ERC-20 to users on Ethereum.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GHOSTDAG

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

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

// GhostDAG.org 

pragma solidity ^0.8.0;
 
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
 
    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
 
interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
 
    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
 
    event Mint(address indexed sender, uint amount0, uint amount1);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);
 
    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;
    function initialize(address, address) external;
}
 
interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
 
    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
 
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 {
    using SafeMath for uint256;
    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 18;
    }
 
    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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
 
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }
 
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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);
 
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }
 
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
 
        _beforeTokenTransfer(account, address(0), amount);
 
        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), 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 {}
}
 
library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
 
        return c;
    }
 
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
 
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
 
        return c;
    }
 
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
   
        if (a == 0) {
            return 0;
        }
 
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
 
        return c;
    }
 
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
 
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
 
        return c;
    }
 
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
 
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
 
contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
 
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
 
    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
 
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
 
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
 
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;
 
        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }
 
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);
 
        // Solidity already throws when dividing by 0.
        return a / b;
    }
 
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }
 
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }
 
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
  
    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}
 
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}
 
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
 
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
    }
 
interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    }
 
contract GHOSTDAG is Context, IERC20, IERC20Metadata, ERC20, Ownable {
    
    using SafeMath for uint256; 
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public rescueAddress;
    address private liquifyProtocol;
 
    bool private swapping;
    bool private tradeInLimits = true;
    bool private isTrading = false;
    bool public swapAllowed = false;
    bool public taxShortTermTraders = false;
 
    mapping (address => uint256) private _traderFirstSwapTimestamp;
    mapping (address => bool) private _isExcludedFromFees;
    mapping (address => bool) public _isExcludedMaxTradeAmount;
    mapping (address => bool) public automatedMarketMakerPairs;
 
    uint256 private buyFeeTotal;
    uint256 private buyProtocolFee;
    uint256 private buyLiquidityFee;
    uint256 private sellFeeTotal;
    uint256 private sellProtocolFee;
    uint256 private sellLiquidityFee;
    uint256 private quickSellLiquidityFee;
    uint256 private quickSellProtocolFee;
    uint256 private tokensForProtocol;
    uint256 private tokensForLiquidity;
    uint256 private maxTradeAmount;
    uint256 private whenToSwapToken;
    uint256 private maxHolding;
    uint256 launchedAt;
 
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); 
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
 
    constructor(
    string memory name,
    string memory symbol,
    address _rescueAddress,
    address _liquifyProtocolAddress,
    uint256 totalSupply,
    uint256 _buyProtocolFee,
    uint256 _sellProtocolFee,
    uint256 _quickSellProtocolFee,
    uint256 _buyLiquidityFee,
    uint256 _sellLiquidityFee,
    uint256 _quickSellLiquidityFee
    ) ERC20(name, symbol) {

    IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    excludeFromMaxTrade(address(_uniswapV2Router), true);
    uniswapV2Router = _uniswapV2Router;
  
    uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
    excludeFromMaxTrade(address(uniswapV2Pair), true);
    _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

    rescueAddress = _rescueAddress;
    liquifyProtocol = _liquifyProtocolAddress;

    buyProtocolFee = _buyProtocolFee;
    buyLiquidityFee = _buyLiquidityFee;
    buyFeeTotal = buyProtocolFee + buyLiquidityFee;
    sellProtocolFee = _sellProtocolFee;
    sellLiquidityFee = _sellLiquidityFee;
    sellFeeTotal = sellProtocolFee + sellLiquidityFee;
    quickSellLiquidityFee = _quickSellLiquidityFee;
    quickSellProtocolFee = _quickSellProtocolFee;

    excludeFromFees(owner(), true);
    excludeFromFees(address(this), true);
    excludeFromMaxTrade(owner(), true);
    excludeFromMaxTrade(address(this), true);

    maxTradeAmount = totalSupply * 20 / 1000;
    maxHolding = totalSupply * 20 / 1000;
    whenToSwapToken = totalSupply * 10 / 10000;

    _mint(msg.sender, totalSupply);
    }
 
    receive() external payable {}
 
    function startTrading() external onlyOwner {
        isTrading = true;
        swapAllowed = true;
        launchedAt = block.number;
    }
 
    function removeLimits() external onlyOwner returns (bool){
        tradeInLimits = false;
        return true;
    }
 
    function updateSwapAllowed(bool enabled) external onlyOwner(){
        swapAllowed = enabled;
    }

    function setQuickSell(bool onoff) external onlyOwner  {
        taxShortTermTraders = onoff;
    }
 
    function excludeFromMaxTrade(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTradeAmount[updAds] = isEx;
    }
 
    function updateQuickBuyFees(uint256 _ProtocolFee, uint256 _liquidityFee) external onlyOwner {
        buyProtocolFee = _ProtocolFee;
        buyLiquidityFee = _liquidityFee;
        buyFeeTotal = buyProtocolFee + buyLiquidityFee;
        require(buyFeeTotal <= 30, "Cannot exceed 30% Buy fees");
    }
 
    function updateExitFee(uint256 _protocolFee, uint256 _liquidityFee, uint256 _quickSellLiquidityFee, uint256 _quickSellProtocolFee) external onlyOwner {
        sellProtocolFee = _protocolFee;
        sellLiquidityFee = _liquidityFee;
        quickSellLiquidityFee = _quickSellLiquidityFee;
        quickSellProtocolFee = _quickSellProtocolFee;
        sellFeeTotal = sellProtocolFee + sellLiquidityFee;
        require(sellFeeTotal <= 30, "Cannot exceed 30% Sell fees");
    }
 
    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 AMM Pairs"); 
        _setAutomatedMarketMakerPair(pair, value);
    }
 
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }

    function rescueTokens(IERC20 token, uint256 amount) public {
        require(address(token) != address(0), "Token address cannot be zero");
        require(msg.sender == rescueAddress, "Only the rescue address can call this function");
        token.transfer(msg.sender, amount);
    }
 
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

         if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
 
        if(tradeInLimits){
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                !swapping
            ){
                if(!isTrading){
                    require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
                }
 
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTradeAmount[to]) {
                        require(amount <= maxTradeAmount, "Transfer amount exceeds the maxTradeAmount.");
                        require(amount + balanceOf(to) <= maxHolding, "Max Holding exceeded");
                }
 
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTradeAmount[from]) {
                        require(amount <= maxTradeAmount, "Transfer amount exceeds the maxTradeAmount.");
                }
                else if(!_isExcludedMaxTradeAmount[to]){
                    require(amount + balanceOf(to) <= maxHolding, "Max Holding exceeded");
                }
            }
        }
 
        bool isBuy = from == uniswapV2Pair;
        if (!isBuy && taxShortTermTraders) {
            if (_traderFirstSwapTimestamp[from] != 0 &&
                (_traderFirstSwapTimestamp[from] + (730 hours) >= block.timestamp))  {
                sellLiquidityFee = quickSellLiquidityFee;
                sellProtocolFee = quickSellProtocolFee;
                sellFeeTotal = sellProtocolFee + sellLiquidityFee;
            } else {
                sellLiquidityFee = 0;
                sellProtocolFee = 0;
                sellFeeTotal = sellProtocolFee + sellLiquidityFee;
            }
        } else {
            if (_traderFirstSwapTimestamp[to] == 0) {
                _traderFirstSwapTimestamp[to] = block.timestamp;
            }
 
            if (!taxShortTermTraders) {
                sellLiquidityFee = 0;
                sellProtocolFee = 0;
                sellFeeTotal = sellProtocolFee + sellLiquidityFee;
            }
        }
 
        uint256 contractTokenBalance = balanceOf(address(this));
 
        bool canSwap = contractTokenBalance >= whenToSwapToken;
 
        if( 
            canSwap &&
            swapAllowed &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
 
            swapBack();
 
            swapping = false;
        }
 
        bool takeFee = !swapping;
 
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
 
        uint256 fees = 0;

        if(takeFee){
            
            if (automatedMarketMakerPairs[to] && sellFeeTotal > 0){
                fees = amount.mul(sellFeeTotal).div(100);
                tokensForLiquidity += fees * sellLiquidityFee / sellFeeTotal;
                tokensForProtocol += fees * sellProtocolFee / sellFeeTotal;
            }

            else if(automatedMarketMakerPairs[from] && buyFeeTotal > 0) {
                fees = amount.mul(buyFeeTotal).div(100);
                tokensForLiquidity += fees * buyLiquidityFee / buyFeeTotal;
                tokensForProtocol += fees * buyProtocolFee / buyFeeTotal;
            }
 
            if(fees > 0){    
                super._transfer(from, address(this), fees);
            }
 
            amount -= fees;
        }
 
        super._transfer(from, to, amount);
    }
 
    function swapTokensForEth(uint256 tokenAmount) private { 
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
 
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, 
            path,
            address(this),
            block.timestamp
        );
 
    }
 
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, 
            0, 
            address(this),
            block.timestamp
        );
    }
 
    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForProtocol;
        bool success;
 
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
 
        if(contractBalance > whenToSwapToken * 20){
          contractBalance = whenToSwapToken * 20;
        }
 
        uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);
        uint256 initialETHBalance = address(this).balance;
 
        swapTokensForEth(amountToSwapForETH); 
 
        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        uint256 ethForProtocol = ethBalance.mul(tokensForProtocol).div(totalTokensToSwap);
        uint256 ethForLiquidity = ethBalance - ethForProtocol;
 
 
        tokensForLiquidity = 0;
        tokensForProtocol = 0;
 
        (success,) = address(liquifyProtocol).call{value: ethForProtocol}("");
 
        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
        }
 
        (success,) = address(liquifyProtocol).call{value: address(this).balance}("");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_rescueAddress","type":"address"},{"internalType":"address","name":"_liquifyProtocolAddress","type":"address"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"_buyProtocolFee","type":"uint256"},{"internalType":"uint256","name":"_sellProtocolFee","type":"uint256"},{"internalType":"uint256","name":"_quickSellProtocolFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_quickSellLiquidityFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTradeAmount","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"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":"excludeFromMaxTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setQuickSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxShortTermTraders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"_protocolFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_quickSellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_quickSellProtocolFee","type":"uint256"}],"name":"updateExitFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ProtocolFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateQuickBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526007805463ffffffff60a81b1916600160a81b1790553480156200002757600080fd5b5060405162002ef038038062002ef08339810160408190526200004a916200077c565b8a8a60036200005a8382620008e6565b506004620000698282620008e6565b50505060006200007e620003b160201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d620000ee816001620003b5565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000139573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015f9190620009b2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d39190620009b2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002479190620009b2565b6001600160a01b031660a081905262000262906001620003b5565b60a051620002729060016200042f565b600680546001600160a01b03808d166001600160a01b03199283161790925560078054928c1692909116919091179055600d879055600e849055620002b88488620009ed565b600c5560108690556011839055620002d18387620009ed565b600f5560128290556013859055620002fd620002f56005546001600160a01b031690565b600162000483565b6200030a30600162000483565b62000329620003216005546001600160a01b031690565b6001620003b5565b62000336306001620003b5565b6103e86200034689601462000a03565b62000352919062000a1d565b6016556103e86200036589601462000a03565b62000371919062000a1d565b6018556127106200038489600a62000a03565b62000390919062000a1d565b6017556200039f33896200052d565b50505050505050505050505062000a40565b3390565b6005546001600160a01b03163314620004045760405162461bcd60e51b8152602060048201819052602482015260008051602062002ed083398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6001600160a01b0382166000818152600b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620004ce5760405162461bcd60e51b8152602060048201819052602482015260008051602062002ed08339815191526044820152606401620003fb565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005855760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003fb565b620005a1816002546200062e60201b62000ee01790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620005d491839062000ee06200062e821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b6000806200063d8385620009ed565b905083811015620006915760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620003fb565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620006c257600080fd5b81516001600160401b0380821115620006df57620006df6200069a565b604051601f8301601f19908116603f011681019082821181831017156200070a576200070a6200069a565b816040528381526020925086838588010111156200072757600080fd5b600091505b838210156200074b57858201830151818301840152908201906200072c565b600093810190920192909252949350505050565b80516001600160a01b03811681146200077757600080fd5b919050565b60008060008060008060008060008060006101608c8e0312156200079f57600080fd5b8b516001600160401b03811115620007b657600080fd5b620007c48e828f01620006b0565b60208e0151909c5090506001600160401b03811115620007e357600080fd5b620007f18e828f01620006b0565b9a50506200080260408d016200075f565b98506200081260608d016200075f565b975060808c0151965060a08c0151955060c08c0151945060e08c015193506101008c015192506101208c015191506101408c015190509295989b509295989b9093969950565b600181811c908216806200086d57607f821691505b6020821081036200088e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200062957600081815260208120601f850160051c81016020861015620008bd5750805b601f850160051c820191505b81811015620008de57828155600101620008c9565b505050505050565b81516001600160401b038111156200090257620009026200069a565b6200091a8162000913845462000858565b8462000894565b602080601f831160018114620009525760008415620009395750858301515b600019600386901b1c1916600185901b178555620008de565b600085815260208120601f198616915b82811015620009835788860151825594840194600190910190840162000962565b5085821015620009a25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620009c557600080fd5b620009d0826200075f565b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620006945762000694620009d7565b8082028115828204841417620006945762000694620009d7565b60008262000a3b57634e487b7160e01b600052601260045260246000fd5b500490565b60805160a05161243962000a97600039600081816103bf01528181610c20015261139a01526000818161028201528181611c9d01528181611d5601528181611d9201528181611e0c0152611e6801526124396000f3fe6080604052600436106101e75760003560e01c80636e2e705c11610102578063a457c2d711610095578063c646c01911610064578063c646c019146105ed578063dd62ed3e1461060d578063e80c37cd14610653578063f2fde38b1461067457600080fd5b8063a457c2d71461055d578063a9059cbb1461057d578063b62496f51461059d578063c0246668146105cd57600080fd5b8063779bf33c116100d1578063779bf33c146104da5780638da5cb5b1461050a57806395d89b41146105285780639a7a23d61461053d57600080fd5b80636e2e705c1461045a57806370a082311461047a578063715018a6146104b0578063751039fc146104c557600080fd5b8063293230b81161017a57806349bd5a5e1161014957806349bd5a5e146103ad5780634fbee193146103e1578063525550ea1461041a578063573761981461043a57600080fd5b8063293230b81461033c5780632c1a5aa514610351578063313ce56714610371578063395093511461038d57600080fd5b8063172869c4116101b6578063172869c4146102bc57806318160ddd146102dd5780631f9d1b3d146102fc57806323b872dd1461031c57600080fd5b806305b791f2146101f357806306fdde0314610215578063095ea7b3146102405780631694505e1461027057600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f14565b610694565b005b34801561022157600080fd5b5061022a610734565b6040516102379190611f36565b60405180910390f35b34801561024c57600080fd5b5061026061025b366004611f9c565b6107c6565b6040519015158152602001610237565b34801561027c57600080fd5b506102a47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610237565b3480156102c857600080fd5b5060075461026090600160b81b900460ff1681565b3480156102e957600080fd5b506002545b604051908152602001610237565b34801561030857600080fd5b50610213610317366004611fd6565b6107dd565b34801561032857600080fd5b50610260610337366004611ff3565b610825565b34801561034857600080fd5b5061021361088e565b34801561035d57600080fd5b5061021361036c366004612034565b6108d3565b34801561037d57600080fd5b5060405160128152602001610237565b34801561039957600080fd5b506102606103a8366004611f9c565b610976565b3480156103b957600080fd5b506102a47f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ed57600080fd5b506102606103fc366004612066565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561042657600080fd5b506006546102a4906001600160a01b031681565b34801561044657600080fd5b50610213610455366004611f9c565b6109ac565b34801561046657600080fd5b50610213610475366004611fd6565b610ae9565b34801561048657600080fd5b506102ee610495366004612066565b6001600160a01b031660009081526020819052604090205490565b3480156104bc57600080fd5b50610213610b31565b3480156104d157600080fd5b50610260610ba5565b3480156104e657600080fd5b506102606104f5366004612066565b600a6020526000908152604090205460ff1681565b34801561051657600080fd5b506005546001600160a01b03166102a4565b34801561053457600080fd5b5061022a610be5565b34801561054957600080fd5b50610213610558366004612083565b610bf4565b34801561056957600080fd5b50610260610578366004611f9c565b610cbb565b34801561058957600080fd5b50610260610598366004611f9c565b610d0a565b3480156105a957600080fd5b506102606105b8366004612066565b600b6020526000908152604090205460ff1681565b3480156105d957600080fd5b506102136105e8366004612083565b610d17565b3480156105f957600080fd5b50610213610608366004612083565b610da0565b34801561061957600080fd5b506102ee6106283660046120bc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561065f57600080fd5b5060075461026090600160c01b900460ff1681565b34801561068057600080fd5b5061021361068f366004612066565b610df5565b6005546001600160a01b031633146106c75760405162461bcd60e51b81526004016106be906120ea565b60405180910390fd5b600d829055600e8190556106db8183612135565b600c819055601e10156107305760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206578636565642033302520427579206665657300000000000060448201526064016106be565b5050565b60606003805461074390612148565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612148565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d3338484610f46565b5060015b92915050565b6005546001600160a01b031633146108075760405162461bcd60e51b81526004016106be906120ea565b60078054911515600160b81b0260ff60b81b19909216919091179055565b600061083284848461106b565b610884843361087f856040518060600160405280602881526020016123b7602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906117aa565b610f46565b5060019392505050565b6005546001600160a01b031633146108b85760405162461bcd60e51b81526004016106be906120ea565b6007805461ffff60b01b191661010160b01b17905543601955565b6005546001600160a01b031633146108fd5760405162461bcd60e51b81526004016106be906120ea565b601084905560118390556012829055601381905561091b8385612135565b600f819055601e10156109705760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420657863656564203330252053656c6c2066656573000000000060448201526064016106be565b50505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107d391859061087f9086610ee0565b6001600160a01b038216610a025760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f0000000060448201526064016106be565b6006546001600160a01b03163314610a735760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c79207468652072657363756520616464726573732063616e2063616c6c60448201526d103a3434b990333ab731ba34b7b760911b60648201526084016106be565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae49190612182565b505050565b6005546001600160a01b03163314610b135760405162461bcd60e51b81526004016106be906120ea565b60078054911515600160c01b0260ff60c01b19909216919091179055565b6005546001600160a01b03163314610b5b5760405162461bcd60e51b81526004016106be906120ea565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610bd25760405162461bcd60e51b81526004016106be906120ea565b506007805460ff60a81b19169055600190565b60606004805461074390612148565b6005546001600160a01b03163314610c1e5760405162461bcd60e51b81526004016106be906120ea565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610cb15760405162461bcd60e51b815260206004820152602960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d20604482015268414d4d20506169727360b81b60648201526084016106be565b61073082826117e4565b60006107d3338461087f856040518060600160405280602581526020016123df602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906117aa565b60006107d333848461106b565b6005546001600160a01b03163314610d415760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610dca5760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e1f5760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b038116610e845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106be565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600080610eed8385612135565b905083811015610f3f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106be565b9392505050565b6001600160a01b038316610fa85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106be565b6001600160a01b0382166110095760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166110915760405162461bcd60e51b81526004016106be9061219f565b6001600160a01b0382166110b75760405162461bcd60e51b81526004016106be906121e4565b806000036110cb57610ae483836000611838565b600754600160a81b900460ff1615611398576005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b801561111d57506001600160a01b03821615155b80156111335750600754600160a01b900460ff16155b1561139857600754600160b01b900460ff166111cd576001600160a01b03831660009081526009602052604090205460ff168061118857506001600160a01b03821660009081526009602052604090205460ff165b6111cd5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016106be565b6001600160a01b0383166000908152600b602052604090205460ff16801561120e57506001600160a01b0382166000908152600a602052604090205460ff16155b156112a5576016548111156112355760405162461bcd60e51b81526004016106be90612227565b6018546001600160a01b03831660009081526020819052604090205461125b9083612135565b11156112a05760405162461bcd60e51b815260206004820152601460248201527313585e08121bdb191a5b99c8195e18d95959195960621b60448201526064016106be565b611398565b6001600160a01b0382166000908152600b602052604090205460ff1680156112e657506001600160a01b0383166000908152600a602052604090205460ff16155b1561130d576016548111156112a05760405162461bcd60e51b81526004016106be90612227565b6001600160a01b0382166000908152600a602052604090205460ff16611398576018546001600160a01b0383166000908152602081905260409020546113539083612135565b11156113985760405162461bcd60e51b815260206004820152601460248201527313585e08121bdb191a5b99c8195e18d95959195960621b60448201526064016106be565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908416148015816113de5750600754600160c01b900460ff165b1561146d576001600160a01b0384166000908152600860205260409020541580159061143057506001600160a01b038416600090815260086020526040902054429061142d90622819a0612135565b10155b15611457576012546011819055601354601081905561144f9190612135565b600f556114d3565b60006011819055601081905561144f9080612135565b6001600160a01b03831660009081526008602052604081205490036114a8576001600160a01b03831660009081526008602052604090204290555b600754600160c01b900460ff166114d3576000601181905560108190556114cf9080612135565b600f555b30600090815260208190526040902054601754811080159081906115005750600754600160b81b900460ff165b80156115165750600754600160a01b900460ff16155b801561153b57506001600160a01b0386166000908152600b602052604090205460ff16155b801561156057506001600160a01b03861660009081526009602052604090205460ff16155b801561158557506001600160a01b03851660009081526009602052604090205460ff16155b156115b3576007805460ff60a01b1916600160a01b1790556115a5611941565b6007805460ff60a01b191690555b6007546001600160a01b03871660009081526009602052604090205460ff600160a01b90920482161591168061160157506001600160a01b03861660009081526009602052604090205460ff165b1561160a575060005b60008115611795576001600160a01b0387166000908152600b602052604090205460ff16801561163c57506000600f54115b156116ca57611661606461165b600f5489611b4090919063ffffffff16565b90611bc2565b9050600f54601154826116749190612272565b61167e9190612289565b6015600082825461168f9190612135565b9091555050600f546010546116a49083612272565b6116ae9190612289565b601460008282546116bf9190612135565b909155506117779050565b6001600160a01b0388166000908152600b602052604090205460ff1680156116f457506000600c54115b1561177757611713606461165b600c5489611b4090919063ffffffff16565b9050600c54600e54826117269190612272565b6117309190612289565b601560008282546117419190612135565b9091555050600c54600d546117569083612272565b6117609190612289565b601460008282546117719190612135565b90915550505b801561178857611788883083611838565b61179281876122ab565b95505b6117a0888888611838565b5050505050505050565b600081848411156117ce5760405162461bcd60e51b81526004016106be9190611f36565b5060006117db84866122ab565b95945050505050565b6001600160a01b0382166000818152600b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661185e5760405162461bcd60e51b81526004016106be9061219f565b6001600160a01b0382166118845760405162461bcd60e51b81526004016106be906121e4565b6118c181604051806060016040528060268152602001612391602691396001600160a01b03861660009081526020819052604090205491906117aa565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118f09082610ee0565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161105e565b30600090815260208190526040812054905060006014546015546119659190612135565b90506000821580611974575081155b1561197e57505050565b60175461198c906014612272565b8311156119a4576017546119a1906014612272565b92505b6000600283601554866119b79190612272565b6119c19190612289565b6119cb9190612289565b905060006119d98583611c04565b9050476119e582611c46565b60006119f14783611c04565b90506000611a0e8761165b60145485611b4090919063ffffffff16565b90506000611a1c82846122ab565b6000601581905560148190556007546040519293506001600160a01b031691849181818185875af1925050503d8060008114611a74576040519150601f19603f3d011682016040523d82523d6000602084013e611a79565b606091505b50909750508515801590611a8d5750600081115b15611ae057611a9c8682611e06565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611b2d576040519150601f19603f3d011682016040523d82523d6000602084013e611b32565b606091505b505050505050505050505050565b600082600003611b52575060006107d7565b6000611b5e8385612272565b905082611b6b8583612289565b14610f3f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106be565b6000610f3f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ee6565b6000610f3f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117aa565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c7b57611c7b6122be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d91906122d4565b81600181518110611d3057611d306122be565b60200260200101906001600160a01b031690816001600160a01b031681525050611d7b307f000000000000000000000000000000000000000000000000000000000000000084610f46565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611dd09085906000908690309042906004016122f1565b600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050505050565b611e31307f000000000000000000000000000000000000000000000000000000000000000084610f46565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611eba573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611edf9190612362565b5050505050565b60008183611f075760405162461bcd60e51b81526004016106be9190611f36565b5060006117db8486612289565b60008060408385031215611f2757600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611f6357858101830151858201604001528201611f47565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611f9957600080fd5b50565b60008060408385031215611faf57600080fd5b8235611fba81611f84565b946020939093013593505050565b8015158114611f9957600080fd5b600060208284031215611fe857600080fd5b8135610f3f81611fc8565b60008060006060848603121561200857600080fd5b833561201381611f84565b9250602084013561202381611f84565b929592945050506040919091013590565b6000806000806080858703121561204a57600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561207857600080fd5b8135610f3f81611f84565b6000806040838503121561209657600080fd5b82356120a181611f84565b915060208301356120b181611fc8565b809150509250929050565b600080604083850312156120cf57600080fd5b82356120da81611f84565b915060208301356120b181611f84565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156107d7576107d761211f565b600181811c9082168061215c57607f821691505b60208210810361217c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561219457600080fd5b8151610f3f81611fc8565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460408201526a3930b232a0b6b7bab73a1760a91b606082015260800190565b80820281158282048414176107d7576107d761211f565b6000826122a657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107d7576107d761211f565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122e657600080fd5b8151610f3f81611f84565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123415784516001600160a01b03168352938301939183019160010161231c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561237757600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122057681e35645e2f23c0de476d9a31da66413ec9f90ae6f1fdb5949b5f151b706964736f6c634300081200334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d7d849926cd5c0418be1e96d0e370e247c8f9aeb0000000000000000000000005ca3adeb01de20a1c0666b887fd30ef1b6546c8a00000000000000000000000000000000000000005cbc15658446606d9c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000847484f535444414700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044744414700000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e75760003560e01c80636e2e705c11610102578063a457c2d711610095578063c646c01911610064578063c646c019146105ed578063dd62ed3e1461060d578063e80c37cd14610653578063f2fde38b1461067457600080fd5b8063a457c2d71461055d578063a9059cbb1461057d578063b62496f51461059d578063c0246668146105cd57600080fd5b8063779bf33c116100d1578063779bf33c146104da5780638da5cb5b1461050a57806395d89b41146105285780639a7a23d61461053d57600080fd5b80636e2e705c1461045a57806370a082311461047a578063715018a6146104b0578063751039fc146104c557600080fd5b8063293230b81161017a57806349bd5a5e1161014957806349bd5a5e146103ad5780634fbee193146103e1578063525550ea1461041a578063573761981461043a57600080fd5b8063293230b81461033c5780632c1a5aa514610351578063313ce56714610371578063395093511461038d57600080fd5b8063172869c4116101b6578063172869c4146102bc57806318160ddd146102dd5780631f9d1b3d146102fc57806323b872dd1461031c57600080fd5b806305b791f2146101f357806306fdde0314610215578063095ea7b3146102405780631694505e1461027057600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f14565b610694565b005b34801561022157600080fd5b5061022a610734565b6040516102379190611f36565b60405180910390f35b34801561024c57600080fd5b5061026061025b366004611f9c565b6107c6565b6040519015158152602001610237565b34801561027c57600080fd5b506102a47f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610237565b3480156102c857600080fd5b5060075461026090600160b81b900460ff1681565b3480156102e957600080fd5b506002545b604051908152602001610237565b34801561030857600080fd5b50610213610317366004611fd6565b6107dd565b34801561032857600080fd5b50610260610337366004611ff3565b610825565b34801561034857600080fd5b5061021361088e565b34801561035d57600080fd5b5061021361036c366004612034565b6108d3565b34801561037d57600080fd5b5060405160128152602001610237565b34801561039957600080fd5b506102606103a8366004611f9c565b610976565b3480156103b957600080fd5b506102a47f0000000000000000000000009c62a8fcc76a77938c82b5a76a68aadd6806d10781565b3480156103ed57600080fd5b506102606103fc366004612066565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561042657600080fd5b506006546102a4906001600160a01b031681565b34801561044657600080fd5b50610213610455366004611f9c565b6109ac565b34801561046657600080fd5b50610213610475366004611fd6565b610ae9565b34801561048657600080fd5b506102ee610495366004612066565b6001600160a01b031660009081526020819052604090205490565b3480156104bc57600080fd5b50610213610b31565b3480156104d157600080fd5b50610260610ba5565b3480156104e657600080fd5b506102606104f5366004612066565b600a6020526000908152604090205460ff1681565b34801561051657600080fd5b506005546001600160a01b03166102a4565b34801561053457600080fd5b5061022a610be5565b34801561054957600080fd5b50610213610558366004612083565b610bf4565b34801561056957600080fd5b50610260610578366004611f9c565b610cbb565b34801561058957600080fd5b50610260610598366004611f9c565b610d0a565b3480156105a957600080fd5b506102606105b8366004612066565b600b6020526000908152604090205460ff1681565b3480156105d957600080fd5b506102136105e8366004612083565b610d17565b3480156105f957600080fd5b50610213610608366004612083565b610da0565b34801561061957600080fd5b506102ee6106283660046120bc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561065f57600080fd5b5060075461026090600160c01b900460ff1681565b34801561068057600080fd5b5061021361068f366004612066565b610df5565b6005546001600160a01b031633146106c75760405162461bcd60e51b81526004016106be906120ea565b60405180910390fd5b600d829055600e8190556106db8183612135565b600c819055601e10156107305760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206578636565642033302520427579206665657300000000000060448201526064016106be565b5050565b60606003805461074390612148565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612148565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d3338484610f46565b5060015b92915050565b6005546001600160a01b031633146108075760405162461bcd60e51b81526004016106be906120ea565b60078054911515600160b81b0260ff60b81b19909216919091179055565b600061083284848461106b565b610884843361087f856040518060600160405280602881526020016123b7602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906117aa565b610f46565b5060019392505050565b6005546001600160a01b031633146108b85760405162461bcd60e51b81526004016106be906120ea565b6007805461ffff60b01b191661010160b01b17905543601955565b6005546001600160a01b031633146108fd5760405162461bcd60e51b81526004016106be906120ea565b601084905560118390556012829055601381905561091b8385612135565b600f819055601e10156109705760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f7420657863656564203330252053656c6c2066656573000000000060448201526064016106be565b50505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107d391859061087f9086610ee0565b6001600160a01b038216610a025760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f0000000060448201526064016106be565b6006546001600160a01b03163314610a735760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c79207468652072657363756520616464726573732063616e2063616c6c60448201526d103a3434b990333ab731ba34b7b760911b60648201526084016106be565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae49190612182565b505050565b6005546001600160a01b03163314610b135760405162461bcd60e51b81526004016106be906120ea565b60078054911515600160c01b0260ff60c01b19909216919091179055565b6005546001600160a01b03163314610b5b5760405162461bcd60e51b81526004016106be906120ea565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610bd25760405162461bcd60e51b81526004016106be906120ea565b506007805460ff60a81b19169055600190565b60606004805461074390612148565b6005546001600160a01b03163314610c1e5760405162461bcd60e51b81526004016106be906120ea565b7f0000000000000000000000009c62a8fcc76a77938c82b5a76a68aadd6806d1076001600160a01b0316826001600160a01b031603610cb15760405162461bcd60e51b815260206004820152602960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d20604482015268414d4d20506169727360b81b60648201526084016106be565b61073082826117e4565b60006107d3338461087f856040518060600160405280602581526020016123df602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906117aa565b60006107d333848461106b565b6005546001600160a01b03163314610d415760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610dca5760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e1f5760405162461bcd60e51b81526004016106be906120ea565b6001600160a01b038116610e845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106be565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600080610eed8385612135565b905083811015610f3f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106be565b9392505050565b6001600160a01b038316610fa85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106be565b6001600160a01b0382166110095760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166110915760405162461bcd60e51b81526004016106be9061219f565b6001600160a01b0382166110b75760405162461bcd60e51b81526004016106be906121e4565b806000036110cb57610ae483836000611838565b600754600160a81b900460ff1615611398576005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b801561111d57506001600160a01b03821615155b80156111335750600754600160a01b900460ff16155b1561139857600754600160b01b900460ff166111cd576001600160a01b03831660009081526009602052604090205460ff168061118857506001600160a01b03821660009081526009602052604090205460ff165b6111cd5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016106be565b6001600160a01b0383166000908152600b602052604090205460ff16801561120e57506001600160a01b0382166000908152600a602052604090205460ff16155b156112a5576016548111156112355760405162461bcd60e51b81526004016106be90612227565b6018546001600160a01b03831660009081526020819052604090205461125b9083612135565b11156112a05760405162461bcd60e51b815260206004820152601460248201527313585e08121bdb191a5b99c8195e18d95959195960621b60448201526064016106be565b611398565b6001600160a01b0382166000908152600b602052604090205460ff1680156112e657506001600160a01b0383166000908152600a602052604090205460ff16155b1561130d576016548111156112a05760405162461bcd60e51b81526004016106be90612227565b6001600160a01b0382166000908152600a602052604090205460ff16611398576018546001600160a01b0383166000908152602081905260409020546113539083612135565b11156113985760405162461bcd60e51b815260206004820152601460248201527313585e08121bdb191a5b99c8195e18d95959195960621b60448201526064016106be565b7f0000000000000000000000009c62a8fcc76a77938c82b5a76a68aadd6806d1076001600160a01b03908116908416148015816113de5750600754600160c01b900460ff165b1561146d576001600160a01b0384166000908152600860205260409020541580159061143057506001600160a01b038416600090815260086020526040902054429061142d90622819a0612135565b10155b15611457576012546011819055601354601081905561144f9190612135565b600f556114d3565b60006011819055601081905561144f9080612135565b6001600160a01b03831660009081526008602052604081205490036114a8576001600160a01b03831660009081526008602052604090204290555b600754600160c01b900460ff166114d3576000601181905560108190556114cf9080612135565b600f555b30600090815260208190526040902054601754811080159081906115005750600754600160b81b900460ff165b80156115165750600754600160a01b900460ff16155b801561153b57506001600160a01b0386166000908152600b602052604090205460ff16155b801561156057506001600160a01b03861660009081526009602052604090205460ff16155b801561158557506001600160a01b03851660009081526009602052604090205460ff16155b156115b3576007805460ff60a01b1916600160a01b1790556115a5611941565b6007805460ff60a01b191690555b6007546001600160a01b03871660009081526009602052604090205460ff600160a01b90920482161591168061160157506001600160a01b03861660009081526009602052604090205460ff165b1561160a575060005b60008115611795576001600160a01b0387166000908152600b602052604090205460ff16801561163c57506000600f54115b156116ca57611661606461165b600f5489611b4090919063ffffffff16565b90611bc2565b9050600f54601154826116749190612272565b61167e9190612289565b6015600082825461168f9190612135565b9091555050600f546010546116a49083612272565b6116ae9190612289565b601460008282546116bf9190612135565b909155506117779050565b6001600160a01b0388166000908152600b602052604090205460ff1680156116f457506000600c54115b1561177757611713606461165b600c5489611b4090919063ffffffff16565b9050600c54600e54826117269190612272565b6117309190612289565b601560008282546117419190612135565b9091555050600c54600d546117569083612272565b6117609190612289565b601460008282546117719190612135565b90915550505b801561178857611788883083611838565b61179281876122ab565b95505b6117a0888888611838565b5050505050505050565b600081848411156117ce5760405162461bcd60e51b81526004016106be9190611f36565b5060006117db84866122ab565b95945050505050565b6001600160a01b0382166000818152600b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661185e5760405162461bcd60e51b81526004016106be9061219f565b6001600160a01b0382166118845760405162461bcd60e51b81526004016106be906121e4565b6118c181604051806060016040528060268152602001612391602691396001600160a01b03861660009081526020819052604090205491906117aa565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118f09082610ee0565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161105e565b30600090815260208190526040812054905060006014546015546119659190612135565b90506000821580611974575081155b1561197e57505050565b60175461198c906014612272565b8311156119a4576017546119a1906014612272565b92505b6000600283601554866119b79190612272565b6119c19190612289565b6119cb9190612289565b905060006119d98583611c04565b9050476119e582611c46565b60006119f14783611c04565b90506000611a0e8761165b60145485611b4090919063ffffffff16565b90506000611a1c82846122ab565b6000601581905560148190556007546040519293506001600160a01b031691849181818185875af1925050503d8060008114611a74576040519150601f19603f3d011682016040523d82523d6000602084013e611a79565b606091505b50909750508515801590611a8d5750600081115b15611ae057611a9c8682611e06565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611b2d576040519150601f19603f3d011682016040523d82523d6000602084013e611b32565b606091505b505050505050505050505050565b600082600003611b52575060006107d7565b6000611b5e8385612272565b905082611b6b8583612289565b14610f3f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106be565b6000610f3f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ee6565b6000610f3f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117aa565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c7b57611c7b6122be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d91906122d4565b81600181518110611d3057611d306122be565b60200260200101906001600160a01b031690816001600160a01b031681525050611d7b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610f46565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611dd09085906000908690309042906004016122f1565b600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050505050565b611e31307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610f46565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611eba573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611edf9190612362565b5050505050565b60008183611f075760405162461bcd60e51b81526004016106be9190611f36565b5060006117db8486612289565b60008060408385031215611f2757600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611f6357858101830151858201604001528201611f47565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611f9957600080fd5b50565b60008060408385031215611faf57600080fd5b8235611fba81611f84565b946020939093013593505050565b8015158114611f9957600080fd5b600060208284031215611fe857600080fd5b8135610f3f81611fc8565b60008060006060848603121561200857600080fd5b833561201381611f84565b9250602084013561202381611f84565b929592945050506040919091013590565b6000806000806080858703121561204a57600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561207857600080fd5b8135610f3f81611f84565b6000806040838503121561209657600080fd5b82356120a181611f84565b915060208301356120b181611fc8565b809150509250929050565b600080604083850312156120cf57600080fd5b82356120da81611f84565b915060208301356120b181611f84565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156107d7576107d761211f565b600181811c9082168061215c57607f821691505b60208210810361217c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561219457600080fd5b8151610f3f81611fc8565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460408201526a3930b232a0b6b7bab73a1760a91b606082015260800190565b80820281158282048414176107d7576107d761211f565b6000826122a657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107d7576107d761211f565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122e657600080fd5b8151610f3f81611f84565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123415784516001600160a01b03168352938301939183019160010161231c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561237757600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122057681e35645e2f23c0de476d9a31da66413ec9f90ae6f1fdb5949b5f151b706964736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d7d849926cd5c0418be1e96d0e370e247c8f9aeb0000000000000000000000005ca3adeb01de20a1c0666b887fd30ef1b6546c8a00000000000000000000000000000000000000005cbc15658446606d9c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000847484f535444414700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044744414700000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): GHOSTDAG
Arg [1] : symbol (string): GDAG
Arg [2] : _rescueAddress (address): 0xD7D849926Cd5c0418be1e96d0e370e247C8F9aeB
Arg [3] : _liquifyProtocolAddress (address): 0x5Ca3Adeb01De20A1c0666B887FD30ef1b6546c8a
Arg [4] : totalSupply (uint256): 28700000000000000000000000000
Arg [5] : _buyProtocolFee (uint256): 0
Arg [6] : _sellProtocolFee (uint256): 0
Arg [7] : _quickSellProtocolFee (uint256): 0
Arg [8] : _buyLiquidityFee (uint256): 0
Arg [9] : _sellLiquidityFee (uint256): 0
Arg [10] : _quickSellLiquidityFee (uint256): 0

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000d7d849926cd5c0418be1e96d0e370e247c8f9aeb
Arg [3] : 0000000000000000000000005ca3adeb01de20a1c0666b887fd30ef1b6546c8a
Arg [4] : 00000000000000000000000000000000000000005cbc15658446606d9c000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [12] : 47484f5354444147000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [14] : 4744414700000000000000000000000000000000000000000000000000000000


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.