ETH Price: $3,131.54 (+0.98%)

Contract

0x2b6D3fA2a0296e5cBD45526A480954Fa1092d375
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Renounce Ownersh...182922472023-10-06 15:06:47406 days ago1696604807IN
0x2b6D3fA2...a1092d375
0 ETH0.0003096313.27974876
Set Launch Sell ...182922452023-10-06 15:06:23406 days ago1696604783IN
0x2b6D3fA2...a1092d375
0 ETH0.0003081512.31888319
Set Fees182922402023-10-06 15:05:11406 days ago1696604711IN
0x2b6D3fA2...a1092d375
0 ETH0.0007059912.33230811
Set Fees182922302023-10-06 15:03:11406 days ago1696604591IN
0x2b6D3fA2...a1092d375
0 ETH0.0004584511.42587659
Set Launch Sell ...182922122023-10-06 14:59:35406 days ago1696604375IN
0x2b6D3fA2...a1092d375
0 ETH0.0003621112.13555391
Set Launch Sell ...182922072023-10-06 14:58:35406 days ago1696604315IN
0x2b6D3fA2...a1092d375
0 ETH0.0004057513.59812169
Set Fees182922012023-10-06 14:57:23406 days ago1696604243IN
0x2b6D3fA2...a1092d375
0 ETH0.0004682711.67062022
Set Max Tx Perce...182921972023-10-06 14:56:35406 days ago1696604195IN
0x2b6D3fA2...a1092d375
0 ETH0.0003642112.11350729
Approve182921712023-10-06 14:51:23406 days ago1696603883IN
0x2b6D3fA2...a1092d375
0 ETH0.0005421611.6426633
Set Fees182921662023-10-06 14:50:23406 days ago1696603823IN
0x2b6D3fA2...a1092d375
0 ETH0.0004372310.89715508
Approve182921462023-10-06 14:46:23406 days ago1696603583IN
0x2b6D3fA2...a1092d375
0 ETH0.0005442611.76957315
Approve182921432023-10-06 14:45:47406 days ago1696603547IN
0x2b6D3fA2...a1092d375
0 ETH0.0005339611.54699019
Approve182921392023-10-06 14:44:59406 days ago1696603499IN
0x2b6D3fA2...a1092d375
0 ETH0.0006999415.01153855
Approve182921362023-10-06 14:44:23406 days ago1696603463IN
0x2b6D3fA2...a1092d375
0 ETH0.0007718116.55719055
Approve182921342023-10-06 14:43:59406 days ago1696603439IN
0x2b6D3fA2...a1092d375
0 ETH0.000773616.59557802
Approve182921302023-10-06 14:43:11406 days ago1696603391IN
0x2b6D3fA2...a1092d375
0 ETH0.0006713314.39804579
Set Launch Sell ...182920882023-10-06 14:34:35406 days ago1696602875IN
0x2b6D3fA2...a1092d375
0 ETH0.0005631711.99811374
Prepare For Laun...182920852023-10-06 14:33:59406 days ago1696602839IN
0x2b6D3fA2...a1092d375
0 ETH0.0008027311.81897008
Set Fees182920842023-10-06 14:33:47406 days ago1696602827IN
0x2b6D3fA2...a1092d375
0 ETH0.0006937512.12345825
Approve182920792023-10-06 14:32:47406 days ago1696602767IN
0x2b6D3fA2...a1092d375
0 ETH0.0006142713.1741824
Set Use Generic ...182918362023-10-06 13:44:11406 days ago1696599851IN
0x2b6D3fA2...a1092d375
0 ETH0.000249229.95190677
Set Max Tx Perce...182917932023-10-06 13:35:23406 days ago1696599323IN
0x2b6D3fA2...a1092d375
0 ETH0.0003499211.63803743
Add Burn Address182917902023-10-06 13:34:47406 days ago1696599287IN
0x2b6D3fA2...a1092d375
0 ETH0.0005342811.50442511
Approve182917782023-10-06 13:32:23406 days ago1696599143IN
0x2b6D3fA2...a1092d375
0 ETH0.0006625414.21305096
0x60806040182917682023-10-06 13:30:23406 days ago1696599023IN
 Create: HappyRugoween
0 ETH0.0564204210.46240337

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
182922652023-10-06 15:10:23406 days ago1696605023
0x2b6D3fA2...a1092d375
0.00418102 ETH
182922652023-10-06 15:10:23406 days ago1696605023
0x2b6D3fA2...a1092d375
0.00418102 ETH
182922222023-10-06 15:01:35406 days ago1696604495
0x2b6D3fA2...a1092d375
0.02746991 ETH
182922222023-10-06 15:01:35406 days ago1696604495
0x2b6D3fA2...a1092d375
0.02746991 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HappyRugoween

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Jacko.sol
/**
 *Submitted for verification at Etherscan.io on 2023-10-06
*/


/* 

Website:  https://www.happyrugoween.fun

Telegram: https://t.me/happyrugoween

Twitter: https://x.com/happyrugow

 */


// SPDX-License-Identifier: MIT


pragma solidity ^0.8.17;


import "./SafeMath.sol";
import "./Address.sol";
import "./Token.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router.sol";
import "./IUniswapV2Pair.sol";



