ETH Price: $3,832.10 (-4.77%)

Contract

0xE2432110C32D0717E33c245fe0CFA2B26c07f47a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

AGIX (AGX) (@$0.0959)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer214271692024-12-18 4:55:5958 mins ago1734497759IN
AGIX: AGX Token
0 ETH0.0008661813.15487768
Approve214265952024-12-18 3:00:592 hrs ago1734490859IN
AGIX: AGX Token
0 ETH0.0005422611.65389422
Approve214265502024-12-18 2:51:593 hrs ago1734490319IN
AGIX: AGX Token
0 ETH0.0005521411.86304303
Approve214254672024-12-17 23:13:236 hrs ago1734477203IN
AGIX: AGX Token
0 ETH0.0008504818.27301908
Approve214252982024-12-17 22:39:357 hrs ago1734475175IN
AGIX: AGX Token
0 ETH0.000839418.14265045
Approve214251932024-12-17 22:18:357 hrs ago1734473915IN
AGIX: AGX Token
0 ETH0.0007298815.6818678
Approve214249852024-12-17 21:36:478 hrs ago1734471407IN
AGIX: AGX Token
0 ETH0.0007439315.98386839
Approve214245002024-12-17 19:59:119 hrs ago1734465551IN
AGIX: AGX Token
0 ETH0.000884819.01048308
Approve214243582024-12-17 19:30:4710 hrs ago1734463847IN
AGIX: AGX Token
0 ETH0.0010111121.72983869
Approve214243002024-12-17 19:19:1110 hrs ago1734463151IN
AGIX: AGX Token
0 ETH0.0010645422.87226863
Approve214241442024-12-17 18:47:5911 hrs ago1734461279IN
AGIX: AGX Token
0 ETH0.001196425.70534825
Approve214241282024-12-17 18:44:4711 hrs ago1734461087IN
AGIX: AGX Token
0 ETH0.0012409826.78754404
Approve214239622024-12-17 18:11:2311 hrs ago1734459083IN
AGIX: AGX Token
0 ETH0.0012475626.80454302
Approve214237802024-12-17 17:34:3512 hrs ago1734456875IN
AGIX: AGX Token
0 ETH0.0013114828.17797659
Approve214233932024-12-17 16:16:3513 hrs ago1734452195IN
AGIX: AGX Token
0 ETH0.0017351537.28060259
Approve214232852024-12-17 15:54:5913 hrs ago1734450899IN
AGIX: AGX Token
0 ETH0.0022719148.8132541
Approve214231262024-12-17 15:23:1114 hrs ago1734448991IN
AGIX: AGX Token
0 ETH0.0021797747.12523911
Transfer214229542024-12-17 14:48:3515 hrs ago1734446915IN
AGIX: AGX Token
0 ETH0.0017011934.91704493
Transfer214229522024-12-17 14:48:1115 hrs ago1734446891IN
AGIX: AGX Token
0 ETH0.0017628936.18347674
Transfer214229502024-12-17 14:47:4715 hrs ago1734446867IN
AGIX: AGX Token
0 ETH0.0014034328.80553262
Transfer214229482024-12-17 14:47:2315 hrs ago1734446843IN
AGIX: AGX Token
0 ETH0.0016408933.67933541
Transfer214229462024-12-17 14:46:5915 hrs ago1734446819IN
AGIX: AGX Token
0 ETH0.0016574234.0186153
Transfer214229442024-12-17 14:46:3515 hrs ago1734446795IN
AGIX: AGX Token
0 ETH0.0016786934.45524023
Transfer214229422024-12-17 14:46:1115 hrs ago1734446771IN
AGIX: AGX Token
0 ETH0.0016737534.35382371
Transfer214229402024-12-17 14:45:4715 hrs ago1734446747IN
AGIX: AGX Token
0 ETH0.0016144433.13648622
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214273962024-12-18 5:41:2313 mins ago1734500483
AGIX: AGX Token
0.06519082 ETH
214273962024-12-18 5:41:2313 mins ago1734500483
AGIX: AGX Token
0.06519082 ETH
214272432024-12-18 5:10:4744 mins ago1734498647
AGIX: AGX Token
0.08798509 ETH
214272432024-12-18 5:10:4744 mins ago1734498647
AGIX: AGX Token
0.08798509 ETH
214271152024-12-18 4:44:591 hr ago1734497099
AGIX: AGX Token
0.08176429 ETH
214271152024-12-18 4:44:591 hr ago1734497099
AGIX: AGX Token
0.08176429 ETH
214253582024-12-17 22:51:357 hrs ago1734475895
AGIX: AGX Token
0.07520164 ETH
214253582024-12-17 22:51:357 hrs ago1734475895
AGIX: AGX Token
0.07520164 ETH
214245402024-12-17 20:07:119 hrs ago1734466031
AGIX: AGX Token
0.07343774 ETH
214245402024-12-17 20:07:119 hrs ago1734466031
AGIX: AGX Token
0.07343774 ETH
214241472024-12-17 18:48:3511 hrs ago1734461315
AGIX: AGX Token
0.16567913 ETH
214241472024-12-17 18:48:3511 hrs ago1734461315
AGIX: AGX Token
0.16567913 ETH
214232852024-12-17 15:54:5913 hrs ago1734450899
AGIX: AGX Token
0.07855989 ETH
214232852024-12-17 15:54:5913 hrs ago1734450899
AGIX: AGX Token
0.07855989 ETH
214225392024-12-17 13:24:5916 hrs ago1734441899
AGIX: AGX Token
0.06870026 ETH
214225392024-12-17 13:24:5916 hrs ago1734441899
AGIX: AGX Token
0.06870026 ETH
214224072024-12-17 12:58:2316 hrs ago1734440303
AGIX: AGX Token
0.07163745 ETH
214224072024-12-17 12:58:2316 hrs ago1734440303
AGIX: AGX Token
0.07163745 ETH
214221092024-12-17 11:58:3517 hrs ago1734436715
AGIX: AGX Token
0.07576637 ETH
214221092024-12-17 11:58:3517 hrs ago1734436715
AGIX: AGX Token
0.07576637 ETH
214216662024-12-17 10:29:5919 hrs ago1734431399
AGIX: AGX Token
0.09216147 ETH
214216662024-12-17 10:29:5919 hrs ago1734431399
AGIX: AGX Token
0.09216147 ETH
214209322024-12-17 8:02:1121 hrs ago1734422531
AGIX: AGX Token
0.08489791 ETH
214209322024-12-17 8:02:1121 hrs ago1734422531
AGIX: AGX Token
0.08489791 ETH
214202242024-12-17 5:40:3524 hrs ago1734414035
AGIX: AGX Token
0.13381021 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AGX

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

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


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 AGX 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("AGIX", "AGX") {
        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 = 100_000_000 * 1e18;
        maxBuyAmount = totalSupply * 5 / 1000;  // 0.5% of total supply
        maxSellAmount = totalSupply * 5 / 1000;  // 0.5% of total supply
        maxWalletAmount = totalSupply * 5 / 1000;  // 0.5% of total supply
        swapTokensAtAmount = totalSupply * 15 / 100_000;

        // initial fees are set very high to prevent snipers
        // they will be decreased till 4.5% and frozen
        buyFee = 50;
        sellFee = 50;

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

        treasuryAddress = address(newOwner);

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

    mapping (address => bool) public canTransferBeforeTradingIsEnabled;
    event CanTransferBeforeTradingIsEnabledUpdated(address account, bool value);
    function setCanTransferBeforeTradingIsEnabled(address account, bool value) external onlyOwner {
        canTransferBeforeTradingIsEnabled[account] = value;
        emit CanTransferBeforeTradingIsEnabledUpdated(account, value);
    }

    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(canTransferBeforeTradingIsEnabled[from] || canTransferBeforeTradingIsEnabled[to] || _isExcludedMaxTransactionAmount[from] || _isExcludedMaxTransactionAmount[to], "Trading is not active.");
                    require(from == owner() || to == owner() || canTransferBeforeTradingIsEnabled[from] || canTransferBeforeTradingIsEnabled[to]
                        , "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 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 makeManualSwap() 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 enableTrading() 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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"CanTransferBeforeTradingIsEnabledUpdated","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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"canTransferBeforeTradingIsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"makeManualSwap","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":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setCanTransferBeforeTradingIsEnabled","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"}]

