ETH Price: $3,950.43 (+1.50%)

Contract

0xfA3f495366C6F986Cf178E198E71794C79822243
 

Overview

ETH Balance

0.016376805152494101 ETH

Eth Value

$64.70 (@ $3,950.43/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Approve205260132024-08-14 9:35:59123 days ago1723628159IN
0xfA3f4953...C79822243
0 ETH0.000183033.94802149
Approve205249182024-08-14 5:56:23123 days ago1723614983IN
0xfA3f4953...C79822243
0 ETH0.000164753.55841832
Transfer205249082024-08-14 5:54:11123 days ago1723614851IN
0xfA3f4953...C79822243
0 ETH0.000670545.50332823
Approve203566122024-07-21 18:10:11147 days ago1721585411IN
0xfA3f4953...C79822243
0 ETH0.0015012732.22376415
Approve201973282024-06-29 12:25:23169 days ago1719663923IN
0xfA3f4953...C79822243
0 ETH0.000088751.91450946
Approve200840252024-06-13 16:14:23185 days ago1718295263IN
0xfA3f4953...C79822243
0 ETH0.0016662935.93236314
Approve198221852024-05-08 1:52:47222 days ago1715133167IN
0xfA3f4953...C79822243
0 ETH0.00024515.2543223
Approve193091942024-02-26 3:54:35294 days ago1708919675IN
0xfA3f4953...C79822243
0 ETH0.001041422.32428088
Approve183481412023-10-14 10:51:23428 days ago1697280683IN
0xfA3f4953...C79822243
0 ETH0.0002525.40902719
Transfer183481372023-10-14 10:50:35428 days ago1697280635IN
0xfA3f4953...C79822243
0 ETH0.000740066.07383921
Approve182474302023-09-30 8:48:23442 days ago1696063703IN
0xfA3f4953...C79822243
0 ETH0.000358957.70464783
Approve182078382023-09-24 19:47:59448 days ago1695584879IN
0xfA3f4953...C79822243
0 ETH0.000223989.21579039
Approve182056432023-09-24 12:25:47448 days ago1695558347IN
0xfA3f4953...C79822243
0 ETH0.000324496.96495817
Approve178312762023-08-03 1:44:47501 days ago1691027087IN
0xfA3f4953...C79822243
0 ETH0.0006480513.91005271
Transfer174074212023-06-04 13:04:35560 days ago1685883875IN
0xfA3f4953...C79822243
0 ETH0.0026582425.42512001
Approve171473812023-04-28 21:44:23597 days ago1682718263IN
0xfA3f4953...C79822243
0 ETH0.0015848934.01860558
Approve171156922023-04-24 10:56:35601 days ago1682333795IN
0xfA3f4953...C79822243
0 ETH0.0018818140.39184302
Transfer169596162023-04-02 6:23:35623 days ago1680416615IN
0xfA3f4953...C79822243
0 ETH0.0022938418.82423407
Approve168584152023-03-19 1:10:23638 days ago1679188223IN
0xfA3f4953...C79822243
0 ETH0.0004040615.32588613
Approve165156552023-01-29 23:07:35686 days ago1675033655IN
0xfA3f4953...C79822243
0 ETH0.0008743918.76826126
Approve157906702022-10-20 17:01:35787 days ago1666285295IN
0xfA3f4953...C79822243
0 ETH0.0010616743.57381858
Approve154708142022-09-04 9:22:42833 days ago1662283362IN
0xfA3f4953...C79822243
0 ETH0.00031186.6840222
Transfer150236832022-06-25 12:26:03904 days ago1656159963IN
0xfA3f4953...C79822243
0 ETH0.008416169.06594884
Approve147637362022-05-12 22:33:52948 days ago1652394832IN
0xfA3f4953...C79822243
0 ETH0.003810481.68235878
Transfer143788062022-03-13 14:21:421008 days ago1647181302IN
0xfA3f4953...C79822243
0 ETH0.0032023135.13004851
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
136652182021-11-22 15:14:151119 days ago1637594055
0xfA3f4953...C79822243
0.00201099 ETH
136652182021-11-22 15:14:151119 days ago1637594055
0xfA3f4953...C79822243
0.00430703 ETH
136652182021-11-22 15:14:151119 days ago1637594055
0xfA3f4953...C79822243
0.00861407 ETH
136652182021-11-22 15:14:151119 days ago1637594055
0xfA3f4953...C79822243
0.02153518 ETH
136652182021-11-22 15:14:151119 days ago1637594055
0xfA3f4953...C79822243
0.03445629 ETH
136597502021-11-21 18:18:251120 days ago1637518705
0xfA3f4953...C79822243
0.00163209 ETH
136597502021-11-21 18:18:251120 days ago1637518705
0xfA3f4953...C79822243
0.00349831 ETH
136597502021-11-21 18:18:251120 days ago1637518705
0xfA3f4953...C79822243
0.00699662 ETH
136597502021-11-21 18:18:251120 days ago1637518705
0xfA3f4953...C79822243
0.01749155 ETH
136597502021-11-21 18:18:251120 days ago1637518705
0xfA3f4953...C79822243
0.02798648 ETH
136378072021-11-18 6:50:291123 days ago1637218229
0xfA3f4953...C79822243
0.00131087 ETH
136378072021-11-18 6:50:291123 days ago1637218229
0xfA3f4953...C79822243
0.0028118 ETH
136378072021-11-18 6:50:291123 days ago1637218229
0xfA3f4953...C79822243
0.00562361 ETH
136378072021-11-18 6:50:291123 days ago1637218229
0xfA3f4953...C79822243
0.01405904 ETH
136378072021-11-18 6:50:291123 days ago1637218229
0xfA3f4953...C79822243
0.02249446 ETH
136134802021-11-14 10:36:011127 days ago1636886161
0xfA3f4953...C79822243
0.00132494 ETH
136134802021-11-14 10:36:011127 days ago1636886161
0xfA3f4953...C79822243
0.00284232 ETH
136134802021-11-14 10:36:011127 days ago1636886161
0xfA3f4953...C79822243
0.00568465 ETH
136134802021-11-14 10:36:011127 days ago1636886161
0xfA3f4953...C79822243
0.01421163 ETH
136134802021-11-14 10:36:011127 days ago1636886161
0xfA3f4953...C79822243
0.02273861 ETH
136134302021-11-14 10:24:261127 days ago1636885466
0xfA3f4953...C79822243
0.0024105 ETH
136134302021-11-14 10:24:261127 days ago1636885466
0xfA3f4953...C79822243
0.00516124 ETH
136134302021-11-14 10:24:261127 days ago1636885466
0xfA3f4953...C79822243
0.01032249 ETH
136134302021-11-14 10:24:261127 days ago1636885466
0xfA3f4953...C79822243
0.02580623 ETH
136134302021-11-14 10:24:261127 days ago1636885466
0xfA3f4953...C79822243
0.04128997 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RocketShib

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
constantinople EvmVersion
File 1 of 1 : RocketShib.sol
/* 





                                                   ,:           
                                                 ,' |
                                                /   :
                                             --'   /
                                             \/ />/            Rocket Shib! - $ROCKETSHIB
                                             / /_\                 Website: http://rocketshib.io
                                          __/   /                  Telegram: https://t.me/RocketSHIBtoken
                                          )'-. /
                                          ./  :\
                                           /.' '
                                         '/'                      Supply: 1 Quadrillion (1e15)
                                         +                            Taxes: 
                                        '                               2% Dev tax
                                      `.                                5% marketing
                                  .-"-                                  1% liquidity
                                 (    |                                 2% Reflections to Holders
                              . .-'  '.                                     
                             ( (.   )8:
                         .'    / (_  )
                          _. :(.   )8P  `
                      .  (  `-' (  `.   .
                       .  :  (   .a8a)
                      /_`( "a `a. )"'
                  (  (/  .  ' )=='
                 (   (    )  .8"   +
                   (`'8a.( _(   (
                ..-. `8P    ) `  )  +
              -'   (      -ab:  )
            '    _  `    (8P"Ya
          _(    (    )b  -`.  ) +
         ( 8)  ( _.aP" _a   \( \   *
       +  )/    (8P   (88    )  )
          (a:f   "     `"       `

*/

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.9;

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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
    );
}

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;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

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

library Address {
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: weiValue}(
            data
        );
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    uint256 private _lockTime;

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

    function getUnlockTime() public view returns (uint256) {
        return _lockTime;
    }

    function getTime() public view returns (uint256) {
        return block.timestamp;
    }
}


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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}


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

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    function WETH() external pure returns (address);

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

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

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

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

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

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

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

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

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

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

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

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

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

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