contract HappyRugoween is Token {
    using SafeMath for uint256;
    using Address for address;

    uint256 private constant TOTAL_SUPPLY = 6733333 * (10**9);

    uint256 public maxTxAmount = TOTAL_SUPPLY.mul(2).div(1000); 

    uint256 private marketingFee = 0; 
    uint256 private _previousMarketingFee = marketingFee;

    uint256 public devFee = 0; 
    uint256 public sellDevFee = 0; 
    uint256 private _previousDevFee = devFee;

    uint256 public launchSellFee = 0; 
    uint256 private _previousLaunchSellFee = launchSellFee;

    uint256 public burnFee = 0;   
    uint256 public sellburnFee = 0; 
    uint256 private _previousBurnFee = burnFee; 
    
    mapping(address => bool) public uniswapv2contracts;

    address payable private _marketingWalletAddress =
        payable(0x78D86E693388a99AB0354FF17190BC8c81545C51);
    address payable private _devWalletAddress =
        payable(0xCE0599EFFC84EF2975Da6d944F07559BF973BB38); 

    uint256 public launchSellFeeDeadline = 0;

   
    bool public useGenericTransfer = true;

   
    bool private preparedForLaunch = false;
    
    
    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcludedFromMaxTx;

    mapping(address => bool) private burnAddresses;
    
    
    IUniswapV2Router public uniswapV2Router;
    address public uniswapV2Pair;

    bool currentlySwapping; 
    bool public swapAndRedirectEthFeesEnabled = true;

    uint256 private minTokensBeforeSwap = 50000  * 10**9;

    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndRedirectEthFeesUpdated(bool enabled);
    event OnSwapAndRedirectEthFees(
        uint256 tokensSwapped,
        uint256 ethToDevWallet
    );
    event MaxTxAmountUpdated(uint256 maxTxAmount);
    event GenericTransferChanged(bool useGenericTransfer);
    event ExcludeFromMaxTx(address wallet);

    event ExcludeFromFees(address wallet);
    event IncludeInFees(address wallet);
    event DevWalletUpdated(address newDevWallet);
    event RouterUpdated(address newRouterAddress);
    event FeesChanged(
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newburnFee, 
        uint256 newSellburnFee
    );
    event LaunchFeeUpdated(uint256 newLaunchSellFee);

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

    constructor() ERC20("Happy Rugoween", "JACKO") {
        IUniswapV2Router _uniswapV2Router = IUniswapV2Router(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D 
        );

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

        
        uniswapV2Router = _uniswapV2Router;
        
       
        _mint(owner(), TOTAL_SUPPLY);

        
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        
        
        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[address(this)] = true;

        
        uniswapv2contracts[uniswapV2Pair] = true;
    }

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        require(preparedForLaunch || _msgSender() == owner(), "Contract has not been prepared for launch and user is not owner");

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

        if (!uniswapv2contracts[from] && !uniswapv2contracts[to] && !burnAddresses[to]) {
            super._transfer(from, to, amount);
            return;
        }

        if (
            !_isExcludedFromMaxTx[from] &&
            !_isExcludedFromMaxTx[to]
        ) {
            require(
                amount <= maxTxAmount,
                "Transfer amount exceeds the maxTxAmount"
            );
        }

        
        uint256 baseDevFee = devFee;
        uint256 baseBurnFee = burnFee; 
        if (to == uniswapV2Pair) {
            devFee = sellDevFee;
            burnFee = sellburnFee;

            if (launchSellFeeDeadline >= block.timestamp) {
                devFee = devFee.add(launchSellFee);
            }
        }


        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap; 
        if (
            overMinTokenBalance &&
            !currentlySwapping &&
            from != uniswapV2Pair &&
            swapAndRedirectEthFeesEnabled
        ) {
            
            swapAndRedirectEthFees(contractTokenBalance);
        }

        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            removeAllFee();
        }


        
    (uint256 tTransferAmount, uint256 tFee) = _getValues(amount);
        _balances[from] = _balances[from].sub(amount);
        _balances[to] = _balances[to].add(tTransferAmount);



        _takeFee(tFee);


         
       
        if(trueBurn){
            uint256 burnFeeTotal = calculateBurnFee(amount);
            _burn(address(this), burnFeeTotal);
        }
        
        if(burnAddresses[to]){
            uint256 burnamount = tTransferAmount - 1;
            _burn(to, burnamount);
        }

        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            restoreAllFee();
        }
        
        
        devFee = baseDevFee;
        burnFee = baseBurnFee; 
        emit Transfer(from, to, tTransferAmount);
    }

    
    receive() external payable {}

    function _getValues(uint256 tAmount)
        private
        view
        returns (uint256, uint256)
    {
        uint256 tFee = calculateFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee);
        return (tTransferAmount, tFee);
    }

    function _takeFee(uint256 fee) private {
        _balances[address(this)] = _balances[address(this)].add(fee);
    }

    function calculateFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        uint256 totalFee = devFee.add(marketingFee).add(burnFee); 
        return _amount.mul(totalFee).div(10000);
    }

    function removeAllFee() private {
        if (devFee == 0 && marketingFee == 0 && burnFee == 0) return;

        _previousMarketingFee = marketingFee;
        _previousDevFee = devFee;
        _previousBurnFee = burnFee;

        marketingFee = 0;
        devFee = 0;
        burnFee = 0; 
    }

    function restoreAllFee() private {
        marketingFee = _previousMarketingFee;
        devFee = _previousDevFee;
        burnFee = _previousBurnFee;
    }

    function swapAndRedirectEthFees(uint256 contractTokenBalance)
        private
        lockTheSwap
    {
        uint256 totalRedirectFee = devFee.add(marketingFee);
        if (totalRedirectFee == 0) return;
        
       
        uint256 initialBalance = address(this).balance; 

        
        swapTokensForEth(contractTokenBalance);

        uint256 newBalance = address(this).balance.sub(initialBalance);

        if (newBalance > 0) {
            
            uint256 marketingBalance = newBalance.mul(marketingFee).div(totalRedirectFee);
            sendEthToWallet(_marketingWalletAddress, marketingBalance);
            
            uint256 devBalance = newBalance.mul(devFee).div(totalRedirectFee);
            sendEthToWallet(_devWalletAddress, devBalance);

            emit OnSwapAndRedirectEthFees(contractTokenBalance, newBalance);
        }
    }

    function sendEthToWallet(address wallet, uint256 amount) private {
        if (amount > 0) {
            payable(wallet).transfer(amount);
        }
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, 
            path,
            address(this),
            block.timestamp
        );
    }

    function prepareForLaunch() external onlyOwner {
        require(!preparedForLaunch, "Already prepared for launch");

        
        preparedForLaunch = true;


        
        launchSellFeeDeadline = block.timestamp + 2 hours;
    }

    function setUseGenericTransfer(bool genericTransfer) external onlyOwner {
        useGenericTransfer = genericTransfer;
        emit GenericTransferChanged(genericTransfer);
    }

    function setMaxTxPercent(uint256 newMaxTx) external onlyOwner {
        require(newMaxTx >= 5, "Max TX should be above 0.5%");
        maxTxAmount = TOTAL_SUPPLY.mul(newMaxTx).div(1000);
        emit MaxTxAmountUpdated(maxTxAmount);
    }

    function excludeFromMaxTx(address account) external onlyOwner {
        _isExcludedFromMaxTx[account] = true;
        emit ExcludeFromMaxTx(account);
    }
    
    function isExcludedFromFee(address account) external view returns (bool) {
        return _isExcludedFromFee[account];
    }

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

    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
        emit IncludeInFees(account);
    }
    function setFees(
        uint256 newMarketingFee,
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newburnFee,
        uint256 newSellburnFee
    ) external onlyOwner {
        require(
            newMarketingFee <= 3000 &&
            newDevFee <= 3000 &&
            newSellDevFee <= 3000 &&
            newburnFee <= 1000 && 
            newSellburnFee <= 1000, 
            "Fees exceed maximum allowed value"
        );
        marketingFee = newMarketingFee;
        devFee = newDevFee;
        sellDevFee = newSellDevFee;
        burnFee = newburnFee;
        sellburnFee = newSellburnFee;
        emit FeesChanged(newDevFee, newSellDevFee, newburnFee, newSellburnFee);
    }

    function setLaunchSellFee(uint256 newLaunchSellFee) external onlyOwner {
        require(newLaunchSellFee <= 7000);
        launchSellFee = newLaunchSellFee;
        emit LaunchFeeUpdated(newLaunchSellFee);
    }

    function setDevWallet(address payable newDevWallet)
        external
        onlyOwner
    {
        _devWalletAddress = newDevWallet;
        emit DevWalletUpdated(newDevWallet);

    }

    function setMarketingWallet(address payable newMarketingWallet)
        external
        onlyOwner
    {
        _marketingWalletAddress = newMarketingWallet;
    }

    function setRouterAddress(address newRouter) external onlyOwner {
        IUniswapV2Router _newUniswapRouter = IUniswapV2Router(newRouter);
        uniswapV2Pair = IUniswapV2Factory(_newUniswapRouter.factory())
            .createPair(address(this), _newUniswapRouter.WETH());
        uniswapV2Router = _newUniswapRouter;
    }

    function setSwapAndRedirectEthFeesEnabled(bool enabled) external onlyOwner {
        swapAndRedirectEthFeesEnabled = enabled;
        emit SwapAndRedirectEthFeesUpdated(enabled);
    }

    function setMinTokensBeforeSwap(uint256 minTokens) external onlyOwner {
        minTokensBeforeSwap = minTokens * 10**9;
        emit MinTokensBeforeSwapUpdated(minTokens);
    }
    
    
    function manualSwap() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
    }

    function manualSend() external onlyOwner {
        uint256 contractEthBalance = address(this).balance;
        sendEthToWallet(_devWalletAddress, contractEthBalance);
    }

    
    bool public trueBurn = true; 

    function calculateBurnFee(uint256 _amount) internal view returns(uint256) {
        return _amount.mul(burnFee).div(10000);
    }

    function changeTrueBurn(bool value) public onlyOwner{
        trueBurn = value;
    }

    
    function addPairAddress(address _newPair, bool value) public onlyOwner{
        uniswapv2contracts[_newPair] = value;
    }

    
    function addBurnAddress(address _wallet, bool value) public onlyOwner{
        burnAddresses[_wallet] = value;
    }


}

