ETH Price: $3,917.79 (+0.16%)

Contract

0x890a60B4450484847380BdDCa0C3C3ee2ff0DFBE
 

Overview

ETH Balance

0.99646 ETH

Eth Value

$3,903.92 (@ $3,917.79/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

X-Ratio AI (XRAI) (@$0.0003)

Multichain Info

No addresses found
Amount:Between 1-10
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

> 11 Token Transfers found.

Amount:Between 1-10
Reset Filter

Advanced mode:
Parent Transaction Hash Block
From
To

There are no matching entries

Update your filters to view other transactions

View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
xratioai

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : xratioai.sol
// X-Ratio AI - Revolutionizing SocialFi, this innovative project is designed to empower and reward users who are actively engaged within the X community. By harnessing the power of decentralized finance (DeFi), $XRAI aims to incentivize participation and foster a vibrant ecosystem where users are duly recognized for their contributions.
// https://t.me/xratio_ai
// https://twitter.com/xratio_ai
// https://xratio.net
// https://docs.xratio.net

// SPDX-License-Identifier: MIT                                                                               
                                                    
pragma solidity =0.8.18;

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 IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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


contract ERC20 is Context, IERC20, IERC20Metadata {

    mapping(address => uint256) _balances;

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

    uint256 _totalSupply;
    string _name;
    string _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender, 
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        require(_allowances[sender][msg.sender] >= amount, "ERC20: transfer amount exceeds allowance");
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);
        return true;
    }

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

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

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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


contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract xratioai is ERC20, Ownable {

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

    address public deployer;
    address public devWallet;
    
    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public limitsInEffect = true;
    bool public swapEnabled = true;
    
    uint256 public buyTotalFees;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;
    
    uint256 public sellTotalFees;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;
    
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;

    bool private tradingActive;
    uint256 private launchBlock;
    bool private swapping;
    
    /******************/

    // 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;

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

    event ExcludeFromFees(address indexed account, bool isExcluded);

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

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    

    constructor() ERC20("X-Ratio AI", "XRAI") {

        _totalSupply = 100_000_000 * 1e18;
        maxTransactionAmount = _totalSupply * 2 / 100; // 2% maxTransactionAmountTxn
        maxWallet = _totalSupply * 2 / 100; // 2% maxWallet
        swapTokensAtAmount = _totalSupply * 1 / 1000; // 0.1% swap wallet

        uint256 _buyLiquidityFee = 0;
        uint256 _buyDevFee = 20;

        uint256 _sellLiquidityFee = 0;
        uint256 _sellDevFee = 40;

        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyLiquidityFee + buyDevFee;
        
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellTotalFees = sellLiquidityFee + sellDevFee;
        
        deployer = address(_msgSender()); // set as deployer
        devWallet = address(0x8e68e06C811Dc0d6417Ed5cF81101456ea8FA33E); // set as dev wallet

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

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

        _balances[deployer] = _totalSupply;
        emit Transfer(address(0), deployer, _totalSupply);
    }

    receive() external payable {}

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool){
        limitsInEffect = false;
        return true;
    }
    
     // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){
  	    require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
  	    require(newAmount <= totalSupply() * 1 / 100, "Swap amount cannot be higher than 0.5% total supply.");
  	    swapTokensAtAmount = newAmount;
  	    return true;
  	}
    
    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 1 / 100)/1e18, "Cannot set maxTransactionAmount lower than 1%");
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 2 / 100)/1e18, "Cannot set maxWallet lower than 2%");
        maxWallet = newNum * (10**18);
    }
    
    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 initialize() external onlyOwner {
        require(!tradingActive);
        launchBlock = 1;
    }

    function openTrading(uint256 b) external onlyOwner {
        require(!tradingActive && launchBlock != 0);
        launchBlock+=block.number+b;
        tradingActive = true;
    }
    
    function updateBuyFees(uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyTotalFees = buyLiquidityFee + buyDevFee;
        require(buyTotalFees <= 20, "Must keep fees at 20% or less");
    }
    
    function updateSellFees(uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellTotalFees = sellLiquidityFee + sellDevFee;
        require(sellTotalFees <= 25, "Must keep fees at 25% or less");
    }

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

    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(limitsInEffect){
            if (
                from != deployer &&
                to != deployer && 
                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 = swappable(contractTokenBalance);

        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){
            if(0 < launchBlock && launchBlock < block.number){
                // on buy
                if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
                    fees = amount * sellTotalFees / 100;
                    tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
                    tokensForDev += fees * sellDevFee / sellTotalFees;
                }
                // on sell
                else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                    fees = amount * buyTotalFees / 100;
                    tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                    tokensForDev += fees * buyDevFee / buyTotalFees;
                }
            }
            else{
                fees = getFees(from, to, amount);
            }

            if(fees > 0){    
                super._transfer(from, address(this), fees);
            }
        	
        	amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function swappable(uint256 contractTokenBalance) private view returns (bool) {
        return contractTokenBalance >= swapTokensAtAmount && 
            block.number > launchBlock && _blockLastTrade[block.number] < 3;
    }

    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
        );
        _blockLastTrade[block.number]++;
    }
    
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

     function getFees(address from, address to, uint256 amount) private returns (uint256 fees) {
        if(automatedMarketMakerPairs[from]){
            fees = amount * 49 / 100;
            tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
            tokensForDev += fees * buyDevFee / buyTotalFees;
            emit BoughtEarly(to); //sniper
        }
        else{
            fees = amount * (launchBlock == 0 ? 30 : 70) / 100;   
            tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
            tokensForDev += fees * sellDevFee / sellTotalFees;
        }
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForDev;
        bool success;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

        if(contractBalance > swapTokensAtAmount * 22){
          contractBalance = swapTokensAtAmount * 22;
        }
        
        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
        uint256 amountToSwapForETH = contractBalance - liquidityTokens;
        
        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH); 
        
        uint256 ethBalance = address(this).balance - initialETHBalance;
        
        uint256 ethForDev = ethBalance * tokensForDev / totalTokensToSwap;
        
        uint256 ethForLiquidity = ethBalance - ethForDev;
        
        tokensForLiquidity = 0;
        tokensForDev = 0;
        
        (success,) = address(devWallet).call{value: ethForDev}("");
        
        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"sniper","type":"address"}],"name":"BoughtEarly","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"},{"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":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","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":"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":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"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":[],"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":[{"internalType":"uint256","name":"b","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","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":"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":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","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":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","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"},{"stateMutability":"payable","type":"receive"}]

60c0604052600b805461ffff19166101011790553480156200002057600080fd5b506040518060400160405280600a815260200169582d526174696f20414960b01b815250604051806040016040528060048152602001635852414960e01b81525081600390816200007291906200065c565b5060046200008182826200065c565b5050506000620000966200043b60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506a52b7d2dcc80cd2e4000000600281815560649162000103916200073e565b6200010f91906200075e565b600855600280546064916200012591906200073e565b6200013191906200075e565b600a556002546103e890620001489060016200073e565b6200015491906200075e565b6009556000600d8190556014600e81905581602862000174838362000781565b600c55601082905560118190556200018d818362000781565b600f5560068054336001600160a01b03199182161790915560078054909116738e68e06c811dc0d6417ed5cf81101456ea8fa33e179055737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052620001eb8160016200043f565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000250919062000797565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200029e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c4919062000797565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000338919062000797565b6001600160a01b031660a081905262000353906001620004b9565b60a051620003639060016200043f565b620003703060016200050d565b6200037f61dead60016200050d565b60075462000398906001600160a01b031660016200050d565b620003b7620003af6005546001600160a01b031690565b60016200043f565b620003c43060016200043f565b620003d361dead60016200043f565b600254600680546001600160a01b0390811660009081526020818152604080832086905593549351948552929091169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050620007c9565b3390565b6005546001600160a01b031633146200048e5760405162461bcd60e51b8152602060048201819052602482015260008051602062002ed083398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005585760405162461bcd60e51b8152602060048201819052602482015260008051602062002ed0833981519152604482015260640162000485565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005e257607f821691505b6020821081036200060357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065757600081815260208120601f850160051c81016020861015620006325750805b601f850160051c820191505b8181101562000653578281556001016200063e565b5050505b505050565b81516001600160401b03811115620006785762000678620005b7565b6200069081620006898454620005cd565b8462000609565b602080601f831160018114620006c85760008415620006af5750858301515b600019600386901b1c1916600185901b17855562000653565b600085815260208120601f198616915b82811015620006f957888601518255948401946001909101908401620006d8565b5085821015620007185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000758576200075862000728565b92915050565b6000826200077c57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000758576200075862000728565b600060208284031215620007aa57600080fd5b81516001600160a01b0381168114620007c257600080fd5b9392505050565b60805160a0516126b7620008196000396000818161042f0152610da501526000818161031c01528181611ffb015281816120b4015281816120f00152818161218b01526121e801526126b76000f3fe6080604052600436106102815760003560e01c80638ea5220f1161014f578063c18bc195116100c1578063dd62ed3e1161007a578063dd62ed3e1461079f578063e2f45605146107bf578063f11a24d3146107d5578063f2fde38b146107eb578063f63743421461080b578063f8b45b051461082157600080fd5b8063c18bc195146106f3578063c8c8ebe414610713578063d163364914610729578063d257b34f14610749578063d5f3948814610769578063d85ba0631461078957600080fd5b80639fccce32116101135780639fccce3214610637578063a0d82dc51461064d578063a457c2d714610663578063a9059cbb14610683578063b62496f5146106a3578063c0246668146106d357600080fd5b80638ea5220f146105ac578063924de9b7146105cc57806395d89b41146105ec5780639a7a23d6146106015780639c3b4fdc1461062157600080fd5b806349bd5a5e116101f357806370a08231116101ac57806370a08231146104f9578063715018a61461052f578063751039fc146105445780637571336a146105595780638129fc1c146105795780638da5cb5b1461058e57600080fd5b806349bd5a5e1461041d5780634a62bb65146104515780634fbee1931461046b57806366ca9b83146104a45780636a486a8e146104c45780636ddd1713146104da57600080fd5b80631a8145bb116102455780631a8145bb14610375578063203e727e1461038b57806323b872dd146103ab57806327c8f835146103cb578063313ce567146103e157806339509351146103fd57600080fd5b806302dbd8f81461028d57806306fdde03146102af578063095ea7b3146102da5780631694505e1461030a57806318160ddd1461035657600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102ad6102a8366004612266565b610837565b005b3480156102bb57600080fd5b506102c46108d7565b6040516102d19190612288565b60405180910390f35b3480156102e657600080fd5b506102fa6102f53660046122ee565b610969565b60405190151581526020016102d1565b34801561031657600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102d1565b34801561036257600080fd5b506002545b6040519081526020016102d1565b34801561038157600080fd5b5061036760125481565b34801561039757600080fd5b506102ad6103a636600461231a565b610980565b3480156103b757600080fd5b506102fa6103c6366004612333565b610a5a565b3480156103d757600080fd5b5061033e61dead81565b3480156103ed57600080fd5b50604051601281526020016102d1565b34801561040957600080fd5b506102fa6104183660046122ee565b610b2f565b34801561042957600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045d57600080fd5b50600b546102fa9060ff1681565b34801561047757600080fd5b506102fa610486366004612374565b6001600160a01b031660009081526018602052604090205460ff1690565b3480156104b057600080fd5b506102ad6104bf366004612266565b610b4c565b3480156104d057600080fd5b50610367600f5481565b3480156104e657600080fd5b50600b546102fa90610100900460ff1681565b34801561050557600080fd5b50610367610514366004612374565b6001600160a01b031660009081526020819052604090205490565b34801561053b57600080fd5b506102ad610bdf565b34801561055057600080fd5b506102fa610c53565b34801561056557600080fd5b506102ad6105743660046123a1565b610c90565b34801561058557600080fd5b506102ad610ce5565b34801561059a57600080fd5b506005546001600160a01b031661033e565b3480156105b857600080fd5b5060075461033e906001600160a01b031681565b3480156105d857600080fd5b506102ad6105e73660046123d6565b610d26565b3480156105f857600080fd5b506102c4610d6a565b34801561060d57600080fd5b506102ad61061c3660046123a1565b610d79565b34801561062d57600080fd5b50610367600e5481565b34801561064357600080fd5b5061036760135481565b34801561065957600080fd5b5061036760115481565b34801561066f57600080fd5b506102fa61067e3660046122ee565b610e54565b34801561068f57600080fd5b506102fa61069e3660046122ee565b610eda565b3480156106af57600080fd5b506102fa6106be366004612374565b60176020526000908152604090205460ff1681565b3480156106df57600080fd5b506102ad6106ee3660046123a1565b610ee7565b3480156106ff57600080fd5b506102ad61070e36600461231a565b610f70565b34801561071f57600080fd5b5061036760085481565b34801561073557600080fd5b506102ad61074436600461231a565b61103f565b34801561075557600080fd5b506102fa61076436600461231a565b6110b6565b34801561077557600080fd5b5060065461033e906001600160a01b031681565b34801561079557600080fd5b50610367600c5481565b3480156107ab57600080fd5b506103676107ba3660046123f1565b61120c565b3480156107cb57600080fd5b5061036760095481565b3480156107e157600080fd5b50610367600d5481565b3480156107f757600080fd5b506102ad610806366004612374565b611237565b34801561081757600080fd5b5061036760105481565b34801561082d57600080fd5b50610367600a5481565b6005546001600160a01b0316331461086a5760405162461bcd60e51b81526004016108619061242a565b60405180910390fd5b6010829055601181905561087e8183612475565b600f819055601910156108d35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610861565b5050565b6060600380546108e690612488565b80601f016020809104026020016040519081016040528092919081815260200182805461091290612488565b801561095f5780601f106109345761010080835404028352916020019161095f565b820191906000526020600020905b81548152906001019060200180831161094257829003601f168201915b5050505050905090565b6000610976338484611322565b5060015b92915050565b6005546001600160a01b031633146109aa5760405162461bcd60e51b81526004016108619061242a565b670de0b6b3a764000060646109be60025490565b6109c99060016124c2565b6109d391906124d9565b6109dd91906124d9565b811015610a425760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610861565b610a5481670de0b6b3a76400006124c2565b60085550565b6001600160a01b0383166000908152600160209081526040808320338452909152812054821115610ade5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610861565b610ae9848484611446565b6001600160a01b038416600090815260016020908152604080832033808552925290912054610b24918691610b1f9086906124fb565b611322565b5060015b9392505050565b600033610b24818585610b42838361120c565b610b1f9190612475565b6005546001600160a01b03163314610b765760405162461bcd60e51b81526004016108619061242a565b600d829055600e819055610b8a8183612475565b600c819055601410156108d35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610861565b6005546001600160a01b03163314610c095760405162461bcd60e51b81526004016108619061242a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610c805760405162461bcd60e51b81526004016108619061242a565b50600b805460ff19169055600190565b6005546001600160a01b03163314610cba5760405162461bcd60e51b81526004016108619061242a565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b81526004016108619061242a565b60145460ff1615610d1f57600080fd5b6001601555565b6005546001600160a01b03163314610d505760405162461bcd60e51b81526004016108619061242a565b600b80549115156101000261ff0019909216919091179055565b6060600480546108e690612488565b6005546001600160a01b03163314610da35760405162461bcd60e51b81526004016108619061242a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e4a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610861565b6108d38282611adb565b60003381610e62828661120c565b905083811015610ec25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610861565b610ecf8286868403611322565b506001949350505050565b6000610976338484611446565b6005546001600160a01b03163314610f115760405162461bcd60e51b81526004016108619061242a565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610f9a5760405162461bcd60e51b81526004016108619061242a565b670de0b6b3a76400006064610fae60025490565b610fb99060026124c2565b610fc391906124d9565b610fcd91906124d9565b8110156110275760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261322560f01b6064820152608401610861565b61103981670de0b6b3a76400006124c2565b600a5550565b6005546001600160a01b031633146110695760405162461bcd60e51b81526004016108619061242a565b60145460ff1615801561107d575060155415155b61108657600080fd5b6110908143612475565b601560008282546110a19190612475565b90915550506014805460ff1916600117905550565b6005546000906001600160a01b031633146110e35760405162461bcd60e51b81526004016108619061242a565b620186a06110f060025490565b6110fb9060016124c2565b61110591906124d9565b8210156111725760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610861565b606461117d60025490565b6111889060016124c2565b61119291906124d9565b8211156111fe5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610861565b50600981905560015b919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146112615760405162461bcd60e51b81526004016108619061242a565b6001600160a01b0381166112c65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610861565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166113845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610861565b6001600160a01b0382166113e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610861565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661146c5760405162461bcd60e51b81526004016108619061250e565b6001600160a01b0382166114925760405162461bcd60e51b815260040161086190612553565b806000036114ab576114a683836000611b2f565b505050565b600b5460ff1615611815576006546001600160a01b038481169116148015906114e257506006546001600160a01b03838116911614155b80156114f657506001600160a01b03821615155b801561150d57506001600160a01b03821661dead14155b801561151c575060165460ff16155b156118155760145460ff166115af576001600160a01b03831660009081526018602052604090205460ff168061156a57506001600160a01b03821660009081526018602052604090205460ff165b6115af5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610861565b6001600160a01b03831660009081526017602052604090205460ff1680156115f057506001600160a01b03821660009081526019602052604090205460ff16155b156116d4576008548111156116655760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610861565b600a546001600160a01b03831660009081526020819052604090205461168b9083612475565b11156116cf5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610861565b611815565b6001600160a01b03821660009081526017602052604090205460ff16801561171557506001600160a01b03831660009081526019602052604090205460ff16155b1561178b576008548111156116cf5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610861565b6001600160a01b03821660009081526019602052604090205460ff1661181557600a546001600160a01b0383166000908152602081905260409020546117d19083612475565b11156118155760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610861565b306000908152602081905260408120549061182f82611c5a565b90508080156118455750600b54610100900460ff165b8015611854575060165460ff16155b801561187957506001600160a01b03851660009081526017602052604090205460ff16155b801561189e57506001600160a01b03851660009081526018602052604090205460ff16155b80156118c357506001600160a01b03841660009081526018602052604090205460ff16155b156118e8576016805460ff191660011790556118dd611c8f565b6016805460ff191690555b6016546001600160a01b03861660009081526018602052604090205460ff9182161591168061192f57506001600160a01b03851660009081526018602052604090205460ff165b15611938575060005b60008115611ac7576015546000108015611953575043601554105b15611a9b576001600160a01b03861660009081526017602052604090205460ff16801561198257506000600f54115b15611a0a576064600f548661199791906124c2565b6119a191906124d9565b9050600f54601054826119b491906124c2565b6119be91906124d9565b601260008282546119cf9190612475565b9091555050600f546011546119e490836124c2565b6119ee91906124d9565b601360008282546119ff9190612475565b90915550611aa99050565b6001600160a01b03871660009081526017602052604090205460ff168015611a3457506000600c54115b15611a96576064600c5486611a4991906124c2565b611a5391906124d9565b9050600c54600d5482611a6691906124c2565b611a7091906124d9565b60126000828254611a819190612475565b9091555050600c54600e546119e490836124c2565b611aa9565b611aa6878787611e39565b90505b8015611aba57611aba873083611b2f565b611ac481866124fb565b94505b611ad2878787611b2f565b50505050505050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b555760405162461bcd60e51b81526004016108619061250e565b6001600160a01b038216611b7b5760405162461bcd60e51b815260040161086190612553565b6001600160a01b03831660009081526020819052604090205481811015611bf35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610861565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b60006009548210158015611c6f575060155443115b801561097a5750436000908152601a602052604090205460031192915050565b3060009081526020819052604081205490506000601354601254611cb39190612475565b90506000821580611cc2575081155b15611ccc57505050565b600954611cda9060166124c2565b831115611cf257600954611cef9060166124c2565b92505b600060028360125486611d0591906124c2565b611d0f91906124d9565b611d1991906124d9565b90506000611d2782866124fb565b905047611d3382611fa4565b6000611d3f82476124fb565b905060008660135483611d5291906124c2565b611d5c91906124d9565b90506000611d6a82846124fb565b6000601281905560138190556007546040519293506001600160a01b031691849181818185875af1925050503d8060008114611dc2576040519150601f19603f3d011682016040523d82523d6000602084013e611dc7565b606091505b50909750508515801590611ddb5750600081115b15611e2e57611dea8682612185565b601254604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b6001600160a01b03831660009081526017602052604081205460ff1615611f0d576064611e678360316124c2565b611e7191906124d9565b9050600c54600d5482611e8491906124c2565b611e8e91906124d9565b60126000828254611e9f9190612475565b9091555050600c54600e54611eb490836124c2565b611ebe91906124d9565b60136000828254611ecf9190612475565b90915550506040516001600160a01b038416907fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e290600090a2610b28565b6064601554600014611f20576046611f23565b601e5b611f309060ff16846124c2565b611f3a91906124d9565b9050600f5460105482611f4d91906124c2565b611f5791906124d9565b60126000828254611f689190612475565b9091555050600f54601154611f7d90836124c2565b611f8791906124d9565b60136000828254611f989190612475565b90915550509392505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fd957611fd9612596565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207b91906125ac565b8160018151811061208e5761208e612596565b60200260200101906001600160a01b031690816001600160a01b0316815250506120d9307f000000000000000000000000000000000000000000000000000000000000000084611322565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061212e9085906000908690309042906004016125c9565b600060405180830381600087803b15801561214857600080fd5b505af115801561215c573d6000803e3d6000fd5b5050436000908152601a6020526040812080549350915061217c8361263a565b91905055505050565b6121b0307f000000000000000000000000000000000000000000000000000000000000000084611322565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af115801561223a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061225f9190612653565b5050505050565b6000806040838503121561227957600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156122b557858101830151858201604001528201612299565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146122eb57600080fd5b50565b6000806040838503121561230157600080fd5b823561230c816122d6565b946020939093013593505050565b60006020828403121561232c57600080fd5b5035919050565b60008060006060848603121561234857600080fd5b8335612353816122d6565b92506020840135612363816122d6565b929592945050506040919091013590565b60006020828403121561238657600080fd5b8135610b28816122d6565b8035801515811461120757600080fd5b600080604083850312156123b457600080fd5b82356123bf816122d6565b91506123cd60208401612391565b90509250929050565b6000602082840312156123e857600080fd5b610b2882612391565b6000806040838503121561240457600080fd5b823561240f816122d6565b9150602083013561241f816122d6565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561097a5761097a61245f565b600181811c9082168061249c57607f821691505b6020821081036124bc57634e487b7160e01b600052602260045260246000fd5b50919050565b808202811582820484141761097a5761097a61245f565b6000826124f657634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561097a5761097a61245f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125be57600080fd5b8151610b28816122d6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126195784516001600160a01b0316835293830193918301916001016125f4565b50506001600160a01b03969096166060850152505050608001529392505050565b60006001820161264c5761264c61245f565b5060010190565b60008060006060848603121561266857600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220700f145b7f4714a3dd1b752044ae36e3e69e542edc1dc8e8de985ed6958f686564736f6c634300081200334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106102815760003560e01c80638ea5220f1161014f578063c18bc195116100c1578063dd62ed3e1161007a578063dd62ed3e1461079f578063e2f45605146107bf578063f11a24d3146107d5578063f2fde38b146107eb578063f63743421461080b578063f8b45b051461082157600080fd5b8063c18bc195146106f3578063c8c8ebe414610713578063d163364914610729578063d257b34f14610749578063d5f3948814610769578063d85ba0631461078957600080fd5b80639fccce32116101135780639fccce3214610637578063a0d82dc51461064d578063a457c2d714610663578063a9059cbb14610683578063b62496f5146106a3578063c0246668146106d357600080fd5b80638ea5220f146105ac578063924de9b7146105cc57806395d89b41146105ec5780639a7a23d6146106015780639c3b4fdc1461062157600080fd5b806349bd5a5e116101f357806370a08231116101ac57806370a08231146104f9578063715018a61461052f578063751039fc146105445780637571336a146105595780638129fc1c146105795780638da5cb5b1461058e57600080fd5b806349bd5a5e1461041d5780634a62bb65146104515780634fbee1931461046b57806366ca9b83146104a45780636a486a8e146104c45780636ddd1713146104da57600080fd5b80631a8145bb116102455780631a8145bb14610375578063203e727e1461038b57806323b872dd146103ab57806327c8f835146103cb578063313ce567146103e157806339509351146103fd57600080fd5b806302dbd8f81461028d57806306fdde03146102af578063095ea7b3146102da5780631694505e1461030a57806318160ddd1461035657600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102ad6102a8366004612266565b610837565b005b3480156102bb57600080fd5b506102c46108d7565b6040516102d19190612288565b60405180910390f35b3480156102e657600080fd5b506102fa6102f53660046122ee565b610969565b60405190151581526020016102d1565b34801561031657600080fd5b5061033e7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102d1565b34801561036257600080fd5b506002545b6040519081526020016102d1565b34801561038157600080fd5b5061036760125481565b34801561039757600080fd5b506102ad6103a636600461231a565b610980565b3480156103b757600080fd5b506102fa6103c6366004612333565b610a5a565b3480156103d757600080fd5b5061033e61dead81565b3480156103ed57600080fd5b50604051601281526020016102d1565b34801561040957600080fd5b506102fa6104183660046122ee565b610b2f565b34801561042957600080fd5b5061033e7f000000000000000000000000c1625301f4bcb115d13edc18f9e9f4b9d06b1cc481565b34801561045d57600080fd5b50600b546102fa9060ff1681565b34801561047757600080fd5b506102fa610486366004612374565b6001600160a01b031660009081526018602052604090205460ff1690565b3480156104b057600080fd5b506102ad6104bf366004612266565b610b4c565b3480156104d057600080fd5b50610367600f5481565b3480156104e657600080fd5b50600b546102fa90610100900460ff1681565b34801561050557600080fd5b50610367610514366004612374565b6001600160a01b031660009081526020819052604090205490565b34801561053b57600080fd5b506102ad610bdf565b34801561055057600080fd5b506102fa610c53565b34801561056557600080fd5b506102ad6105743660046123a1565b610c90565b34801561058557600080fd5b506102ad610ce5565b34801561059a57600080fd5b506005546001600160a01b031661033e565b3480156105b857600080fd5b5060075461033e906001600160a01b031681565b3480156105d857600080fd5b506102ad6105e73660046123d6565b610d26565b3480156105f857600080fd5b506102c4610d6a565b34801561060d57600080fd5b506102ad61061c3660046123a1565b610d79565b34801561062d57600080fd5b50610367600e5481565b34801561064357600080fd5b5061036760135481565b34801561065957600080fd5b5061036760115481565b34801561066f57600080fd5b506102fa61067e3660046122ee565b610e54565b34801561068f57600080fd5b506102fa61069e3660046122ee565b610eda565b3480156106af57600080fd5b506102fa6106be366004612374565b60176020526000908152604090205460ff1681565b3480156106df57600080fd5b506102ad6106ee3660046123a1565b610ee7565b3480156106ff57600080fd5b506102ad61070e36600461231a565b610f70565b34801561071f57600080fd5b5061036760085481565b34801561073557600080fd5b506102ad61074436600461231a565b61103f565b34801561075557600080fd5b506102fa61076436600461231a565b6110b6565b34801561077557600080fd5b5060065461033e906001600160a01b031681565b34801561079557600080fd5b50610367600c5481565b3480156107ab57600080fd5b506103676107ba3660046123f1565b61120c565b3480156107cb57600080fd5b5061036760095481565b3480156107e157600080fd5b50610367600d5481565b3480156107f757600080fd5b506102ad610806366004612374565b611237565b34801561081757600080fd5b5061036760105481565b34801561082d57600080fd5b50610367600a5481565b6005546001600160a01b0316331461086a5760405162461bcd60e51b81526004016108619061242a565b60405180910390fd5b6010829055601181905561087e8183612475565b600f819055601910156108d35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610861565b5050565b6060600380546108e690612488565b80601f016020809104026020016040519081016040528092919081815260200182805461091290612488565b801561095f5780601f106109345761010080835404028352916020019161095f565b820191906000526020600020905b81548152906001019060200180831161094257829003601f168201915b5050505050905090565b6000610976338484611322565b5060015b92915050565b6005546001600160a01b031633146109aa5760405162461bcd60e51b81526004016108619061242a565b670de0b6b3a764000060646109be60025490565b6109c99060016124c2565b6109d391906124d9565b6109dd91906124d9565b811015610a425760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b6064820152608401610861565b610a5481670de0b6b3a76400006124c2565b60085550565b6001600160a01b0383166000908152600160209081526040808320338452909152812054821115610ade5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610861565b610ae9848484611446565b6001600160a01b038416600090815260016020908152604080832033808552925290912054610b24918691610b1f9086906124fb565b611322565b5060015b9392505050565b600033610b24818585610b42838361120c565b610b1f9190612475565b6005546001600160a01b03163314610b765760405162461bcd60e51b81526004016108619061242a565b600d829055600e819055610b8a8183612475565b600c819055601410156108d35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610861565b6005546001600160a01b03163314610c095760405162461bcd60e51b81526004016108619061242a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610c805760405162461bcd60e51b81526004016108619061242a565b50600b805460ff19169055600190565b6005546001600160a01b03163314610cba5760405162461bcd60e51b81526004016108619061242a565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b81526004016108619061242a565b60145460ff1615610d1f57600080fd5b6001601555565b6005546001600160a01b03163314610d505760405162461bcd60e51b81526004016108619061242a565b600b80549115156101000261ff0019909216919091179055565b6060600480546108e690612488565b6005546001600160a01b03163314610da35760405162461bcd60e51b81526004016108619061242a565b7f000000000000000000000000c1625301f4bcb115d13edc18f9e9f4b9d06b1cc46001600160a01b0316826001600160a01b031603610e4a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610861565b6108d38282611adb565b60003381610e62828661120c565b905083811015610ec25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610861565b610ecf8286868403611322565b506001949350505050565b6000610976338484611446565b6005546001600160a01b03163314610f115760405162461bcd60e51b81526004016108619061242a565b6001600160a01b038216600081815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610f9a5760405162461bcd60e51b81526004016108619061242a565b670de0b6b3a76400006064610fae60025490565b610fb99060026124c2565b610fc391906124d9565b610fcd91906124d9565b8110156110275760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261322560f01b6064820152608401610861565b61103981670de0b6b3a76400006124c2565b600a5550565b6005546001600160a01b031633146110695760405162461bcd60e51b81526004016108619061242a565b60145460ff1615801561107d575060155415155b61108657600080fd5b6110908143612475565b601560008282546110a19190612475565b90915550506014805460ff1916600117905550565b6005546000906001600160a01b031633146110e35760405162461bcd60e51b81526004016108619061242a565b620186a06110f060025490565b6110fb9060016124c2565b61110591906124d9565b8210156111725760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610861565b606461117d60025490565b6111889060016124c2565b61119291906124d9565b8211156111fe5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610861565b50600981905560015b919050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146112615760405162461bcd60e51b81526004016108619061242a565b6001600160a01b0381166112c65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610861565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166113845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610861565b6001600160a01b0382166113e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610861565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661146c5760405162461bcd60e51b81526004016108619061250e565b6001600160a01b0382166114925760405162461bcd60e51b815260040161086190612553565b806000036114ab576114a683836000611b2f565b505050565b600b5460ff1615611815576006546001600160a01b038481169116148015906114e257506006546001600160a01b03838116911614155b80156114f657506001600160a01b03821615155b801561150d57506001600160a01b03821661dead14155b801561151c575060165460ff16155b156118155760145460ff166115af576001600160a01b03831660009081526018602052604090205460ff168061156a57506001600160a01b03821660009081526018602052604090205460ff165b6115af5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610861565b6001600160a01b03831660009081526017602052604090205460ff1680156115f057506001600160a01b03821660009081526019602052604090205460ff16155b156116d4576008548111156116655760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610861565b600a546001600160a01b03831660009081526020819052604090205461168b9083612475565b11156116cf5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610861565b611815565b6001600160a01b03821660009081526017602052604090205460ff16801561171557506001600160a01b03831660009081526019602052604090205460ff16155b1561178b576008548111156116cf5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610861565b6001600160a01b03821660009081526019602052604090205460ff1661181557600a546001600160a01b0383166000908152602081905260409020546117d19083612475565b11156118155760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610861565b306000908152602081905260408120549061182f82611c5a565b90508080156118455750600b54610100900460ff165b8015611854575060165460ff16155b801561187957506001600160a01b03851660009081526017602052604090205460ff16155b801561189e57506001600160a01b03851660009081526018602052604090205460ff16155b80156118c357506001600160a01b03841660009081526018602052604090205460ff16155b156118e8576016805460ff191660011790556118dd611c8f565b6016805460ff191690555b6016546001600160a01b03861660009081526018602052604090205460ff9182161591168061192f57506001600160a01b03851660009081526018602052604090205460ff165b15611938575060005b60008115611ac7576015546000108015611953575043601554105b15611a9b576001600160a01b03861660009081526017602052604090205460ff16801561198257506000600f54115b15611a0a576064600f548661199791906124c2565b6119a191906124d9565b9050600f54601054826119b491906124c2565b6119be91906124d9565b601260008282546119cf9190612475565b9091555050600f546011546119e490836124c2565b6119ee91906124d9565b601360008282546119ff9190612475565b90915550611aa99050565b6001600160a01b03871660009081526017602052604090205460ff168015611a3457506000600c54115b15611a96576064600c5486611a4991906124c2565b611a5391906124d9565b9050600c54600d5482611a6691906124c2565b611a7091906124d9565b60126000828254611a819190612475565b9091555050600c54600e546119e490836124c2565b611aa9565b611aa6878787611e39565b90505b8015611aba57611aba873083611b2f565b611ac481866124fb565b94505b611ad2878787611b2f565b50505050505050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b555760405162461bcd60e51b81526004016108619061250e565b6001600160a01b038216611b7b5760405162461bcd60e51b815260040161086190612553565b6001600160a01b03831660009081526020819052604090205481811015611bf35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610861565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b60006009548210158015611c6f575060155443115b801561097a5750436000908152601a602052604090205460031192915050565b3060009081526020819052604081205490506000601354601254611cb39190612475565b90506000821580611cc2575081155b15611ccc57505050565b600954611cda9060166124c2565b831115611cf257600954611cef9060166124c2565b92505b600060028360125486611d0591906124c2565b611d0f91906124d9565b611d1991906124d9565b90506000611d2782866124fb565b905047611d3382611fa4565b6000611d3f82476124fb565b905060008660135483611d5291906124c2565b611d5c91906124d9565b90506000611d6a82846124fb565b6000601281905560138190556007546040519293506001600160a01b031691849181818185875af1925050503d8060008114611dc2576040519150601f19603f3d011682016040523d82523d6000602084013e611dc7565b606091505b50909750508515801590611ddb5750600081115b15611e2e57611dea8682612185565b601254604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b6001600160a01b03831660009081526017602052604081205460ff1615611f0d576064611e678360316124c2565b611e7191906124d9565b9050600c54600d5482611e8491906124c2565b611e8e91906124d9565b60126000828254611e9f9190612475565b9091555050600c54600e54611eb490836124c2565b611ebe91906124d9565b60136000828254611ecf9190612475565b90915550506040516001600160a01b038416907fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e290600090a2610b28565b6064601554600014611f20576046611f23565b601e5b611f309060ff16846124c2565b611f3a91906124d9565b9050600f5460105482611f4d91906124c2565b611f5791906124d9565b60126000828254611f689190612475565b9091555050600f54601154611f7d90836124c2565b611f8791906124d9565b60136000828254611f989190612475565b90915550509392505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fd957611fd9612596565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207b91906125ac565b8160018151811061208e5761208e612596565b60200260200101906001600160a01b031690816001600160a01b0316815250506120d9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611322565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061212e9085906000908690309042906004016125c9565b600060405180830381600087803b15801561214857600080fd5b505af115801561215c573d6000803e3d6000fd5b5050436000908152601a6020526040812080549350915061217c8361263a565b91905055505050565b6121b0307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611322565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af115801561223a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061225f9190612653565b5050505050565b6000806040838503121561227957600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156122b557858101830151858201604001528201612299565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146122eb57600080fd5b50565b6000806040838503121561230157600080fd5b823561230c816122d6565b946020939093013593505050565b60006020828403121561232c57600080fd5b5035919050565b60008060006060848603121561234857600080fd5b8335612353816122d6565b92506020840135612363816122d6565b929592945050506040919091013590565b60006020828403121561238657600080fd5b8135610b28816122d6565b8035801515811461120757600080fd5b600080604083850312156123b457600080fd5b82356123bf816122d6565b91506123cd60208401612391565b90509250929050565b6000602082840312156123e857600080fd5b610b2882612391565b6000806040838503121561240457600080fd5b823561240f816122d6565b9150602083013561241f816122d6565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561097a5761097a61245f565b600181811c9082168061249c57607f821691505b6020821081036124bc57634e487b7160e01b600052602260045260246000fd5b50919050565b808202811582820484141761097a5761097a61245f565b6000826124f657634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561097a5761097a61245f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125be57600080fd5b8151610b28816122d6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126195784516001600160a01b0316835293830193918301916001016125f4565b50506001600160a01b03969096166060850152505050608001529392505050565b60006001820161264c5761264c61245f565b5060010190565b60008060006060848603121561266857600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220700f145b7f4714a3dd1b752044ae36e3e69e542edc1dc8e8de985ed6958f686564736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

X-Ratio AI is designed to empower and reward users who are actively engaged within the X community.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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