60e06040526000600c55600d805462ffffff191660011790553480156200002557600080fd5b50604051806040016040528060048152602001630828e92b60e31b815250604051806040016040528060038152602001620828eb60eb1b81525081600390805190602001906200007792919062000787565b5080516200008d90600490602084019062000787565b5050506000620000a26200042460201b60201c565b600580546001600160a01b0319166001600160a01b0383169081179091556040519192509060009060008051602062003693833981519152908290a35033737a250d5630b4cf539739df2c5dacb4c659f2488d6200010281600162000428565b806001600160a01b031660a0816001600160a01b031660601b81525050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200015957600080fd5b505afa1580156200016e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019491906200082d565b6001600160a01b03166080816001600160a01b031660601b81525050806001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001ea57600080fd5b505afa158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022591906200082d565b606081811b6001600160601b03191660c0526080516040516364e329cb60e11b81523060048201526001600160a01b039093166024840152901c9063c9c6539690604401602060405180830381600087803b1580156200028457600080fd5b505af115801562000299573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bf91906200082d565b600980546001600160a01b0319166001600160a01b03929092169182179055620002eb9060016200048b565b6a52b7d2dcc80cd2e40000006103e86200030782600562000875565b62000313919062000897565b6006556103e86200032682600562000875565b62000332919062000897565b6007556103e86200034582600562000875565b62000351919062000897565b600855620186a06200036582600f62000875565b62000371919062000897565b600a556032600e819055600f556200038b83600162000428565b6200039830600162000428565b620003a761dead600162000428565b600b80546001600160a01b0319166001600160a01b038516179055620003cf836001620004f7565b620003dc306001620004f7565b620003eb61dead6001620004f7565b600b5462000404906001600160a01b03166001620004f7565b620004108382620005a5565b6200041b836200068a565b50505062000912565b3390565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0382166000908152601360205260409020805460ff1916821515179055620004bb828262000428565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03163314620005465760405162461bcd60e51b815260206004820181905260248201526000805160206200367383398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005fd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200053d565b8060026000828254620006119190620008ba565b90915550506001600160a01b0382166000908152602081905260408120805483929062000640908490620008ba565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620006d55760405162461bcd60e51b815260206004820181905260248201526000805160206200367383398151915260448201526064016200053d565b6001600160a01b0381166200073c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200053d565b6005546040516001600160a01b038084169216906000805160206200369383398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b8280546200079590620008d5565b90600052602060002090601f016020900481019282620007b9576000855562000804565b82601f10620007d457805160ff191683800117855562000804565b8280016001018555821562000804579182015b8281111562000804578251825591602001919060010190620007e7565b506200081292915062000816565b5090565b5b8082111562000812576000815560010162000817565b6000602082840312156200084057600080fd5b81516001600160a01b03811681146200085857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200089257620008926200085f565b500290565b600082620008b557634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008d057620008d06200085f565b500190565b600181811c90821680620008ea57607f821691505b602082108114156200090c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c60c05160601c612d056200096e600039600081816107b80152818161145f01526126a70152600081816103b3015281816126ff015261273d01526000818161056001526114870152612d056000f3fe6080604052600436106102e85760003560e01c80637e0e155c11610190578063b62496f5116100dc578063cc2ffe7c11610095578063e2f456051161006f578063e2f4560514610925578063ee40166e1461093b578063f2fde38b14610951578063f5648a4f1461097157600080fd5b8063cc2ffe7c146108a9578063dc3f0d0f146108bf578063dd62ed3e146108df57600080fd5b8063b62496f5146107da578063bbc0c7421461080a578063c024666814610829578063c18bc19514610849578063c5f956af14610869578063cc274b291461088957600080fd5b806395d89b4111610149578063a457c2d711610123578063a457c2d714610750578063a9059cbb14610770578063aa4bde2814610790578063ad5c4648146107a657600080fd5b806395d89b41146107065780639a06b1131461071b5780639a7a23d61461073057600080fd5b80637e0e155c146106585780638366e79a1461068857806388e765ff146106a85780638a8c523c146106be5780638da5cb5b146106d35780638e599acd146106f157600080fd5b80633c7691dc1161024f5780636605bfda1161020857806370a08231116101e257806370a08231146105d8578063715018a61461060e578063751039fc146106235780637571336a1461063857600080fd5b80636605bfda1461058257806366d602ae146105a25780636ddd1713146105b857600080fd5b80633c7691dc146104be578063467abe0a146104de57806347062402146104fe57806349bd5a5e146105145780634a62bb651461053457806359d0f7131461054e57600080fd5b80631d933a4a116102a15780631d933a4a1461040c57806323b872dd1461042c5780632b14ca561461044c5780632be32b6114610462578063313ce56714610482578063395093511461049e57600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630b78f9c01461034f57806310d5de53146103715780631694505e146103a157806318160ddd146103ed57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610986565b6040516103169190612854565b60405180910390f35b34801561032b57600080fd5b5061033f61033a3660046128be565b610a18565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a3660046128ea565b610a2e565b005b34801561037d57600080fd5b5061033f61038c36600461290c565b60126020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002545b604051908152602001610316565b34801561041857600080fd5b5061036f610427366004612930565b610aae565b34801561043857600080fd5b5061033f610447366004612949565b610b01565b34801561045857600080fd5b506103fe600f5481565b34801561046e57600080fd5b5061036f61047d366004612930565b610bab565b34801561048e57600080fd5b5060405160128152602001610316565b3480156104aa57600080fd5b5061033f6104b93660046128be565b610cb8565b3480156104ca57600080fd5b5061036f6104d9366004612998565b610cf4565b3480156104ea57600080fd5b5061036f6104f9366004612930565b610d82565b34801561050a57600080fd5b506103fe600e5481565b34801561052057600080fd5b506009546103d5906001600160a01b031681565b34801561054057600080fd5b50600d5461033f9060ff1681565b34801561055a57600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b34801561058e57600080fd5b5061036f61059d36600461290c565b610dd2565b3480156105ae57600080fd5b506103fe60075481565b3480156105c457600080fd5b50600d5461033f9062010000900460ff1681565b3480156105e457600080fd5b506103fe6105f336600461290c565b6001600160a01b031660009081526020819052604090205490565b34801561061a57600080fd5b5061036f610f13565b34801561062f57600080fd5b5061036f610f87565b34801561064457600080fd5b5061036f610653366004612998565b610fe6565b34801561066457600080fd5b5061033f61067336600461290c565b60146020526000908152604090205460ff1681565b34801561069457600080fd5b5061033f6106a33660046129d1565b6110ae565b3480156106b457600080fd5b506103fe60065481565b3480156106ca57600080fd5b5061036f61127c565b3480156106df57600080fd5b506005546001600160a01b03166103d5565b3480156106fd57600080fd5b5061036f611356565b34801561071257600080fd5b50610309611409565b34801561072757600080fd5b5061036f611418565b34801561073c57600080fd5b5061036f61074b366004612998565b61152f565b34801561075c57600080fd5b5061033f61076b3660046128be565b6115eb565b34801561077c57600080fd5b5061033f61078b3660046128be565b61168d565b34801561079c57600080fd5b506103fe60085481565b3480156107b257600080fd5b506103d57f000000000000000000000000000000000000000000000000000000000000000081565b3480156107e657600080fd5b5061033f6107f536600461290c565b60136020526000908152604090205460ff1681565b34801561081657600080fd5b50600d5461033f90610100900460ff1681565b34801561083557600080fd5b5061036f610844366004612998565b61169a565b34801561085557600080fd5b5061036f610864366004612930565b611723565b34801561087557600080fd5b50600b546103d5906001600160a01b031681565b34801561089557600080fd5b5061036f6108a4366004612930565b61182c565b3480156108b557600080fd5b506103fe60105481565b3480156108cb57600080fd5b5061036f6108da366004612930565b6118b4565b3480156108eb57600080fd5b506103fe6108fa3660046129d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561093157600080fd5b506103fe600a5481565b34801561094757600080fd5b506103fe600c5481565b34801561095d57600080fd5b5061036f61096c36600461290c565b6119bb565b34801561097d57600080fd5b5061036f611aa6565b606060038054610995906129ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109c1906129ff565b8015610a0e5780601f106109e357610100808354040283529160200191610a0e565b820191906000526020600020905b8154815290600101906020018083116109f157829003601f168201915b5050505050905090565b6000610a25338484611b1e565b50600192915050565b6005546001600160a01b03163314610a615760405162461bcd60e51b8152600401610a5890612a3a565b60405180910390fd5b601e821115610a825760405162461bcd60e51b8152600401610a5890612a6f565b601e811115610aa35760405162461bcd60e51b8152600401610a5890612a6f565b600e91909155600f55565b6005546001600160a01b03163314610ad85760405162461bcd60e51b8152600401610a5890612a3a565b600f819055601e811115610afe5760405162461bcd60e51b8152600401610a5890612a6f565b50565b6000610b0e848484611c42565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b935760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a58565b610ba08533858403611b1e565b506001949350505050565b6005546001600160a01b03163314610bd55760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e8610bea60025490565b610bf5906001612abc565b610bff9190612adb565b610c099190612adb565b811015610c6a5760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401610a58565b610c7c81670de0b6b3a7640000612abc565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a25918590610cef908690612afd565b611b1e565b6005546001600160a01b03163314610d1e5760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527f3a64e7abfbac1f553f9d2f8e46fb3529bf4e253c1c6fc6dfdc1ea146116dca9091015b60405180910390a15050565b6005546001600160a01b03163314610dac5760405162461bcd60e51b8152600401610a5890612a3a565b600e819055601e811115610afe5760405162461bcd60e51b8152600401610a5890612a6f565b600b546001600160a01b0316331480610df557506005546001600160a01b031633145b610e675760405162461bcd60e51b815260206004820152603860248201527f4f6e6c7920747265617375727941646472657373206f72206f776e657220636160448201527f6e206368616e67652074726561737572794164647265737300000000000000006064820152608401610a58565b6001600160a01b038116610ec95760405162461bcd60e51b8152602060048201526024808201527f5f54726561737572794164647265737320616464726573732063616e6e6f74206044820152630626520360e41b6064820152608401610a58565b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6005546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610a5890612a3a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610a5890612a3a565b600d805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146110105760405162461bcd60e51b8152600401610a5890612a3a565b80611083576009546001600160a01b03838116911614156110835760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610a58565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60006001600160a01b0383166111065760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a58565b600b546001600160a01b031633146111305760405162461bcd60e51b8152600401610a5890612b15565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b15801561117257600080fd5b505afa158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa9190612b56565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112309190612b6f565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6005546001600160a01b031633146112a65760405162461bcd60e51b8152600401610a5890612a3a565b600d54610100900460ff16156112fe5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420726520656e61626c652074726164696e6700000000000000006044820152606401610a58565b600d80546201010062ffff0019909116179081905560405161010090910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a143600c55565b600b546001600160a01b0316336001600160a01b0316146113c85760405162461bcd60e51b815260206004820152602660248201527f4f6e6c79207472656173757279416464726573732063616e206d616e75616c6c60448201526507920737761760d41b6064820152608401610a58565b306000908152602081905260409020548015610afe576009805460ff60a01b1916600160a01b1790556113f96123d2565b6009805460ff60a01b1916905550565b606060048054610995906129ff565b6005546001600160a01b031633146114425760405162461bcd60e51b8152600401610a5890612a3a565b6040516364e329cb60e11b81523060048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063c9c6539690604401602060405180830381600087803b1580156114cb57600080fd5b505af11580156114df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115039190612b8c565b600980546001600160a01b0319166001600160a01b0392909216918217905561152d906001612491565b565b6005546001600160a01b031633146115595760405162461bcd60e51b8152600401610a5890612a3a565b6009546001600160a01b03838116911614156115dd5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a58565b6115e78282612491565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054600019811461168357828110156116765760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a58565b6116833385858403611b1e565b5060019392505050565b6000610a25338484611c42565b6005546001600160a01b031633146116c45760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461174d5760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e861176260025490565b61176d906003612abc565b6117779190612adb565b6117819190612adb565b8110156117e55760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610a58565b6117f781670de0b6b3a7640000612abc565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610cad565b600b546001600160a01b0316331461189c5760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207472656173757279416464726573732063616e206368616e67652060448201526c1cddd85c151a1c995cda1bdb19609a1b6064820152608401610a58565b6118ae81670de0b6b3a7640000612abc565b600a5550565b6005546001600160a01b031633146118de5760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e86118f360025490565b6118fe906001612abc565b6119089190612adb565b6119129190612adb565b8110156119745760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401610a58565b61198681670de0b6b3a7640000612abc565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610cad565b6005546001600160a01b031633146119e55760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038116611a4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a58565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546000906001600160a01b03163314611ad35760405162461bcd60e51b8152600401610a5890612b15565b60405133904790600081818185875af1925050503d8060008114611b13576040519150601f19603f3d011682016040523d82523d6000602084013e611b18565b606091505b50505050565b6001600160a01b038316611b805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a58565b6001600160a01b038216611be15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a58565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c685760405162461bcd60e51b8152600401610a5890612ba9565b6001600160a01b038216611c8e5760405162461bcd60e51b8152600401610a5890612bee565b60008111611cde5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610a58565b600d5460ff1615612150576005546001600160a01b03848116911614801590611d1557506005546001600160a01b03838116911614155b8015611d2957506001600160a01b03821615155b8015611d4057506001600160a01b03821661dead14155b1561215057600d54610100900460ff16611ed2576001600160a01b03831660009081526014602052604090205460ff1680611d9357506001600160a01b03821660009081526014602052604090205460ff165b80611db657506001600160a01b03831660009081526012602052604090205460ff165b80611dd957506001600160a01b03821660009081526012602052604090205460ff165b611e1e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a58565b6005546001600160a01b0384811691161480611e4757506005546001600160a01b038381169116145b80611e6a57506001600160a01b03831660009081526014602052604090205460ff165b80611e8d57506001600160a01b03821660009081526014602052604090205460ff165b611ed25760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a58565b6001600160a01b03831660009081526013602052604090205460ff168015611f1357506001600160a01b03821660009081526012602052604090205460ff16155b15611fef57600654811115611f7b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610a58565b6008546001600160a01b038316600090815260208190526040902054611fa19083612afd565b1115611fea5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a58565b612150565b6001600160a01b03821660009081526013602052604090205460ff16801561203057506001600160a01b03831660009081526012602052604090205460ff16155b1561209a57600754811115611fea5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610a58565b6001600160a01b03821660009081526012602052604090205460ff161580156120dc57506001600160a01b03831660009081526012602052604090205460ff16155b15612150576008546001600160a01b0383166000908152602081905260409020546121079083612afd565b11156121505760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a58565b30600090815260208190526040902054600a548110801590819061217c5750600d5462010000900460ff165b80156121925750600954600160a01b900460ff16155b80156121b757506001600160a01b03851660009081526013602052604090205460ff16155b80156121dc57506001600160a01b03851660009081526011602052604090205460ff16155b801561220157506001600160a01b03841660009081526011602052604090205460ff16155b1561222f576009805460ff60a01b1916600160a01b1790556122216123d2565b6009805460ff60a01b191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061227157506001600160a01b03851660009081526011602052604090205460ff165b1561227a575060005b80801561228957506000600c54115b80156122975750600c544310155b156123bf576001600160a01b03851660009081526013602052604081205460ff1680156122c657506000600f54115b15612304576064600f54866122db9190612abc565b6122e59190612adb565b905080601060008282546122f99190612afd565b909155506123679050565b6001600160a01b03871660009081526013602052604090205460ff16801561232e57506000600e54115b15612367576064600e54866123439190612abc565b61234d9190612adb565b905080601060008282546123619190612afd565b90915550505b8015612378576123788730836124fb565b6123828186612c31565b94507fff9891726fac64d7faf6508ce9e13ff651decd82208eeef75b4070d78bdfbdf6816040516123b591815260200190565b60405180910390a1505b6123ca8686866124fb565b505050505050565b306000908152602081905260409020546010548115806123f0575080155b156123f9575050565b600a54612407906005612abc565b82111561241f57600a5461241c906005612abc565b91505b600061242a83612650565b6000601055478015611b1857600b546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612483576040519150601f19603f3d011682016040523d82523d6000602084013e612488565b606091505b50505050505050565b6001600160a01b0382166000908152601360205260409020805460ff19168215151790556124bf82826127f8565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166125215760405162461bcd60e51b8152600401610a5890612ba9565b6001600160a01b0382166125475760405162461bcd60e51b8152600401610a5890612bee565b6001600160a01b038316600090815260208190526040902054818110156125bf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a58565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906125f6908490612afd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161264291815260200190565b60405180910390a350505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061268557612685612c48565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106126d9576126d9612c48565b60200260200101906001600160a01b031690816001600160a01b031681525050612724307f000000000000000000000000000000000000000000000000000000000000000084611b1e565b60405163791ac94760e01b815247906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061277b908690600090879030904290600401612c5e565b600060405180830381600087803b15801561279557600080fd5b505af11580156127a9573d6000803e3d6000fd5b505050507f877973055cc76aebb6c1702046758fb56e804bca4a8bf998824b99ed02bbbafd8382476127db9190612c31565b6040805192835260208301919091520160405180910390a1505050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101610d76565b600060208083528351808285015260005b8181101561288157858101830151858201604001528201612865565b81811115612893576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610afe57600080fd5b600080604083850312156128d157600080fd5b82356128dc816128a9565b946020939093013593505050565b600080604083850312156128fd57600080fd5b50508035926020909101359150565b60006020828403121561291e57600080fd5b8135612929816128a9565b9392505050565b60006020828403121561294257600080fd5b5035919050565b60008060006060848603121561295e57600080fd5b8335612969816128a9565b92506020840135612979816128a9565b929592945050506040919091013590565b8015158114610afe57600080fd5b600080604083850312156129ab57600080fd5b82356129b6816128a9565b915060208301356129c68161298a565b809150509250929050565b600080604083850312156129e457600080fd5b82356129ef816128a9565b915060208301356129c6816128a9565b600181811c90821680612a1357607f821691505b60208210811415612a3457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f46656573206d75737420626520333025206f72206c6573730000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ad657612ad6612aa6565b500290565b600082612af857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612b1057612b10612aa6565b500190565b60208082526021908201527f6f6e6c79207472656173757279416464726573732063616e20776974686472616040820152607760f81b606082015260800190565b600060208284031215612b6857600080fd5b5051919050565b600060208284031215612b8157600080fd5b81516129298161298a565b600060208284031215612b9e57600080fd5b8151612929816128a9565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612c4357612c43612aa6565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cae5784516001600160a01b031683529383019391830191600101612c89565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207d1c124bbced90ae733301b261cf2632b1e6ca61fde66ceda6d973978d90b7a164736f6c634300080800334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80637e0e155c11610190578063b62496f5116100dc578063cc2ffe7c11610095578063e2f456051161006f578063e2f4560514610925578063ee40166e1461093b578063f2fde38b14610951578063f5648a4f1461097157600080fd5b8063cc2ffe7c146108a9578063dc3f0d0f146108bf578063dd62ed3e146108df57600080fd5b8063b62496f5146107da578063bbc0c7421461080a578063c024666814610829578063c18bc19514610849578063c5f956af14610869578063cc274b291461088957600080fd5b806395d89b4111610149578063a457c2d711610123578063a457c2d714610750578063a9059cbb14610770578063aa4bde2814610790578063ad5c4648146107a657600080fd5b806395d89b41146107065780639a06b1131461071b5780639a7a23d61461073057600080fd5b80637e0e155c146106585780638366e79a1461068857806388e765ff146106a85780638a8c523c146106be5780638da5cb5b146106d35780638e599acd146106f157600080fd5b80633c7691dc1161024f5780636605bfda1161020857806370a08231116101e257806370a08231146105d8578063715018a61461060e578063751039fc146106235780637571336a1461063857600080fd5b80636605bfda1461058257806366d602ae146105a25780636ddd1713146105b857600080fd5b80633c7691dc146104be578063467abe0a146104de57806347062402146104fe57806349bd5a5e146105145780634a62bb651461053457806359d0f7131461054e57600080fd5b80631d933a4a116102a15780631d933a4a1461040c57806323b872dd1461042c5780632b14ca561461044c5780632be32b6114610462578063313ce56714610482578063395093511461049e57600080fd5b806306fdde03146102f4578063095ea7b31461031f5780630b78f9c01461034f57806310d5de53146103715780631694505e146103a157806318160ddd146103ed57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610986565b6040516103169190612854565b60405180910390f35b34801561032b57600080fd5b5061033f61033a3660046128be565b610a18565b6040519015158152602001610316565b34801561035b57600080fd5b5061036f61036a3660046128ea565b610a2e565b005b34801561037d57600080fd5b5061033f61038c36600461290c565b60126020526000908152604090205460ff1681565b3480156103ad57600080fd5b506103d57f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610316565b3480156103f957600080fd5b506002545b604051908152602001610316565b34801561041857600080fd5b5061036f610427366004612930565b610aae565b34801561043857600080fd5b5061033f610447366004612949565b610b01565b34801561045857600080fd5b506103fe600f5481565b34801561046e57600080fd5b5061036f61047d366004612930565b610bab565b34801561048e57600080fd5b5060405160128152602001610316565b3480156104aa57600080fd5b5061033f6104b93660046128be565b610cb8565b3480156104ca57600080fd5b5061036f6104d9366004612998565b610cf4565b3480156104ea57600080fd5b5061036f6104f9366004612930565b610d82565b34801561050a57600080fd5b506103fe600e5481565b34801561052057600080fd5b506009546103d5906001600160a01b031681565b34801561054057600080fd5b50600d5461033f9060ff1681565b34801561055a57600080fd5b506103d57f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b34801561058e57600080fd5b5061036f61059d36600461290c565b610dd2565b3480156105ae57600080fd5b506103fe60075481565b3480156105c457600080fd5b50600d5461033f9062010000900460ff1681565b3480156105e457600080fd5b506103fe6105f336600461290c565b6001600160a01b031660009081526020819052604090205490565b34801561061a57600080fd5b5061036f610f13565b34801561062f57600080fd5b5061036f610f87565b34801561064457600080fd5b5061036f610653366004612998565b610fe6565b34801561066457600080fd5b5061033f61067336600461290c565b60146020526000908152604090205460ff1681565b34801561069457600080fd5b5061033f6106a33660046129d1565b6110ae565b3480156106b457600080fd5b506103fe60065481565b3480156106ca57600080fd5b5061036f61127c565b3480156106df57600080fd5b506005546001600160a01b03166103d5565b3480156106fd57600080fd5b5061036f611356565b34801561071257600080fd5b50610309611409565b34801561072757600080fd5b5061036f611418565b34801561073c57600080fd5b5061036f61074b366004612998565b61152f565b34801561075c57600080fd5b5061033f61076b3660046128be565b6115eb565b34801561077c57600080fd5b5061033f61078b3660046128be565b61168d565b34801561079c57600080fd5b506103fe60085481565b3480156107b257600080fd5b506103d57f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156107e657600080fd5b5061033f6107f536600461290c565b60136020526000908152604090205460ff1681565b34801561081657600080fd5b50600d5461033f90610100900460ff1681565b34801561083557600080fd5b5061036f610844366004612998565b61169a565b34801561085557600080fd5b5061036f610864366004612930565b611723565b34801561087557600080fd5b50600b546103d5906001600160a01b031681565b34801561089557600080fd5b5061036f6108a4366004612930565b61182c565b3480156108b557600080fd5b506103fe60105481565b3480156108cb57600080fd5b5061036f6108da366004612930565b6118b4565b3480156108eb57600080fd5b506103fe6108fa3660046129d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561093157600080fd5b506103fe600a5481565b34801561094757600080fd5b506103fe600c5481565b34801561095d57600080fd5b5061036f61096c36600461290c565b6119bb565b34801561097d57600080fd5b5061036f611aa6565b606060038054610995906129ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109c1906129ff565b8015610a0e5780601f106109e357610100808354040283529160200191610a0e565b820191906000526020600020905b8154815290600101906020018083116109f157829003601f168201915b5050505050905090565b6000610a25338484611b1e565b50600192915050565b6005546001600160a01b03163314610a615760405162461bcd60e51b8152600401610a5890612a3a565b60405180910390fd5b601e821115610a825760405162461bcd60e51b8152600401610a5890612a6f565b601e811115610aa35760405162461bcd60e51b8152600401610a5890612a6f565b600e91909155600f55565b6005546001600160a01b03163314610ad85760405162461bcd60e51b8152600401610a5890612a3a565b600f819055601e811115610afe5760405162461bcd60e51b8152600401610a5890612a6f565b50565b6000610b0e848484611c42565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b935760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a58565b610ba08533858403611b1e565b506001949350505050565b6005546001600160a01b03163314610bd55760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e8610bea60025490565b610bf5906001612abc565b610bff9190612adb565b610c099190612adb565b811015610c6a5760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401610a58565b610c7c81670de0b6b3a7640000612abc565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a25918590610cef908690612afd565b611b1e565b6005546001600160a01b03163314610d1e5760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527f3a64e7abfbac1f553f9d2f8e46fb3529bf4e253c1c6fc6dfdc1ea146116dca9091015b60405180910390a15050565b6005546001600160a01b03163314610dac5760405162461bcd60e51b8152600401610a5890612a3a565b600e819055601e811115610afe5760405162461bcd60e51b8152600401610a5890612a6f565b600b546001600160a01b0316331480610df557506005546001600160a01b031633145b610e675760405162461bcd60e51b815260206004820152603860248201527f4f6e6c7920747265617375727941646472657373206f72206f776e657220636160448201527f6e206368616e67652074726561737572794164647265737300000000000000006064820152608401610a58565b6001600160a01b038116610ec95760405162461bcd60e51b8152602060048201526024808201527f5f54726561737572794164647265737320616464726573732063616e6e6f74206044820152630626520360e41b6064820152608401610a58565b600b80546001600160a01b0319166001600160a01b0383169081179091556040517f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f90600090a250565b6005546001600160a01b03163314610f3d5760405162461bcd60e51b8152600401610a5890612a3a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610a5890612a3a565b600d805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146110105760405162461bcd60e51b8152600401610a5890612a3a565b80611083576009546001600160a01b03838116911614156110835760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610a58565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60006001600160a01b0383166111065760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a58565b600b546001600160a01b031633146111305760405162461bcd60e51b8152600401610a5890612b15565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b15801561117257600080fd5b505afa158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa9190612b56565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112309190612b6f565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6005546001600160a01b031633146112a65760405162461bcd60e51b8152600401610a5890612a3a565b600d54610100900460ff16156112fe5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420726520656e61626c652074726164696e6700000000000000006044820152606401610a58565b600d80546201010062ffff0019909116179081905560405161010090910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a143600c55565b600b546001600160a01b0316336001600160a01b0316146113c85760405162461bcd60e51b815260206004820152602660248201527f4f6e6c79207472656173757279416464726573732063616e206d616e75616c6c60448201526507920737761760d41b6064820152608401610a58565b306000908152602081905260409020548015610afe576009805460ff60a01b1916600160a01b1790556113f96123d2565b6009805460ff60a01b1916905550565b606060048054610995906129ff565b6005546001600160a01b031633146114425760405162461bcd60e51b8152600401610a5890612a3a565b6040516364e329cb60e11b81523060048201526001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2811660248301527f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f169063c9c6539690604401602060405180830381600087803b1580156114cb57600080fd5b505af11580156114df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115039190612b8c565b600980546001600160a01b0319166001600160a01b0392909216918217905561152d906001612491565b565b6005546001600160a01b031633146115595760405162461bcd60e51b8152600401610a5890612a3a565b6009546001600160a01b03838116911614156115dd5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a58565b6115e78282612491565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054600019811461168357828110156116765760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a58565b6116833385858403611b1e565b5060019392505050565b6000610a25338484611c42565b6005546001600160a01b031633146116c45760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461174d5760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e861176260025490565b61176d906003612abc565b6117779190612adb565b6117819190612adb565b8110156117e55760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610a58565b6117f781670de0b6b3a7640000612abc565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610cad565b600b546001600160a01b0316331461189c5760405162461bcd60e51b815260206004820152602d60248201527f6f6e6c79207472656173757279416464726573732063616e206368616e67652060448201526c1cddd85c151a1c995cda1bdb19609a1b6064820152608401610a58565b6118ae81670de0b6b3a7640000612abc565b600a5550565b6005546001600160a01b031633146118de5760405162461bcd60e51b8152600401610a5890612a3a565b670de0b6b3a76400006103e86118f360025490565b6118fe906001612abc565b6119089190612adb565b6119129190612adb565b8110156119745760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401610a58565b61198681670de0b6b3a7640000612abc565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610cad565b6005546001600160a01b031633146119e55760405162461bcd60e51b8152600401610a5890612a3a565b6001600160a01b038116611a4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a58565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546000906001600160a01b03163314611ad35760405162461bcd60e51b8152600401610a5890612b15565b60405133904790600081818185875af1925050503d8060008114611b13576040519150601f19603f3d011682016040523d82523d6000602084013e611b18565b606091505b50505050565b6001600160a01b038316611b805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a58565b6001600160a01b038216611be15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a58565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c685760405162461bcd60e51b8152600401610a5890612ba9565b6001600160a01b038216611c8e5760405162461bcd60e51b8152600401610a5890612bee565b60008111611cde5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610a58565b600d5460ff1615612150576005546001600160a01b03848116911614801590611d1557506005546001600160a01b03838116911614155b8015611d2957506001600160a01b03821615155b8015611d4057506001600160a01b03821661dead14155b1561215057600d54610100900460ff16611ed2576001600160a01b03831660009081526014602052604090205460ff1680611d9357506001600160a01b03821660009081526014602052604090205460ff165b80611db657506001600160a01b03831660009081526012602052604090205460ff165b80611dd957506001600160a01b03821660009081526012602052604090205460ff165b611e1e5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a58565b6005546001600160a01b0384811691161480611e4757506005546001600160a01b038381169116145b80611e6a57506001600160a01b03831660009081526014602052604090205460ff165b80611e8d57506001600160a01b03821660009081526014602052604090205460ff165b611ed25760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a58565b6001600160a01b03831660009081526013602052604090205460ff168015611f1357506001600160a01b03821660009081526012602052604090205460ff16155b15611fef57600654811115611f7b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610a58565b6008546001600160a01b038316600090815260208190526040902054611fa19083612afd565b1115611fea5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a58565b612150565b6001600160a01b03821660009081526013602052604090205460ff16801561203057506001600160a01b03831660009081526012602052604090205460ff16155b1561209a57600754811115611fea5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610a58565b6001600160a01b03821660009081526012602052604090205460ff161580156120dc57506001600160a01b03831660009081526012602052604090205460ff16155b15612150576008546001600160a01b0383166000908152602081905260409020546121079083612afd565b11156121505760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610a58565b30600090815260208190526040902054600a548110801590819061217c5750600d5462010000900460ff165b80156121925750600954600160a01b900460ff16155b80156121b757506001600160a01b03851660009081526013602052604090205460ff16155b80156121dc57506001600160a01b03851660009081526011602052604090205460ff16155b801561220157506001600160a01b03841660009081526011602052604090205460ff16155b1561222f576009805460ff60a01b1916600160a01b1790556122216123d2565b6009805460ff60a01b191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061227157506001600160a01b03851660009081526011602052604090205460ff165b1561227a575060005b80801561228957506000600c54115b80156122975750600c544310155b156123bf576001600160a01b03851660009081526013602052604081205460ff1680156122c657506000600f54115b15612304576064600f54866122db9190612abc565b6122e59190612adb565b905080601060008282546122f99190612afd565b909155506123679050565b6001600160a01b03871660009081526013602052604090205460ff16801561232e57506000600e54115b15612367576064600e54866123439190612abc565b61234d9190612adb565b905080601060008282546123619190612afd565b90915550505b8015612378576123788730836124fb565b6123828186612c31565b94507fff9891726fac64d7faf6508ce9e13ff651decd82208eeef75b4070d78bdfbdf6816040516123b591815260200190565b60405180910390a1505b6123ca8686866124fb565b505050505050565b306000908152602081905260409020546010548115806123f0575080155b156123f9575050565b600a54612407906005612abc565b82111561241f57600a5461241c906005612abc565b91505b600061242a83612650565b6000601055478015611b1857600b546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612483576040519150601f19603f3d011682016040523d82523d6000602084013e612488565b606091505b50505050505050565b6001600160a01b0382166000908152601360205260409020805460ff19168215151790556124bf82826127f8565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166125215760405162461bcd60e51b8152600401610a5890612ba9565b6001600160a01b0382166125475760405162461bcd60e51b8152600401610a5890612bee565b6001600160a01b038316600090815260208190526040902054818110156125bf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a58565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906125f6908490612afd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161264291815260200190565b60405180910390a350505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061268557612685612c48565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106126d9576126d9612c48565b60200260200101906001600160a01b031690816001600160a01b031681525050612724307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611b1e565b60405163791ac94760e01b815247906001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061277b908690600090879030904290600401612c5e565b600060405180830381600087803b15801561279557600080fd5b505af11580156127a9573d6000803e3d6000fd5b505050507f877973055cc76aebb6c1702046758fb56e804bca4a8bf998824b99ed02bbbafd8382476127db9190612c31565b6040805192835260208301919091520160405180910390a1505050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101610d76565b600060208083528351808285015260005b8181101561288157858101830151858201604001528201612865565b81811115612893576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610afe57600080fd5b600080604083850312156128d157600080fd5b82356128dc816128a9565b946020939093013593505050565b600080604083850312156128fd57600080fd5b50508035926020909101359150565b60006020828403121561291e57600080fd5b8135612929816128a9565b9392505050565b60006020828403121561294257600080fd5b5035919050565b60008060006060848603121561295e57600080fd5b8335612969816128a9565b92506020840135612979816128a9565b929592945050506040919091013590565b8015158114610afe57600080fd5b600080604083850312156129ab57600080fd5b82356129b6816128a9565b915060208301356129c68161298a565b809150509250929050565b600080604083850312156129e457600080fd5b82356129ef816128a9565b915060208301356129c6816128a9565b600181811c90821680612a1357607f821691505b60208210811415612a3457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f46656573206d75737420626520333025206f72206c6573730000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612ad657612ad6612aa6565b500290565b600082612af857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612b1057612b10612aa6565b500190565b60208082526021908201527f6f6e6c79207472656173757279416464726573732063616e20776974686472616040820152607760f81b606082015260800190565b600060208284031215612b6857600080fd5b5051919050565b600060208284031215612b8157600080fd5b81516129298161298a565b600060208284031215612b9e57600080fd5b8151612929816128a9565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612c4357612c43612aa6565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612cae5784516001600160a01b031683529383019391830191600101612c89565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207d1c124bbced90ae733301b261cf2632b1e6ca61fde66ceda6d973978d90b7a164736f6c63430008080033

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.