File 2 of 12 : IUniswapV2Pair.sol
// SPDX-License-Identifier: Apache-2.0

pragma solidity >=0.8.17;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 3 of 12 : IUniswapV2Router.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

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

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

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

File 4 of 12 : IUniswapV2Factory.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

interface IUniswapV2Factory {

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

File 5 of 12 : Token.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

import "./ERC20.sol";
import "./Ownable.sol";

abstract contract Token is ERC20, Ownable {

    address[] private excludedFrom;
    mapping(address => bool) private isAddressExcluded;
    
    event ExcludeFrom(address wallet);
    event IncludeIn(address wallet);
    
    function deleteExcluded(uint index) internal {
        require(index < excludedFrom.length, "Index is greater than array length");
        excludedFrom[index] = excludedFrom[excludedFrom.length - 1];
        excludedFrom.pop();
    }
    
    function getExcludedBalances() internal view returns (uint256) {
        uint256 totalExcludedHoldings = 0;
        for (uint i = 0; i < excludedFrom.length; i++) {
            totalExcludedHoldings += balanceOf(excludedFrom[i]);
        }
        return totalExcludedHoldings;
    }
    
    function excludeFrom(address wallet) public onlyOwner {
        require(!isAddressExcluded[wallet], "Address is already excluded from ");
        excludedFrom.push(wallet);
        isAddressExcluded[wallet] = true;
        emit ExcludeFrom(wallet);
    }
    
    function includeIn(address wallet) external onlyOwner {
        require(isAddressExcluded[wallet], "Address is not excluded from ");
        for (uint i = 0; i < excludedFrom.length; i++) {
            if (excludedFrom[i] == wallet) {
                isAddressExcluded[wallet] = false;
                deleteExcluded(i);
                break;
            }
        }
        emit IncludeIn(wallet);
    }
    
    function isExcludedFrom(address wallet) external view returns (bool) {
        return isAddressExcluded[wallet];
    }
    
    function getAllExcludedFrom() external view returns (address[] memory) {
        return excludedFrom;
    }
    
    function getSupply() public view returns (uint256) {
        return _totalSupply - getExcludedBalances();
    }
}

File 6 of 12 : Address.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

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

