ETH Price: $3,416.08 (+1.49%)

Contract

0x8f88cDE14d2d5A551618b1a7506e6137249D83Ad
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214754462024-12-24 22:55:472 days ago1735080947IN
0x8f88cDE1...7249D83Ad
0 ETH0.000183423.941914
Approve214691282024-12-24 1:43:473 days ago1735004627IN
0x8f88cDE1...7249D83Ad
0 ETH0.000313766.74323605
Approve213730152024-12-10 15:31:5916 days ago1733844719IN
0x8f88cDE1...7249D83Ad
0 ETH0.0026416456.7571842
Approve213646342024-12-09 11:25:4717 days ago1733743547IN
0x8f88cDE1...7249D83Ad
0 ETH0.000435669.34842617
Approve213645812024-12-09 11:15:1117 days ago1733742911IN
0x8f88cDE1...7249D83Ad
0 ETH0.000429769.2218061
Approve213645282024-12-09 11:04:3517 days ago1733742275IN
0x8f88cDE1...7249D83Ad
0 ETH0.0004734210.15862757
Transfer213645242024-12-09 11:03:4717 days ago1733742227IN
0x8f88cDE1...7249D83Ad
0 ETH0.000604599.18395059
Transfer213645002024-12-09 10:58:5917 days ago1733741939IN
0x8f88cDE1...7249D83Ad
0 ETH0.0005171310.61438261
Transfer213644812024-12-09 10:54:5917 days ago1733741699IN
0x8f88cDE1...7249D83Ad
0 ETH0.000483369.91881828
Transfer213644802024-12-09 10:54:4717 days ago1733741687IN
0x8f88cDE1...7249D83Ad
0 ETH0.0005092510.45004271
Transfer213644792024-12-09 10:54:3517 days ago1733741675IN
0x8f88cDE1...7249D83Ad
0 ETH0.000512810.52293467
Transfer213529792024-12-07 20:24:5919 days ago1733603099IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007203314.78146824
Transfer213529772024-12-07 20:24:3519 days ago1733603075IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007663115.72516322
Transfer213529752024-12-07 20:24:1119 days ago1733603051IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007559715.51673976
Transfer213529732024-12-07 20:23:4719 days ago1733603027IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007670915.74101973
Transfer213525552024-12-07 18:59:1119 days ago1733597951IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007619515.63561413
Transfer213525542024-12-07 18:58:5919 days ago1733597939IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007832416.07257108
Transfer213525532024-12-07 18:58:4719 days ago1733597927IN
0x8f88cDE1...7249D83Ad
0 ETH0.0007241814.86059245
Transfer213525512024-12-07 18:58:2319 days ago1733597903IN
0x8f88cDE1...7249D83Ad
0 ETH0.0006463913.26430059
Transfer213525502024-12-07 18:58:1119 days ago1733597891IN
0x8f88cDE1...7249D83Ad
0 ETH0.0006060912.44041399
Transfer213525482024-12-07 18:57:4719 days ago1733597867IN
0x8f88cDE1...7249D83Ad
0 ETH0.0006563813.46933779
Transfer213524632024-12-07 18:40:4719 days ago1733596847IN
0x8f88cDE1...7249D83Ad
0 ETH0.0008125516.67396692
Transfer213524612024-12-07 18:40:2319 days ago1733596823IN
0x8f88cDE1...7249D83Ad
0 ETH0.000761715.63055666
Transfer213524592024-12-07 18:39:5919 days ago1733596799IN
0x8f88cDE1...7249D83Ad
0 ETH0.0008241716.91243884
Transfer213524582024-12-07 18:39:4719 days ago1733596787IN
0x8f88cDE1...7249D83Ad
0 ETH0.0008317317.06744611
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214754562024-12-24 22:57:472 days ago1735081067
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214754562024-12-24 22:57:472 days ago1735081067
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051952024-12-15 3:20:1112 days ago1734232811
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051952024-12-15 3:20:1112 days ago1734232811
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051942024-12-15 3:19:5912 days ago1734232799
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051942024-12-15 3:19:5912 days ago1734232799
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051912024-12-15 3:19:2312 days ago1734232763
0x8f88cDE1...7249D83Ad
0.00000001 ETH
214051912024-12-15 3:19:2312 days ago1734232763
0x8f88cDE1...7249D83Ad
0.00000001 ETH
213767462024-12-11 4:00:3516 days ago1733889635
0x8f88cDE1...7249D83Ad
0.06674251 ETH
213767462024-12-11 4:00:3516 days ago1733889635
0x8f88cDE1...7249D83Ad
0.06674251 ETH
213420312024-12-06 7:42:1121 days ago1733470931
0x8f88cDE1...7249D83Ad
0.01690911 ETH
213420312024-12-06 7:42:1121 days ago1733470931
0x8f88cDE1...7249D83Ad
0.01690911 ETH
213420292024-12-06 7:41:4721 days ago1733470907
0x8f88cDE1...7249D83Ad
0.02887046 ETH
213420292024-12-06 7:41:4721 days ago1733470907
0x8f88cDE1...7249D83Ad
0.02887046 ETH
213296862024-12-04 14:19:2322 days ago1733321963
0x8f88cDE1...7249D83Ad
0.00744829 ETH
213296862024-12-04 14:19:2322 days ago1733321963
0x8f88cDE1...7249D83Ad
0.00744829 ETH
213294272024-12-04 13:27:3522 days ago1733318855
0x8f88cDE1...7249D83Ad
0.01164166 ETH
213294272024-12-04 13:27:3522 days ago1733318855
0x8f88cDE1...7249D83Ad
0.01164166 ETH
213293832024-12-04 13:18:4722 days ago1733318327
0x8f88cDE1...7249D83Ad
0.01629874 ETH
213293832024-12-04 13:18:4722 days ago1733318327
0x8f88cDE1...7249D83Ad
0.01629874 ETH
213293672024-12-04 13:15:2322 days ago1733318123
0x8f88cDE1...7249D83Ad
0.01206357 ETH
213293672024-12-04 13:15:2322 days ago1733318123
0x8f88cDE1...7249D83Ad
0.01206357 ETH
213199772024-12-03 5:46:1124 days ago1733204771
0x8f88cDE1...7249D83Ad
0.01023561 ETH
213199772024-12-03 5:46:1124 days ago1733204771
0x8f88cDE1...7249D83Ad
0.01023561 ETH
213178862024-12-02 22:44:3524 days ago1733179475
0x8f88cDE1...7249D83Ad
0.01243623 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MF

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : MF.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.8;
/*

    __  ___      __        ______
   /  |/  /___ _/ /_____  / ____/_______  ____  _____
  / /|_/ / __ `/ //_/ _ \/ /_  / ___/ _ \/ __ \/ ___/
 / /  / / /_/ / ,< /  __/ __/ / /  /  __/ / / (__  )
/_/  /_/\__,_/_/|_|\___/_/   /_/   \___/_/ /_/____/


Make Frens - Get Paid!
Website: https://makefrens.xyz/
Twitter: https://x.com/MakeFrensxyz
*/

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this;
        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);
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply;
    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

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

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

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