contract RocketShib is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    address payable public marketingAddress;    
    address payable public devAddress;
    address payable public liquidityAddress;
        
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    
    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
    bool public transferDelayEnabled = true;
    bool public limitsInEffect = true;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;
    
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 1 * 1e15 * 1e9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private constant _name = "RocketShib";
    string private constant _symbol = "ROCKETSHIB";
    uint8 private constant _decimals = 9;

    // these values are pretty much arbitrary since they get overwritten for every txn, but the placeholders make it easier to work with current contract.
    uint256 private _taxFee;
    uint256 private _previousTaxFee = _taxFee;

    uint256 private _marketingFee;
    
    uint256 private _liquidityFee;
    uint256 private _previousLiquidityFee = _liquidityFee;
    
    uint256 private constant BUY = 1;
    uint256 private constant SELL = 2;
    uint256 private constant TRANSFER = 3;
    uint256 private buyOrSellSwitch;

    uint256 public _buyTaxFee = 2;
    uint256 public _buyLiquidityFee = 1;
    uint256 public _buyMarketingFee = 7;

    uint256 public _sellTaxFee = 2;
    uint256 public _sellLiquidityFee = 1;
    uint256 public _sellMarketingFee = 7;
    
    uint256 public tradingActiveBlock = 0; // 0 means trading is not active
    mapping(address => bool) public boughtEarly; // mapping to track addresses that buy within the first 2 blocks pay a 3x tax for 24 hours to sell
    uint256 public earlyBuyPenaltyEnd; // determines when snipers/bots can sell without extra penalty
    
    uint256 public _liquidityTokensToSwap;
    uint256 public _marketingTokensToSwap;
    
    uint256 public maxTransactionAmount;
    mapping (address => bool) public _isExcludedMaxTransactionAmount;
    
    bool private gasLimitActive = true;
    uint256 private gasPriceLimit = 500 * 1 gwei; // do not allow over 500 gwei for launch
    
    // 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;

    uint256 private minimumTokensBeforeSwap;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = false;
    bool public tradingActive = false;

    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event SwapETHForTokens(uint256 amountIn, address[] path);

    event SwapTokensForETH(uint256 amountIn, address[] path);
    
    event SetAutomatedMarketMakerPair(address pair, bool value);
    
    event ExcludeFromReward(address excludedAddress);
    
    event IncludeInReward(address includedAddress);
    
    event ExcludeFromFee(address excludedAddress);
    
    event IncludeInFee(address includedAddress);
    
    event SetBuyFee(uint256 marketingFee, uint256 liquidityFee, uint256 reflectFee);
    
    event SetSellFee(uint256 marketingFee, uint256 liquidityFee, uint256 reflectFee);
    
    event TransferForeignToken(address token, uint256 amount);
    
    event UpdatedMarketingAddress(address marketing);
    
    event UpdatedLiquidityAddress(address liquidity);
    
    event OwnerForcedSwapBack(uint256 timestamp);
    
    event BoughtEarly(address indexed sniper);
    
    event RemovedSniper(address indexed notsnipersupposedly);

    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() payable {
        _rOwned[_msgSender()] = _rTotal / 1000 * 20;
        _rOwned[address(this)] = _rTotal / 1000 * 980;
        
        maxTransactionAmount = _tTotal * 5 / 1000; // 0.5% maxTransactionAmountTxn
        minimumTokensBeforeSwap = _tTotal * 5 / 10000; // 0.05% swap tokens amount
        
        marketingAddress = payable(0xfa1870f845447922c74185138700DAc7420a14Dc); // Marketing Address
        devAddress = payable(0x4608D3A3b99e169eE950A1a5d0F984925320dfc8); // Dev Address   
        liquidityAddress = payable(owner()); // Liquidity Address (switches to dead address once launch happens)
        
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[marketingAddress] = true;
        _isExcludedFromFee[liquidityAddress] = true;
        
        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        
        emit Transfer(address(0), _msgSender(), _tTotal * 20 / 1000);
        emit Transfer(address(0), address(this), _tTotal * 980 / 1000);
    }

    function name() external pure returns (string memory) {
        return _name;
    }

    function symbol() external pure returns (string memory) {
        return _symbol;
    }

    function decimals() external pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() external pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

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

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external 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)
        external
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    function isExcludedFromReward(address account)
        external
        view
        returns (bool)
    {
        return _isExcluded[account];
    }

    function totalFees() external view returns (uint256) {
        return _tFeeTotal;
    }
    
    // remove limits after token is stable - 30-60 minutes
    function removeLimits() external onlyOwner returns (bool){
        limitsInEffect = false;
        gasLimitActive = false;
        transferDelayEnabled = false;
        return true;
    }
    
    // disable Transfer delay
    function disableTransferDelay() external onlyOwner returns (bool){
        transferDelayEnabled = false;
        return true;
    }
    
    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }
    
    // once enabled, can never be turned off
    function enableTrading() internal onlyOwner {
        tradingActive = true;
        swapAndLiquifyEnabled = true;
        tradingActiveBlock = block.number;
        earlyBuyPenaltyEnd = block.timestamp + 72 hours;
    }
    
    // send tokens and ETH for liquidity to contract directly, then call this function.
    //(not required, can still use Uniswap to add liquidity manually, but this ensures everything is excluded properly and makes for a great stealth launch)
    function launch(address[] memory airdropWallets, uint256[] memory amounts) external onlyOwner returns (bool){
        require(!tradingActive, "Trading is already active, cannot relaunch.");
        require(airdropWallets.length < 200, "Can only airdrop 200 wallets per txn due to gas limits"); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input.
        for(uint256 i = 0; i < airdropWallets.length; i++){
            address wallet = airdropWallets[i];
            uint256 amount = amounts[i];
            _transfer(msg.sender, wallet, amount);
        }
        enableTrading();
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        require(address(this).balance > 0, "Must have ETH on contract to launch");
        addLiquidity(balanceOf(address(this)), address(this).balance);
        //setLiquidityAddress(address(0xdead));
        return true;
    }
    
    function minimumTokensBeforeSwapAmount() external view returns (uint256) {
        return minimumTokensBeforeSwap;
    }
    
    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;
        _isExcludedMaxTransactionAmount[pair] = value;
        if(value){excludeFromReward(pair);}
        if(!value){includeInReward(pair);}
    }
    
    function setGasPriceLimit(uint256 gas) external onlyOwner {
        require(gas >= 200);
        gasPriceLimit = gas * 1 gwei;
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
        external
        view
        returns (uint256)
    {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rTransferAmount, , , , ) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner {
        require(!_isExcluded[account], "Account is already excluded");
        require(_excluded.length + 1 <= 50, "Cannot exclude more than 50 accounts.  Include a previously excluded address.");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) public onlyOwner {
        require(_isExcluded[account], "Account is not excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }
 
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        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 _transfer(address from, address to, uint256 amount) private { //########### MARKER ############################################
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        
        if(!tradingActive){
            require(_isExcludedFromFee[from] || _isExcludedFromFee[to], "Trading not active yet!");
        }
        
        if(limitsInEffect){
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !inSwapAndLiquify
            ){
                
                if(from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock){
                    boughtEarly[to] = true;
                    emit BoughtEarly(to);
                }
                
                // only use to prevent sniper buys in the first blocks.
                if (gasLimitActive && automatedMarketMakerPairs[from]) {
                    require(tx.gasprice <= gasPriceLimit, "Gas price exceeds limit.");
                }
                
                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.  
                if (transferDelayEnabled){
                    if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){
                        require(_holderLastTransferTimestamp[to] < block.number, "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed.");
                        _holderLastTransferTimestamp[to] = block.number;
                    }
                }
                
                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                        require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                } 
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                        require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
                }
            }
        }
        
        uint256 totalTokensToSwap = _liquidityTokensToSwap.add(_marketingTokensToSwap);
        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinimumTokenBalance = contractTokenBalance >= minimumTokensBeforeSwap;

        // swap and liquify
        if (
            !inSwapAndLiquify &&
            swapAndLiquifyEnabled &&
            balanceOf(uniswapV2Pair) > 0 &&
            totalTokensToSwap > 0 &&
            !_isExcludedFromFee[to] &&
            !_isExcludedFromFee[from] &&
            automatedMarketMakerPairs[to] &&
            overMinimumTokenBalance
        ) {
            swapBack();
        }

        bool takeFee = true;

        // If any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            takeFee = false;
            buyOrSellSwitch = TRANSFER; // TRANSFERs do not pay a tax.
        } else {
            // Buy
            if (automatedMarketMakerPairs[from]) {
                removeAllFee();
                _taxFee = _buyTaxFee;
                _liquidityFee = _buyLiquidityFee + _buyMarketingFee;
                buyOrSellSwitch = BUY;
            } 
            // Sell
            else if (automatedMarketMakerPairs[to]) {
                removeAllFee();
                _taxFee = _sellTaxFee;
                _liquidityFee = _sellLiquidityFee + _sellMarketingFee;
                buyOrSellSwitch = SELL;
                // higher tax if bought in the same block as trading active for 72 hours (sniper protect)
                if(boughtEarly[from] && earlyBuyPenaltyEnd > block.timestamp){
                    _taxFee = _taxFee * 5;
                    _liquidityFee = _liquidityFee * 5;
                }
            // Normal transfers do not get taxed
            } else {
                require(!boughtEarly[from] || earlyBuyPenaltyEnd <= block.timestamp, "Snipers can't transfer tokens to sell cheaper until penalty timeframe is over.  DM a RocketShib Mod.");
                removeAllFee();
                buyOrSellSwitch = TRANSFER; // TRANSFERs do not pay a tax.
            }
        }
        
        _tokenTransfer(from, to, amount, takeFee);
        
    }

    function swapBack() private lockTheSwap {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = _liquidityTokensToSwap + _marketingTokensToSwap;
        
        // Halve the amount of liquidity tokens
        uint256 tokensForLiquidity = _liquidityTokensToSwap.div(2);
        uint256 amountToSwapForETH = contractBalance.sub(tokensForLiquidity);
        
        uint256 initialETHBalance = address(this).balance;

        swapTokensForETH(amountToSwapForETH); 
        
        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        
        uint256 ethForMarketing = ethBalance.mul(_marketingTokensToSwap).div(totalTokensToSwap);
        
        uint256 ethForLiquidity = ethBalance.sub(ethForMarketing);
        
        uint256 ethForDev= ethForMarketing * 2 / 7; // 2/7 goes to dev
        ethForMarketing -= ethForDev;
        
        _liquidityTokensToSwap = 0;
        _marketingTokensToSwap = 0;
        
        (bool success,) = address(marketingAddress).call{value: ethForMarketing}("");
        (success,) = address(devAddress).call{value: ethForDev}("");
        
        addLiquidity(tokensForLiquidity, ethForLiquidity);
        emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
        
        // send leftover ETH to the marketing wallet so it doesn't get stuck on the contract.
        if(address(this).balance > 1e17){
            (success,) = address(marketingAddress).call{value: address(this).balance}("");
        }
    }
    
    // force Swap back if slippage above 49% for launch.
    function forceSwapBack() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        require(contractBalance >= _tTotal / 100, "Can only swap back if more than 1% of tokens stuck on contract");
        swapBack();
        emit OwnerForcedSwapBack(block.timestamp);
    }
    
    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, // accept any amount of ETH
            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, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidityAddress,
            block.timestamp
        );
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) removeAllFee();

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if (!takeFee) restoreAllFee();
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
            tAmount,
            tFee,
            tLiquidity,
            _getRate()
        );
        return (
            rAmount,
            rTransferAmount,
            rFee,
            tTransferAmount,
            tFee,
            tLiquidity
        );
    }

    function _getTValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        if(buyOrSellSwitch == BUY){
            _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee;
            _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee;
        } else if(buyOrSellSwitch == SELL){
            _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee;
            _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee;
        }
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(10**2);
    }

    function calculateLiquidityFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        return _amount.mul(_liquidityFee).div(10**2);
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;

        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

    function isExcludedFromFee(address account) external view returns (bool) {
        return _isExcludedFromFee[account];
    }
    
     function removeBoughtEarly(address account) external onlyOwner {
        boughtEarly[account] = false;
        emit RemovedSniper(account);
    }

    function excludeFromFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = true;
        emit ExcludeFromFee(account);
    }

    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
        emit IncludeInFee(account);
    }

    function setBuyFee(uint256 buyTaxFee, uint256 buyLiquidityFee, uint256 buyMarketingFee)
        external
        onlyOwner
    {
        _buyTaxFee = buyTaxFee;
        _buyLiquidityFee = buyLiquidityFee;
        _buyMarketingFee = buyMarketingFee;
        require(_buyTaxFee + _buyLiquidityFee + _buyMarketingFee <= 10, "Must keep buy taxes below 10%");
        emit SetBuyFee(buyMarketingFee, buyLiquidityFee, buyTaxFee);
    }

    function setSellFee(uint256 sellTaxFee, uint256 sellLiquidityFee, uint256 sellMarketingFee)
        external
        onlyOwner
    {
        _sellTaxFee = sellTaxFee;
        _sellLiquidityFee = sellLiquidityFee;
        _sellMarketingFee = sellMarketingFee;
        require(_sellTaxFee + _sellLiquidityFee + _sellMarketingFee <= 15, "Must keep sell taxes below 15%");
        emit SetSellFee(sellMarketingFee, sellLiquidityFee, sellTaxFee);
    }


    function setMarketingAddress(address _marketingAddress) external onlyOwner {
        require(_marketingAddress != address(0), "_marketingAddress address cannot be 0");
        _isExcludedFromFee[marketingAddress] = false;
        marketingAddress = payable(_marketingAddress);
        _isExcludedFromFee[marketingAddress] = true;
        emit UpdatedMarketingAddress(_marketingAddress);
    }
    
    function setLiquidityAddress(address _liquidityAddress) public onlyOwner {
        require(_liquidityAddress != address(0), "_liquidityAddress address cannot be 0");
        liquidityAddress = payable(_liquidityAddress);
        _isExcludedFromFee[liquidityAddress] = true;
        emit UpdatedLiquidityAddress(_liquidityAddress);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    // To receive ETH from uniswapV2Router when swapping
    receive() external payable {}

    function transferForeignToken(address _token, address _to) external  onlyOwner returns (bool _sent)
    {
        require(_token != address(0), "_token address cannot be 0");
        require(_token != address(this), "Can't withdraw native tokens");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        _sent = IERC20(_token).transfer(_to, _contractBalance);
        emit TransferForeignToken(_token, _contractBalance);
    }
    
    // withdraw ETH if stuck before launch
    function withdrawStuckETH() external onlyOwner {
        require(!tradingActive, "Can only withdraw if trading hasn't started");
        bool success;
        (success,) = address(msg.sender).call{value: address(this).balance}("");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","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":false,"internalType":"address","name":"excludedAddress","type":"address"}],"name":"ExcludeFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"excludedAddress","type":"address"}],"name":"ExcludeFromReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"includedAddress","type":"address"}],"name":"IncludeInFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"includedAddress","type":"address"}],"name":"IncludeInReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":"notsnipersupposedly","type":"address"}],"name":"RemovedSniper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reflectFee","type":"uint256"}],"name":"SetBuyFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reflectFee","type":"uint256"}],"name":"SetSellFee","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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidity","type":"address"}],"name":"UpdatedLiquidityAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketing","type":"address"}],"name":"UpdatedMarketingAddress","type":"event"},{"inputs":[],"name":"_buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityTokensToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingTokensToSwap","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":"_sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"boughtEarly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"devAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earlyBuyPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","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":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"airdropWallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"launch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokensBeforeSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"uint256","name":"buyTaxFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"setGasPriceLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityAddress","type":"address"}],"name":"setLiquidityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sellTaxFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","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":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600a805461ffff19166101011790556200002b69d3c21bcecceda1000000600019620003ee565b620000399060001962000434565b600e55601054601155601354601455600260168190556001601781905560076018819055601992909255601a819055601b919091556000601c8190556023805460ff191690921790915564746a5288006024556028805461ffff60a81b1916905580546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506103e8600e54620000eb91906200044e565b620000f890601462000465565b33600090815260066020526040902055600e546200011a906103e8906200044e565b62000128906103d462000465565b306000908152600660205260409020556103e86200015269d3c21bcecceda1000000600562000465565b6200015e91906200044e565b6021556127106200017b69d3c21bcecceda1000000600562000465565b6200018791906200044e565b602655600380546001600160a01b031990811673fa1870f845447922c74185138700dac7420a14dc1790915560048054909116734608d3a3b99e169ee950a1a5d0f984925320dfc8179055620001e56000546001600160a01b031690565b600580546001600160a01b0319166001600160a01b039283161781556000805483168152600b6020526040808220805460ff19908116600190811790925530845282842080548216831790556003548616845282842080548216831790559354851683529082208054909316179091555462000264911660016200031b565b620002713060016200031b565b6200028061dead60016200031b565b336000600080516020620046f48339815191526103e8620002ad69d3c21bcecceda1000000601462000465565b620002b991906200044e565b60405190815260200160405180910390a3306000600080516020620046f48339815191526103e8620002f869d3c21bcecceda10000006103d462000465565b6200030491906200044e565b60405190815260200160405180910390a362000487565b6000546001600160a01b0316331462000394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6001600160a01b03919091166000908152602260205260409020805460ff1916911515919091179055565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082620004005762000400620003bf565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101562000449576200044962000405565b500390565b600082620004605762000460620003bf565b500490565b600081600019048311821515161562000482576200048262000405565b500290565b61425d80620004976000396000f3fe6080604052600436106103c75760003560e01c806370a08231116101f2578063a9059cbb1161010d578063dc44b6a0116100a0578063ee40166e1161006f578063ee40166e14610b85578063efcc52de14610b9b578063f2fde38b14610bb1578063f5648a4f14610bd157600080fd5b8063dc44b6a014610af4578063dd62ed3e14610b0a578063e884f26014610b50578063ea2f0b3714610b6557600080fd5b8063c5d24189116100dc578063c5d2418914610a98578063c860795214610aae578063c876d0b914610ac4578063c8c8ebe414610ade57600080fd5b8063a9059cbb14610a07578063b62496f514610a27578063bbc0c74214610a57578063c49b9a8014610a7857600080fd5b806388f82020116101855780639a7a23d6116101545780639a7a23d614610992578063a073d37f146109b2578063a457c2d7146109c7578063a5ece941146109e757600080fd5b806388f82020146108e85780638da5cb5b14610921578063906e9dd01461093f57806395d89b411461095f57600080fd5b80638366e79a116101c15780638366e79a14610862578063837917581461088257806385ecfd28146108a257806388790a68146108d257600080fd5b806370a08231146107f8578063715018a614610818578063751039fc1461082d5780637571336a1461084257600080fd5b80633685d419116102e25780634a74bb02116102755780635342acb4116102445780635342acb414610777578063557ed1ba146107b05780635bb988c9146107c3578063602bc62b146107e357600080fd5b80634a74bb021461070157806351f205e41461072257806352390c0214610737578063525fa81f1461075757600080fd5b8063437823ec116102b1578063437823ec146106825780634549b039146106a257806349bd5a5e146106c25780634a62bb65146106e257600080fd5b80633685d4191461060c578063395093511461062c5780633ad10ef61461064c5780634047ea3e1461066c57600080fd5b80631fc851bd1161035a57806325519cf21161032957806325519cf2146105905780632d838119146105b0578063313ce567146105d05780633221c93f146105ec57600080fd5b80631fc851bd1461052e578063200a692d1461054457806323b872dd1461055a57806324171f321461057a57600080fd5b806313114a9d1161039657806313114a9d1461049a5780631694505e146104b957806318160ddd146104f15780631d865c301461050e57600080fd5b806306fdde03146103d35780630923160214610418578063095ea7b31461043a57806310d5de531461046a57600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b5060408051808201909152600a8152692937b1b5b2ba29b434b160b11b60208201525b60405161040f9190613c5b565b60405180910390f35b34801561042457600080fd5b50610438610433366004613cb0565b610be6565b005b34801561044657600080fd5b5061045a610455366004613ce1565b610c3b565b604051901515815260200161040f565b34801561047657600080fd5b5061045a610485366004613d0d565b60226020526000908152604090205460ff1681565b3480156104a657600080fd5b50600f545b60405190815260200161040f565b3480156104c557600080fd5b506027546104d9906001600160a01b031681565b6040516001600160a01b03909116815260200161040f565b3480156104fd57600080fd5b5069d3c21bcecceda10000006104ab565b34801561051a57600080fd5b50610438610529366004613d2a565b610c52565b34801561053a57600080fd5b506104ab601e5481565b34801561055057600080fd5b506104ab60195481565b34801561056657600080fd5b5061045a610575366004613d56565b610d37565b34801561058657600080fd5b506104ab60205481565b34801561059c57600080fd5b506104386105ab366004613d2a565b610da0565b3480156105bc57600080fd5b506104ab6105cb366004613cb0565b610e7c565b3480156105dc57600080fd5b506040516009815260200161040f565b3480156105f857600080fd5b506005546104d9906001600160a01b031681565b34801561061857600080fd5b50610438610627366004613d0d565b610f00565b34801561063857600080fd5b5061045a610647366004613ce1565b6110b7565b34801561065857600080fd5b506004546104d9906001600160a01b031681565b34801561067857600080fd5b506104ab601f5481565b34801561068e57600080fd5b5061043861069d366004613d0d565b6110ed565b3480156106ae57600080fd5b506104ab6106bd366004613da5565b611172565b3480156106ce57600080fd5b506028546104d9906001600160a01b031681565b3480156106ee57600080fd5b50600a5461045a90610100900460ff1681565b34801561070d57600080fd5b5060285461045a90600160a81b900460ff1681565b34801561072e57600080fd5b50610438611207565b34801561074357600080fd5b50610438610752366004613d0d565b611300565b34801561076357600080fd5b50610438610772366004613d0d565b6114ee565b34801561078357600080fd5b5061045a610792366004613d0d565b6001600160a01b03166000908152600b602052604090205460ff1690565b3480156107bc57600080fd5b50426104ab565b3480156107cf57600080fd5b506104386107de366004613d0d565b6115e4565b3480156107ef57600080fd5b506002546104ab565b34801561080457600080fd5b506104ab610813366004613d0d565b611657565b34801561082457600080fd5b506104386116b6565b34801561083957600080fd5b5061045a61172a565b34801561084e57600080fd5b5061043861085d366004613dd5565b611770565b34801561086e57600080fd5b5061045a61087d366004613e03565b6117c5565b34801561088e57600080fd5b5061045a61089d366004613f07565b6119eb565b3480156108ae57600080fd5b5061045a6108bd366004613d0d565b601d6020526000908152604090205460ff1681565b3480156108de57600080fd5b506104ab601a5481565b3480156108f457600080fd5b5061045a610903366004613d0d565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561092d57600080fd5b506000546001600160a01b03166104d9565b34801561094b57600080fd5b5061043861095a366004613d0d565b611dd8565b34801561096b57600080fd5b5060408051808201909152600a8152692927a1a5a2aa29a424a160b11b6020820152610402565b34801561099e57600080fd5b506104386109ad366004613dd5565b611ee4565b3480156109be57600080fd5b506026546104ab565b3480156109d357600080fd5b5061045a6109e2366004613ce1565b611f9c565b3480156109f357600080fd5b506003546104d9906001600160a01b031681565b348015610a1357600080fd5b5061045a610a22366004613ce1565b611feb565b348015610a3357600080fd5b5061045a610a42366004613d0d565b60256020526000908152604090205460ff1681565b348015610a6357600080fd5b5060285461045a90600160b01b900460ff1681565b348015610a8457600080fd5b50610438610a93366004613fc9565b611ff8565b348015610aa457600080fd5b506104ab60185481565b348015610aba57600080fd5b506104ab601b5481565b348015610ad057600080fd5b50600a5461045a9060ff1681565b348015610aea57600080fd5b506104ab60215481565b348015610b0057600080fd5b506104ab60175481565b348015610b1657600080fd5b506104ab610b25366004613e03565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b348015610b5c57600080fd5b5061045a61206f565b348015610b7157600080fd5b50610438610b80366004613d0d565b6120aa565b348015610b9157600080fd5b506104ab601c5481565b348015610ba757600080fd5b506104ab60165481565b348015610bbd57600080fd5b50610438610bcc366004613d0d565b612125565b348015610bdd57600080fd5b5061043861220f565b6000546001600160a01b03163314610c195760405162461bcd60e51b8152600401610c1090613fe6565b60405180910390fd5b60c8811015610c2757600080fd5b610c3581633b9aca00614031565b60245550565b6000610c483384846122f5565b5060015b92915050565b6000546001600160a01b03163314610c7c5760405162461bcd60e51b8152600401610c1090613fe6565b6019839055601a829055601b819055600f81610c988486614050565b610ca29190614050565b1115610cf05760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b6565702073656c6c2074617865732062656c6f772031352500006044820152606401610c10565b60408051828152602081018490529081018490527f5ff33e060dbf96ff8c11eeadaaa320b34884dc8af8156d77ab6134d2bece22c3906060015b60405180910390a1505050565b6000610d44848484612419565b610d968433610d91856040518060600160405280602881526020016141db602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190612d1f565b6122f5565b5060019392505050565b6000546001600160a01b03163314610dca5760405162461bcd60e51b8152600401610c1090613fe6565b601683905560178290556018819055600a81610de68486614050565b610df09190614050565b1115610e3e5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206275792074617865732062656c6f77203130250000006044820152606401610c10565b60408051828152602081018490529081018490527f4b44023290188702187818a2359a9d40279e516e5e9bbade40c321936a77362090606001610d2a565b6000600e54821115610ee35760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c10565b6000610eed612d59565b9050610ef98382612d7c565b9392505050565b6000546001600160a01b03163314610f2a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000908152600c602052604090205460ff16610f925760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610c10565b60005b600d548110156110b357816001600160a01b0316600d8281548110610fbc57610fbc614068565b6000918252602090912001546001600160a01b031614156110a157600d8054610fe79060019061407e565b81548110610ff757610ff7614068565b600091825260209091200154600d80546001600160a01b03909216918390811061102357611023614068565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600c90925220805460ff19169055600d80548061107b5761107b614095565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806110ab816140ab565b915050610f95565b5050565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610c48918590610d919086612dbe565b6000546001600160a01b031633146111175760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152600b6020908152604091829020805460ff1916600117905590519182527f58c3e0504c69d3a92726966f152a771e0f8f6ad4daca1ae9055a38aba1fd2b6291015b60405180910390a150565b600069d3c21bcecceda10000008311156111ce5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610c10565b816111ed5760006111de84612e1d565b50939550610c4c945050505050565b60006111f884612e1d565b50929550610c4c945050505050565b6000546001600160a01b031633146112315760405162461bcd60e51b8152600401610c1090613fe6565b600061123c30611657565b9050611253606469d3c21bcecceda10000006140c6565b8110156112c85760405162461bcd60e51b815260206004820152603e60248201527f43616e206f6e6c792073776170206261636b206966206d6f7265207468616e2060448201527f3125206f6620746f6b656e7320737475636b206f6e20636f6e747261637400006064820152608401610c10565b6112d0612e6c565b6040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb3290602001611167565b6000546001600160a01b0316331461132a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000908152600c602052604090205460ff16156113935760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610c10565b600d546032906113a4906001614050565b111561142e5760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610c10565b6001600160a01b03811660009081526006602052604090205415611488576001600160a01b03811660009081526006602052604090205461146e90610e7c565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600c60205260408120805460ff19166001908117909155600d805491820181559091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319169091179055565b6000546001600160a01b031633146115185760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b03811661157c5760405162461bcd60e51b815260206004820152602560248201527f5f6c69717569646974794164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b6064820152608401610c10565b600580546001600160a01b0319166001600160a01b0383169081179091556000818152600b6020908152604091829020805460ff1916600117905590519182527f217742673c85d2f459a37c99960c860122cdadf529374b41418d2718cae7726f9101611167565b6000546001600160a01b0316331461160e5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152601d6020526040808220805460ff19169055517fccaa6e1cfd4cf9506fa856fdc8e0a00894b2621ece1d60ab36209873305944989190a250565b6001600160a01b0381166000908152600c602052604081205460ff161561169457506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610c4c90610e7c565b6000546001600160a01b031633146116e05760405162461bcd60e51b8152600401610c1090613fe6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080546001600160a01b031633146117555760405162461bcd60e51b8152600401610c1090613fe6565b50600a80546023805460ff1916905561ffff19169055600190565b6000546001600160a01b0316331461179a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b03919091166000908152602260205260409020805460ff1916911515919091179055565b600080546001600160a01b031633146117f05760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0383166118465760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c10565b6001600160a01b03831630141561189f5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610c10565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156118e157600080fd5b505afa1580156118f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191991906140e8565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b15801561196757600080fd5b505af115801561197b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199f9190614101565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b600080546001600160a01b03163314611a165760405162461bcd60e51b8152600401610c1090613fe6565b602854600160b01b900460ff1615611a845760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610c10565b60c8835110611af45760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c10565b60005b8351811015611b5c576000848281518110611b1457611b14614068565b602002602001015190506000848381518110611b3257611b32614068565b60200260200101519050611b47338383612419565b50508080611b54906140ab565b915050611af7565b50611b656130c3565b737a250d5630b4cf539739df2c5dacb4c659f2488d611b85816001611770565b602780546001600160a01b0319166001600160a01b038316908117909155611bb990309069d3c21bcecceda10000006122f5565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611bf257600080fd5b505afa158015611c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2a919061411e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c7257600080fd5b505afa158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa919061411e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611cf257600080fd5b505af1158015611d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2a919061411e565b602880546001600160a01b0319166001600160a01b03929092169182179055611d54906001611770565b602854611d6b906001600160a01b03166001613118565b3031611dc55760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610c10565b610d96611dd130611657565b3031613173565b6000546001600160a01b03163314611e025760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b038116611e665760405162461bcd60e51b815260206004820152602560248201527f5f6d61726b6574696e674164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b6064820152608401610c10565b600380546001600160a01b039081166000908152600b60209081526040808320805460ff1990811690915585546001600160a01b031916948716948517909555838352918290208054909416600117909355519081527fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a99101611167565b6000546001600160a01b03163314611f0e5760405162461bcd60e51b8152600401610c1090613fe6565b6028546001600160a01b0383811691161415611f925760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c10565b6110b38282613118565b6000610c483384610d9185604051806060016040528060258152602001614203602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190612d1f565b6000610c48338484612419565b6000546001600160a01b031633146120225760405162461bcd60e51b8152600401610c1090613fe6565b60288054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061116790831515815260200190565b600080546001600160a01b0316331461209a5760405162461bcd60e51b8152600401610c1090613fe6565b50600a805460ff19169055600190565b6000546001600160a01b031633146120d45760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152600b6020908152604091829020805460ff1916905590519182527f4f6a6b6efe34ec6478021aa9fb7f6980e78ea3a10c74074a8ce49d5d3ebf1f7e9101611167565b6000546001600160a01b0316331461214f5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166121b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c10565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146122395760405162461bcd60e51b8152600401610c1090613fe6565b602854600160b01b900460ff16156122a75760405162461bcd60e51b815260206004820152602b60248201527f43616e206f6e6c792077697468647261772069662074726164696e672068617360448201526a1b89dd081cdd185c9d195960aa1b6064820152608401610c10565b60405160009033903031908381818185875af1925050503d80600081146122ea576040519150601f19603f3d011682016040523d82523d6000602084013e6122ef565b606091505b50505050565b6001600160a01b0383166123575760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c10565b6001600160a01b0382166123b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c10565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661247d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c10565b6001600160a01b0382166124df5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c10565b600081116125415760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c10565b602854600160b01b900460ff166125dd576001600160a01b0383166000908152600b602052604090205460ff168061259157506001600160a01b0382166000908152600b602052604090205460ff165b6125dd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f742061637469766520796574210000000000000000006044820152606401610c10565b600a54610100900460ff16156129eb576000546001600160a01b0384811691161480159061261957506000546001600160a01b03838116911614155b801561262d57506001600160a01b03821615155b801561264457506001600160a01b03821661dead14155b801561265a5750602854600160a01b900460ff16155b156129eb576000546001600160a01b0384811691161480159061268b57506028546001600160a01b03838116911614155b80156126985750601c5443145b156126e7576001600160a01b0382166000818152601d6020526040808220805460ff19166001179055517fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e29190a25b60235460ff16801561271157506001600160a01b03831660009081526025602052604090205460ff165b15612768576024543a11156127685760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610c10565b600a5460ff1615612879576000546001600160a01b0383811691161480159061279f57506027546001600160a01b03838116911614155b80156127b957506028546001600160a01b03838116911614155b15612879576001600160a01b038216600090815260096020526040902054431161285d5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610c10565b6001600160a01b03821660009081526009602052604090204390555b6001600160a01b03831660009081526025602052604090205460ff1680156128ba57506001600160a01b03821660009081526022602052604090205460ff16155b156129345760215481111561292f5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c10565b6129eb565b6001600160a01b03821660009081526025602052604090205460ff16801561297557506001600160a01b03831660009081526022602052604090205460ff16155b156129eb576021548111156129eb5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c10565b6000612a04602054601f54612dbe90919063ffffffff16565b90506000612a1130611657565b60265460285491925082101590600160a01b900460ff16158015612a3e5750602854600160a81b900460ff165b8015612a5f5750602854600090612a5d906001600160a01b0316611657565b115b8015612a6b5750600083115b8015612a9057506001600160a01b0385166000908152600b602052604090205460ff16155b8015612ab557506001600160a01b0386166000908152600b602052604090205460ff16155b8015612ad957506001600160a01b03851660009081526025602052604090205460ff165b8015612ae25750805b15612aef57612aef612e6c565b6001600160a01b0386166000908152600b602052604090205460019060ff1680612b3157506001600160a01b0386166000908152600b602052604090205460ff165b15612b43575060036015556000612d0a565b6001600160a01b03871660009081526025602052604090205460ff1615612b8f57612b6c613236565b601654601055601854601754612b829190614050565b6013556001601555612d0a565b6001600160a01b03861660009081526025602052604090205460ff1615612c2c57612bb8613236565b601954601055601b54601a54612bce9190614050565b60135560026015556001600160a01b0387166000908152601d602052604090205460ff168015612bff575042601e54115b15612c2757601054612c12906005614031565b601055601354612c23906005614031565b6013555b612d0a565b6001600160a01b0387166000908152601d602052604090205460ff161580612c56575042601e5411155b612cfc5760405162461bcd60e51b8152602060048201526064602482018190527f536e69706572732063616e2774207472616e7366657220746f6b656e7320746f60448301527f2073656c6c206368656170657220756e74696c2070656e616c74792074696d65908201527f6672616d65206973206f7665722e2020444d206120526f636b6574536869622060848201526326b7b21760e11b60a482015260c401610c10565b612d04613236565b60036015555b612d1687878784613264565b50505050505050565b60008184841115612d435760405162461bcd60e51b8152600401610c109190613c5b565b506000612d50848661407e565b95945050505050565b6000806000612d66613389565b9092509050612d758282612d7c565b9250505090565b6000610ef983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613529565b600080612dcb8385614050565b905083811015610ef95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610c10565b6000806000806000806000806000612e348a613557565b9250925092506000806000612e528d8686612e4d612d59565b613599565b919f909e50909c50959a5093985091965092945050505050565b6028805460ff60a01b1916600160a01b1790556000612e8a30611657565b90506000602054601f54612e9e9190614050565b90506000612eb86002601f54612d7c90919063ffffffff16565b90506000612ec684836135e9565b90503031612ed38261362b565b6000612ee03031836135e9565b90506000612f0386612efd6020548561379490919063ffffffff16565b90612d7c565b90506000612f1183836135e9565b905060006007612f22846002614031565b612f2c91906140c6565b9050612f38818461407e565b6000601f819055602081905560035460405192955090916001600160a01b039091169085908381818185875af1925050503d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b50506004546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114612fea576040519150601f19603f3d011682016040523d82523d6000602084013e612fef565b606091505b505080915050612fff8884613173565b60408051888152602081018590529081018990527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a167016345785d8a0000303111156130aa576003546040516001600160a01b0390911690303190600081818185875af1925050503d806000811461309f576040519150601f19603f3d011682016040523d82523d6000602084013e6130a4565b606091505b50909150505b50506028805460ff60a01b191690555050505050505050565b6000546001600160a01b031633146130ed5760405162461bcd60e51b8152600401610c1090613fe6565b6028805461ffff60a81b191661010160a81b17905543601c55613113426203f480614050565b601e55565b6001600160a01b038216600090815260256020908152604080832080548515801560ff19928316811790935560229094529190932080549091169092179091556131655761316582611300565b806110b3576110b382610f00565b60275461318b9030906001600160a01b0316846122f5565b60275460055460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b1580156131f657600080fd5b505af115801561320a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061322f919061413b565b5050505050565b6010541580156132465750601354155b1561324d57565b601080546011556013805460145560009182905555565b8061327157613271613236565b6001600160a01b0384166000908152600c602052604090205460ff1680156132b257506001600160a01b0383166000908152600c602052604090205460ff16155b156132c7576132c2848484613813565b613373565b6001600160a01b0384166000908152600c602052604090205460ff1615801561330857506001600160a01b0383166000908152600c602052604090205460ff165b15613318576132c2848484613939565b6001600160a01b0384166000908152600c602052604090205460ff16801561335857506001600160a01b0383166000908152600c602052604090205460ff165b15613368576132c28484846139e2565b613373848484613a55565b806122ef576122ef601154601055601454601355565b600e54600090819069d3c21bcecceda1000000825b600d548110156134ea578260066000600d84815481106133c0576133c0614068565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061342b57508160076000600d848154811061340457613404614068565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15613448575050600e549369d3c21bcecceda10000009350915050565b61348e60066000600d848154811061346257613462614068565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906135e9565b92506134d660076000600d84815481106134aa576134aa614068565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906135e9565b9150806134e2816140ab565b91505061339e565b50600e546135029069d3c21bcecceda1000000612d7c565b821015613520575050600e549269d3c21bcecceda100000092509050565b90939092509050565b6000818361354a5760405162461bcd60e51b8152600401610c109190613c5b565b506000612d5084866140c6565b60008060008061356685613a99565b9050600061357386613ab5565b9050600061358b8261358589866135e9565b906135e9565b979296509094509092505050565b60008080806135a88886613794565b905060006135b68887613794565b905060006135c48888613794565b905060006135d68261358586866135e9565b939b939a50919850919650505050505050565b6000610ef983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d1f565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061366057613660614068565b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156136b457600080fd5b505afa1580156136c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ec919061411e565b816001815181106136ff576136ff614068565b6001600160a01b03928316602091820292909201015260275461372591309116846122f5565b60275460405163791ac94760e01b81526001600160a01b039091169063791ac9479061375e908590600090869030904290600401614169565b600060405180830381600087803b15801561377857600080fd5b505af115801561378c573d6000803e3d6000fd5b505050505050565b6000826137a357506000610c4c565b60006137af8385614031565b9050826137bc85836140c6565b14610ef95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610c10565b60008060008060008061382587612e1d565b6001600160a01b038f16600090815260076020526040902054959b5093995091975095509350915061385790886135e9565b6001600160a01b038a1660009081526007602090815260408083209390935560069052205461388690876135e9565b6001600160a01b03808b1660009081526006602052604080822093909355908a16815220546138b59086612dbe565b6001600160a01b0389166000908152600660205260409020556138d781613ad1565b6138e18483613c37565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161392691815260200190565b60405180910390a3505050505050505050565b60008060008060008061394b87612e1d565b6001600160a01b038f16600090815260066020526040902054959b5093995091975095509350915061397d90876135e9565b6001600160a01b03808b16600090815260066020908152604080832094909455918b168152600790915220546139b39084612dbe565b6001600160a01b0389166000908152600760209081526040808320939093556006905220546138b59086612dbe565b6000806000806000806139f487612e1d565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150613a2690886135e9565b6001600160a01b038a1660009081526007602090815260408083209390935560069052205461397d90876135e9565b600080600080600080613a6787612e1d565b6001600160a01b038f16600090815260066020526040902054959b5093995091975095509350915061388690876135e9565b6000610c4c6064612efd6010548561379490919063ffffffff16565b6000610c4c6064612efd6013548561379490919063ffffffff16565b60016015541415613b4257601354601754613aec9083614031565b613af691906140c6565b601f6000828254613b079190614050565b9091555050601354601854613b1c9083614031565b613b2691906140c6565b60206000828254613b379190614050565b90915550613bae9050565b60026015541415613bae57601354601a54613b5d9083614031565b613b6791906140c6565b601f6000828254613b789190614050565b9091555050601354601b54613b8d9083614031565b613b9791906140c6565b60206000828254613ba89190614050565b90915550505b6000613bb8612d59565b90506000613bc68383613794565b30600090815260066020526040902054909150613be39082612dbe565b30600090815260066020908152604080832093909355600c9052205460ff1615613c325730600090815260076020526040902054613c219084612dbe565b306000908152600760205260409020555b505050565b600e54613c4490836135e9565b600e55600f54613c549082612dbe565b600f555050565b600060208083528351808285015260005b81811015613c8857858101830151858201604001528201613c6c565b81811115613c9a576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215613cc257600080fd5b5035919050565b6001600160a01b0381168114613cde57600080fd5b50565b60008060408385031215613cf457600080fd5b8235613cff81613cc9565b946020939093013593505050565b600060208284031215613d1f57600080fd5b8135610ef981613cc9565b600080600060608486031215613d3f57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215613d6b57600080fd5b8335613d7681613cc9565b92506020840135613d8681613cc9565b929592945050506040919091013590565b8015158114613cde57600080fd5b60008060408385031215613db857600080fd5b823591506020830135613dca81613d97565b809150509250929050565b60008060408385031215613de857600080fd5b8235613df381613cc9565b91506020830135613dca81613d97565b60008060408385031215613e1657600080fd5b8235613e2181613cc9565b91506020830135613dca81613cc9565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613e7057613e70613e31565b604052919050565b600067ffffffffffffffff821115613e9257613e92613e31565b5060051b60200190565b600082601f830112613ead57600080fd5b81356020613ec2613ebd83613e78565b613e47565b82815260059290921b84018101918181019086841115613ee157600080fd5b8286015b84811015613efc5780358352918301918301613ee5565b509695505050505050565b60008060408385031215613f1a57600080fd5b823567ffffffffffffffff80821115613f3257600080fd5b818501915085601f830112613f4657600080fd5b81356020613f56613ebd83613e78565b82815260059290921b84018101918181019089841115613f7557600080fd5b948201945b83861015613f9c578535613f8d81613cc9565b82529482019490820190613f7a565b96505086013592505080821115613fb257600080fd5b50613fbf85828601613e9c565b9150509250929050565b600060208284031215613fdb57600080fd5b8135610ef981613d97565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561404b5761404b61401b565b500290565b600082198211156140635761406361401b565b500190565b634e487b7160e01b600052603260045260246000fd5b6000828210156140905761409061401b565b500390565b634e487b7160e01b600052603160045260246000fd5b60006000198214156140bf576140bf61401b565b5060010190565b6000826140e357634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156140fa57600080fd5b5051919050565b60006020828403121561411357600080fd5b8151610ef981613d97565b60006020828403121561413057600080fd5b8151610ef981613cc9565b60008060006060848603121561415057600080fd5b8351925060208401519150604084015190509250925092565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156141b95784516001600160a01b031683529383019391830191600101614194565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122042a85d2fa4a8ffc4f982d1325a1e7138e5708225ec435b3ba6ed9f0ef11b1c6b64736f6c63430008090033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106103c75760003560e01c806370a08231116101f2578063a9059cbb1161010d578063dc44b6a0116100a0578063ee40166e1161006f578063ee40166e14610b85578063efcc52de14610b9b578063f2fde38b14610bb1578063f5648a4f14610bd157600080fd5b8063dc44b6a014610af4578063dd62ed3e14610b0a578063e884f26014610b50578063ea2f0b3714610b6557600080fd5b8063c5d24189116100dc578063c5d2418914610a98578063c860795214610aae578063c876d0b914610ac4578063c8c8ebe414610ade57600080fd5b8063a9059cbb14610a07578063b62496f514610a27578063bbc0c74214610a57578063c49b9a8014610a7857600080fd5b806388f82020116101855780639a7a23d6116101545780639a7a23d614610992578063a073d37f146109b2578063a457c2d7146109c7578063a5ece941146109e757600080fd5b806388f82020146108e85780638da5cb5b14610921578063906e9dd01461093f57806395d89b411461095f57600080fd5b80638366e79a116101c15780638366e79a14610862578063837917581461088257806385ecfd28146108a257806388790a68146108d257600080fd5b806370a08231146107f8578063715018a614610818578063751039fc1461082d5780637571336a1461084257600080fd5b80633685d419116102e25780634a74bb02116102755780635342acb4116102445780635342acb414610777578063557ed1ba146107b05780635bb988c9146107c3578063602bc62b146107e357600080fd5b80634a74bb021461070157806351f205e41461072257806352390c0214610737578063525fa81f1461075757600080fd5b8063437823ec116102b1578063437823ec146106825780634549b039146106a257806349bd5a5e146106c25780634a62bb65146106e257600080fd5b80633685d4191461060c578063395093511461062c5780633ad10ef61461064c5780634047ea3e1461066c57600080fd5b80631fc851bd1161035a57806325519cf21161032957806325519cf2146105905780632d838119146105b0578063313ce567146105d05780633221c93f146105ec57600080fd5b80631fc851bd1461052e578063200a692d1461054457806323b872dd1461055a57806324171f321461057a57600080fd5b806313114a9d1161039657806313114a9d1461049a5780631694505e146104b957806318160ddd146104f15780631d865c301461050e57600080fd5b806306fdde03146103d35780630923160214610418578063095ea7b31461043a57806310d5de531461046a57600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b5060408051808201909152600a8152692937b1b5b2ba29b434b160b11b60208201525b60405161040f9190613c5b565b60405180910390f35b34801561042457600080fd5b50610438610433366004613cb0565b610be6565b005b34801561044657600080fd5b5061045a610455366004613ce1565b610c3b565b604051901515815260200161040f565b34801561047657600080fd5b5061045a610485366004613d0d565b60226020526000908152604090205460ff1681565b3480156104a657600080fd5b50600f545b60405190815260200161040f565b3480156104c557600080fd5b506027546104d9906001600160a01b031681565b6040516001600160a01b03909116815260200161040f565b3480156104fd57600080fd5b5069d3c21bcecceda10000006104ab565b34801561051a57600080fd5b50610438610529366004613d2a565b610c52565b34801561053a57600080fd5b506104ab601e5481565b34801561055057600080fd5b506104ab60195481565b34801561056657600080fd5b5061045a610575366004613d56565b610d37565b34801561058657600080fd5b506104ab60205481565b34801561059c57600080fd5b506104386105ab366004613d2a565b610da0565b3480156105bc57600080fd5b506104ab6105cb366004613cb0565b610e7c565b3480156105dc57600080fd5b506040516009815260200161040f565b3480156105f857600080fd5b506005546104d9906001600160a01b031681565b34801561061857600080fd5b50610438610627366004613d0d565b610f00565b34801561063857600080fd5b5061045a610647366004613ce1565b6110b7565b34801561065857600080fd5b506004546104d9906001600160a01b031681565b34801561067857600080fd5b506104ab601f5481565b34801561068e57600080fd5b5061043861069d366004613d0d565b6110ed565b3480156106ae57600080fd5b506104ab6106bd366004613da5565b611172565b3480156106ce57600080fd5b506028546104d9906001600160a01b031681565b3480156106ee57600080fd5b50600a5461045a90610100900460ff1681565b34801561070d57600080fd5b5060285461045a90600160a81b900460ff1681565b34801561072e57600080fd5b50610438611207565b34801561074357600080fd5b50610438610752366004613d0d565b611300565b34801561076357600080fd5b50610438610772366004613d0d565b6114ee565b34801561078357600080fd5b5061045a610792366004613d0d565b6001600160a01b03166000908152600b602052604090205460ff1690565b3480156107bc57600080fd5b50426104ab565b3480156107cf57600080fd5b506104386107de366004613d0d565b6115e4565b3480156107ef57600080fd5b506002546104ab565b34801561080457600080fd5b506104ab610813366004613d0d565b611657565b34801561082457600080fd5b506104386116b6565b34801561083957600080fd5b5061045a61172a565b34801561084e57600080fd5b5061043861085d366004613dd5565b611770565b34801561086e57600080fd5b5061045a61087d366004613e03565b6117c5565b34801561088e57600080fd5b5061045a61089d366004613f07565b6119eb565b3480156108ae57600080fd5b5061045a6108bd366004613d0d565b601d6020526000908152604090205460ff1681565b3480156108de57600080fd5b506104ab601a5481565b3480156108f457600080fd5b5061045a610903366004613d0d565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561092d57600080fd5b506000546001600160a01b03166104d9565b34801561094b57600080fd5b5061043861095a366004613d0d565b611dd8565b34801561096b57600080fd5b5060408051808201909152600a8152692927a1a5a2aa29a424a160b11b6020820152610402565b34801561099e57600080fd5b506104386109ad366004613dd5565b611ee4565b3480156109be57600080fd5b506026546104ab565b3480156109d357600080fd5b5061045a6109e2366004613ce1565b611f9c565b3480156109f357600080fd5b506003546104d9906001600160a01b031681565b348015610a1357600080fd5b5061045a610a22366004613ce1565b611feb565b348015610a3357600080fd5b5061045a610a42366004613d0d565b60256020526000908152604090205460ff1681565b348015610a6357600080fd5b5060285461045a90600160b01b900460ff1681565b348015610a8457600080fd5b50610438610a93366004613fc9565b611ff8565b348015610aa457600080fd5b506104ab60185481565b348015610aba57600080fd5b506104ab601b5481565b348015610ad057600080fd5b50600a5461045a9060ff1681565b348015610aea57600080fd5b506104ab60215481565b348015610b0057600080fd5b506104ab60175481565b348015610b1657600080fd5b506104ab610b25366004613e03565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b348015610b5c57600080fd5b5061045a61206f565b348015610b7157600080fd5b50610438610b80366004613d0d565b6120aa565b348015610b9157600080fd5b506104ab601c5481565b348015610ba757600080fd5b506104ab60165481565b348015610bbd57600080fd5b50610438610bcc366004613d0d565b612125565b348015610bdd57600080fd5b5061043861220f565b6000546001600160a01b03163314610c195760405162461bcd60e51b8152600401610c1090613fe6565b60405180910390fd5b60c8811015610c2757600080fd5b610c3581633b9aca00614031565b60245550565b6000610c483384846122f5565b5060015b92915050565b6000546001600160a01b03163314610c7c5760405162461bcd60e51b8152600401610c1090613fe6565b6019839055601a829055601b819055600f81610c988486614050565b610ca29190614050565b1115610cf05760405162461bcd60e51b815260206004820152601e60248201527f4d757374206b6565702073656c6c2074617865732062656c6f772031352500006044820152606401610c10565b60408051828152602081018490529081018490527f5ff33e060dbf96ff8c11eeadaaa320b34884dc8af8156d77ab6134d2bece22c3906060015b60405180910390a1505050565b6000610d44848484612419565b610d968433610d91856040518060600160405280602881526020016141db602891396001600160a01b038a1660009081526008602090815260408083203384529091529020549190612d1f565b6122f5565b5060019392505050565b6000546001600160a01b03163314610dca5760405162461bcd60e51b8152600401610c1090613fe6565b601683905560178290556018819055600a81610de68486614050565b610df09190614050565b1115610e3e5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206275792074617865732062656c6f77203130250000006044820152606401610c10565b60408051828152602081018490529081018490527f4b44023290188702187818a2359a9d40279e516e5e9bbade40c321936a77362090606001610d2a565b6000600e54821115610ee35760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c10565b6000610eed612d59565b9050610ef98382612d7c565b9392505050565b6000546001600160a01b03163314610f2a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000908152600c602052604090205460ff16610f925760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610c10565b60005b600d548110156110b357816001600160a01b0316600d8281548110610fbc57610fbc614068565b6000918252602090912001546001600160a01b031614156110a157600d8054610fe79060019061407e565b81548110610ff757610ff7614068565b600091825260209091200154600d80546001600160a01b03909216918390811061102357611023614068565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600c90925220805460ff19169055600d80548061107b5761107b614095565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806110ab816140ab565b915050610f95565b5050565b3360008181526008602090815260408083206001600160a01b03871684529091528120549091610c48918590610d919086612dbe565b6000546001600160a01b031633146111175760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152600b6020908152604091829020805460ff1916600117905590519182527f58c3e0504c69d3a92726966f152a771e0f8f6ad4daca1ae9055a38aba1fd2b6291015b60405180910390a150565b600069d3c21bcecceda10000008311156111ce5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610c10565b816111ed5760006111de84612e1d565b50939550610c4c945050505050565b60006111f884612e1d565b50929550610c4c945050505050565b6000546001600160a01b031633146112315760405162461bcd60e51b8152600401610c1090613fe6565b600061123c30611657565b9050611253606469d3c21bcecceda10000006140c6565b8110156112c85760405162461bcd60e51b815260206004820152603e60248201527f43616e206f6e6c792073776170206261636b206966206d6f7265207468616e2060448201527f3125206f6620746f6b656e7320737475636b206f6e20636f6e747261637400006064820152608401610c10565b6112d0612e6c565b6040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb3290602001611167565b6000546001600160a01b0316331461132a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000908152600c602052604090205460ff16156113935760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610c10565b600d546032906113a4906001614050565b111561142e5760405162461bcd60e51b815260206004820152604d60248201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60448201527f756e74732e2020496e636c75646520612070726576696f75736c79206578636c60648201526c3ab232b21030b2323932b9b99760991b608482015260a401610c10565b6001600160a01b03811660009081526006602052604090205415611488576001600160a01b03811660009081526006602052604090205461146e90610e7c565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600c60205260408120805460ff19166001908117909155600d805491820181559091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319169091179055565b6000546001600160a01b031633146115185760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b03811661157c5760405162461bcd60e51b815260206004820152602560248201527f5f6c69717569646974794164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b6064820152608401610c10565b600580546001600160a01b0319166001600160a01b0383169081179091556000818152600b6020908152604091829020805460ff1916600117905590519182527f217742673c85d2f459a37c99960c860122cdadf529374b41418d2718cae7726f9101611167565b6000546001600160a01b0316331461160e5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152601d6020526040808220805460ff19169055517fccaa6e1cfd4cf9506fa856fdc8e0a00894b2621ece1d60ab36209873305944989190a250565b6001600160a01b0381166000908152600c602052604081205460ff161561169457506001600160a01b031660009081526007602052604090205490565b6001600160a01b038216600090815260066020526040902054610c4c90610e7c565b6000546001600160a01b031633146116e05760405162461bcd60e51b8152600401610c1090613fe6565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080546001600160a01b031633146117555760405162461bcd60e51b8152600401610c1090613fe6565b50600a80546023805460ff1916905561ffff19169055600190565b6000546001600160a01b0316331461179a5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b03919091166000908152602260205260409020805460ff1916911515919091179055565b600080546001600160a01b031633146117f05760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0383166118465760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c10565b6001600160a01b03831630141561189f5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610c10565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156118e157600080fd5b505afa1580156118f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191991906140e8565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b15801561196757600080fd5b505af115801561197b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199f9190614101565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b600080546001600160a01b03163314611a165760405162461bcd60e51b8152600401610c1090613fe6565b602854600160b01b900460ff1615611a845760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610c10565b60c8835110611af45760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c10565b60005b8351811015611b5c576000848281518110611b1457611b14614068565b602002602001015190506000848381518110611b3257611b32614068565b60200260200101519050611b47338383612419565b50508080611b54906140ab565b915050611af7565b50611b656130c3565b737a250d5630b4cf539739df2c5dacb4c659f2488d611b85816001611770565b602780546001600160a01b0319166001600160a01b038316908117909155611bb990309069d3c21bcecceda10000006122f5565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015611bf257600080fd5b505afa158015611c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2a919061411e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c7257600080fd5b505afa158015611c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611caa919061411e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611cf257600080fd5b505af1158015611d06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2a919061411e565b602880546001600160a01b0319166001600160a01b03929092169182179055611d54906001611770565b602854611d6b906001600160a01b03166001613118565b3031611dc55760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610c10565b610d96611dd130611657565b3031613173565b6000546001600160a01b03163314611e025760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b038116611e665760405162461bcd60e51b815260206004820152602560248201527f5f6d61726b6574696e674164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b6064820152608401610c10565b600380546001600160a01b039081166000908152600b60209081526040808320805460ff1990811690915585546001600160a01b031916948716948517909555838352918290208054909416600117909355519081527fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a99101611167565b6000546001600160a01b03163314611f0e5760405162461bcd60e51b8152600401610c1090613fe6565b6028546001600160a01b0383811691161415611f925760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c10565b6110b38282613118565b6000610c483384610d9185604051806060016040528060258152602001614203602591393360009081526008602090815260408083206001600160a01b038d1684529091529020549190612d1f565b6000610c48338484612419565b6000546001600160a01b031633146120225760405162461bcd60e51b8152600401610c1090613fe6565b60288054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061116790831515815260200190565b600080546001600160a01b0316331461209a5760405162461bcd60e51b8152600401610c1090613fe6565b50600a805460ff19169055600190565b6000546001600160a01b031633146120d45760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166000818152600b6020908152604091829020805460ff1916905590519182527f4f6a6b6efe34ec6478021aa9fb7f6980e78ea3a10c74074a8ce49d5d3ebf1f7e9101611167565b6000546001600160a01b0316331461214f5760405162461bcd60e51b8152600401610c1090613fe6565b6001600160a01b0381166121b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c10565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146122395760405162461bcd60e51b8152600401610c1090613fe6565b602854600160b01b900460ff16156122a75760405162461bcd60e51b815260206004820152602b60248201527f43616e206f6e6c792077697468647261772069662074726164696e672068617360448201526a1b89dd081cdd185c9d195960aa1b6064820152608401610c10565b60405160009033903031908381818185875af1925050503d80600081146122ea576040519150601f19603f3d011682016040523d82523d6000602084013e6122ef565b606091505b50505050565b6001600160a01b0383166123575760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c10565b6001600160a01b0382166123b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c10565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661247d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c10565b6001600160a01b0382166124df5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c10565b600081116125415760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c10565b602854600160b01b900460ff166125dd576001600160a01b0383166000908152600b602052604090205460ff168061259157506001600160a01b0382166000908152600b602052604090205460ff165b6125dd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206e6f742061637469766520796574210000000000000000006044820152606401610c10565b600a54610100900460ff16156129eb576000546001600160a01b0384811691161480159061261957506000546001600160a01b03838116911614155b801561262d57506001600160a01b03821615155b801561264457506001600160a01b03821661dead14155b801561265a5750602854600160a01b900460ff16155b156129eb576000546001600160a01b0384811691161480159061268b57506028546001600160a01b03838116911614155b80156126985750601c5443145b156126e7576001600160a01b0382166000818152601d6020526040808220805460ff19166001179055517fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e29190a25b60235460ff16801561271157506001600160a01b03831660009081526025602052604090205460ff165b15612768576024543a11156127685760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610c10565b600a5460ff1615612879576000546001600160a01b0383811691161480159061279f57506027546001600160a01b03838116911614155b80156127b957506028546001600160a01b03838116911614155b15612879576001600160a01b038216600090815260096020526040902054431161285d5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610c10565b6001600160a01b03821660009081526009602052604090204390555b6001600160a01b03831660009081526025602052604090205460ff1680156128ba57506001600160a01b03821660009081526022602052604090205460ff16155b156129345760215481111561292f5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c10565b6129eb565b6001600160a01b03821660009081526025602052604090205460ff16801561297557506001600160a01b03831660009081526022602052604090205460ff16155b156129eb576021548111156129eb5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c10565b6000612a04602054601f54612dbe90919063ffffffff16565b90506000612a1130611657565b60265460285491925082101590600160a01b900460ff16158015612a3e5750602854600160a81b900460ff165b8015612a5f5750602854600090612a5d906001600160a01b0316611657565b115b8015612a6b5750600083115b8015612a9057506001600160a01b0385166000908152600b602052604090205460ff16155b8015612ab557506001600160a01b0386166000908152600b602052604090205460ff16155b8015612ad957506001600160a01b03851660009081526025602052604090205460ff165b8015612ae25750805b15612aef57612aef612e6c565b6001600160a01b0386166000908152600b602052604090205460019060ff1680612b3157506001600160a01b0386166000908152600b602052604090205460ff165b15612b43575060036015556000612d0a565b6001600160a01b03871660009081526025602052604090205460ff1615612b8f57612b6c613236565b601654601055601854601754612b829190614050565b6013556001601555612d0a565b6001600160a01b03861660009081526025602052604090205460ff1615612c2c57612bb8613236565b601954601055601b54601a54612bce9190614050565b60135560026015556001600160a01b0387166000908152601d602052604090205460ff168015612bff575042601e54115b15612c2757601054612c12906005614031565b601055601354612c23906005614031565b6013555b612d0a565b6001600160a01b0387166000908152601d602052604090205460ff161580612c56575042601e5411155b612cfc5760405162461bcd60e51b8152602060048201526064602482018190527f536e69706572732063616e2774207472616e7366657220746f6b656e7320746f60448301527f2073656c6c206368656170657220756e74696c2070656e616c74792074696d65908201527f6672616d65206973206f7665722e2020444d206120526f636b6574536869622060848201526326b7b21760e11b60a482015260c401610c10565b612d04613236565b60036015555b612d1687878784613264565b50505050505050565b60008184841115612d435760405162461bcd60e51b8152600401610c109190613c5b565b506000612d50848661407e565b95945050505050565b6000806000612d66613389565b9092509050612d758282612d7c565b9250505090565b6000610ef983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613529565b600080612dcb8385614050565b905083811015610ef95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610c10565b6000806000806000806000806000612e348a613557565b9250925092506000806000612e528d8686612e4d612d59565b613599565b919f909e50909c50959a5093985091965092945050505050565b6028805460ff60a01b1916600160a01b1790556000612e8a30611657565b90506000602054601f54612e9e9190614050565b90506000612eb86002601f54612d7c90919063ffffffff16565b90506000612ec684836135e9565b90503031612ed38261362b565b6000612ee03031836135e9565b90506000612f0386612efd6020548561379490919063ffffffff16565b90612d7c565b90506000612f1183836135e9565b905060006007612f22846002614031565b612f2c91906140c6565b9050612f38818461407e565b6000601f819055602081905560035460405192955090916001600160a01b039091169085908381818185875af1925050503d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b50506004546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114612fea576040519150601f19603f3d011682016040523d82523d6000602084013e612fef565b606091505b505080915050612fff8884613173565b60408051888152602081018590529081018990527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a167016345785d8a0000303111156130aa576003546040516001600160a01b0390911690303190600081818185875af1925050503d806000811461309f576040519150601f19603f3d011682016040523d82523d6000602084013e6130a4565b606091505b50909150505b50506028805460ff60a01b191690555050505050505050565b6000546001600160a01b031633146130ed5760405162461bcd60e51b8152600401610c1090613fe6565b6028805461ffff60a81b191661010160a81b17905543601c55613113426203f480614050565b601e55565b6001600160a01b038216600090815260256020908152604080832080548515801560ff19928316811790935560229094529190932080549091169092179091556131655761316582611300565b806110b3576110b382610f00565b60275461318b9030906001600160a01b0316846122f5565b60275460055460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b1580156131f657600080fd5b505af115801561320a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061322f919061413b565b5050505050565b6010541580156132465750601354155b1561324d57565b601080546011556013805460145560009182905555565b8061327157613271613236565b6001600160a01b0384166000908152600c602052604090205460ff1680156132b257506001600160a01b0383166000908152600c602052604090205460ff16155b156132c7576132c2848484613813565b613373565b6001600160a01b0384166000908152600c602052604090205460ff1615801561330857506001600160a01b0383166000908152600c602052604090205460ff165b15613318576132c2848484613939565b6001600160a01b0384166000908152600c602052604090205460ff16801561335857506001600160a01b0383166000908152600c602052604090205460ff165b15613368576132c28484846139e2565b613373848484613a55565b806122ef576122ef601154601055601454601355565b600e54600090819069d3c21bcecceda1000000825b600d548110156134ea578260066000600d84815481106133c0576133c0614068565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061342b57508160076000600d848154811061340457613404614068565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15613448575050600e549369d3c21bcecceda10000009350915050565b61348e60066000600d848154811061346257613462614068565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906135e9565b92506134d660076000600d84815481106134aa576134aa614068565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906135e9565b9150806134e2816140ab565b91505061339e565b50600e546135029069d3c21bcecceda1000000612d7c565b821015613520575050600e549269d3c21bcecceda100000092509050565b90939092509050565b6000818361354a5760405162461bcd60e51b8152600401610c109190613c5b565b506000612d5084866140c6565b60008060008061356685613a99565b9050600061357386613ab5565b9050600061358b8261358589866135e9565b906135e9565b979296509094509092505050565b60008080806135a88886613794565b905060006135b68887613794565b905060006135c48888613794565b905060006135d68261358586866135e9565b939b939a50919850919650505050505050565b6000610ef983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d1f565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061366057613660614068565b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156136b457600080fd5b505afa1580156136c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ec919061411e565b816001815181106136ff576136ff614068565b6001600160a01b03928316602091820292909201015260275461372591309116846122f5565b60275460405163791ac94760e01b81526001600160a01b039091169063791ac9479061375e908590600090869030904290600401614169565b600060405180830381600087803b15801561377857600080fd5b505af115801561378c573d6000803e3d6000fd5b505050505050565b6000826137a357506000610c4c565b60006137af8385614031565b9050826137bc85836140c6565b14610ef95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610c10565b60008060008060008061382587612e1d565b6001600160a01b038f16600090815260076020526040902054959b5093995091975095509350915061385790886135e9565b6001600160a01b038a1660009081526007602090815260408083209390935560069052205461388690876135e9565b6001600160a01b03808b1660009081526006602052604080822093909355908a16815220546138b59086612dbe565b6001600160a01b0389166000908152600660205260409020556138d781613ad1565b6138e18483613c37565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161392691815260200190565b60405180910390a3505050505050505050565b60008060008060008061394b87612e1d565b6001600160a01b038f16600090815260066020526040902054959b5093995091975095509350915061397d90876135e9565b6001600160a01b03808b16600090815260066020908152604080832094909455918b168152600790915220546139b39084612dbe565b6001600160a01b0389166000908152600760209081526040808320939093556006905220546138b59086612dbe565b6000806000806000806139f487612e1d565b6001600160a01b038f16600090815260076020526040902054959b50939950919750955093509150613a2690886135e9565b6001600160a01b038a1660009081526007602090815260408083209390935560069052205461397d90876135e9565b600080600080600080613a6787612e1d565b6001600160a01b038f16600090815260066020526040902054959b5093995091975095509350915061388690876135e9565b6000610c4c6064612efd6010548561379490919063ffffffff16565b6000610c4c6064612efd6013548561379490919063ffffffff16565b60016015541415613b4257601354601754613aec9083614031565b613af691906140c6565b601f6000828254613b079190614050565b9091555050601354601854613b1c9083614031565b613b2691906140c6565b60206000828254613b379190614050565b90915550613bae9050565b60026015541415613bae57601354601a54613b5d9083614031565b613b6791906140c6565b601f6000828254613b789190614050565b9091555050601354601b54613b8d9083614031565b613b9791906140c6565b60206000828254613ba89190614050565b90915550505b6000613bb8612d59565b90506000613bc68383613794565b30600090815260066020526040902054909150613be39082612dbe565b30600090815260066020908152604080832093909355600c9052205460ff1615613c325730600090815260076020526040902054613c219084612dbe565b306000908152600760205260409020555b505050565b600e54613c4490836135e9565b600e55600f54613c549082612dbe565b600f555050565b600060208083528351808285015260005b81811015613c8857858101830151858201604001528201613c6c565b81811115613c9a576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215613cc257600080fd5b5035919050565b6001600160a01b0381168114613cde57600080fd5b50565b60008060408385031215613cf457600080fd5b8235613cff81613cc9565b946020939093013593505050565b600060208284031215613d1f57600080fd5b8135610ef981613cc9565b600080600060608486031215613d3f57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215613d6b57600080fd5b8335613d7681613cc9565b92506020840135613d8681613cc9565b929592945050506040919091013590565b8015158114613cde57600080fd5b60008060408385031215613db857600080fd5b823591506020830135613dca81613d97565b809150509250929050565b60008060408385031215613de857600080fd5b8235613df381613cc9565b91506020830135613dca81613d97565b60008060408385031215613e1657600080fd5b8235613e2181613cc9565b91506020830135613dca81613cc9565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613e7057613e70613e31565b604052919050565b600067ffffffffffffffff821115613e9257613e92613e31565b5060051b60200190565b600082601f830112613ead57600080fd5b81356020613ec2613ebd83613e78565b613e47565b82815260059290921b84018101918181019086841115613ee157600080fd5b8286015b84811015613efc5780358352918301918301613ee5565b509695505050505050565b60008060408385031215613f1a57600080fd5b823567ffffffffffffffff80821115613f3257600080fd5b818501915085601f830112613f4657600080fd5b81356020613f56613ebd83613e78565b82815260059290921b84018101918181019089841115613f7557600080fd5b948201945b83861015613f9c578535613f8d81613cc9565b82529482019490820190613f7a565b96505086013592505080821115613fb257600080fd5b50613fbf85828601613e9c565b9150509250929050565b600060208284031215613fdb57600080fd5b8135610ef981613d97565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561404b5761404b61401b565b500290565b600082198211156140635761406361401b565b500190565b634e487b7160e01b600052603260045260246000fd5b6000828210156140905761409061401b565b500390565b634e487b7160e01b600052603160045260246000fd5b60006000198214156140bf576140bf61401b565b5060010190565b6000826140e357634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156140fa57600080fd5b5051919050565b60006020828403121561411357600080fd5b8151610ef981613d97565b60006020828403121561413057600080fd5b8151610ef981613cc9565b60008060006060848603121561415057600080fd5b8351925060208401519150604084015190509250925092565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156141b95784516001600160a01b031683529383019391830191600101614194565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122042a85d2fa4a8ffc4f982d1325a1e7138e5708225ec435b3ba6ed9f0ef11b1c6b64736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.