ETH Price: $2,997.84 (-1.75%)
Gas: 2 Gwei

Contract

0x68603B7Ad14A2920C71C71571bE475e7AEBda0ce
 

Overview

ETH Balance

0.000104064236013972 ETH

Eth Value

$0.31 (@ $2,997.84/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve181410842023-09-15 10:39:47296 days ago1694774387IN
0x68603B7A...7AEBda0ce
0 ETH0.0005898612.67789475
Approve181367212023-09-14 19:56:23296 days ago1694721383IN
0x68603B7A...7AEBda0ce
0 ETH0.0011643925.02626674
Approve181295122023-09-13 19:38:35297 days ago1694633915IN
0x68603B7A...7AEBda0ce
0 ETH0.000704815.14825178
Approve181294632023-09-13 19:28:35297 days ago1694633315IN
0x68603B7A...7AEBda0ce
0 ETH0.0007864716.90355669
Approve181294452023-09-13 19:24:59297 days ago1694633099IN
0x68603B7A...7AEBda0ce
0 ETH0.0007408116.00065405
Approve181294222023-09-13 19:20:23297 days ago1694632823IN
0x68603B7A...7AEBda0ce
0 ETH0.0007909316.99953527
Approve181294062023-09-13 19:17:11297 days ago1694632631IN
0x68603B7A...7AEBda0ce
0 ETH0.0008300317.9417551
Approve181239462023-09-13 0:54:23298 days ago1694566463IN
0x68603B7A...7AEBda0ce
0 ETH0.000400698.6121312
Approve181237652023-09-13 0:17:59298 days ago1694564279IN
0x68603B7A...7AEBda0ce
0 ETH0.000383218.23633432
Approve181237522023-09-13 0:15:23298 days ago1694564123IN
0x68603B7A...7AEBda0ce
0 ETH0.000376778.08760878
Approve181231522023-09-12 22:13:59298 days ago1694556839IN
0x68603B7A...7AEBda0ce
0 ETH0.0004687910.13317273
Approve181231042023-09-12 22:03:47298 days ago1694556227IN
0x68603B7A...7AEBda0ce
0 ETH0.0009070119.46935375
Approve181229582023-09-12 21:34:23298 days ago1694554463IN
0x68603B7A...7AEBda0ce
0 ETH0.0008531418.3129197
Approve181229532023-09-12 21:33:23298 days ago1694554403IN
0x68603B7A...7AEBda0ce
0 ETH0.0007104715.36132204
Transfer181213252023-09-12 16:05:23299 days ago1694534723IN
0x68603B7A...7AEBda0ce
0 ETH0.0016112330.79163411
Transfer181211022023-09-12 15:20:23299 days ago1694532023IN
0x68603B7A...7AEBda0ce
0 ETH0.0013182325.19228348
Approve181210232023-09-12 15:04:23299 days ago1694531063IN
0x68603B7A...7AEBda0ce
0 ETH0.0014447531.0120221
Approve181205992023-09-12 13:38:47299 days ago1694525927IN
0x68603B7A...7AEBda0ce
0 ETH0.0011259424.16863901
Approve181204212023-09-12 13:03:11299 days ago1694523791IN
0x68603B7A...7AEBda0ce
0 ETH0.0007781716.72524584
Approve181202742023-09-12 12:32:59299 days ago1694521979IN
0x68603B7A...7AEBda0ce
0 ETH0.0007570316.25001374
Approve181200792023-09-12 11:53:47299 days ago1694519627IN
0x68603B7A...7AEBda0ce
0 ETH0.0006224913.36540292
Approve181200302023-09-12 11:43:59299 days ago1694519039IN
0x68603B7A...7AEBda0ce
0 ETH0.0005286911.36322669
Approve181200262023-09-12 11:42:59299 days ago1694518979IN
0x68603B7A...7AEBda0ce
0 ETH0.0005572812.04915413
Approve181198962023-09-12 11:16:47299 days ago1694517407IN
0x68603B7A...7AEBda0ce
0 ETH0.0007302215.78411778
Approve181198892023-09-12 11:15:23299 days ago1694517323IN
0x68603B7A...7AEBda0ce
0 ETH0.0006184713.29283907
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
181326662023-09-14 6:15:11297 days ago1694672111
0x68603B7A...7AEBda0ce
0.00266277 ETH
181326662023-09-14 6:15:11297 days ago1694672111
0x68603B7A...7AEBda0ce
0.02130216 ETH
181326662023-09-14 6:15:11297 days ago1694672111
0x68603B7A...7AEBda0ce
0.02396493 ETH
181294252023-09-13 19:20:59297 days ago1694632859
0x68603B7A...7AEBda0ce
0.00352207 ETH
181294252023-09-13 19:20:59297 days ago1694632859
0x68603B7A...7AEBda0ce
0.02817658 ETH
181294252023-09-13 19:20:59297 days ago1694632859
0x68603B7A...7AEBda0ce
0.03169865 ETH
181209152023-09-12 14:42:35299 days ago1694529755
0x68603B7A...7AEBda0ce
0.00377916 ETH
181209152023-09-12 14:42:35299 days ago1694529755
0x68603B7A...7AEBda0ce
0.0302333 ETH
181209152023-09-12 14:42:35299 days ago1694529755
0x68603B7A...7AEBda0ce
0.03401246 ETH
181206112023-09-12 13:41:11299 days ago1694526071
0x68603B7A...7AEBda0ce
0.00537193 ETH
181206112023-09-12 13:41:11299 days ago1694526071
0x68603B7A...7AEBda0ce
0.04297546 ETH
181206112023-09-12 13:41:11299 days ago1694526071
0x68603B7A...7AEBda0ce
0.04834739 ETH
181199142023-09-12 11:20:23299 days ago1694517623
0x68603B7A...7AEBda0ce
0.00611251 ETH
181199142023-09-12 11:20:23299 days ago1694517623
0x68603B7A...7AEBda0ce
0.04890009 ETH
181199142023-09-12 11:20:23299 days ago1694517623
0x68603B7A...7AEBda0ce
0.0550126 ETH
181198202023-09-12 11:01:35299 days ago1694516495
0x68603B7A...7AEBda0ce
0.00000946 ETH
181198202023-09-12 11:01:35299 days ago1694516495
0x68603B7A...7AEBda0ce
0.01030391 ETH
181198202023-09-12 11:01:35299 days ago1694516495
0x68603B7A...7AEBda0ce
0.08243128 ETH
181198202023-09-12 11:01:35299 days ago1694516495
0x68603B7A...7AEBda0ce
0.0927352 ETH
181194932023-09-12 9:55:47299 days ago1694512547
0x68603B7A...7AEBda0ce
0.00008373 ETH
181194932023-09-12 9:55:47299 days ago1694512547
0x68603B7A...7AEBda0ce
0.01716071 ETH
181194932023-09-12 9:55:47299 days ago1694512547
0x68603B7A...7AEBda0ce
0.13728571 ETH
181194932023-09-12 9:55:47299 days ago1694512547
0x68603B7A...7AEBda0ce
0.15444642 ETH
181164372023-09-11 23:38:11299 days ago1694475491
0x68603B7A...7AEBda0ce
0.00000291 ETH
181164372023-09-11 23:38:11299 days ago1694475491
0x68603B7A...7AEBda0ce
0.00601275 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Orange

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 12 : Orange.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

// FK $BANANA
contract Orange is ERC20, Ownable {
    using SafeMath for uint256;

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

    bool private swapping;

    address public teamWallet;

    uint256 public swapTokensAtAmount;

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

    bool public blacklistRenounced = false;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => bool) blacklisted;

    uint256 constant FEE_BASE = 1000; //

    uint256 public buyTotalFees; // buy fee
    uint256 public sellTotalFees; // sell fee

    uint256 public liquidityFee;
    uint256 public teamFee;

    uint256 public tokensForLiquidity;
    uint256 public tokensForTeam;

    /******************/

    // exclude from fees
    mapping(address => bool) private _isExcludedFromFees;

    // 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 ExcludeFromFees(address indexed account, bool isExcluded);

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

    event teamWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

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

    constructor() ERC20("Orange", "$ORANGE") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 totalSupply = 10_000_000 * 1e18;
        swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05%: 5000

        // Fee distribute
        liquidityFee = 200;
        teamFee = FEE_BASE - liquidityFee;

        // 4% fee for buy/sell
        buyTotalFees = 40;
        sellTotalFees = 40;

        teamWallet = msg.sender;

        // exclude from paying fees
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function startNow() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(
        uint256 newAmount
    ) external onlyOwner returns (bool) {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateFees(
        uint256 buyTotalFees_,
        uint256 sellTotalFees_
    ) external onlyOwner {
        require(
            buyTotalFees_ <= 50 && sellTotalFees_ <= 50,
            "Buy/sell fees must be <= 50."
        );
        buyTotalFees = buyTotalFees_;
        sellTotalFees = sellTotalFees_;
    }

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

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateTeamWallet(address newWallet) external onlyOwner {
        emit teamWalletUpdated(newWallet, teamWallet);
        teamWallet = newWallet;
    }

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

    function isBlacklisted(address account) public view returns (bool) {
        return blacklisted[account];
    }

    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(!blacklisted[from], "Sender blacklisted");
        require(!blacklisted[to], "Receiver blacklisted");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }
            }
        }

        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 = !swapping;

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(FEE_BASE);
                tokensForLiquidity += (fees * liquidityFee) / FEE_BASE;
                tokensForTeam += (fees * teamFee) / FEE_BASE;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(FEE_BASE);
                tokensForLiquidity += (fees * liquidityFee) / FEE_BASE;
                tokensForTeam += (fees * teamFee) / FEE_BASE;
            }

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

            amount -= 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] = uniswapV2Router.WETH();

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

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

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

    function _addLiquidity() external onlyOwner {
        addLiquidity(balanceOf(address(this)), address(this).balance);
    }

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

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

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        uint256 ethForTeam = ethBalance.mul(tokensForTeam).div(
            totalTokensToSwap - (tokensForLiquidity / 2)
        );

        uint256 ethForLiquidity = ethBalance - ethForTeam;

        tokensForLiquidity = 0;
        tokensForTeam = 0;

        (success, ) = address(teamWallet).call{value: ethForTeam}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }
    }

    function withdrawStuckUnibot() external onlyOwner {
        uint256 balance = IERC20(address(this)).balanceOf(address(this));
        IERC20(address(this)).transfer(msg.sender, balance);
        payable(msg.sender).transfer(address(this).balance);
    }

    function withdrawStuckToken(
        address _token,
        address _to
    ) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    function withdrawStuckEth(address toAddr) external onlyOwner {
        (bool success, ) = toAddr.call{value: address(this).balance}("");
        require(success);
    }

    // @dev team renounce blacklist commands
    function renounceBlacklist() public onlyOwner {
        blacklistRenounced = true;
    }

    function blacklist(address _addr) public onlyOwner {
        require(!blacklistRenounced, "Team has revoked blacklist rights");
        require(
            _addr != address(uniswapV2Pair) &&
                _addr != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D),
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[_addr] = true;
    }

    // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road
    function unblacklist(address _addr) public onlyOwner {
        blacklisted[_addr] = false;
    }
}