    /**
     * @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://diligence.consensys.net/posts/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.5.11/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"
        );

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

    /**
     * @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 functionCall(target, data, "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"
        );
        return _functionCallWithValue(target, data, value, errorMessage);
    }

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(
            data
        );
        if (success) {
            return returndata;
        } else {
            // 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.17;

// 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 substraction 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 8 of 12 : Ownable.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

import "./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.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

File 9 of 12 : ERC20.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";
import "./SafeMath.sol";
import "./Address.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @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 to 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 {}
}

File 10 of 12 : Context.sol
pragma solidity ^0.8.4;

// SPDX-License-Identifier: MIT

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

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

File 11 of 12 : IERC20Metadata.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

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
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newDevWallet","type":"address"}],"name":"DevWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFrom","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromMaxTx","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellDevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newburnFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellburnFee","type":"uint256"}],"name":"FeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"useGenericTransfer","type":"bool"}],"name":"GenericTransferChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeIn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeInFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLaunchSellFee","type":"uint256"}],"name":"LaunchFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethToDevWallet","type":"uint256"}],"name":"OnSwapAndRedirectEthFees","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":false,"internalType":"address","name":"newRouterAddress","type":"address"}],"name":"RouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndRedirectEthFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"addBurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"addPairAddress","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"changeTrueBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllExcludedFrom","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"includeIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","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":"wallet","type":"address"}],"name":"isExcludedFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchSellFeeDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","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":"prepareForLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellburnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newDevWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMarketingFee","type":"uint256"},{"internalType":"uint256","name":"newDevFee","type":"uint256"},{"internalType":"uint256","name":"newSellDevFee","type":"uint256"},{"internalType":"uint256","name":"newburnFee","type":"uint256"},{"internalType":"uint256","name":"newSellburnFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLaunchSellFee","type":"uint256"}],"name":"setLaunchSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newMarketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTx","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"setMinTokensBeforeSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapAndRedirectEthFeesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"genericTransfer","type":"bool"}],"name":"setUseGenericTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndRedirectEthFeesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trueBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapv2contracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useGenericTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000416103e86200002d60026617ebee419e92006200045160201b620019321790919060201c565b6200046860201b620019451790919060201c565b60085560006009819055600a819055600b819055600c819055600d819055600e819055600f819055601081905560118190556012819055601480546001600160a01b03199081167378d86e693388a99ab0354ff17190bc8c81545c51179091556015805490911673ce0599effc84ef2975da6d944f07559bf973bb381790556016556017805461ffff19166001908117909155601c805460ff60a81b1916600160a81b179055652d79883d2000601d55601e805460ff191690911790553480156200010b57600080fd5b506040518060400160405280600e81526020016d2430b8383c90293ab3b7bbb2b2b760911b815250604051806040016040528060058152602001644a41434b4f60d81b815250816003908162000162919062000630565b50600462000171828262000630565b5050506000620001866200047660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200022c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002529190620006fc565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c69190620006fc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033a9190620006fc565b601c80546001600160a01b03199081166001600160a01b0393841617909155601b80549091168383161790556005546200037d91166617ebee419e92006200047a565b600160186000620003966005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526018909252812080549092166001908117909255601990620003ef6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260198452828120805486166001908117909155601c5490921681526013909352912080549092161790555062000797565b60006200045f828462000744565b90505b92915050565b60006200045f82846200075e565b3390565b6001600160a01b038216620004d55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b620004f1816002546200057e60201b620019511790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000524918390620019516200057e821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b60006200045f828462000781565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005b757607f821691505b602082108103620005d857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200057957600081815260208120601f850160051c81016020861015620006075750805b601f850160051c820191505b81811015620006285782815560010162000613565b505050505050565b81516001600160401b038111156200064c576200064c6200058c565b62000664816200065d8454620005a2565b84620005de565b602080601f8311600181146200069c5760008415620006835750858301515b600019600386901b1c1916600185901b17855562000628565b600085815260208120601f198616915b82811015620006cd57888601518255948401946001909101908401620006ac565b5085821015620006ec5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200070f57600080fd5b81516001600160a01b03811681146200072757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200046257620004626200072e565b6000826200077c57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200046257620004626200072e565b612b3280620007a76000396000f3fe6080604052600436106102e85760003560e01c80636c9c2faf11610190578063a457c2d7116100dc578063db4cf1e011610095578063ea2f0b371161006f578063ea2f0b3714610908578063f2fde38b14610928578063f429389014610948578063fce589d81461095d57600080fd5b8063db4cf1e014610882578063dd62ed3e146108a2578063e89bcca2146108e857600080fd5b8063a457c2d7146107ca578063a5a950aa146107ea578063a9059cbb1461080c578063af01f2b21461082c578063d096cd0814610842578063d543dbeb1461086257600080fd5b80638c0b5e221161014957806395d89b411161012357806395d89b411461077057806398850b6414610785578063a0d82dc51461079f578063a1ab19a3146107b557600080fd5b80638c0b5e221461071c5780638da5cb5b14610732578063903cdec01461075057600080fd5b80636c9c2faf1461064357806370a0823114610658578063715018a61461068e57806372548123146106a357806373e7714a146106dc5780638421b507146106fc57600080fd5b8063313ce5671161024f57806348a46473116102085780635342acb4116101e25780635342acb4146105be57806354959363146105f75780635d098b381461060d5780636827e7641461062d57600080fd5b806348a464731461056957806349bd5a5e1461058957806351bc3c85146105a957600080fd5b8063313ce5671461049d578063393344b6146104b957806339509351146104d957806341cb87fc146104f95780634337ac5b14610519578063437823ec1461054957600080fd5b806318160ddd116102a157806318160ddd146103ee5780631c62dbe0146104035780631f53ac021461042357806323b872dd1461044357806326b6308d1461046357806328ba35e21461048357600080fd5b806304a66b48146102f457806306fdde0314610316578063095ea7b314610341578063113201fa1461037157806312ee302d146103925780631694505e146103b657600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046126b5565b610973565b005b34801561032257600080fd5b5061032b610aa2565b60405161033891906126f0565b60405180910390f35b34801561034d57600080fd5b5061036161035c366004612753565b610b34565b6040519015158152602001610338565b34801561037d57600080fd5b50601c5461036190600160a81b900460ff1681565b34801561039e57600080fd5b506103a860115481565b604051908152602001610338565b3480156103c257600080fd5b50601b546103d6906001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103fa57600080fd5b506002546103a8565b34801561040f57600080fd5b5061031461041e36600461277f565b610b4b565b34801561042f57600080fd5b5061031461043e36600461277f565b610ca2565b34801561044f57600080fd5b5061036161045e36600461279c565b610d1a565b34801561046f57600080fd5b5061031461047e3660046127f2565b610d83565b34801561048f57600080fd5b50601e546103619060ff1681565b3480156104a957600080fd5b5060405160098152602001610338565b3480156104c557600080fd5b506103146104d436600461280d565b610dfa565b3480156104e557600080fd5b506103616104f4366004612753565b610e4f565b34801561050557600080fd5b5061031461051436600461277f565b610e85565b34801561052557600080fd5b5061036161053436600461277f565b60136020526000908152604090205460ff1681565b34801561055557600080fd5b5061031461056436600461277f565b61102a565b34801561057557600080fd5b50610314610584366004612842565b6110a8565b34801561059557600080fd5b50601c546103d6906001600160a01b031681565b3480156105b557600080fd5b50610314611113565b3480156105ca57600080fd5b506103616105d936600461277f565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561060357600080fd5b506103a8600e5481565b34801561061957600080fd5b5061031461062836600461277f565b611159565b34801561063957600080fd5b506103a8600b5481565b34801561064f57600080fd5b506103a86111a5565b34801561066457600080fd5b506103a861067336600461277f565b6001600160a01b031660009081526020819052604090205490565b34801561069a57600080fd5b506103146111c1565b3480156106af57600080fd5b506103616106be36600461277f565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156106e857600080fd5b506103146106f73660046127f2565b611235565b34801561070857600080fd5b50610314610717366004612842565b611272565b34801561072857600080fd5b506103a860085481565b34801561073e57600080fd5b506005546001600160a01b03166103d6565b34801561075c57600080fd5b5061031461076b36600461280d565b6112e0565b34801561077c57600080fd5b5061032b611335565b34801561079157600080fd5b506017546103619060ff1681565b3480156107ab57600080fd5b506103a8600c5481565b3480156107c157600080fd5b50610314611344565b3480156107d657600080fd5b506103616107e5366004612753565b6113e6565b3480156107f657600080fd5b506107ff611435565b604051610338919061289f565b34801561081857600080fd5b50610361610827366004612753565b611496565b34801561083857600080fd5b506103a860165481565b34801561084e57600080fd5b5061031461085d36600461277f565b6114a3565b34801561086e57600080fd5b5061031461087d366004612842565b6115d4565b34801561088e57600080fd5b5061031461089d36600461277f565b6116a1565b3480156108ae57600080fd5b506103a86108bd3660046128b2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108f457600080fd5b506103146109033660046127f2565b61171f565b34801561091457600080fd5b5061031461092336600461277f565b61178a565b34801561093457600080fd5b5061031461094336600461277f565b611805565b34801561095457600080fd5b506103146118f0565b34801561096957600080fd5b506103a860105481565b6005546001600160a01b031633146109a65760405162461bcd60e51b815260040161099d906128eb565b60405180910390fd5b610bb885111580156109ba5750610bb88411155b80156109c85750610bb88311155b80156109d657506103e88211155b80156109e457506103e88111155b610a3a5760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b606482015260840161099d565b6009859055600b849055600c839055601082905560118190556040805185815260208101859052908101839052606081018290527f7027e29faa2460f22e800d92db38d4795b668c7104da6b87afaeaf502a269ca59060800160405180910390a15050505050565b606060038054610ab190612920565b80601f0160208091040260200160405190810160405280929190818152602001828054610add90612920565b8015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b5050505050905090565b6000610b4133848461195d565b5060015b92915050565b6005546001600160a01b03163314610b755760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03811660009081526007602052604090205460ff16610bdd5760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206973206e6f74206578636c756465642066726f6d20000000604482015260640161099d565b60005b600654811015610c6157816001600160a01b031660068281548110610c0757610c07612954565b6000918252602090912001546001600160a01b031603610c4f576001600160a01b0382166000908152600760205260409020805460ff19169055610c4a81611a82565b610c61565b80610c5981612980565b915050610be0565b506040516001600160a01b03821681527f6bced0c0e71296e7b1850408ea4956156f3f49c52c7fdef860466076a10aacd4906020015b60405180910390a150565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161099d906128eb565b601580546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610c97565b6000610d27848484611b8e565b610d798433610d7485604051806060016040528060288152602001612ab0602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611fee565b61195d565b5060019392505050565b6005546001600160a01b03163314610dad5760405162461bcd60e51b815260040161099d906128eb565b601c8054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610c9790831515815260200190565b6005546001600160a01b03163314610e245760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b41918590610d749086611951565b6005546001600160a01b03163314610eaf5760405162461bcd60e51b815260040161099d906128eb565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f169190612999565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f879190612999565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190612999565b601c80546001600160a01b039283166001600160a01b031991821617909155601b805493909216921691909117905550565b6005546001600160a01b031633146110545760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260186020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610c97565b6005546001600160a01b031633146110d25760405162461bcd60e51b815260040161099d906128eb565b6110e081633b9aca006129b6565b601d556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610c97565b6005546001600160a01b0316331461113d5760405162461bcd60e51b815260040161099d906128eb565b306000908152602081905260409020546111568161201a565b50565b6005546001600160a01b031633146111835760405162461bcd60e51b815260040161099d906128eb565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60006111af612174565b6002546111bc91906129cd565b905090565b6005546001600160a01b031633146111eb5760405162461bcd60e51b815260040161099d906128eb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b0316331461125f5760405162461bcd60e51b815260040161099d906128eb565b601e805460ff1916911515919091179055565b6005546001600160a01b0316331461129c5760405162461bcd60e51b815260040161099d906128eb565b611b588111156112ab57600080fd5b600e8190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610c97565b6005546001600160a01b0316331461130a5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b606060048054610ab190612920565b6005546001600160a01b0316331461136e5760405162461bcd60e51b815260040161099d906128eb565b601754610100900460ff16156113c65760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e63680000000000604482015260640161099d565b6017805461ff0019166101001790556113e142611c206129e0565b601655565b6000610b413384610d7485604051806060016040528060258152602001612ad8602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611fee565b60606006805480602002602001604051908101604052809291908181526020018280548015610b2a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161146f575050505050905090565b6000610b41338484611b8e565b6005546001600160a01b031633146114cd5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03811660009081526007602052604090205460ff16156115405760405162461bcd60e51b815260206004820152602160248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d6044820152600160fd1b606482015260840161099d565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f12e38828a6570e1120ab5c744237af8f072783d204273253505dfc7d912368ba9101610c97565b6005546001600160a01b031633146115fe5760405162461bcd60e51b815260040161099d906128eb565b600581101561164f5760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e35250000000000604482015260640161099d565b61166c6103e86116666617ebee419e920084611932565b90611945565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610c97565b6005546001600160a01b031633146116cb5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260196020908152604091829020805460ff1916600117905590519182527f083f104fba537c7bc3b21d50c79e74a0921f855187ed551732cba7b5055479e59101610c97565b6005546001600160a01b031633146117495760405162461bcd60e51b815260040161099d906128eb565b6017805460ff19168215159081179091556040519081527f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590602001610c97565b6005546001600160a01b031633146117b45760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260186020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610c97565b6005546001600160a01b0316331461182f5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b0381166118945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099d565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461191a5760405162461bcd60e51b815260040161099d906128eb565b6015544790611156906001600160a01b0316826121e1565b600061193e82846129b6565b9392505050565b600061193e82846129f3565b600061193e82846129e0565b6001600160a01b0383166119bf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161099d565b6001600160a01b038216611a205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161099d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6006548110611ade5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b606482015260840161099d565b60068054611aee906001906129cd565b81548110611afe57611afe612954565b600091825260209091200154600680546001600160a01b039092169183908110611b2a57611b2a612954565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006805480611b6957611b69612a15565b600082815260209020810160001990810180546001600160a01b031916905501905550565b601754610100900460ff1680611bae57506005546001600160a01b031633145b611c205760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e657200606482015260840161099d565b60175460ff1615611c3b57611c36838383612221565b505050565b6001600160a01b03831660009081526013602052604090205460ff16158015611c7d57506001600160a01b03821660009081526013602052604090205460ff16155b8015611ca257506001600160a01b0382166000908152601a602052604090205460ff16155b15611cb257611c36838383612221565b6001600160a01b03831660009081526019602052604090205460ff16158015611cf457506001600160a01b03821660009081526019602052604090205460ff16155b15611d5b57600854811115611d5b5760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b606482015260840161099d565b600b54601054601c546001600160a01b0390811690851603611d9f57600c54600b556011546010556016544211611d9f57600e54600b54611d9b91611951565b600b555b30600090815260208190526040902054601d5481108015908190611dcd5750601c54600160a01b900460ff16155b8015611de75750601c546001600160a01b03888116911614155b8015611dfc5750601c54600160a81b900460ff165b15611e0a57611e0a826123a4565b6001600160a01b03871660009081526018602052604090205460ff1680611e4957506001600160a01b03861660009081526018602052604090205460ff165b15611e5657611e566124b0565b600080611e62876124f5565b6001600160a01b038b166000908152602081905260409020549193509150611e8a908861251c565b6001600160a01b03808b1660009081526020819052604080822093909355908a1681522054611eb99083611951565b6001600160a01b038916600090815260208190526040902055611edb81612528565b601e5460ff1615611eff576000611ef188612555565b9050611efd3082612572565b505b6001600160a01b0388166000908152601a602052604090205460ff1615611f3b576000611f2d6001846129cd565b9050611f398982612572565b505b6001600160a01b03891660009081526018602052604090205460ff1680611f7a57506001600160a01b03881660009081526018602052604090205460ff165b15611f9657611f96600a54600955600d54600b55601254601055565b600b86905560108590556040518281526001600160a01b03808a1691908b16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050505050565b600081848411156120125760405162461bcd60e51b815260040161099d91906126f0565b505050900390565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061204f5761204f612954565b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cc9190612999565b816001815181106120df576120df612954565b6001600160a01b039283166020918202929092010152601b54612105913091168461195d565b601b5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061213e908590600090869030904290600401612a2b565b600060405180830381600087803b15801561215857600080fd5b505af115801561216c573d6000803e3d6000fd5b505050505050565b600080805b6006548110156121db576121bd6006828154811061219957612199612954565b60009182526020808320909101546001600160a01b03168252819052604090205490565b6121c790836129e0565b9150806121d381612980565b915050612179565b50919050565b801561221d576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611c36573d6000803e3d6000fd5b5050565b6001600160a01b0383166122855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161099d565b6001600160a01b0382166122e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161099d565b61232481604051806060016040528060268152602001612a8a602691396001600160a01b0386166000908152602081905260409020549190611fee565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546123539082611951565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611a75565b601c805460ff60a01b1916600160a01b179055600954600b546000916123ca9190611951565b9050806000036123da57506124a0565b476123e48361201a565b60006123f0478361251c565b9050801561249c576000612413846116666009548561193290919063ffffffff16565b60145490915061242c906001600160a01b0316826121e1565b600061244785611666600b548661193290919063ffffffff16565b601554909150612460906001600160a01b0316826121e1565b60408051878152602081018590527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a150505b5050505b50601c805460ff60a01b19169055565b600b541580156124c05750600954155b80156124cc5750601054155b156124d357565b60098054600a55600b8054600d55601080546012556000928390559082905555565b60008060006125038461267d565b90506000612511858361251c565b959194509092505050565b600061193e82846129cd565b306000908152602081905260409020546125429082611951565b3060009081526020819052604090205550565b6000610b456127106116666010548561193290919063ffffffff16565b6001600160a01b0382166125d25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161099d565b61260f81604051806060016040528060228152602001612a68602291396001600160a01b0385166000908152602081905260409020549190611fee565b6001600160a01b038316600090815260208190526040902055600254612635908261251c565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000806126a360105461269d600954600b5461195190919063ffffffff16565b90611951565b905061193e6127106116668584611932565b600080600080600060a086880312156126cd57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208083528351808285015260005b8181101561271d57858101830151858201604001528201612701565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461115657600080fd5b6000806040838503121561276657600080fd5b82356127718161273e565b946020939093013593505050565b60006020828403121561279157600080fd5b813561193e8161273e565b6000806000606084860312156127b157600080fd5b83356127bc8161273e565b925060208401356127cc8161273e565b929592945050506040919091013590565b803580151581146127ed57600080fd5b919050565b60006020828403121561280457600080fd5b61193e826127dd565b6000806040838503121561282057600080fd5b823561282b8161273e565b9150612839602084016127dd565b90509250929050565b60006020828403121561285457600080fd5b5035919050565b600081518084526020808501945080840160005b838110156128945781516001600160a01b03168752958201959082019060010161286f565b509495945050505050565b60208152600061193e602083018461285b565b600080604083850312156128c557600080fd5b82356128d08161273e565b915060208301356128e08161273e565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061293457607f821691505b6020821081036121db57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016129925761299261296a565b5060010190565b6000602082840312156129ab57600080fd5b815161193e8161273e565b8082028115828204841417610b4557610b4561296a565b81810381811115610b4557610b4561296a565b80820180821115610b4557610b4561296a565b600082612a1057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603160045260246000fd5b85815284602082015260a060408201526000612a4a60a083018661285b565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d52109b3a868a15a64256be95e14cc5af5dc6604bf73b7825587252010c8479e64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80636c9c2faf11610190578063a457c2d7116100dc578063db4cf1e011610095578063ea2f0b371161006f578063ea2f0b3714610908578063f2fde38b14610928578063f429389014610948578063fce589d81461095d57600080fd5b8063db4cf1e014610882578063dd62ed3e146108a2578063e89bcca2146108e857600080fd5b8063a457c2d7146107ca578063a5a950aa146107ea578063a9059cbb1461080c578063af01f2b21461082c578063d096cd0814610842578063d543dbeb1461086257600080fd5b80638c0b5e221161014957806395d89b411161012357806395d89b411461077057806398850b6414610785578063a0d82dc51461079f578063a1ab19a3146107b557600080fd5b80638c0b5e221461071c5780638da5cb5b14610732578063903cdec01461075057600080fd5b80636c9c2faf1461064357806370a0823114610658578063715018a61461068e57806372548123146106a357806373e7714a146106dc5780638421b507146106fc57600080fd5b8063313ce5671161024f57806348a46473116102085780635342acb4116101e25780635342acb4146105be57806354959363146105f75780635d098b381461060d5780636827e7641461062d57600080fd5b806348a464731461056957806349bd5a5e1461058957806351bc3c85146105a957600080fd5b8063313ce5671461049d578063393344b6146104b957806339509351146104d957806341cb87fc146104f95780634337ac5b14610519578063437823ec1461054957600080fd5b806318160ddd116102a157806318160ddd146103ee5780631c62dbe0146104035780631f53ac021461042357806323b872dd1461044357806326b6308d1461046357806328ba35e21461048357600080fd5b806304a66b48146102f457806306fdde0314610316578063095ea7b314610341578063113201fa1461037157806312ee302d146103925780631694505e146103b657600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f3660046126b5565b610973565b005b34801561032257600080fd5b5061032b610aa2565b60405161033891906126f0565b60405180910390f35b34801561034d57600080fd5b5061036161035c366004612753565b610b34565b6040519015158152602001610338565b34801561037d57600080fd5b50601c5461036190600160a81b900460ff1681565b34801561039e57600080fd5b506103a860115481565b604051908152602001610338565b3480156103c257600080fd5b50601b546103d6906001600160a01b031681565b6040516001600160a01b039091168152602001610338565b3480156103fa57600080fd5b506002546103a8565b34801561040f57600080fd5b5061031461041e36600461277f565b610b4b565b34801561042f57600080fd5b5061031461043e36600461277f565b610ca2565b34801561044f57600080fd5b5061036161045e36600461279c565b610d1a565b34801561046f57600080fd5b5061031461047e3660046127f2565b610d83565b34801561048f57600080fd5b50601e546103619060ff1681565b3480156104a957600080fd5b5060405160098152602001610338565b3480156104c557600080fd5b506103146104d436600461280d565b610dfa565b3480156104e557600080fd5b506103616104f4366004612753565b610e4f565b34801561050557600080fd5b5061031461051436600461277f565b610e85565b34801561052557600080fd5b5061036161053436600461277f565b60136020526000908152604090205460ff1681565b34801561055557600080fd5b5061031461056436600461277f565b61102a565b34801561057557600080fd5b50610314610584366004612842565b6110a8565b34801561059557600080fd5b50601c546103d6906001600160a01b031681565b3480156105b557600080fd5b50610314611113565b3480156105ca57600080fd5b506103616105d936600461277f565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561060357600080fd5b506103a8600e5481565b34801561061957600080fd5b5061031461062836600461277f565b611159565b34801561063957600080fd5b506103a8600b5481565b34801561064f57600080fd5b506103a86111a5565b34801561066457600080fd5b506103a861067336600461277f565b6001600160a01b031660009081526020819052604090205490565b34801561069a57600080fd5b506103146111c1565b3480156106af57600080fd5b506103616106be36600461277f565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156106e857600080fd5b506103146106f73660046127f2565b611235565b34801561070857600080fd5b50610314610717366004612842565b611272565b34801561072857600080fd5b506103a860085481565b34801561073e57600080fd5b506005546001600160a01b03166103d6565b34801561075c57600080fd5b5061031461076b36600461280d565b6112e0565b34801561077c57600080fd5b5061032b611335565b34801561079157600080fd5b506017546103619060ff1681565b3480156107ab57600080fd5b506103a8600c5481565b3480156107c157600080fd5b50610314611344565b3480156107d657600080fd5b506103616107e5366004612753565b6113e6565b3480156107f657600080fd5b506107ff611435565b604051610338919061289f565b34801561081857600080fd5b50610361610827366004612753565b611496565b34801561083857600080fd5b506103a860165481565b34801561084e57600080fd5b5061031461085d36600461277f565b6114a3565b34801561086e57600080fd5b5061031461087d366004612842565b6115d4565b34801561088e57600080fd5b5061031461089d36600461277f565b6116a1565b3480156108ae57600080fd5b506103a86108bd3660046128b2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108f457600080fd5b506103146109033660046127f2565b61171f565b34801561091457600080fd5b5061031461092336600461277f565b61178a565b34801561093457600080fd5b5061031461094336600461277f565b611805565b34801561095457600080fd5b506103146118f0565b34801561096957600080fd5b506103a860105481565b6005546001600160a01b031633146109a65760405162461bcd60e51b815260040161099d906128eb565b60405180910390fd5b610bb885111580156109ba5750610bb88411155b80156109c85750610bb88311155b80156109d657506103e88211155b80156109e457506103e88111155b610a3a5760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b606482015260840161099d565b6009859055600b849055600c839055601082905560118190556040805185815260208101859052908101839052606081018290527f7027e29faa2460f22e800d92db38d4795b668c7104da6b87afaeaf502a269ca59060800160405180910390a15050505050565b606060038054610ab190612920565b80601f0160208091040260200160405190810160405280929190818152602001828054610add90612920565b8015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b5050505050905090565b6000610b4133848461195d565b5060015b92915050565b6005546001600160a01b03163314610b755760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03811660009081526007602052604090205460ff16610bdd5760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206973206e6f74206578636c756465642066726f6d20000000604482015260640161099d565b60005b600654811015610c6157816001600160a01b031660068281548110610c0757610c07612954565b6000918252602090912001546001600160a01b031603610c4f576001600160a01b0382166000908152600760205260409020805460ff19169055610c4a81611a82565b610c61565b80610c5981612980565b915050610be0565b506040516001600160a01b03821681527f6bced0c0e71296e7b1850408ea4956156f3f49c52c7fdef860466076a10aacd4906020015b60405180910390a150565b6005546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161099d906128eb565b601580546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610c97565b6000610d27848484611b8e565b610d798433610d7485604051806060016040528060288152602001612ab0602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611fee565b61195d565b5060019392505050565b6005546001600160a01b03163314610dad5760405162461bcd60e51b815260040161099d906128eb565b601c8054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610c9790831515815260200190565b6005546001600160a01b03163314610e245760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b41918590610d749086611951565b6005546001600160a01b03163314610eaf5760405162461bcd60e51b815260040161099d906128eb565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f169190612999565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f879190612999565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190612999565b601c80546001600160a01b039283166001600160a01b031991821617909155601b805493909216921691909117905550565b6005546001600160a01b031633146110545760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260186020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610c97565b6005546001600160a01b031633146110d25760405162461bcd60e51b815260040161099d906128eb565b6110e081633b9aca006129b6565b601d556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610c97565b6005546001600160a01b0316331461113d5760405162461bcd60e51b815260040161099d906128eb565b306000908152602081905260409020546111568161201a565b50565b6005546001600160a01b031633146111835760405162461bcd60e51b815260040161099d906128eb565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60006111af612174565b6002546111bc91906129cd565b905090565b6005546001600160a01b031633146111eb5760405162461bcd60e51b815260040161099d906128eb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b0316331461125f5760405162461bcd60e51b815260040161099d906128eb565b601e805460ff1916911515919091179055565b6005546001600160a01b0316331461129c5760405162461bcd60e51b815260040161099d906128eb565b611b588111156112ab57600080fd5b600e8190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610c97565b6005546001600160a01b0316331461130a5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b606060048054610ab190612920565b6005546001600160a01b0316331461136e5760405162461bcd60e51b815260040161099d906128eb565b601754610100900460ff16156113c65760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e63680000000000604482015260640161099d565b6017805461ff0019166101001790556113e142611c206129e0565b601655565b6000610b413384610d7485604051806060016040528060258152602001612ad8602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611fee565b60606006805480602002602001604051908101604052809291908181526020018280548015610b2a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161146f575050505050905090565b6000610b41338484611b8e565b6005546001600160a01b031633146114cd5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b03811660009081526007602052604090205460ff16156115405760405162461bcd60e51b815260206004820152602160248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d6044820152600160fd1b606482015260840161099d565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f12e38828a6570e1120ab5c744237af8f072783d204273253505dfc7d912368ba9101610c97565b6005546001600160a01b031633146115fe5760405162461bcd60e51b815260040161099d906128eb565b600581101561164f5760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e35250000000000604482015260640161099d565b61166c6103e86116666617ebee419e920084611932565b90611945565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610c97565b6005546001600160a01b031633146116cb5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260196020908152604091829020805460ff1916600117905590519182527f083f104fba537c7bc3b21d50c79e74a0921f855187ed551732cba7b5055479e59101610c97565b6005546001600160a01b031633146117495760405162461bcd60e51b815260040161099d906128eb565b6017805460ff19168215159081179091556040519081527f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590602001610c97565b6005546001600160a01b031633146117b45760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b038116600081815260186020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610c97565b6005546001600160a01b0316331461182f5760405162461bcd60e51b815260040161099d906128eb565b6001600160a01b0381166118945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099d565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461191a5760405162461bcd60e51b815260040161099d906128eb565b6015544790611156906001600160a01b0316826121e1565b600061193e82846129b6565b9392505050565b600061193e82846129f3565b600061193e82846129e0565b6001600160a01b0383166119bf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161099d565b6001600160a01b038216611a205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161099d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6006548110611ade5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b606482015260840161099d565b60068054611aee906001906129cd565b81548110611afe57611afe612954565b600091825260209091200154600680546001600160a01b039092169183908110611b2a57611b2a612954565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006805480611b6957611b69612a15565b600082815260209020810160001990810180546001600160a01b031916905501905550565b601754610100900460ff1680611bae57506005546001600160a01b031633145b611c205760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e657200606482015260840161099d565b60175460ff1615611c3b57611c36838383612221565b505050565b6001600160a01b03831660009081526013602052604090205460ff16158015611c7d57506001600160a01b03821660009081526013602052604090205460ff16155b8015611ca257506001600160a01b0382166000908152601a602052604090205460ff16155b15611cb257611c36838383612221565b6001600160a01b03831660009081526019602052604090205460ff16158015611cf457506001600160a01b03821660009081526019602052604090205460ff16155b15611d5b57600854811115611d5b5760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b606482015260840161099d565b600b54601054601c546001600160a01b0390811690851603611d9f57600c54600b556011546010556016544211611d9f57600e54600b54611d9b91611951565b600b555b30600090815260208190526040902054601d5481108015908190611dcd5750601c54600160a01b900460ff16155b8015611de75750601c546001600160a01b03888116911614155b8015611dfc5750601c54600160a81b900460ff165b15611e0a57611e0a826123a4565b6001600160a01b03871660009081526018602052604090205460ff1680611e4957506001600160a01b03861660009081526018602052604090205460ff165b15611e5657611e566124b0565b600080611e62876124f5565b6001600160a01b038b166000908152602081905260409020549193509150611e8a908861251c565b6001600160a01b03808b1660009081526020819052604080822093909355908a1681522054611eb99083611951565b6001600160a01b038916600090815260208190526040902055611edb81612528565b601e5460ff1615611eff576000611ef188612555565b9050611efd3082612572565b505b6001600160a01b0388166000908152601a602052604090205460ff1615611f3b576000611f2d6001846129cd565b9050611f398982612572565b505b6001600160a01b03891660009081526018602052604090205460ff1680611f7a57506001600160a01b03881660009081526018602052604090205460ff165b15611f9657611f96600a54600955600d54600b55601254601055565b600b86905560108590556040518281526001600160a01b03808a1691908b16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050505050505050565b600081848411156120125760405162461bcd60e51b815260040161099d91906126f0565b505050900390565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061204f5761204f612954565b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cc9190612999565b816001815181106120df576120df612954565b6001600160a01b039283166020918202929092010152601b54612105913091168461195d565b601b5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061213e908590600090869030904290600401612a2b565b600060405180830381600087803b15801561215857600080fd5b505af115801561216c573d6000803e3d6000fd5b505050505050565b600080805b6006548110156121db576121bd6006828154811061219957612199612954565b60009182526020808320909101546001600160a01b03168252819052604090205490565b6121c790836129e0565b9150806121d381612980565b915050612179565b50919050565b801561221d576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611c36573d6000803e3d6000fd5b5050565b6001600160a01b0383166122855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161099d565b6001600160a01b0382166122e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161099d565b61232481604051806060016040528060268152602001612a8a602691396001600160a01b0386166000908152602081905260409020549190611fee565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546123539082611951565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611a75565b601c805460ff60a01b1916600160a01b179055600954600b546000916123ca9190611951565b9050806000036123da57506124a0565b476123e48361201a565b60006123f0478361251c565b9050801561249c576000612413846116666009548561193290919063ffffffff16565b60145490915061242c906001600160a01b0316826121e1565b600061244785611666600b548661193290919063ffffffff16565b601554909150612460906001600160a01b0316826121e1565b60408051878152602081018590527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a150505b5050505b50601c805460ff60a01b19169055565b600b541580156124c05750600954155b80156124cc5750601054155b156124d357565b60098054600a55600b8054600d55601080546012556000928390559082905555565b60008060006125038461267d565b90506000612511858361251c565b959194509092505050565b600061193e82846129cd565b306000908152602081905260409020546125429082611951565b3060009081526020819052604090205550565b6000610b456127106116666010548561193290919063ffffffff16565b6001600160a01b0382166125d25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161099d565b61260f81604051806060016040528060228152602001612a68602291396001600160a01b0385166000908152602081905260409020549190611fee565b6001600160a01b038316600090815260208190526040902055600254612635908261251c565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000806126a360105461269d600954600b5461195190919063ffffffff16565b90611951565b905061193e6127106116668584611932565b600080600080600060a086880312156126cd57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208083528351808285015260005b8181101561271d57858101830151858201604001528201612701565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461115657600080fd5b6000806040838503121561276657600080fd5b82356127718161273e565b946020939093013593505050565b60006020828403121561279157600080fd5b813561193e8161273e565b6000806000606084860312156127b157600080fd5b83356127bc8161273e565b925060208401356127cc8161273e565b929592945050506040919091013590565b803580151581146127ed57600080fd5b919050565b60006020828403121561280457600080fd5b61193e826127dd565b6000806040838503121561282057600080fd5b823561282b8161273e565b9150612839602084016127dd565b90509250929050565b60006020828403121561285457600080fd5b5035919050565b600081518084526020808501945080840160005b838110156128945781516001600160a01b03168752958201959082019060010161286f565b509495945050505050565b60208152600061193e602083018461285b565b600080604083850312156128c557600080fd5b82356128d08161273e565b915060208301356128e08161273e565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061293457607f821691505b6020821081036121db57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016129925761299261296a565b5060010190565b6000602082840312156129ab57600080fd5b815161193e8161273e565b8082028115828204841417610b4557610b4561296a565b81810381811115610b4557610b4561296a565b80820180821115610b4557610b4561296a565b600082612a1057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603160045260246000fd5b85815284602082015260a060408201526000612a4a60a083018661285b565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d52109b3a868a15a64256be95e14cc5af5dc6604bf73b7825587252010c8479e64736f6c63430008120033

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.