contract Ownable is Context {
    address private _owner;

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

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    function renounceOwnership() external 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;
    }
}

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

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

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

interface IDexFactory {
    function createPair(address tokenA, address tokenB)
    external
    returns (address pair);
}

contract MF is ERC20, Ownable {

    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWalletAmount;

    IDexFactory public immutable uniswapV2Factory;
    IDexRouter public immutable uniswapV2Router;
    address public uniswapV2Pair;
    address public immutable WETH;

    bool private swapping;
    uint256 public swapTokensAtAmount;

    address public treasuryAddress;

    uint256 public tradingActiveBlock = 0; // 0 means trading is not active

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

    uint256 public buyFee;
    uint256 public sellFee;

    uint256 public tokensForTreasury;

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

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;

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

    event EnabledTrading(bool tradingActive);
    event RemovedLimits();

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event UpdatedMaxBuyAmount(uint256 newAmount);

    event UpdatedMaxSellAmount(uint256 newAmount);

    event UpdatedMaxWalletAmount(uint256 newAmount);

    event UpdatedTreasuryAddress(address indexed newWallet);

    event MaxTransactionExclusion(address _address, bool excluded);

    event SwapFeeCollected(uint256 amount);
    event SwapBackResult(uint256 amountIn, uint256 amountOut);

    event TransferForeignToken(address token, uint256 amount);


    constructor() ERC20("MakeFrens", "MF") {
        address newOwner = msg.sender;

        IDexRouter _uniswapV2Router = IDexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Factory = IDexFactory(_uniswapV2Router.factory());
        WETH = _uniswapV2Router.WETH();
        uniswapV2Pair = uniswapV2Factory.createPair(address(this), WETH);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 totalSupply = 1_000_000_000 * 1e18;

        maxBuyAmount = totalSupply * 30 / 1000;
        maxSellAmount = totalSupply * 30 / 1000;
        maxWalletAmount = totalSupply * 30 / 1000;
        swapTokensAtAmount = totalSupply * 50 / 100_000;

        buyFee = 30;
        sellFee = 50;

        _excludeFromMaxTransaction(newOwner, true);
        _excludeFromMaxTransaction(address(this), true);
        _excludeFromMaxTransaction(address(0xdead), true);

        treasuryAddress = payable(0xfCa48BBDf5D3712e0c8CC6B5c6A4d3bEF4B5127E);

        excludeFromFees(newOwner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(treasuryAddress, true);

        _createInitialSupply(newOwner, totalSupply);
        transferOwnership(newOwner);
    }

    receive() external payable {}

    function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 1 / 1000) / 1e18, "Cannot set max buy amount lower than 0.1%");
        maxBuyAmount = newNum * (10**18);
        emit UpdatedMaxBuyAmount(maxBuyAmount);
    }

    function getFees() external view returns (uint256, uint256) {
        return (buyFee, sellFee);
    }

    function setFees(uint256 _buyFee, uint256 _sellFee) external onlyOwner {
        require(_buyFee <= 30, "Fees must be 30% or less");
        require(_sellFee <= 30, "Fees must be 30% or less");
        buyFee = _buyFee;
        sellFee = _sellFee;
    }

    function updateMaxSellAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 1 / 1000) / 1e18, "Cannot set max sell amount lower than 0.1%");
        maxSellAmount = newNum * (10**18);
        emit UpdatedMaxSellAmount(maxSellAmount);
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        emit RemovedLimits();
    }

    function _excludeFromMaxTransaction(address updAds, bool isExcluded) private {
        _isExcludedMaxTransactionAmount[updAds] = isExcluded;
        emit MaxTransactionExclusion(updAds, isExcluded);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner {
        if(!isEx){
            require(updAds != uniswapV2Pair, "Cannot remove uniswap pair from max txn");
        }
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 3 / 1000) / 1e18, "Cannot set max wallet amount lower than 0.3%");
        maxWalletAmount = newNum * (10**18);
        emit UpdatedMaxWalletAmount(maxWalletAmount);
    }

    function updateSwapThreshold(uint256 newAmount) public  {
        require(msg.sender == treasuryAddress,
            "only treasuryAddress can change swapThreshold");
        swapTokensAtAmount = newAmount * (10**18);
    }

    function transferForeignToken(address _token, address _to) public returns (bool _sent) {
        require(_token != address(0), "_token address cannot be 0");
        require(msg.sender == treasuryAddress,
            "only treasuryAddress can withdraw");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        _sent = IERC20(_token).transfer(_to, _contractBalance);
        emit TransferForeignToken(_token, _contractBalance);
    }

    // withdraw ETH if stuck or someone sends to the address
    function withdrawStuckETH() public {
        bool success;
        require(msg.sender == treasuryAddress,"only treasuryAddress can withdraw");
        (success,) = address(msg.sender).call{value: address(this).balance}("");
    }

    function updateBuyFee(uint256 _fee) external onlyOwner {
        buyFee = _fee;
        require(buyFee <= 30, "Fees must be 30% or less");
    }

    function updateSellFee(uint256 _fee) external onlyOwner {
        sellFee = _fee;
        require(sellFee <= 30, "Fees must be 30% or less");
    }

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

    function _transfer(address from, address to, uint256 amount) internal override {

        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "amount must be greater than 0");

        if(limitsInEffect){
            if (from != owner() && to != owner() && to != address(0) && to != address(0xdead)){
                if(!tradingActive){
                    require(_isExcludedMaxTransactionAmount[from] || _isExcludedMaxTransactionAmount[to], "Trading is not active.");
                    require(from == owner(), "Trading is not enabled");
                }
                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                    require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy.");
                    require(amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed max wallet");
                }
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                    require(amount <= maxSellAmount, "Sell transfer amount exceeds the max sell.");
                }
                else if (!_isExcludedMaxTransactionAmount[to] && !_isExcludedMaxTransactionAmount[from]){
                    require(amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed max wallet");
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

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

        // only take fees on Trades, not on wallet transfers
        if(takeFee && tradingActiveBlock>0 && (block.number>tradingActiveBlock)) {
            uint256 fees = 0;

            // on sell
            if (automatedMarketMakerPairs[to] && sellFee > 0) {
                fees = amount * sellFee / 100;
                tokensForTreasury += fees;
            }
            // on buy
            else if(automatedMarketMakerPairs[from] && buyFee > 0) {
                fees = amount * buyFee / 100;
                tokensForTreasury += fees;
            }

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

            amount -= fees;

            emit SwapFeeCollected(fees);
        }

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

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

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

        uint ethBalanceBeforeSwap = address(this).balance;

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

        emit SwapBackResult(tokenAmount, address(this).balance - ethBalanceBeforeSwap);
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        _excludeFromMaxTransaction(pair, value);

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function createPool() public onlyOwner {
        uniswapV2Pair = uniswapV2Factory.createPair(address(this), WETH);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
    }

    function addLP(uint256 amount) public onlyOwner payable {
        super._transfer(msg.sender, address(this), amount);
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        uniswapV2Router.addLiquidityETH{value: msg.value}({
            token: address(this),
            amountTokenDesired: amount,
            amountTokenMin: 0,
            amountETHMin: 0,
            to: msg.sender,
            deadline: block.timestamp
        });
    }

    function setTreasuryAddress(address _TreasuryAddress) external {
        require(
            (msg.sender == treasuryAddress) ||
            (msg.sender == owner()),
            "only treasuryAddress or owner can change treasuryAddress"
        );
        require(_TreasuryAddress != address(0), "_TreasuryAddress address cannot be 0");
        treasuryAddress = payable(_TreasuryAddress);
        emit UpdatedTreasuryAddress(_TreasuryAddress);
    }

    function _swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForTreasury;

        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

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

        bool success;

        _swapTokensForEth(contractBalance);
        tokensForTreasury = 0;

        uint256 ethBalance=address(this).balance;
        if (ethBalance > 0) {
            (success,) = address(treasuryAddress).call{value: address(this).balance}("");
        }
    }

    function manualSwap() external {
        require(_msgSender() == treasuryAddress, "Only treasuryAddress can manually swap");
        uint256 tokenBalance = balanceOf(address(this));
        if(tokenBalance > 0){
            swapping = true;
            _swapBack();
            swapping = false;
        }
    }

    // once enabled, can never be turned off
    function callEnableTrading() external onlyOwner {
        require(!tradingActive, "Cannot re enable trading");
        tradingActive = true;
        swapEnabled = true;
        emit EnabledTrading(tradingActive);
        tradingActiveBlock = block.number;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"tradingActive","type":"bool"}],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"SwapBackResult","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapFeeCollected","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":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedTreasuryAddress","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addLP","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callEnableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_TreasuryAddress","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Factory","outputs":[{"internalType":"contract IDexFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526000600c55600d805462ffffff191660011790553480156200002557600080fd5b5060408051808201825260098152684d616b654672656e7360b81b60208083019182528351808501909452600284526126a360f11b90840152815191929162000071916003916200078d565b508051620000879060049060208401906200078d565b50505060006200009c6200042a60201b60201c565b600580546001600160a01b0319166001600160a01b03831690811790915560405191925090600090600080516020620036ad833981519152908290a35033737a250d5630b4cf539739df2c5dacb4c659f2488d620000fc8160016200042e565b806001600160a01b031660a0816001600160a01b031660601b81525050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200015357600080fd5b505afa15801562000168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018e919062000833565b6001600160a01b03166080816001600160a01b031660601b81525050806001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001e457600080fd5b505afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f919062000833565b606081811b6001600160601b03191660c0526080516040516364e329cb60e11b81523060048201526001600160a01b039093166024840152901c9063c9c6539690604401602060405180830381600087803b1580156200027e57600080fd5b505af115801562000293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b9919062000833565b600980546001600160a01b0319166001600160a01b03929092169182179055620002e590600162000491565b6b033b2e3c9fd0803ce80000006103e86200030282601e6200087b565b6200030e91906200089d565b6006556103e86200032182601e6200087b565b6200032d91906200089d565b6007556103e86200034082601e6200087b565b6200034c91906200089d565b600855620186a0620003608260326200087b565b6200036c91906200089d565b600a55601e600e556032600f55620003868360016200042e565b620003933060016200042e565b620003a261dead60016200042e565b600b80546001600160a01b03191673fca48bbdf5d3712e0c8cc6b5c6a4d3bef4b5127e179055620003d5836001620004fd565b620003e2306001620004fd565b620003f161dead6001620004fd565b600b546200040a906001600160a01b03166001620004fd565b620004168382620005ab565b620004218362000690565b50505062000918565b3390565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0382166000908152601360205260409020805460ff1916821515179055620004c182826200042e565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031633146200054c5760405162461bcd60e51b815260206004820181905260248201526000805160206200368d83398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006035760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000543565b8060026000828254620006179190620008c0565b90915550506001600160a01b0382166000908152602081905260408120805483929062000646908490620008c0565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620006db5760405162461bcd60e51b815260206004820181905260248201526000805160206200368d833981519152604482015260640162000543565b6001600160a01b038116620007425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000543565b6005546040516001600160a01b03808416921690600080516020620036ad83398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b8280546200079b90620008db565b90600052602060002090601f016020900481019282620007bf57600085556200080a565b82601f10620007da57805160ff19168380011785556200080a565b828001600101855582156200080a579182015b828111156200080a578251825591602001919060010190620007ed565b50620008189291506200081c565b5090565b5b808211156200081857600081556001016200081d565b6000602082840312156200084657600080fd5b81516001600160a01b03811681146200085e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000898576200089862000865565b500290565b600082620008bb57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008d657620008d662000865565b500190565b600181811c90821680620008f057607f821691505b602082108114156200091257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c60c05160601c612d0b620009826000396000818161077b015281816114e001526126780152600081816103b301528181610f5e01528181610fbb015281816126d0015261270e01526000818161055501526115080152612d0b6000f3fe6080604052600436106102e85760003560e01c80637571336a11610190578063bbc0c742116100dc578063db8d55f111610095578063e2f456051161006f578063e2f4560514610910578063ee40166e14610926578063f2fde38b1461093c578063f5648a4f1461095c57600080fd5b8063db8d55f114610882578063dc3f0d0f146108aa578063dd62ed3e146108ca57600080fd5b8063bbc0c742146107cd578063c0246668146107ec578063c18bc1951461080c578063c5f956af1461082c578063cc274b291461084c578063cc2ffe7c1461086c57600080fd5b80639a06b11311610149578063a9059cbb11610123578063a9059cbb14610733578063aa4bde2814610753578063ad5c464814610769578063b62496f51461079d57600080fd5b80639a06b113146106de5780639a7a23d6146106f3578063a457c2d71461071357600080fd5b80637571336a146106405780638366e79a1461066057806388e765ff146106805780638da5cb5b1461069657806395d89b41146106b457806399dc108f146106c957600080fd5b8063467abe0a1161024f5780636605bfda116102085780636e0c63d9116101e25780636e0c63d9146105cd57806370a08231146105e0578063715018a614610616578063751039fc1461062b57600080fd5b80636605bfda1461057757806366d602ae146105975780636ddd1713146105ad57600080fd5b8063467abe0a146104be57806347062402146104de57806349bd5a5e146104f45780634a62bb651461051457806351bc3c851461052e57806359d0f7131461054357600080fd5b80631d933a4a116102a15780631d933a4a1461040c57806323b872dd1461042c5780632b14ca561461044c5780632be32b6114610462578063313ce56714610482578063395093511461049e57600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630b78f9c01461034f57806310d5de53146103715780631694505e146103a157806318160ddd146103ed57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610971565b604051610316919061282c565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612896565b610a03565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a3660046128c2565b610a19565b005b34801561037d57600080fd5b5061033f61038c3660046128e4565b60126020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002545b604051908152602001610316565b34801561041857600080fd5b5061036f610427366004612908565b610a99565b34801561043857600080fd5b5061033f610447366004612921565b610aec565b34801561045857600080fd5b506103fe600f5481565b34801561046e57600080fd5b5061036f61047d366004612908565b610b96565b34801561048e57600080fd5b5060405160128152602001610316565b3480156104aa57600080fd5b5061033f6104b9366004612896565b610ca3565b3480156104ca57600080fd5b5061036f6104d9366004612908565b610cdf565b3480156104ea57600080fd5b506103fe600e5481565b34801561050057600080fd5b506009546103d5906001600160a01b031681565b34801561052057600080fd5b50600d5461033f9060ff1681565b34801561053a57600080fd5b5061036f610d2f565b34801561054f57600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b34801561058357600080fd5b5061036f6105923660046128e4565b610de2565b3480156105a357600080fd5b506103fe60075481565b3480156105b957600080fd5b50600d5461033f9062010000900460ff1681565b61036f6105db366004612908565b610f23565b3480156105ec57600080fd5b506103fe6105fb3660046128e4565b6001600160a01b031660009081526020819052604090205490565b34801561062257600080fd5b5061036f611047565b34801561063757600080fd5b5061036f6110bb565b34801561064c57600080fd5b5061036f61065b366004612970565b61111a565b34801561066c57600080fd5b5061033f61067b3660046129a9565b6111e2565b34801561068c57600080fd5b506103fe60065481565b3480156106a257600080fd5b506005546001600160a01b03166103d5565b3480156106c057600080fd5b506103096113b0565b3480156106d557600080fd5b5061036f6113bf565b3480156106ea57600080fd5b5061036f611499565b3480156106ff57600080fd5b5061036f61070e366004612970565b6115b0565b34801561071f57600080fd5b5061033f61072e366004612896565b61166c565b34801561073f57600080fd5b5061033f61074e366004612896565b61170e565b34801561075f57600080fd5b506103fe60085481565b34801561077557600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b3480156107a957600080fd5b5061033f6107b83660046128e4565b60136020526000908152604090205460ff1681565b3480156107d957600080fd5b50600d5461033f90610100900460ff1681565b3480156107f857600080fd5b5061036f610807366004612970565b61171b565b34801561081857600080fd5b5061036f610827366004612908565b6117a4565b34801561083857600080fd5b50600b546103d5906001600160a01b031681565b34801561085857600080fd5b5061036f610867366004612908565b6118ad565b34801561087857600080fd5b506103fe60105481565b34801561088e57600080fd5b50600e54600f5460408051928352602083019190915201610316565b3480156108b657600080fd5b5061036f6108c5366004612908565b611935565b3480156108d657600080fd5b506103fe6108e53660046129a9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091c57600080fd5b506103fe600a5481565b34801561093257600080fd5b506103fe600c5481565b34801561094857600080fd5b5061036f6109573660046128e4565b611a3c565b34801561096857600080fd5b5061036f611b27565b606060038054610980906129d7565b80601f01602080910402602001604051908101604052809291908181526020018280546109ac906129d7565b80156109f95780601f106109ce576101008083540402835291602001916109f9565b820191906000526020600020905b8154815290600101906020018083116109dc57829003601f168201915b5050505050905090565b6000610a10338484611b94565b50600192915050565b6005546001600160a01b03163314610a4c5760405162461bcd60e51b8152600401610a4390612a12565b60405180910390fd5b601e821115610a6d5760405162461bcd60e51b8152600401610a4390612a47565b601e811115610a8e5760405162461bcd60e51b8152600401610a4390612a47565b600e91909155600f55565b6005546001600160a01b03163314610ac35760405162461bcd60e51b8152600401610a4390612a12565b600f819055601e811115610ae95760405162461bcd60e51b8152600401610a4390612a47565b50565b6000610af9848484611cb8565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b7e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a43565b610b8b8533858403611b94565b506001949350505050565b6005546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e8610bd560025490565b610be0906001612a94565b610bea9190612ab3565b610bf49190612ab3565b811015610c555760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401610a43565b610c6781670de0b6b3a7640000612a94565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a10918590610cda908690612ad5565b611b94565b6005546001600160a01b03163314610d095760405162461bcd60e51b8152600401610a4390612a12565b600e819055601e811115610ae95760405162461bcd60e51b8152600401610a4390612a47565b600b546001600160a01b0316336001600160a01b031614610da15760405162461bcd60e51b815260206004820152602660248201527f4f6e6c79207472656173757279416464726573732063616e206d616e75616c6c60448201526507920737761760d41b6064820152608401610a43565b306000908152602081905260409020548015610ae9576009805460ff60a01b1916600160a01b179055610dd26123a3565b6009805460ff60a01b1916905550565b600b546001600160a01b0316331480610e0557506005546001600160a01b031633145b610e775760405162461bcd60e51b815260206004820152603860248201527f6f6e6c7920747265617375727941646472657373206f72206f776e657220636160448201527f6e206368616e67652074726561737572794164647265737300000000000000006064820152608401610a43565b6001600160a01b038116610ed95760405162461bcd60e51b8152602060048201526024808201527f5f54726561737572794164647265737320616464726573732063616e6e6f74206044820152630626520360e41b6064820152608401610a43565b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6005546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610a4390612a12565b610f58333083612462565b610f85307f0000000000000000000000000000000000000000000000000000000000000000600019611b94565b60405163f305d71960e01b81523060048201526024810182905260006044820181905260648201523360848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990349060c4016060604051808303818588803b15801561100857600080fd5b505af115801561101c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110419190612aed565b50505050565b6005546001600160a01b031633146110715760405162461bcd60e51b8152600401610a4390612a12565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110e55760405162461bcd60e51b8152600401610a4390612a12565b600d805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146111445760405162461bcd60e51b8152600401610a4390612a12565b806111b7576009546001600160a01b03838116911614156111b75760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610a43565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60006001600160a01b03831661123a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a43565b600b546001600160a01b031633146112645760405162461bcd60e51b8152600401610a4390612b1b565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190612b5c565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b15801561132c57600080fd5b505af1158015611340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113649190612b75565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610980906129d7565b6005546001600160a01b031633146113e95760405162461bcd60e51b8152600401610a4390612a12565b600d54610100900460ff16156114415760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420726520656e61626c652074726164696e6700000000000000006044820152606401610a43565b600d80546201010062ffff0019909116179081905560405161010090910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a143600c55565b6005546001600160a01b031633146114c35760405162461bcd60e51b8152600401610a4390612a12565b6040516364e329cb60e11b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063c9c6539690604401602060405180830381600087803b15801561154c57600080fd5b505af1158015611560573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115849190612b92565b600980546001600160a01b0319166001600160a01b039290921691821790556115ae9060016125b7565b565b6005546001600160a01b031633146115da5760405162461bcd60e51b8152600401610a4390612a12565b6009546001600160a01b038381169116141561165e5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a43565b61166882826125b7565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054600019811461170457828110156116f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a43565b6117043385858403611b94565b5060019392505050565b6000610a10338484611cb8565b6005546001600160a01b031633146117455760405162461bcd60e51b8152600401610a4390612a12565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117ce5760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e86117e360025490565b6117ee906003612a94565b6117f89190612ab3565b6118029190612ab3565b8110156118665760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610a43565b61187881670de0b6b3a7640000612a94565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610c98565b600b546001600160a01b0316331461191d5760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207472656173757279416464726573732063616e206368616e67652060448201526c1cddd85c151a1c995cda1bdb19609a1b6064820152608401610a43565b61192f81670de0b6b3a7640000612a94565b600a5550565b6005546001600160a01b0316331461195f5760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e861197460025490565b61197f906001612a94565b6119899190612ab3565b6119939190612ab3565b8110156119f55760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401610a43565b611a0781670de0b6b3a7640000612a94565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610c98565b6005546001600160a01b03163314611a665760405162461bcd60e51b8152600401610a4390612a12565b6001600160a01b038116611acb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a43565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546000906001600160a01b03163314611b545760405162461bcd60e51b8152600401610a4390612b1b565b60405133904790600081818185875af1925050503d8060008114611041576040519150601f19603f3d011682016040523d82523d6000602084013e611041565b6001600160a01b038316611bf65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a43565b6001600160a01b038216611c575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a43565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cde5760405162461bcd60e51b8152600401610a4390612baf565b6001600160a01b038216611d045760405162461bcd60e51b8152600401610a4390612bf4565b60008111611d545760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610a43565b600d5460ff1615612122576005546001600160a01b03848116911614801590611d8b57506005546001600160a01b03838116911614155b8015611d9f57506001600160a01b03821615155b8015611db657506001600160a01b03821661dead14155b1561212257600d54610100900460ff16611ea4576001600160a01b03831660009081526012602052604090205460ff1680611e0957506001600160a01b03821660009081526012602052604090205460ff165b611e4e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a43565b6005546001600160a01b03848116911614611ea45760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a43565b6001600160a01b03831660009081526013602052604090205460ff168015611ee557506001600160a01b03821660009081526012602052604090205460ff16155b15611fc157600654811115611f4d5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610a43565b6008546001600160a01b038316600090815260208190526040902054611f739083612ad5565b1115611fbc5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a43565b612122565b6001600160a01b03821660009081526013602052604090205460ff16801561200257506001600160a01b03831660009081526012602052604090205460ff16155b1561206c57600754811115611fbc5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610a43565b6001600160a01b03821660009081526012602052604090205460ff161580156120ae57506001600160a01b03831660009081526012602052604090205460ff16155b15612122576008546001600160a01b0383166000908152602081905260409020546120d99083612ad5565b11156121225760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a43565b30600090815260208190526040902054600a548110801590819061214e5750600d5462010000900460ff165b80156121645750600954600160a01b900460ff16155b801561218957506001600160a01b03851660009081526013602052604090205460ff16155b80156121ae57506001600160a01b03851660009081526011602052604090205460ff16155b80156121d357506001600160a01b03841660009081526011602052604090205460ff16155b15612201576009805460ff60a01b1916600160a01b1790556121f36123a3565b6009805460ff60a01b191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061224357506001600160a01b03851660009081526011602052604090205460ff165b1561224c575060005b80801561225b57506000600c54115b80156122685750600c5443115b15612390576001600160a01b03851660009081526013602052604081205460ff16801561229757506000600f54115b156122d5576064600f54866122ac9190612a94565b6122b69190612ab3565b905080601060008282546122ca9190612ad5565b909155506123389050565b6001600160a01b03871660009081526013602052604090205460ff1680156122ff57506000600e54115b15612338576064600e54866123149190612a94565b61231e9190612ab3565b905080601060008282546123329190612ad5565b90915550505b801561234957612349873083612462565b6123538186612c37565b94507fff9891726fac64d7faf6508ce9e13ff651decd82208eeef75b4070d78bdfbdf68160405161238691815260200190565b60405180910390a1505b61239b868686612462565b505050505050565b306000908152602081905260409020546010548115806123c1575080155b156123ca575050565b600a546123d8906005612a94565b8211156123f057600a546123ed906005612a94565b91505b60006123fb83612621565b600060105547801561104157600b546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612454576040519150601f19603f3d011682016040523d82523d6000602084013e612459565b606091505b50505050505050565b6001600160a01b0383166124885760405162461bcd60e51b8152600401610a4390612baf565b6001600160a01b0382166124ae5760405162461bcd60e51b8152600401610a4390612bf4565b6001600160a01b038316600090815260208190526040902054818110156125265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a43565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061255d908490612ad5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125a991815260200190565b60405180910390a350505050565b6001600160a01b0382166000908152601360205260409020805460ff19168215151790556125e582826127c9565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061265657612656612c4e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106126aa576126aa612c4e565b60200260200101906001600160a01b031690816001600160a01b0316815250506126f5307f000000000000000000000000000000000000000000000000000000000000000084611b94565b60405163791ac94760e01b815247906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061274c908690600090879030904290600401612c64565b600060405180830381600087803b15801561276657600080fd5b505af115801561277a573d6000803e3d6000fd5b505050507f877973055cc76aebb6c1702046758fb56e804bca4a8bf998824b99ed02bbbafd8382476127ac9190612c37565b6040805192835260208301919091520160405180910390a1505050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b818110156128595785810183015185820160400152820161283d565b8181111561286b576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610ae957600080fd5b600080604083850312156128a957600080fd5b82356128b481612881565b946020939093013593505050565b600080604083850312156128d557600080fd5b50508035926020909101359150565b6000602082840312156128f657600080fd5b813561290181612881565b9392505050565b60006020828403121561291a57600080fd5b5035919050565b60008060006060848603121561293657600080fd5b833561294181612881565b9250602084013561295181612881565b929592945050506040919091013590565b8015158114610ae957600080fd5b6000806040838503121561298357600080fd5b823561298e81612881565b9150602083013561299e81612962565b809150509250929050565b600080604083850312156129bc57600080fd5b82356129c781612881565b9150602083013561299e81612881565b600181811c908216806129eb57607f821691505b60208210811415612a0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f46656573206d75737420626520333025206f72206c6573730000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612aae57612aae612a7e565b500290565b600082612ad057634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612ae857612ae8612a7e565b500190565b600080600060608486031215612b0257600080fd5b8351925060208401519150604084015190509250925092565b60208082526021908201527f6f6e6c79207472656173757279416464726573732063616e20776974686472616040820152607760f81b606082015260800190565b600060208284031215612b6e57600080fd5b5051919050565b600060208284031215612b8757600080fd5b815161290181612962565b600060208284031215612ba457600080fd5b815161290181612881565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612c4957612c49612a7e565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cb45784516001600160a01b031683529383019391830191600101612c8f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ae18604fc853f2df2dca219eb94bb2349f73ed66c90a8d95df66de4db887c51164736f6c634300080800334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80637571336a11610190578063bbc0c742116100dc578063db8d55f111610095578063e2f456051161006f578063e2f4560514610910578063ee40166e14610926578063f2fde38b1461093c578063f5648a4f1461095c57600080fd5b8063db8d55f114610882578063dc3f0d0f146108aa578063dd62ed3e146108ca57600080fd5b8063bbc0c742146107cd578063c0246668146107ec578063c18bc1951461080c578063c5f956af1461082c578063cc274b291461084c578063cc2ffe7c1461086c57600080fd5b80639a06b11311610149578063a9059cbb11610123578063a9059cbb14610733578063aa4bde2814610753578063ad5c464814610769578063b62496f51461079d57600080fd5b80639a06b113146106de5780639a7a23d6146106f3578063a457c2d71461071357600080fd5b80637571336a146106405780638366e79a1461066057806388e765ff146106805780638da5cb5b1461069657806395d89b41146106b457806399dc108f146106c957600080fd5b8063467abe0a1161024f5780636605bfda116102085780636e0c63d9116101e25780636e0c63d9146105cd57806370a08231146105e0578063715018a614610616578063751039fc1461062b57600080fd5b80636605bfda1461057757806366d602ae146105975780636ddd1713146105ad57600080fd5b8063467abe0a146104be57806347062402146104de57806349bd5a5e146104f45780634a62bb651461051457806351bc3c851461052e57806359d0f7131461054357600080fd5b80631d933a4a116102a15780631d933a4a1461040c57806323b872dd1461042c5780632b14ca561461044c5780632be32b6114610462578063313ce56714610482578063395093511461049e57600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630b78f9c01461034f57806310d5de53146103715780631694505e146103a157806318160ddd146103ed57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610971565b604051610316919061282c565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612896565b610a03565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a3660046128c2565b610a19565b005b34801561037d57600080fd5b5061033f61038c3660046128e4565b60126020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103d57f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002545b604051908152602001610316565b34801561041857600080fd5b5061036f610427366004612908565b610a99565b34801561043857600080fd5b5061033f610447366004612921565b610aec565b34801561045857600080fd5b506103fe600f5481565b34801561046e57600080fd5b5061036f61047d366004612908565b610b96565b34801561048e57600080fd5b5060405160128152602001610316565b3480156104aa57600080fd5b5061033f6104b9366004612896565b610ca3565b3480156104ca57600080fd5b5061036f6104d9366004612908565b610cdf565b3480156104ea57600080fd5b506103fe600e5481565b34801561050057600080fd5b506009546103d5906001600160a01b031681565b34801561052057600080fd5b50600d5461033f9060ff1681565b34801561053a57600080fd5b5061036f610d2f565b34801561054f57600080fd5b506103d57f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b34801561058357600080fd5b5061036f6105923660046128e4565b610de2565b3480156105a357600080fd5b506103fe60075481565b3480156105b957600080fd5b50600d5461033f9062010000900460ff1681565b61036f6105db366004612908565b610f23565b3480156105ec57600080fd5b506103fe6105fb3660046128e4565b6001600160a01b031660009081526020819052604090205490565b34801561062257600080fd5b5061036f611047565b34801561063757600080fd5b5061036f6110bb565b34801561064c57600080fd5b5061036f61065b366004612970565b61111a565b34801561066c57600080fd5b5061033f61067b3660046129a9565b6111e2565b34801561068c57600080fd5b506103fe60065481565b3480156106a257600080fd5b506005546001600160a01b03166103d5565b3480156106c057600080fd5b506103096113b0565b3480156106d557600080fd5b5061036f6113bf565b3480156106ea57600080fd5b5061036f611499565b3480156106ff57600080fd5b5061036f61070e366004612970565b6115b0565b34801561071f57600080fd5b5061033f61072e366004612896565b61166c565b34801561073f57600080fd5b5061033f61074e366004612896565b61170e565b34801561075f57600080fd5b506103fe60085481565b34801561077557600080fd5b506103d57f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156107a957600080fd5b5061033f6107b83660046128e4565b60136020526000908152604090205460ff1681565b3480156107d957600080fd5b50600d5461033f90610100900460ff1681565b3480156107f857600080fd5b5061036f610807366004612970565b61171b565b34801561081857600080fd5b5061036f610827366004612908565b6117a4565b34801561083857600080fd5b50600b546103d5906001600160a01b031681565b34801561085857600080fd5b5061036f610867366004612908565b6118ad565b34801561087857600080fd5b506103fe60105481565b34801561088e57600080fd5b50600e54600f5460408051928352602083019190915201610316565b3480156108b657600080fd5b5061036f6108c5366004612908565b611935565b3480156108d657600080fd5b506103fe6108e53660046129a9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091c57600080fd5b506103fe600a5481565b34801561093257600080fd5b506103fe600c5481565b34801561094857600080fd5b5061036f6109573660046128e4565b611a3c565b34801561096857600080fd5b5061036f611b27565b606060038054610980906129d7565b80601f01602080910402602001604051908101604052809291908181526020018280546109ac906129d7565b80156109f95780601f106109ce576101008083540402835291602001916109f9565b820191906000526020600020905b8154815290600101906020018083116109dc57829003601f168201915b5050505050905090565b6000610a10338484611b94565b50600192915050565b6005546001600160a01b03163314610a4c5760405162461bcd60e51b8152600401610a4390612a12565b60405180910390fd5b601e821115610a6d5760405162461bcd60e51b8152600401610a4390612a47565b601e811115610a8e5760405162461bcd60e51b8152600401610a4390612a47565b600e91909155600f55565b6005546001600160a01b03163314610ac35760405162461bcd60e51b8152600401610a4390612a12565b600f819055601e811115610ae95760405162461bcd60e51b8152600401610a4390612a47565b50565b6000610af9848484611cb8565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b7e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a43565b610b8b8533858403611b94565b506001949350505050565b6005546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e8610bd560025490565b610be0906001612a94565b610bea9190612ab3565b610bf49190612ab3565b811015610c555760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401610a43565b610c6781670de0b6b3a7640000612a94565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a10918590610cda908690612ad5565b611b94565b6005546001600160a01b03163314610d095760405162461bcd60e51b8152600401610a4390612a12565b600e819055601e811115610ae95760405162461bcd60e51b8152600401610a4390612a47565b600b546001600160a01b0316336001600160a01b031614610da15760405162461bcd60e51b815260206004820152602660248201527f4f6e6c79207472656173757279416464726573732063616e206d616e75616c6c60448201526507920737761760d41b6064820152608401610a43565b306000908152602081905260409020548015610ae9576009805460ff60a01b1916600160a01b179055610dd26123a3565b6009805460ff60a01b1916905550565b600b546001600160a01b0316331480610e0557506005546001600160a01b031633145b610e775760405162461bcd60e51b815260206004820152603860248201527f6f6e6c7920747265617375727941646472657373206f72206f776e657220636160448201527f6e206368616e67652074726561737572794164647265737300000000000000006064820152608401610a43565b6001600160a01b038116610ed95760405162461bcd60e51b8152602060048201526024808201527f5f54726561737572794164647265737320616464726573732063616e6e6f74206044820152630626520360e41b6064820152608401610a43565b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6005546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610a4390612a12565b610f58333083612462565b610f85307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600019611b94565b60405163f305d71960e01b81523060048201526024810182905260006044820181905260648201523360848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990349060c4016060604051808303818588803b15801561100857600080fd5b505af115801561101c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110419190612aed565b50505050565b6005546001600160a01b031633146110715760405162461bcd60e51b8152600401610a4390612a12565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110e55760405162461bcd60e51b8152600401610a4390612a12565b600d805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146111445760405162461bcd60e51b8152600401610a4390612a12565b806111b7576009546001600160a01b03838116911614156111b75760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610a43565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60006001600160a01b03831661123a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a43565b600b546001600160a01b031633146112645760405162461bcd60e51b8152600401610a4390612b1b565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156112a657600080fd5b505afa1580156112ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112de9190612b5c565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b15801561132c57600080fd5b505af1158015611340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113649190612b75565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610980906129d7565b6005546001600160a01b031633146113e95760405162461bcd60e51b8152600401610a4390612a12565b600d54610100900460ff16156114415760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420726520656e61626c652074726164696e6700000000000000006044820152606401610a43565b600d80546201010062ffff0019909116179081905560405161010090910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a143600c55565b6005546001600160a01b031633146114c35760405162461bcd60e51b8152600401610a4390612a12565b6040516364e329cb60e11b81523060048201526001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2811660248301527f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f169063c9c6539690604401602060405180830381600087803b15801561154c57600080fd5b505af1158015611560573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115849190612b92565b600980546001600160a01b0319166001600160a01b039290921691821790556115ae9060016125b7565b565b6005546001600160a01b031633146115da5760405162461bcd60e51b8152600401610a4390612a12565b6009546001600160a01b038381169116141561165e5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a43565b61166882826125b7565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054600019811461170457828110156116f75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a43565b6117043385858403611b94565b5060019392505050565b6000610a10338484611cb8565b6005546001600160a01b031633146117455760405162461bcd60e51b8152600401610a4390612a12565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117ce5760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e86117e360025490565b6117ee906003612a94565b6117f89190612ab3565b6118029190612ab3565b8110156118665760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610a43565b61187881670de0b6b3a7640000612a94565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610c98565b600b546001600160a01b0316331461191d5760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207472656173757279416464726573732063616e206368616e67652060448201526c1cddd85c151a1c995cda1bdb19609a1b6064820152608401610a43565b61192f81670de0b6b3a7640000612a94565b600a5550565b6005546001600160a01b0316331461195f5760405162461bcd60e51b8152600401610a4390612a12565b670de0b6b3a76400006103e861197460025490565b61197f906001612a94565b6119899190612ab3565b6119939190612ab3565b8110156119f55760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401610a43565b611a0781670de0b6b3a7640000612a94565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610c98565b6005546001600160a01b03163314611a665760405162461bcd60e51b8152600401610a4390612a12565b6001600160a01b038116611acb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a43565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546000906001600160a01b03163314611b545760405162461bcd60e51b8152600401610a4390612b1b565b60405133904790600081818185875af1925050503d8060008114611041576040519150601f19603f3d011682016040523d82523d6000602084013e611041565b6001600160a01b038316611bf65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a43565b6001600160a01b038216611c575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a43565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cde5760405162461bcd60e51b8152600401610a4390612baf565b6001600160a01b038216611d045760405162461bcd60e51b8152600401610a4390612bf4565b60008111611d545760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610a43565b600d5460ff1615612122576005546001600160a01b03848116911614801590611d8b57506005546001600160a01b03838116911614155b8015611d9f57506001600160a01b03821615155b8015611db657506001600160a01b03821661dead14155b1561212257600d54610100900460ff16611ea4576001600160a01b03831660009081526012602052604090205460ff1680611e0957506001600160a01b03821660009081526012602052604090205460ff165b611e4e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a43565b6005546001600160a01b03848116911614611ea45760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a43565b6001600160a01b03831660009081526013602052604090205460ff168015611ee557506001600160a01b03821660009081526012602052604090205460ff16155b15611fc157600654811115611f4d5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610a43565b6008546001600160a01b038316600090815260208190526040902054611f739083612ad5565b1115611fbc5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a43565b612122565b6001600160a01b03821660009081526013602052604090205460ff16801561200257506001600160a01b03831660009081526012602052604090205460ff16155b1561206c57600754811115611fbc5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610a43565b6001600160a01b03821660009081526012602052604090205460ff161580156120ae57506001600160a01b03831660009081526012602052604090205460ff16155b15612122576008546001600160a01b0383166000908152602081905260409020546120d99083612ad5565b11156121225760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a43565b30600090815260208190526040902054600a548110801590819061214e5750600d5462010000900460ff165b80156121645750600954600160a01b900460ff16155b801561218957506001600160a01b03851660009081526013602052604090205460ff16155b80156121ae57506001600160a01b03851660009081526011602052604090205460ff16155b80156121d357506001600160a01b03841660009081526011602052604090205460ff16155b15612201576009805460ff60a01b1916600160a01b1790556121f36123a3565b6009805460ff60a01b191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061224357506001600160a01b03851660009081526011602052604090205460ff165b1561224c575060005b80801561225b57506000600c54115b80156122685750600c5443115b15612390576001600160a01b03851660009081526013602052604081205460ff16801561229757506000600f54115b156122d5576064600f54866122ac9190612a94565b6122b69190612ab3565b905080601060008282546122ca9190612ad5565b909155506123389050565b6001600160a01b03871660009081526013602052604090205460ff1680156122ff57506000600e54115b15612338576064600e54866123149190612a94565b61231e9190612ab3565b905080601060008282546123329190612ad5565b90915550505b801561234957612349873083612462565b6123538186612c37565b94507fff9891726fac64d7faf6508ce9e13ff651decd82208eeef75b4070d78bdfbdf68160405161238691815260200190565b60405180910390a1505b61239b868686612462565b505050505050565b306000908152602081905260409020546010548115806123c1575080155b156123ca575050565b600a546123d8906005612a94565b8211156123f057600a546123ed906005612a94565b91505b60006123fb83612621565b600060105547801561104157600b546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612454576040519150601f19603f3d011682016040523d82523d6000602084013e612459565b606091505b50505050505050565b6001600160a01b0383166124885760405162461bcd60e51b8152600401610a4390612baf565b6001600160a01b0382166124ae5760405162461bcd60e51b8152600401610a4390612bf4565b6001600160a01b038316600090815260208190526040902054818110156125265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a43565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061255d908490612ad5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125a991815260200190565b60405180910390a350505050565b6001600160a01b0382166000908152601360205260409020805460ff19168215151790556125e582826127c9565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061265657612656612c4e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106126aa576126aa612c4e565b60200260200101906001600160a01b031690816001600160a01b0316815250506126f5307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611b94565b60405163791ac94760e01b815247906001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061274c908690600090879030904290600401612c64565b600060405180830381600087803b15801561276657600080fd5b505af115801561277a573d6000803e3d6000fd5b505050507f877973055cc76aebb6c1702046758fb56e804bca4a8bf998824b99ed02bbbafd8382476127ac9190612c37565b6040805192835260208301919091520160405180910390a1505050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b600060208083528351808285015260005b818110156128595785810183015185820160400152820161283d565b8181111561286b576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610ae957600080fd5b600080604083850312156128a957600080fd5b82356128b481612881565b946020939093013593505050565b600080604083850312156128d557600080fd5b50508035926020909101359150565b6000602082840312156128f657600080fd5b813561290181612881565b9392505050565b60006020828403121561291a57600080fd5b5035919050565b60008060006060848603121561293657600080fd5b833561294181612881565b9250602084013561295181612881565b929592945050506040919091013590565b8015158114610ae957600080fd5b6000806040838503121561298357600080fd5b823561298e81612881565b9150602083013561299e81612962565b809150509250929050565b600080604083850312156129bc57600080fd5b82356129c781612881565b9150602083013561299e81612881565b600181811c908216806129eb57607f821691505b60208210811415612a0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f46656573206d75737420626520333025206f72206c6573730000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612aae57612aae612a7e565b500290565b600082612ad057634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612ae857612ae8612a7e565b500190565b600080600060608486031215612b0257600080fd5b8351925060208401519150604084015190509250925092565b60208082526021908201527f6f6e6c79207472656173757279416464726573732063616e20776974686472616040820152607760f81b606082015260800190565b600060208284031215612b6e57600080fd5b5051919050565b600060208284031215612b8757600080fd5b815161290181612962565b600060208284031215612ba457600080fd5b815161290181612881565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612c4957612c49612a7e565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cb45784516001600160a01b031683529383019391830191600101612c8f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ae18604fc853f2df2dca219eb94bb2349f73ed66c90a8d95df66de4db887c51164736f6c63430008080033

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.