File 2 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

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

File 3 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

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

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 4 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
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;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 8 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 9 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 10 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 12 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[],"name":"_addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startNow","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":"teamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyTotalFees_","type":"uint256"},{"internalType":"uint256","name":"sellTotalFees_","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckUnibot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526008805463ffffffff191660011790553480156200002157600080fd5b50604051806040016040528060068152602001654f72616e676560d01b81525060405180604001604052806007815260200166244f52414e474560c81b8152508160039081620000729190620005ad565b506004620000818282620005ad565b5050506200009e62000098620002cc60201b60201c565b620002d0565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa158015620000f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011b919062000679565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000169573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018f919062000679565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000203919062000679565b6001600160a01b031660a08190526200021e90600162000322565b6a084595161401484a0000006127106200023a826005620006c1565b620002469190620006e1565b60075560c8600c8190556200025e906103e862000704565b600d556028600a819055600b55600680546001600160a01b031916331790556200029c620002946005546001600160a01b031690565b600162000376565b620002a930600162000376565b620002b861dead600162000376565b620002c43382620003df565b505062000730565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b62000380620004a6565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200043b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200044f91906200071a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000432565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200053457607f821691505b6020821081036200055557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200050457600081815260208120601f850160051c81016020861015620005845750805b601f850160051c820191505b81811015620005a55782815560010162000590565b505050505050565b81516001600160401b03811115620005c957620005c962000509565b620005e181620005da84546200051f565b846200055b565b602080601f831160018114620006195760008415620006005750858301515b600019600386901b1c1916600185901b178555620005a5565b600085815260208120601f198616915b828110156200064a5788860151825594840194600190910190840162000629565b5085821015620006695787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200068c57600080fd5b81516001600160a01b0381168114620006a457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006db57620006db620006ab565b92915050565b600082620006ff57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115620006db57620006db620006ab565b80820180821115620006db57620006db620006ab565b60805160a051612efe62000787600039600081816104d201528181610efe01526115da01526000818161039c015281816121f001528181612217015281816128f8015281816129d80152612a3a0152612efe6000f3fe60806040526004361061030c5760003560e01c8063751039fc1161019a578063bbc0c742116100e1578063dd62ed3e1161008a578063f9f92be411610064578063f9f92be414610908578063fde83a3414610928578063fe575a871461093e57600080fd5b8063dd62ed3e1461087f578063e2f45605146108d2578063f2fde38b146108e857600080fd5b8063d257b34f116100bb578063d257b34f14610833578063d7c94efd14610853578063d85ba0631461086957600080fd5b8063bbc0c742146107d4578063bc205ad3146107f3578063c02466681461081357600080fd5b806395d89b4111610143578063a457c2d71161011d578063a457c2d714610764578063a9059cbb14610784578063b62496f5146107a457600080fd5b806395d89b411461071957806398118cb41461072e5780639a7a23d61461074457600080fd5b80637cb332bb116101745780637cb332bb146106ae5780638da5cb5b146106ce578063924de9b7146106f957600080fd5b8063751039fc1461065957806375e3661e1461066e5780637ca8448a1461068e57600080fd5b80633dc599ff1161025e5780635f189361116102075780636ddd1713116101e15780636ddd1713146105e157806370a0823114610601578063715018a61461064457600080fd5b80635f189361146105965780636a486a8e146105ab5780636db79437146105c157600080fd5b80634fbee193116102385780634fbee1931461050e57806359927044146105545780635ea92ddd1461058157600080fd5b80633dc599ff1461049f57806349bd5a5e146104c05780634a62bb65146104f457600080fd5b80631a8145bb116102c0578063313ce5671161029a578063313ce5671461044e578063395093511461046a578063395d33841461048a57600080fd5b80631a8145bb1461040257806323b872dd1461041857806327c8f8351461043857600080fd5b80630e3db9f2116102f15780630e3db9f2146103735780631694505e1461038a57806318160ddd146103e357600080fd5b806306fdde0314610318578063095ea7b31461034357600080fd5b3661031357005b600080fd5b34801561032457600080fd5b5061032d610984565b60405161033a9190612aae565b60405180910390f35b34801561034f57600080fd5b5061036361035e366004612b3c565b610a16565b604051901515815260200161033a565b34801561037f57600080fd5b50610388610a30565b005b34801561039657600080fd5b506103be7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161033a565b3480156103ef57600080fd5b506002545b60405190815260200161033a565b34801561040e57600080fd5b506103f4600e5481565b34801561042457600080fd5b50610363610433366004612b68565b610a67565b34801561044457600080fd5b506103be61dead81565b34801561045a57600080fd5b506040516012815260200161033a565b34801561047657600080fd5b50610363610485366004612b3c565b610a8b565b34801561049657600080fd5b50610388610ad7565b3480156104ab57600080fd5b50600854610363906301000000900460ff1681565b3480156104cc57600080fd5b506103be7f000000000000000000000000000000000000000000000000000000000000000081565b34801561050057600080fd5b506008546103639060ff1681565b34801561051a57600080fd5b50610363610529366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526010602052604090205460ff1690565b34801561056057600080fd5b506006546103be9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561058d57600080fd5b50610388610afb565b3480156105a257600080fd5b50610388610c33565b3480156105b757600080fd5b506103f4600b5481565b3480156105cd57600080fd5b506103886105dc366004612bc6565b610c6b565b3480156105ed57600080fd5b506008546103639062010000900460ff1681565b34801561060d57600080fd5b506103f461061c366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561065057600080fd5b50610388610cfb565b34801561066557600080fd5b50610363610d0d565b34801561067a57600080fd5b50610388610689366004612ba9565b610d45565b34801561069a57600080fd5b506103886106a9366004612ba9565b610d99565b3480156106ba57600080fd5b506103886106c9366004612ba9565b610e0e565b3480156106da57600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103be565b34801561070557600080fd5b50610388610714366004612bf6565b610ea5565b34801561072557600080fd5b5061032d610ee5565b34801561073a57600080fd5b506103f4600c5481565b34801561075057600080fd5b5061038861075f366004612c13565b610ef4565b34801561077057600080fd5b5061036361077f366004612b3c565b610fe1565b34801561079057600080fd5b5061036361079f366004612b3c565b6110b2565b3480156107b057600080fd5b506103636107bf366004612ba9565b60116020526000908152604090205460ff1681565b3480156107e057600080fd5b5060085461036390610100900460ff1681565b3480156107ff57600080fd5b5061038861080e366004612c4c565b6110c0565b34801561081f57600080fd5b5061038861082e366004612c13565b611279565b34801561083f57600080fd5b5061036361084e366004612c7a565b61130b565b34801561085f57600080fd5b506103f4600d5481565b34801561087557600080fd5b506103f4600a5481565b34801561088b57600080fd5b506103f461089a366004612c4c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3480156108de57600080fd5b506103f460075481565b3480156108f457600080fd5b50610388610903366004612ba9565b61147f565b34801561091457600080fd5b50610388610923366004612ba9565b611536565b34801561093457600080fd5b506103f4600f5481565b34801561094a57600080fd5b50610363610959366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205460ff1690565b60606003805461099390612c93565b80601f01602080910402602001604051908101604052809291908181526020018280546109bf90612c93565b8015610a0c5780601f106109e157610100808354040283529160200191610a0c565b820191906000526020600020905b8154815290600101906020018083116109ef57829003601f168201915b5050505050905090565b600033610a24818585611739565b60019150505b92915050565b610a386118ec565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff1662010100179055565b600033610a7585828561196d565b610a80858585611a3e565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610a249082908690610ad2908790612d15565b611739565b610adf6118ec565b30600090815260208190526040902054610af990476121ea565b565b610b036118ec565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482018190526000916370a0823190602401602060405180830381865afa158015610b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7e9190612d28565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c029190612d41565b5060405133904780156108fc02916000818181858888f19350505050158015610c2f573d6000803e3d6000fd5b5050565b610c3b6118ec565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff166301000000179055565b610c736118ec565b60328211158015610c85575060328111155b610cf0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4275792f73656c6c2066656573206d757374206265203c3d2035302e0000000060448201526064015b60405180910390fd5b600a91909155600b55565b610d036118ec565b610af9600061232f565b6000610d176118ec565b50600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600190565b610d4d6118ec565b73ffffffffffffffffffffffffffffffffffffffff16600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b610da16118ec565b60008173ffffffffffffffffffffffffffffffffffffffff164760405160006040518083038185875af1925050503d8060008114610dfb576040519150601f19603f3d011682016040523d82523d6000602084013e610e00565b606091505b5050905080610c2f57600080fd5b610e166118ec565b60065460405173ffffffffffffffffffffffffffffffffffffffff918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610ead6118ec565b6008805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b60606004805461099390612c93565b610efc6118ec565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610ce7565b610c2f82826123a6565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610ce7565b610a808286868403611739565b600033610a24818585611a3e565b6110c86118ec565b73ffffffffffffffffffffffffffffffffffffffff8216611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610ce7565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612d28565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561124f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112739190612d41565b50505050565b6112816118ec565b73ffffffffffffffffffffffffffffffffffffffff821660008181526010602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006113156118ec565b620186a061132260025490565b61132d906001612d5e565b6113379190612d75565b8210156113c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610ce7565b6103e86113d260025490565b6113dd906005612d5e565b6113e79190612d75565b821115611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e352520746f74616c20737570706c792e0000000000000000000000006064820152608401610ce7565b50600755600190565b6114876118ec565b73ffffffffffffffffffffffffffffffffffffffff811661152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ce7565b6115338161232f565b50565b61153e6118ec565b6008546301000000900460ff16156115d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c69737420726967687460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561165e575073ffffffffffffffffffffffffffffffffffffffff8116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6116ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201527f6572206f7220763220706f6f6c2e0000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff16600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff83166117db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821661187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610af9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ce7565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112735781811015611a31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ce7565b6112738484848403611739565b73ffffffffffffffffffffffffffffffffffffffff8316611ae1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff8216611b84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff1615611c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f53656e64657220626c61636b6c697374656400000000000000000000000000006044820152606401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff1615611ca4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f526563656976657220626c61636b6c69737465640000000000000000000000006044820152606401610ce7565b80600003611cbd57611cb883836000612425565b505050565b60085460ff1615611e4d5760055473ffffffffffffffffffffffffffffffffffffffff848116911614801590611d0e575060055473ffffffffffffffffffffffffffffffffffffffff838116911614155b8015611d2f575073ffffffffffffffffffffffffffffffffffffffff821615155b8015611d53575073ffffffffffffffffffffffffffffffffffffffff821661dead14155b8015611d7a575060055474010000000000000000000000000000000000000000900460ff16155b15611e4d57600854610100900460ff16611e4d5773ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205460ff1680611de7575073ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604090205460ff165b611e4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610ce7565b3060009081526020819052604090205460075481108015908190611e79575060085462010000900460ff165b8015611ea0575060055474010000000000000000000000000000000000000000900460ff16155b8015611ed2575073ffffffffffffffffffffffffffffffffffffffff851660009081526011602052604090205460ff16155b8015611f04575073ffffffffffffffffffffffffffffffffffffffff851660009081526010602052604090205460ff16155b8015611f36575073ffffffffffffffffffffffffffffffffffffffff841660009081526010602052604090205460ff16155b15611fab57600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055611f82612694565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60055473ffffffffffffffffffffffffffffffffffffffff861660009081526010602052604090205460ff74010000000000000000000000000000000000000000909204821615911680612024575073ffffffffffffffffffffffffffffffffffffffff851660009081526010602052604090205460ff165b1561202d575060005b600081156121d65773ffffffffffffffffffffffffffffffffffffffff861660009081526011602052604090205460ff16801561206c57506000600b54115b156120fc576120926103e861208c600b548861285c90919063ffffffff16565b9061286f565b90506103e8600c54826120a59190612d5e565b6120af9190612d75565b600e60008282546120c09190612d15565b9091555050600d546103e8906120d69083612d5e565b6120e09190612d75565b600f60008282546120f19190612d15565b909155506121b89050565b73ffffffffffffffffffffffffffffffffffffffff871660009081526011602052604090205460ff16801561213357506000600a54115b156121b8576121536103e861208c600a548861285c90919063ffffffff16565b90506103e8600c54826121669190612d5e565b6121709190612d75565b600e60008282546121819190612d15565b9091555050600d546103e8906121979083612d5e565b6121a19190612d75565b600f60008282546121b29190612d15565b90915550505b80156121c9576121c9873083612425565b6121d38186612db0565b94505b6121e1878787612425565b50505050505050565b612215307f000000000000000000000000000000000000000000000000000000000000000084611739565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061227660055473ffffffffffffffffffffffffffffffffffffffff1690565b60405160e088901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612303573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906123289190612dc3565b5050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821660008181526011602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b73ffffffffffffffffffffffffffffffffffffffff83166124c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821661256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015612621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611273565b3060009081526020819052604081205490506000600f54600e546126b89190612d15565b905060008215806126c7575081155b156126d157505050565b6007546126df906014612d5e565b8311156126f7576007546126f4906014612d5e565b92505b6000600283600e548661270a9190612d5e565b6127149190612d75565b61271e9190612d75565b9050600061272c858361287b565b90504761273882612887565b6000612744478361287b565b905060006127726002600e5461275a9190612d75565b6127649089612db0565b600f5461208c90859061285c565b905060006127808284612db0565b6000600e819055600f81905560065460405192935073ffffffffffffffffffffffffffffffffffffffff1691849181818185875af1925050503d80600081146127e5576040519150601f19603f3d011682016040523d82523d6000602084013e6127ea565b606091505b509097505085158015906127fe5750600081115b156128515761280d86826121ea565b600e54604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b60006128688284612d5e565b9392505050565b60006128688284612d75565b60006128688284612db0565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128bc576128bc612df1565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129859190612e20565b8160018151811061299857612998612df1565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506129fd307f000000000000000000000000000000000000000000000000000000000000000084611739565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612a78908590600090869030904290600401612e3d565b600060405180830381600087803b158015612a9257600080fd5b505af1158015612aa6573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015612adb57858101830151858201604001528201612abf565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153357600080fd5b60008060408385031215612b4f57600080fd5b8235612b5a81612b1a565b946020939093013593505050565b600080600060608486031215612b7d57600080fd5b8335612b8881612b1a565b92506020840135612b9881612b1a565b929592945050506040919091013590565b600060208284031215612bbb57600080fd5b813561286881612b1a565b60008060408385031215612bd957600080fd5b50508035926020909101359150565b801515811461153357600080fd5b600060208284031215612c0857600080fd5b813561286881612be8565b60008060408385031215612c2657600080fd5b8235612c3181612b1a565b91506020830135612c4181612be8565b809150509250929050565b60008060408385031215612c5f57600080fd5b8235612c6a81612b1a565b91506020830135612c4181612b1a565b600060208284031215612c8c57600080fd5b5035919050565b600181811c90821680612ca757607f821691505b602082108103612ce0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610a2a57610a2a612ce6565b600060208284031215612d3a57600080fd5b5051919050565b600060208284031215612d5357600080fd5b815161286881612be8565b8082028115828204841417610a2a57610a2a612ce6565b600082612dab577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610a2a57610a2a612ce6565b600080600060608486031215612dd857600080fd5b8351925060208401519150604084015190509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215612e3257600080fd5b815161286881612b1a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612e9a57845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101612e68565b505073ffffffffffffffffffffffffffffffffffffffff96909616606085015250505060800152939250505056fea264697066735822122095605f5acb5367e7343f4fb9305057e46ed158eadfa2caca584e39aec83fdb6e64736f6c63430008120033

Deployed Bytecode

0x60806040526004361061030c5760003560e01c8063751039fc1161019a578063bbc0c742116100e1578063dd62ed3e1161008a578063f9f92be411610064578063f9f92be414610908578063fde83a3414610928578063fe575a871461093e57600080fd5b8063dd62ed3e1461087f578063e2f45605146108d2578063f2fde38b146108e857600080fd5b8063d257b34f116100bb578063d257b34f14610833578063d7c94efd14610853578063d85ba0631461086957600080fd5b8063bbc0c742146107d4578063bc205ad3146107f3578063c02466681461081357600080fd5b806395d89b4111610143578063a457c2d71161011d578063a457c2d714610764578063a9059cbb14610784578063b62496f5146107a457600080fd5b806395d89b411461071957806398118cb41461072e5780639a7a23d61461074457600080fd5b80637cb332bb116101745780637cb332bb146106ae5780638da5cb5b146106ce578063924de9b7146106f957600080fd5b8063751039fc1461065957806375e3661e1461066e5780637ca8448a1461068e57600080fd5b80633dc599ff1161025e5780635f189361116102075780636ddd1713116101e15780636ddd1713146105e157806370a0823114610601578063715018a61461064457600080fd5b80635f189361146105965780636a486a8e146105ab5780636db79437146105c157600080fd5b80634fbee193116102385780634fbee1931461050e57806359927044146105545780635ea92ddd1461058157600080fd5b80633dc599ff1461049f57806349bd5a5e146104c05780634a62bb65146104f457600080fd5b80631a8145bb116102c0578063313ce5671161029a578063313ce5671461044e578063395093511461046a578063395d33841461048a57600080fd5b80631a8145bb1461040257806323b872dd1461041857806327c8f8351461043857600080fd5b80630e3db9f2116102f15780630e3db9f2146103735780631694505e1461038a57806318160ddd146103e357600080fd5b806306fdde0314610318578063095ea7b31461034357600080fd5b3661031357005b600080fd5b34801561032457600080fd5b5061032d610984565b60405161033a9190612aae565b60405180910390f35b34801561034f57600080fd5b5061036361035e366004612b3c565b610a16565b604051901515815260200161033a565b34801561037f57600080fd5b50610388610a30565b005b34801561039657600080fd5b506103be7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161033a565b3480156103ef57600080fd5b506002545b60405190815260200161033a565b34801561040e57600080fd5b506103f4600e5481565b34801561042457600080fd5b50610363610433366004612b68565b610a67565b34801561044457600080fd5b506103be61dead81565b34801561045a57600080fd5b506040516012815260200161033a565b34801561047657600080fd5b50610363610485366004612b3c565b610a8b565b34801561049657600080fd5b50610388610ad7565b3480156104ab57600080fd5b50600854610363906301000000900460ff1681565b3480156104cc57600080fd5b506103be7f000000000000000000000000b86735c44a25d8619f097576cfa18ae81dd7d96381565b34801561050057600080fd5b506008546103639060ff1681565b34801561051a57600080fd5b50610363610529366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526010602052604090205460ff1690565b34801561056057600080fd5b506006546103be9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561058d57600080fd5b50610388610afb565b3480156105a257600080fd5b50610388610c33565b3480156105b757600080fd5b506103f4600b5481565b3480156105cd57600080fd5b506103886105dc366004612bc6565b610c6b565b3480156105ed57600080fd5b506008546103639062010000900460ff1681565b34801561060d57600080fd5b506103f461061c366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561065057600080fd5b50610388610cfb565b34801561066557600080fd5b50610363610d0d565b34801561067a57600080fd5b50610388610689366004612ba9565b610d45565b34801561069a57600080fd5b506103886106a9366004612ba9565b610d99565b3480156106ba57600080fd5b506103886106c9366004612ba9565b610e0e565b3480156106da57600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103be565b34801561070557600080fd5b50610388610714366004612bf6565b610ea5565b34801561072557600080fd5b5061032d610ee5565b34801561073a57600080fd5b506103f4600c5481565b34801561075057600080fd5b5061038861075f366004612c13565b610ef4565b34801561077057600080fd5b5061036361077f366004612b3c565b610fe1565b34801561079057600080fd5b5061036361079f366004612b3c565b6110b2565b3480156107b057600080fd5b506103636107bf366004612ba9565b60116020526000908152604090205460ff1681565b3480156107e057600080fd5b5060085461036390610100900460ff1681565b3480156107ff57600080fd5b5061038861080e366004612c4c565b6110c0565b34801561081f57600080fd5b5061038861082e366004612c13565b611279565b34801561083f57600080fd5b5061036361084e366004612c7a565b61130b565b34801561085f57600080fd5b506103f4600d5481565b34801561087557600080fd5b506103f4600a5481565b34801561088b57600080fd5b506103f461089a366004612c4c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b3480156108de57600080fd5b506103f460075481565b3480156108f457600080fd5b50610388610903366004612ba9565b61147f565b34801561091457600080fd5b50610388610923366004612ba9565b611536565b34801561093457600080fd5b506103f4600f5481565b34801561094a57600080fd5b50610363610959366004612ba9565b73ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205460ff1690565b60606003805461099390612c93565b80601f01602080910402602001604051908101604052809291908181526020018280546109bf90612c93565b8015610a0c5780601f106109e157610100808354040283529160200191610a0c565b820191906000526020600020905b8154815290600101906020018083116109ef57829003601f168201915b5050505050905090565b600033610a24818585611739565b60019150505b92915050565b610a386118ec565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff1662010100179055565b600033610a7585828561196d565b610a80858585611a3e565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610a249082908690610ad2908790612d15565b611739565b610adf6118ec565b30600090815260208190526040902054610af990476121ea565b565b610b036118ec565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482018190526000916370a0823190602401602060405180830381865afa158015610b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7e9190612d28565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c029190612d41565b5060405133904780156108fc02916000818181858888f19350505050158015610c2f573d6000803e3d6000fd5b5050565b610c3b6118ec565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff166301000000179055565b610c736118ec565b60328211158015610c85575060328111155b610cf0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4275792f73656c6c2066656573206d757374206265203c3d2035302e0000000060448201526064015b60405180910390fd5b600a91909155600b55565b610d036118ec565b610af9600061232f565b6000610d176118ec565b50600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600190565b610d4d6118ec565b73ffffffffffffffffffffffffffffffffffffffff16600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b610da16118ec565b60008173ffffffffffffffffffffffffffffffffffffffff164760405160006040518083038185875af1925050503d8060008114610dfb576040519150601f19603f3d011682016040523d82523d6000602084013e610e00565b606091505b5050905080610c2f57600080fd5b610e166118ec565b60065460405173ffffffffffffffffffffffffffffffffffffffff918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610ead6118ec565b6008805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b60606004805461099390612c93565b610efc6118ec565b7f000000000000000000000000b86735c44a25d8619f097576cfa18ae81dd7d96373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610ce7565b610c2f82826123a6565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610ce7565b610a808286868403611739565b600033610a24818585611a3e565b6110c86118ec565b73ffffffffffffffffffffffffffffffffffffffff8216611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610ce7565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d69190612d28565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561124f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112739190612d41565b50505050565b6112816118ec565b73ffffffffffffffffffffffffffffffffffffffff821660008181526010602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006113156118ec565b620186a061132260025490565b61132d906001612d5e565b6113379190612d75565b8210156113c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610ce7565b6103e86113d260025490565b6113dd906005612d5e565b6113e79190612d75565b821115611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e352520746f74616c20737570706c792e0000000000000000000000006064820152608401610ce7565b50600755600190565b6114876118ec565b73ffffffffffffffffffffffffffffffffffffffff811661152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ce7565b6115338161232f565b50565b61153e6118ec565b6008546301000000900460ff16156115d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c69737420726967687460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b7f000000000000000000000000b86735c44a25d8619f097576cfa18ae81dd7d96373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561165e575073ffffffffffffffffffffffffffffffffffffffff8116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6116ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201527f6572206f7220763220706f6f6c2e0000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff16600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff83166117db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821661187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610af9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ce7565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112735781811015611a31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ce7565b6112738484848403611739565b73ffffffffffffffffffffffffffffffffffffffff8316611ae1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff8216611b84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff1615611c14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f53656e64657220626c61636b6c697374656400000000000000000000000000006044820152606401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff1615611ca4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f526563656976657220626c61636b6c69737465640000000000000000000000006044820152606401610ce7565b80600003611cbd57611cb883836000612425565b505050565b60085460ff1615611e4d5760055473ffffffffffffffffffffffffffffffffffffffff848116911614801590611d0e575060055473ffffffffffffffffffffffffffffffffffffffff838116911614155b8015611d2f575073ffffffffffffffffffffffffffffffffffffffff821615155b8015611d53575073ffffffffffffffffffffffffffffffffffffffff821661dead14155b8015611d7a575060055474010000000000000000000000000000000000000000900460ff16155b15611e4d57600854610100900460ff16611e4d5773ffffffffffffffffffffffffffffffffffffffff831660009081526010602052604090205460ff1680611de7575073ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604090205460ff165b611e4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610ce7565b3060009081526020819052604090205460075481108015908190611e79575060085462010000900460ff165b8015611ea0575060055474010000000000000000000000000000000000000000900460ff16155b8015611ed2575073ffffffffffffffffffffffffffffffffffffffff851660009081526011602052604090205460ff16155b8015611f04575073ffffffffffffffffffffffffffffffffffffffff851660009081526010602052604090205460ff16155b8015611f36575073ffffffffffffffffffffffffffffffffffffffff841660009081526010602052604090205460ff16155b15611fab57600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055611f82612694565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60055473ffffffffffffffffffffffffffffffffffffffff861660009081526010602052604090205460ff74010000000000000000000000000000000000000000909204821615911680612024575073ffffffffffffffffffffffffffffffffffffffff851660009081526010602052604090205460ff165b1561202d575060005b600081156121d65773ffffffffffffffffffffffffffffffffffffffff861660009081526011602052604090205460ff16801561206c57506000600b54115b156120fc576120926103e861208c600b548861285c90919063ffffffff16565b9061286f565b90506103e8600c54826120a59190612d5e565b6120af9190612d75565b600e60008282546120c09190612d15565b9091555050600d546103e8906120d69083612d5e565b6120e09190612d75565b600f60008282546120f19190612d15565b909155506121b89050565b73ffffffffffffffffffffffffffffffffffffffff871660009081526011602052604090205460ff16801561213357506000600a54115b156121b8576121536103e861208c600a548861285c90919063ffffffff16565b90506103e8600c54826121669190612d5e565b6121709190612d75565b600e60008282546121819190612d15565b9091555050600d546103e8906121979083612d5e565b6121a19190612d75565b600f60008282546121b29190612d15565b90915550505b80156121c9576121c9873083612425565b6121d38186612db0565b94505b6121e1878787612425565b50505050505050565b612215307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611739565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061227660055473ffffffffffffffffffffffffffffffffffffffff1690565b60405160e088901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612303573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906123289190612dc3565b5050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821660008181526011602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b73ffffffffffffffffffffffffffffffffffffffff83166124c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff821661256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015612621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610ce7565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611273565b3060009081526020819052604081205490506000600f54600e546126b89190612d15565b905060008215806126c7575081155b156126d157505050565b6007546126df906014612d5e565b8311156126f7576007546126f4906014612d5e565b92505b6000600283600e548661270a9190612d5e565b6127149190612d75565b61271e9190612d75565b9050600061272c858361287b565b90504761273882612887565b6000612744478361287b565b905060006127726002600e5461275a9190612d75565b6127649089612db0565b600f5461208c90859061285c565b905060006127808284612db0565b6000600e819055600f81905560065460405192935073ffffffffffffffffffffffffffffffffffffffff1691849181818185875af1925050503d80600081146127e5576040519150601f19603f3d011682016040523d82523d6000602084013e6127ea565b606091505b509097505085158015906127fe5750600081115b156128515761280d86826121ea565b600e54604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b60006128688284612d5e565b9392505050565b60006128688284612d75565b60006128688284612db0565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128bc576128bc612df1565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129859190612e20565b8160018151811061299857612998612df1565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506129fd307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611739565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612a78908590600090869030904290600401612e3d565b600060405180830381600087803b158015612a9257600080fd5b505af1158015612aa6573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015612adb57858101830151858201604001528201612abf565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153357600080fd5b60008060408385031215612b4f57600080fd5b8235612b5a81612b1a565b946020939093013593505050565b600080600060608486031215612b7d57600080fd5b8335612b8881612b1a565b92506020840135612b9881612b1a565b929592945050506040919091013590565b600060208284031215612bbb57600080fd5b813561286881612b1a565b60008060408385031215612bd957600080fd5b50508035926020909101359150565b801515811461153357600080fd5b600060208284031215612c0857600080fd5b813561286881612be8565b60008060408385031215612c2657600080fd5b8235612c3181612b1a565b91506020830135612c4181612be8565b809150509250929050565b60008060408385031215612c5f57600080fd5b8235612c6a81612b1a565b91506020830135612c4181612b1a565b600060208284031215612c8c57600080fd5b5035919050565b600181811c90821680612ca757607f821691505b602082108103612ce0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610a2a57610a2a612ce6565b600060208284031215612d3a57600080fd5b5051919050565b600060208284031215612d5357600080fd5b815161286881612be8565b8082028115828204841417610a2a57610a2a612ce6565b600082612dab577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610a2a57610a2a612ce6565b600080600060608486031215612dd857600080fd5b8351925060208401519150604084015190509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215612e3257600080fd5b815161286881612b1a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612e9a57845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101612e68565b505073ffffffffffffffffffffffffffffffffffffffff96909616606085015250505060800152939250505056fea264697066735822122095605f5acb5367e7343f4fb9305057e46ed158eadfa2caca584e39aec83fdb6e64736f6c63430008120033

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.