ETH Price: $3,836.09 (-2.11%)

Token

The Peoples Coin (PEEP$)
 

Overview

Max Total Supply

971,152,239.770019541 PEEP$

Holders

7,087 (0.00%)

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$187,179.88

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 9 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

PEEP$ is a community-built project that provides a Real-World Solution to bridge the current gap between Charitable Giving & Fundraising initiatives with Blockchain Technology; providing a recognizable ‘GoFundMe-like’ universal digital payment ability for ALL donating and fundraising initiatives.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ThePeoplesCoin

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited
File 1 of 13 : PEEP$.sol
/*
Website:  https://thepeoplescoin.money
Telegram: https://t.me/thepeoplescoinofficial
Twitter:  https://twitter.com/ThePeoples_Coin
Facebook: https://www.facebook.com/groups/thepeoplescoin1
                                                                                       $$$$$     
                                                                                       $:::$      
PPPPPPPPPPPPPPPPP  EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEPPPPPPPPPPPPPPPPP     $$$$$:::$$$$$$ 
P::::::::::::::::P E::::::::::::::::::::E::::::::::::::::::::P::::::::::::::::P  $$::::::::::::::$
P::::::PPPPPP:::::PE::::::::::::::::::::E::::::::::::::::::::P::::::PPPPPP:::::P$:::::$$:::$$::::$
PP:::::P     P:::::EE::::::EEEEEEEEE::::EE::::::EEEEEEEEE::::PP:::::P     P:::::$::::$  ::: $$$$$
  P::::P     P:::::P E:::::E       EEEEEE E:::::E       EEEEEE P::::P     P:::::$::::$  :::          
  P::::P     P:::::P E:::::E              E:::::E              P::::P     P:::::$::::$  :::          
  P::::PPPPPP:::::P  E::::::EEEEEEEEEE    E::::::EEEEEEEEEE    P::::PPPPPP:::::P$:::::$$:::$$$$   
  P:::::::::::::PP   E:::::::::::::::E    E:::::::::::::::E    P:::::::::::::PP  $$::::::::::::$$ 
  P::::PPPPPPPPP     E:::::::::::::::E    E:::::::::::::::E    P::::PPPPPPPPP      $$$$$:::$:::::$
  P::::P             E::::::EEEEEEEEEE    E::::::EEEEEEEEEE    P::::P                   ::: $::::$
  P::::P             E:::::E              E:::::E              P::::P                   ::: $::::$
  P::::P             E:::::E       EEEEEE E:::::E       EEEEEE P::::P           $$$$$   ::: $::::$
PP::::::PP         EE::::::EEEEEEEE:::::EE::::::EEEEEEEE:::::PP::::::PP         $::::$$$:::$:::::$
P::::::::P         E::::::::::::::::::::E::::::::::::::::::::P::::::::P         $::::::::::::::$$ 
P::::::::P         E::::::::::::::::::::E::::::::::::::::::::P::::::::P          $$$$$$$:::$$$$$   
PPPPPPPPPP         EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEPPPPPPPPPP                $:::$       
                                                                                       $$$$$      
*/                                                                                             
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

import "./SafeMath.sol";
import "./Address.sol";
import "./RewardsToken.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router.sol";
import "./IUniswapV2Pair.sol";
import "./IRewardsTracker.sol";


contract ThePeoplesCoin is RewardsToken {
    using SafeMath for uint256;
    using Address for address;
    
    
    uint256 private constant REWARDS_TRACKER_IDENTIFIER = 14; 
    uint256 private constant TOTAL_SUPPLY = 1000000000 * (10**9);

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

    uint256 private platformFee = 0; 
    uint256 private _previousPlatformFee = platformFee;

    uint256 public devFee = 0; 
    uint256 public sellDevFee = 0; 
    uint256 private _previousDevFee = devFee;
    
    uint256 public rewardsFee = 200; 
    uint256 public sellRewardsFee = 200; 
    uint256 private _previousRewardsFee = rewardsFee;

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

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

    address payable private _platformWalletAddress =
        payable(0x65D3956471aC88e6a006Bb36948CE72B46545696);
    address payable private _devWalletAddress =
        payable(0x0D91892FB500100ca665C05980a3649FF5cD865A); 

    uint256 public blacklistDeadline = 0;
    uint256 public launchSellFeeDeadline = 0;

    IRewardsTracker private _rewardsTracker;

   
    bool public useGenericTransfer = true;

   
    bool private preparedForLaunch = false;

    
    mapping(address => bool) public isBlacklisted;
    
    
    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 = 100000  * 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 ExcludeFromFees(address wallet);
    event IncludeInFees(address wallet);
    event DevWalletUpdated(address newDevWallet);
    event RewardsTrackerUpdated(address newRewardsTracker);
    event RouterUpdated(address newRouterAddress);
    event FeesChanged(
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newRewardsFee,
        uint256 newSellRewardsFee,
        uint256 newburnFee, 
        uint256 newSellburnFee
    );
    event LaunchFeeUpdated(uint256 newLaunchSellFee);

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

    constructor() ERC20("The Peoples Coin", "PEEP$") {
        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;
        
        
        excludeFromRewards(address(this));
        excludeFromRewards(owner());
        excludeFromRewards(address(0xdead));
        excludeFromRewards(uniswapV2Pair);

        
        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");
        
        require(
            !isBlacklisted[from] && !isBlacklisted[to],
            "Blacklisted address"
        );

        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 baseRewardsFee = rewardsFee;
        uint256 baseDevFee = devFee;
        uint256 baseBurnFee = burnFee; 
        if (to == uniswapV2Pair) {
            devFee = sellDevFee;
            rewardsFee = sellRewardsFee;
            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;
        rewardsFee = baseRewardsFee;
        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(rewardsFee).add(platformFee).add(burnFee); 
        return _amount.mul(totalFee).div(10000);
    }

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

        _previousPlatformFee = platformFee;
        _previousDevFee = devFee;
        _previousRewardsFee = rewardsFee;
        _previousBurnFee = burnFee;

        platformFee = 0;
        devFee = 0;
        rewardsFee = 0;
        burnFee = 0; 
    }

    function restoreAllFee() private {
        platformFee = _previousPlatformFee;
        devFee = _previousDevFee;
        rewardsFee = _previousRewardsFee;
        burnFee = _previousBurnFee;
    }

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

        
        swapTokensForEth(contractTokenBalance);

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

        if (newBalance > 0) {
            
            uint256 platformBalance = newBalance.mul(platformFee).div(totalRedirectFee);
            sendEthToWallet(_platformWalletAddress, platformBalance);

            
            uint256 rewardsBalance = newBalance.mul(rewardsFee).div(totalRedirectFee);
            if (rewardsBalance > 0 && address(_rewardsTracker) != address(0)) {
                try _rewardsTracker.addAllocation{value: rewardsBalance}(REWARDS_TRACKER_IDENTIFIER) {} catch {}
            }
            
            
            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;

        
        blacklistDeadline = block.timestamp + 8760 hours;

        
        launchSellFeeDeadline = block.timestamp + 8760 hours;
    }

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

    function blacklistAddress(address account, bool value) public onlyOwner {
        if (value) {
            require(block.timestamp < blacklistDeadline, "The ability to blacklist accounts has been disabled.");
        }
        isBlacklisted[account] = value;
    }

    
    
    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 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 newPlatformFee,
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newRewardsFee,
        uint256 newSellRewardsFee,
        uint256 newburnFee,
        uint256 newSellburnFee
    ) external onlyOwner {
        require(
            newPlatformFee <= 1000 &&
            newDevFee <= 1000 &&
            newSellDevFee <= 1000 &&
            newRewardsFee <= 1000 &&
            newSellRewardsFee <= 1000 &&
            newburnFee <= 1000 &&
            newSellburnFee <= 1000,
            "Fees exceed maximum allowed value"
        );
        platformFee = newPlatformFee;
        devFee = newDevFee;
        sellDevFee = newSellDevFee;
        rewardsFee = newRewardsFee;
        sellRewardsFee = newSellRewardsFee;
        burnFee = newburnFee;
        sellburnFee = newSellburnFee;
        emit FeesChanged(newDevFee, newSellDevFee, newRewardsFee, newSellRewardsFee, newburnFee, newSellburnFee);
    }

    function setLaunchSellFee(uint256 newLaunchSellFee) external onlyOwner {
        require(newLaunchSellFee <= 2500, "Maximum launch sell fee is 25%");
        launchSellFee = newLaunchSellFee;
        emit LaunchFeeUpdated(newLaunchSellFee);
    }

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

    }

    function setPlatformWallet(address payable newPlatformWallet)
        external
        onlyOwner
    {
        _platformWalletAddress = newPlatformWallet;
    }
    
    function setRewardsTracker(address payable newRewardsTracker)
        external
        onlyOwner
    {
        _rewardsTracker = IRewardsTracker(newRewardsTracker);
        emit RewardsTrackerUpdated(newRewardsTracker);
    }

    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 = false; 

    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 13 : IRewardsTracker.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

interface IRewardsTracker {
    
    function addAllocation(uint identifier) external payable;
}

File 3 of 13 : 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 4 of 13 : 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 5 of 13 : IUniswapV2Factory.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

interface IUniswapV2Factory {

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

File 6 of 13 : RewardsToken.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

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

abstract contract RewardsToken is ERC20, Ownable {

    address[] private excludedFromRewards;
    mapping(address => bool) private isAddressExcluded;
    
    event ExcludeFromRewards(address wallet);
    event IncludeInRewards(address wallet);
    
    function deleteExcluded(uint index) internal {
        require(index < excludedFromRewards.length, "Index is greater than array length");
        excludedFromRewards[index] = excludedFromRewards[excludedFromRewards.length - 1];
        excludedFromRewards.pop();
    }
    
    function getExcludedBalances() internal view returns (uint256) {
        uint256 totalExcludedHoldings = 0;
        for (uint i = 0; i < excludedFromRewards.length; i++) {
            totalExcludedHoldings += balanceOf(excludedFromRewards[i]);
        }
        return totalExcludedHoldings;
    }
    
    function excludeFromRewards(address wallet) public onlyOwner {
        require(!isAddressExcluded[wallet], "Address is already excluded from rewards");
        excludedFromRewards.push(wallet);
        isAddressExcluded[wallet] = true;
        emit ExcludeFromRewards(wallet);
    }
    
    function includeInRewards(address wallet) external onlyOwner {
        require(isAddressExcluded[wallet], "Address is not excluded from rewards");
        for (uint i = 0; i < excludedFromRewards.length; i++) {
            if (excludedFromRewards[i] == wallet) {
                isAddressExcluded[wallet] = false;
                deleteExcluded(i);
                break;
            }
        }
        emit IncludeInRewards(wallet);
    }
    
    function isExcludedFromRewards(address wallet) external view returns (bool) {
        return isAddressExcluded[wallet];
    }
    
    function getAllExcludedFromRewards() external view returns (address[] memory) {
        return excludedFromRewards;
    }
    
    function getRewardsSupply() public view returns (uint256) {
        return _totalSupply - getExcludedBalances();
    }
}

File 7 of 13 : 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 8 of 13 : 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 9 of 13 : 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 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromRewards","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":"newRewardsFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellRewardsFee","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":"IncludeInFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeInRewards","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":"newRewardsTracker","type":"address"}],"name":"RewardsTrackerUpdated","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistDeadline","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":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllExcludedFromRewards","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"includeInRewards","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":"","type":"address"}],"name":"isBlacklisted","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":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isExcludedFromRewards","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":"rewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardsFee","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":"newPlatformFee","type":"uint256"},{"internalType":"uint256","name":"newDevFee","type":"uint256"},{"internalType":"uint256","name":"newSellDevFee","type":"uint256"},{"internalType":"uint256","name":"newRewardsFee","type":"uint256"},{"internalType":"uint256","name":"newSellRewardsFee","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":"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 payable","name":"newPlatformWallet","type":"address"}],"name":"setPlatformWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newRewardsTracker","type":"address"}],"name":"setRewardsTracker","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"}]

6080604052620000426103e86200002e6002670de0b6b3a7640000620004c060201b62001bc71790919060201c565b620004d760201b62001bda1790919060201c565b60085560006009819055600a819055600b819055600c819055600d81905560c8600e819055600f81905560108190556011829055601282905560138190556014819055601555601780546001600160a01b03199081167365d3956471ac88e6a006bb36948ce72b465456961790915560188054909116730d91892fb500100ca665c05980a3649ff5cd865a1790556019819055601a55601b805461ffff60a01b1916600160a01b1790556021805460ff60a81b1916600160a81b179055655af3107a40006022556023805460ff191690553480156200012057600080fd5b506040518060400160405280601081526020016f2a3432902832b7b83632b99021b7b4b760811b81525060405180604001604052806005815260200164141151540960da1b815250816003908162000179919062000812565b50600462000188828262000812565b50505060006200019d620004e560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000243573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002699190620008de565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002dd9190620008de565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200032b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003519190620008de565b602180546001600160a01b03199081166001600160a01b039384161790915560208054909116838316179055600554620003959116670de0b6b3a7640000620004e9565b6001601d6000620003ae6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152601d909252812080549092166001908117909255601e90620004076005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530808252601e9093522080549092166001179091556200045390620005e9565b620004706200046a6005546001600160a01b031690565b620005e9565b6200047d61dead620005e9565b60215462000494906001600160a01b0316620005e9565b506021546001600160a01b03166000908152601660205260409020805460ff1916600117905562000979565b6000620004ce828462000926565b90505b92915050565b6000620004ce828462000940565b3390565b6001600160a01b038216620005455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b62000561816002546200076060201b62001be61790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200059491839062001be662000760821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200053c565b6001600160a01b03811660009081526007602052604090205460ff1615620006c15760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b60648201526084016200053c565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd6910160405180910390a150565b505050565b6000620004ce828462000963565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200079957607f821691505b602082108103620007ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075b57600081815260208120601f850160051c81016020861015620007e95750805b601f850160051c820191505b818110156200080a57828155600101620007f5565b505050505050565b81516001600160401b038111156200082e576200082e6200076e565b62000846816200083f845462000784565b84620007c0565b602080601f8311600181146200087e5760008415620008655750858301515b600019600386901b1c1916600185901b1785556200080a565b600085815260208120601f198616915b82811015620008af578886015182559484019460019091019084016200088e565b5085821015620008ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008f157600080fd5b81516001600160a01b03811681146200090957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620004d157620004d162000910565b6000826200095e57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620004d157620004d162000910565b612f3780620009896000396000f3fe60806040526004361061036f5760003560e01c806373e7714a116101c6578063b609995e116100f7578063e89bcca211610095578063f42938901161006f578063f429389014610a23578063fce589d814610a38578063fe575a8714610a4e578063fffa1dd914610a7e57600080fd5b8063e89bcca2146109c3578063ea2f0b37146109e3578063f2fde38b14610a0357600080fd5b8063cf0c018b116100d1578063cf0c018b14610927578063d543dbeb1461093d578063da2e3bad1461095d578063dd62ed3e1461097d57600080fd5b8063b609995e146108d1578063ba385abb146108f1578063bb8d51311461091157600080fd5b806398850b6411610164578063a457c2d71161013e578063a457c2d714610859578063a9059cbb14610879578063ada46d0a14610899578063af01f2b2146108bb57600080fd5b806398850b641461080d578063a0d82dc51461082e578063a1ab19a31461084457600080fd5b80638c0b5e22116101a05780638c0b5e22146107a45780638da5cb5b146107ba578063903cdec0146107d857806395d89b41146107f857600080fd5b806373e7714a146107445780638421b507146107645780638831e9cf1461078457600080fd5b8063393344b6116102a057806349bd5a5e1161023e578063549593631161021857806354959363146106cd5780636827e764146106e357806370a08231146106f9578063715018a61461072f57600080fd5b806349bd5a5e1461065f57806351bc3c851461067f5780635342acb41461069457600080fd5b80634337ac5b1161027a5780634337ac5b146105cf578063437823ec146105ff578063455a43961461061f57806348a464731461063f57600080fd5b8063393344b61461056f578063395093511461058f57806341cb87fc146105af57600080fd5b806318160ddd1161030d57806326b6308d116102e757806326b6308d1461050357806328ba35e2146105235780632bb14e1d1461053d578063313ce5671461055357600080fd5b806318160ddd146104ae5780631f53ac02146104c357806323b872dd146104e357600080fd5b8063111e037611610349578063111e03761461040f578063113201fa1461043157806312ee302d146104525780631694505e1461047657600080fd5b806306fdde031461037b578063095ea7b3146103a65780630e832273146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a93565b60405161039d9190612aa9565b60405180910390f35b3480156103b257600080fd5b506103c66103c1366004612b0c565b610b25565b604051901515815260200161039d565b3480156103e257600080fd5b506103c66103f1366004612b38565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561041b57600080fd5b5061042f61042a366004612b38565b610b3c565b005b34801561043d57600080fd5b506021546103c690600160a81b900460ff1681565b34801561045e57600080fd5b5061046860145481565b60405190815260200161039d565b34801561048257600080fd5b50602054610496906001600160a01b031681565b6040516001600160a01b03909116815260200161039d565b3480156104ba57600080fd5b50600254610468565b3480156104cf57600080fd5b5061042f6104de366004612b38565b610c84565b3480156104ef57600080fd5b506103c66104fe366004612b55565b610cfc565b34801561050f57600080fd5b5061042f61051e366004612bab565b610d65565b34801561052f57600080fd5b506023546103c69060ff1681565b34801561054957600080fd5b50610468600e5481565b34801561055f57600080fd5b506040516009815260200161039d565b34801561057b57600080fd5b5061042f61058a366004612bc6565b610ddc565b34801561059b57600080fd5b506103c66105aa366004612b0c565b610e31565b3480156105bb57600080fd5b5061042f6105ca366004612b38565b610e67565b3480156105db57600080fd5b506103c66105ea366004612b38565b60166020526000908152604090205460ff1681565b34801561060b57600080fd5b5061042f61061a366004612b38565b61100c565b34801561062b57600080fd5b5061042f61063a366004612bc6565b61108a565b34801561064b57600080fd5b5061042f61065a366004612bfb565b611153565b34801561066b57600080fd5b50602154610496906001600160a01b031681565b34801561068b57600080fd5b5061042f6111be565b3480156106a057600080fd5b506103c66106af366004612b38565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156106d957600080fd5b5061046860115481565b3480156106ef57600080fd5b50610468600b5481565b34801561070557600080fd5b50610468610714366004612b38565b6001600160a01b031660009081526020819052604090205490565b34801561073b57600080fd5b5061042f611204565b34801561075057600080fd5b5061042f61075f366004612bab565b611278565b34801561077057600080fd5b5061042f61077f366004612bfb565b6112b5565b34801561079057600080fd5b5061042f61079f366004612b38565b611366565b3480156107b057600080fd5b5061046860085481565b3480156107c657600080fd5b506005546001600160a01b0316610496565b3480156107e457600080fd5b5061042f6107f3366004612bc6565b6113b2565b34801561080457600080fd5b50610390611407565b34801561081957600080fd5b50601b546103c690600160a01b900460ff1681565b34801561083a57600080fd5b50610468600c5481565b34801561085057600080fd5b5061042f611416565b34801561086557600080fd5b506103c6610874366004612b0c565b6114d1565b34801561088557600080fd5b506103c6610894366004612b0c565b611520565b3480156108a557600080fd5b506108ae61152d565b60405161039d9190612c58565b3480156108c757600080fd5b50610468601a5481565b3480156108dd57600080fd5b5061042f6108ec366004612b38565b61158e565b3480156108fd57600080fd5b5061042f61090c366004612b38565b6116ea565b34801561091d57600080fd5b50610468600f5481565b34801561093357600080fd5b5061046860195481565b34801561094957600080fd5b5061042f610958366004612bfb565b611762565b34801561096957600080fd5b5061042f610978366004612c6b565b611830565b34801561098957600080fd5b50610468610998366004612cb7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109cf57600080fd5b5061042f6109de366004612bab565b61198c565b3480156109ef57600080fd5b5061042f6109fe366004612b38565b611a03565b348015610a0f57600080fd5b5061042f610a1e366004612b38565b611a7e565b348015610a2f57600080fd5b5061042f611b69565b348015610a4457600080fd5b5061046860135481565b348015610a5a57600080fd5b506103c6610a69366004612b38565b601c6020526000908152604090205460ff1681565b348015610a8a57600080fd5b50610468611bab565b606060038054610aa290612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace90612cf0565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b6000610b32338484611bf2565b5060015b92915050565b6005546001600160a01b03163314610b6f5760405162461bcd60e51b8152600401610b6690612d24565b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff1615610be95760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b6064820152608401610b66565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd691015b60405180910390a150565b6005546001600160a01b03163314610cae5760405162461bcd60e51b8152600401610b6690612d24565b601880546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610c79565b6000610d09848484611d17565b610d5b8433610d5685604051806060016040528060288152602001612eb5602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612219565b611bf2565b5060019392505050565b6005546001600160a01b03163314610d8f5760405162461bcd60e51b8152600401610b6690612d24565b60218054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610c7990831515815260200190565b6005546001600160a01b03163314610e065760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b32918590610d569086611be6565b6005546001600160a01b03163314610e915760405162461bcd60e51b8152600401610b6690612d24565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef89190612d59565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f699190612d59565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190612d59565b602180546001600160a01b039283166001600160a01b0319918216179091556020805493909216921691909117905550565b6005546001600160a01b031633146110365760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610c79565b6005546001600160a01b031633146110b45760405162461bcd60e51b8152600401610b6690612d24565b80156111285760195442106111285760405162461bcd60e51b815260206004820152603460248201527f546865206162696c69747920746f20626c61636b6c697374206163636f756e7460448201527339903430b9903132b2b7103234b9b0b13632b21760611b6064820152608401610b66565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461117d5760405162461bcd60e51b8152600401610b6690612d24565b61118b81633b9aca00612d8c565b6022556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610c79565b6005546001600160a01b031633146111e85760405162461bcd60e51b8152600401610b6690612d24565b3060009081526020819052604090205461120181612245565b50565b6005546001600160a01b0316331461122e5760405162461bcd60e51b8152600401610b6690612d24565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112a25760405162461bcd60e51b8152600401610b6690612d24565b6023805460ff1916911515919091179055565b6005546001600160a01b031633146112df5760405162461bcd60e51b8152600401610b6690612d24565b6109c48111156113315760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d206c61756e63682073656c6c206665652069732032352500006044820152606401610b66565b60118190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610c79565b6005546001600160a01b031633146113905760405162461bcd60e51b8152600401610b6690612d24565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113dc5760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b606060048054610aa290612cf0565b6005546001600160a01b031633146114405760405162461bcd60e51b8152600401610b6690612d24565b601b54600160a81b900460ff161561149a5760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e636800000000006044820152606401610b66565b601b805460ff60a81b1916600160a81b1790556114bb426301e13380612da3565b6019556114cc426301e13380612da3565b601a55565b6000610b323384610d5685604051806060016040528060258152602001612edd602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612219565b6000610b32338484611d17565b60606006805480602002602001604051908101604052809291908181526020018280548015610b1b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611567575050505050905090565b6005546001600160a01b031633146115b85760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03811660009081526007602052604090205460ff1661162c5760405162461bcd60e51b8152602060048201526024808201527f41646472657373206973206e6f74206578636c756465642066726f6d207265776044820152636172647360e01b6064820152608401610b66565b60005b6006548110156116b057816001600160a01b03166006828154811061165657611656612db6565b6000918252602090912001546001600160a01b03160361169e576001600160a01b0382166000908152600760205260409020805460ff19169055611699816123a0565b6116b0565b806116a881612dcc565b91505061162f565b506040516001600160a01b03821681527f87434094d24a90fbd9a8ffcf2be9818d237c06a12d126296bc1ea7d58959433490602001610c79565b6005546001600160a01b031633146117145760405162461bcd60e51b8152600401610b6690612d24565b601b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f535be0bbc71c839ded01277ab57f29f2e810c1ff0255bb938d7cb8e96ac8ca1a90602001610c79565b6005546001600160a01b0316331461178c5760405162461bcd60e51b8152600401610b6690612d24565b60058110156117dd5760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e352500000000006044820152606401610b66565b6117fb6103e86117f5670de0b6b3a764000084611bc7565b90611bda565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610c79565b6005546001600160a01b0316331461185a5760405162461bcd60e51b8152600401610b6690612d24565b6103e8871115801561186e57506103e88611155b801561187c57506103e88511155b801561188a57506103e88411155b801561189857506103e88311155b80156118a657506103e88211155b80156118b457506103e88111155b61190a5760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b6064820152608401610b66565b6009879055600b869055600c859055600e849055600f839055601382905560148190556040805187815260208101879052908101859052606081018490526080810183905260a081018290527f4f3b60f00ab30635825994816ab704331aa84771a97a768ba4ce3e7bfd888f429060c00160405180910390a150505050505050565b6005546001600160a01b031633146119b65760405162461bcd60e51b8152600401610b6690612d24565b601b8054821515600160a01b0260ff60a01b199091161790556040517f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590610c7990831515815260200190565b6005546001600160a01b03163314611a2d5760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610c79565b6005546001600160a01b03163314611aa85760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b038116611b0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b66565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b935760405162461bcd60e51b8152600401610b6690612d24565b6018544790611201906001600160a01b0316826124ac565b6000611bb56124ec565b600254611bc29190612de5565b905090565b6000611bd38284612d8c565b9392505050565b6000611bd38284612df8565b6000611bd38284612da3565b6001600160a01b038316611c545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b66565b6001600160a01b038216611cb55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b66565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b601b54600160a81b900460ff1680611d3957506005546001600160a01b031633145b611dab5760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e6572006064820152608401610b66565b6001600160a01b0383166000908152601c602052604090205460ff16158015611ded57506001600160a01b0382166000908152601c602052604090205460ff16155b611e2f5760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b6044820152606401610b66565b601b54600160a01b900460ff1615611e5157611e4c838383612559565b505050565b6001600160a01b03831660009081526016602052604090205460ff16158015611e9357506001600160a01b03821660009081526016602052604090205460ff16155b8015611eb857506001600160a01b0382166000908152601f602052604090205460ff16155b15611ec857611e4c838383612559565b6001600160a01b0383166000908152601e602052604090205460ff16158015611f0a57506001600160a01b0382166000908152601e602052604090205460ff16155b15611f7157600854811115611f715760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610b66565b600e54600b546013546021546001600160a01b0390811690861603611fbe57600c54600b55600f54600e55601454601355601a544211611fbe57601154600b54611fba91611be6565b600b555b3060009081526020819052604090205460225481108015908190611fec5750602154600160a01b900460ff16155b801561200657506021546001600160a01b03898116911614155b801561201b5750602154600160a81b900460ff165b1561202957612029826126dc565b6001600160a01b0388166000908152601d602052604090205460ff168061206857506001600160a01b0387166000908152601d602052604090205460ff165b156120755761207561288e565b600080612081886128e9565b6001600160a01b038c1660009081526020819052604090205491935091506120a99089612910565b6001600160a01b03808c1660009081526020819052604080822093909355908b16815220546120d89083611be6565b6001600160a01b038a166000908152602081905260409020556120fa8161291c565b60235460ff161561211e57600061211089612949565b905061211c3082612966565b505b6001600160a01b0389166000908152601f602052604090205460ff161561215a57600061214c600184612de5565b90506121588a82612966565b505b6001600160a01b038a166000908152601d602052604090205460ff168061219957506001600160a01b0389166000908152601d602052604090205460ff165b156121bb576121bb600a54600955600d54600b55601054600e55601554601355565b600b869055600e87905560138590556040518281526001600160a01b038a811691908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050565b6000818484111561223d5760405162461bcd60e51b8152600401610b669190612aa9565b505050900390565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061227a5761227a612db6565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156122d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f69190612d59565b8160018151811061230957612309612db6565b6001600160a01b03928316602091820292909201810191909152546123319130911684611bf2565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac9479061236a908590600090869030904290600401612e1a565b600060405180830381600087803b15801561238457600080fd5b505af1158015612398573d6000803e3d6000fd5b505050505050565b60065481106123fc5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b6064820152608401610b66565b6006805461240c90600190612de5565b8154811061241c5761241c612db6565b600091825260209091200154600680546001600160a01b03909216918390811061244857612448612db6565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600680548061248757612487612e56565b600082815260209020810160001990810180546001600160a01b031916905501905550565b80156124e8576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611e4c573d6000803e3d6000fd5b5050565b600080805b600654811015612553576125356006828154811061251157612511612db6565b60009182526020808320909101546001600160a01b03168252819052604090205490565b61253f9083612da3565b91508061254b81612dcc565b9150506124f1565b50919050565b6001600160a01b0383166125bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b66565b6001600160a01b03821661261f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b66565b61265c81604051806060016040528060268152602001612e8f602691396001600160a01b0386166000908152602081905260409020549190612219565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461268b9082611be6565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d0a565b6021805460ff60a01b1916600160a01b179055600954600e54600b5460009261271092909161270a91611be6565b90611be6565b905080600003612720575061287e565b4761272a83612245565b60006127364783612910565b9050801561287a576000612759846117f560095485611bc790919063ffffffff16565b601754909150612772906001600160a01b0316826124ac565b600061278d856117f5600e5486611bc790919063ffffffff16565b90506000811180156127a95750601b546001600160a01b031615155b1561280957601b5460405163febd221b60e01b8152600e60048201526001600160a01b039091169063febd221b9083906024016000604051808303818588803b1580156127f557600080fd5b505af193505050508015612807575060015b505b6000612824866117f5600b5487611bc790919063ffffffff16565b60185490915061283d906001600160a01b0316826124ac565b60408051888152602081018690527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a15050505b5050505b506021805460ff60a01b19169055565b600b5415801561289e5750600e54155b80156128aa5750600954155b80156128b65750601354155b156128bd57565b60098054600a55600b8054600d55600e8054601055601380546015556000938490559183905582905555565b60008060006128f784612a71565b905060006129058583612910565b959194509092505050565b6000611bd38284612de5565b306000908152602081905260409020546129369082611be6565b3060009081526020819052604090205550565b6000610b366127106117f560135485611bc790919063ffffffff16565b6001600160a01b0382166129c65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b66565b612a0381604051806060016040528060228152602001612e6d602291396001600160a01b0385166000908152602081905260409020549190612219565b6001600160a01b038316600090815260208190526040902055600254612a299082612910565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080612a9760135461270a60095461270a600e54600b54611be690919063ffffffff16565b9050611bd36127106117f58584611bc7565b600060208083528351808285015260005b81811015612ad657858101830151858201604001528201612aba565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461120157600080fd5b60008060408385031215612b1f57600080fd5b8235612b2a81612af7565b946020939093013593505050565b600060208284031215612b4a57600080fd5b8135611bd381612af7565b600080600060608486031215612b6a57600080fd5b8335612b7581612af7565b92506020840135612b8581612af7565b929592945050506040919091013590565b80358015158114612ba657600080fd5b919050565b600060208284031215612bbd57600080fd5b611bd382612b96565b60008060408385031215612bd957600080fd5b8235612be481612af7565b9150612bf260208401612b96565b90509250929050565b600060208284031215612c0d57600080fd5b5035919050565b600081518084526020808501945080840160005b83811015612c4d5781516001600160a01b031687529582019590820190600101612c28565b509495945050505050565b602081526000611bd36020830184612c14565b600080600080600080600060e0888a031215612c8657600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060408385031215612cca57600080fd5b8235612cd581612af7565b91506020830135612ce581612af7565b809150509250929050565b600181811c90821680612d0457607f821691505b60208210810361255357634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612d6b57600080fd5b8151611bd381612af7565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b3657610b36612d76565b80820180821115610b3657610b36612d76565b634e487b7160e01b600052603260045260246000fd5b600060018201612dde57612dde612d76565b5060010190565b81810381811115610b3657610b36612d76565b600082612e1557634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612e3960a0830186612c14565b6001600160a01b0394909416606083015250608001529392505050565b634e487b7160e01b600052603160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c04848875569f21b1bc2f6e7b6f476f8a9ed403631671036450c3516b46fd08964736f6c63430008110033

Deployed Bytecode

0x60806040526004361061036f5760003560e01c806373e7714a116101c6578063b609995e116100f7578063e89bcca211610095578063f42938901161006f578063f429389014610a23578063fce589d814610a38578063fe575a8714610a4e578063fffa1dd914610a7e57600080fd5b8063e89bcca2146109c3578063ea2f0b37146109e3578063f2fde38b14610a0357600080fd5b8063cf0c018b116100d1578063cf0c018b14610927578063d543dbeb1461093d578063da2e3bad1461095d578063dd62ed3e1461097d57600080fd5b8063b609995e146108d1578063ba385abb146108f1578063bb8d51311461091157600080fd5b806398850b6411610164578063a457c2d71161013e578063a457c2d714610859578063a9059cbb14610879578063ada46d0a14610899578063af01f2b2146108bb57600080fd5b806398850b641461080d578063a0d82dc51461082e578063a1ab19a31461084457600080fd5b80638c0b5e22116101a05780638c0b5e22146107a45780638da5cb5b146107ba578063903cdec0146107d857806395d89b41146107f857600080fd5b806373e7714a146107445780638421b507146107645780638831e9cf1461078457600080fd5b8063393344b6116102a057806349bd5a5e1161023e578063549593631161021857806354959363146106cd5780636827e764146106e357806370a08231146106f9578063715018a61461072f57600080fd5b806349bd5a5e1461065f57806351bc3c851461067f5780635342acb41461069457600080fd5b80634337ac5b1161027a5780634337ac5b146105cf578063437823ec146105ff578063455a43961461061f57806348a464731461063f57600080fd5b8063393344b61461056f578063395093511461058f57806341cb87fc146105af57600080fd5b806318160ddd1161030d57806326b6308d116102e757806326b6308d1461050357806328ba35e2146105235780632bb14e1d1461053d578063313ce5671461055357600080fd5b806318160ddd146104ae5780631f53ac02146104c357806323b872dd146104e357600080fd5b8063111e037611610349578063111e03761461040f578063113201fa1461043157806312ee302d146104525780631694505e1461047657600080fd5b806306fdde031461037b578063095ea7b3146103a65780630e832273146103d657600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a93565b60405161039d9190612aa9565b60405180910390f35b3480156103b257600080fd5b506103c66103c1366004612b0c565b610b25565b604051901515815260200161039d565b3480156103e257600080fd5b506103c66103f1366004612b38565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561041b57600080fd5b5061042f61042a366004612b38565b610b3c565b005b34801561043d57600080fd5b506021546103c690600160a81b900460ff1681565b34801561045e57600080fd5b5061046860145481565b60405190815260200161039d565b34801561048257600080fd5b50602054610496906001600160a01b031681565b6040516001600160a01b03909116815260200161039d565b3480156104ba57600080fd5b50600254610468565b3480156104cf57600080fd5b5061042f6104de366004612b38565b610c84565b3480156104ef57600080fd5b506103c66104fe366004612b55565b610cfc565b34801561050f57600080fd5b5061042f61051e366004612bab565b610d65565b34801561052f57600080fd5b506023546103c69060ff1681565b34801561054957600080fd5b50610468600e5481565b34801561055f57600080fd5b506040516009815260200161039d565b34801561057b57600080fd5b5061042f61058a366004612bc6565b610ddc565b34801561059b57600080fd5b506103c66105aa366004612b0c565b610e31565b3480156105bb57600080fd5b5061042f6105ca366004612b38565b610e67565b3480156105db57600080fd5b506103c66105ea366004612b38565b60166020526000908152604090205460ff1681565b34801561060b57600080fd5b5061042f61061a366004612b38565b61100c565b34801561062b57600080fd5b5061042f61063a366004612bc6565b61108a565b34801561064b57600080fd5b5061042f61065a366004612bfb565b611153565b34801561066b57600080fd5b50602154610496906001600160a01b031681565b34801561068b57600080fd5b5061042f6111be565b3480156106a057600080fd5b506103c66106af366004612b38565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156106d957600080fd5b5061046860115481565b3480156106ef57600080fd5b50610468600b5481565b34801561070557600080fd5b50610468610714366004612b38565b6001600160a01b031660009081526020819052604090205490565b34801561073b57600080fd5b5061042f611204565b34801561075057600080fd5b5061042f61075f366004612bab565b611278565b34801561077057600080fd5b5061042f61077f366004612bfb565b6112b5565b34801561079057600080fd5b5061042f61079f366004612b38565b611366565b3480156107b057600080fd5b5061046860085481565b3480156107c657600080fd5b506005546001600160a01b0316610496565b3480156107e457600080fd5b5061042f6107f3366004612bc6565b6113b2565b34801561080457600080fd5b50610390611407565b34801561081957600080fd5b50601b546103c690600160a01b900460ff1681565b34801561083a57600080fd5b50610468600c5481565b34801561085057600080fd5b5061042f611416565b34801561086557600080fd5b506103c6610874366004612b0c565b6114d1565b34801561088557600080fd5b506103c6610894366004612b0c565b611520565b3480156108a557600080fd5b506108ae61152d565b60405161039d9190612c58565b3480156108c757600080fd5b50610468601a5481565b3480156108dd57600080fd5b5061042f6108ec366004612b38565b61158e565b3480156108fd57600080fd5b5061042f61090c366004612b38565b6116ea565b34801561091d57600080fd5b50610468600f5481565b34801561093357600080fd5b5061046860195481565b34801561094957600080fd5b5061042f610958366004612bfb565b611762565b34801561096957600080fd5b5061042f610978366004612c6b565b611830565b34801561098957600080fd5b50610468610998366004612cb7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109cf57600080fd5b5061042f6109de366004612bab565b61198c565b3480156109ef57600080fd5b5061042f6109fe366004612b38565b611a03565b348015610a0f57600080fd5b5061042f610a1e366004612b38565b611a7e565b348015610a2f57600080fd5b5061042f611b69565b348015610a4457600080fd5b5061046860135481565b348015610a5a57600080fd5b506103c6610a69366004612b38565b601c6020526000908152604090205460ff1681565b348015610a8a57600080fd5b50610468611bab565b606060038054610aa290612cf0565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace90612cf0565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b6000610b32338484611bf2565b5060015b92915050565b6005546001600160a01b03163314610b6f5760405162461bcd60e51b8152600401610b6690612d24565b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff1615610be95760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b6064820152608401610b66565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd691015b60405180910390a150565b6005546001600160a01b03163314610cae5760405162461bcd60e51b8152600401610b6690612d24565b601880546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610c79565b6000610d09848484611d17565b610d5b8433610d5685604051806060016040528060288152602001612eb5602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612219565b611bf2565b5060019392505050565b6005546001600160a01b03163314610d8f5760405162461bcd60e51b8152600401610b6690612d24565b60218054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610c7990831515815260200190565b6005546001600160a01b03163314610e065760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b32918590610d569086611be6565b6005546001600160a01b03163314610e915760405162461bcd60e51b8152600401610b6690612d24565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef89190612d59565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f699190612d59565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190612d59565b602180546001600160a01b039283166001600160a01b0319918216179091556020805493909216921691909117905550565b6005546001600160a01b031633146110365760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610c79565b6005546001600160a01b031633146110b45760405162461bcd60e51b8152600401610b6690612d24565b80156111285760195442106111285760405162461bcd60e51b815260206004820152603460248201527f546865206162696c69747920746f20626c61636b6c697374206163636f756e7460448201527339903430b9903132b2b7103234b9b0b13632b21760611b6064820152608401610b66565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461117d5760405162461bcd60e51b8152600401610b6690612d24565b61118b81633b9aca00612d8c565b6022556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610c79565b6005546001600160a01b031633146111e85760405162461bcd60e51b8152600401610b6690612d24565b3060009081526020819052604090205461120181612245565b50565b6005546001600160a01b0316331461122e5760405162461bcd60e51b8152600401610b6690612d24565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112a25760405162461bcd60e51b8152600401610b6690612d24565b6023805460ff1916911515919091179055565b6005546001600160a01b031633146112df5760405162461bcd60e51b8152600401610b6690612d24565b6109c48111156113315760405162461bcd60e51b815260206004820152601e60248201527f4d6178696d756d206c61756e63682073656c6c206665652069732032352500006044820152606401610b66565b60118190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610c79565b6005546001600160a01b031633146113905760405162461bcd60e51b8152600401610b6690612d24565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113dc5760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b606060048054610aa290612cf0565b6005546001600160a01b031633146114405760405162461bcd60e51b8152600401610b6690612d24565b601b54600160a81b900460ff161561149a5760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e636800000000006044820152606401610b66565b601b805460ff60a81b1916600160a81b1790556114bb426301e13380612da3565b6019556114cc426301e13380612da3565b601a55565b6000610b323384610d5685604051806060016040528060258152602001612edd602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612219565b6000610b32338484611d17565b60606006805480602002602001604051908101604052809291908181526020018280548015610b1b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611567575050505050905090565b6005546001600160a01b031633146115b85760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b03811660009081526007602052604090205460ff1661162c5760405162461bcd60e51b8152602060048201526024808201527f41646472657373206973206e6f74206578636c756465642066726f6d207265776044820152636172647360e01b6064820152608401610b66565b60005b6006548110156116b057816001600160a01b03166006828154811061165657611656612db6565b6000918252602090912001546001600160a01b03160361169e576001600160a01b0382166000908152600760205260409020805460ff19169055611699816123a0565b6116b0565b806116a881612dcc565b91505061162f565b506040516001600160a01b03821681527f87434094d24a90fbd9a8ffcf2be9818d237c06a12d126296bc1ea7d58959433490602001610c79565b6005546001600160a01b031633146117145760405162461bcd60e51b8152600401610b6690612d24565b601b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f535be0bbc71c839ded01277ab57f29f2e810c1ff0255bb938d7cb8e96ac8ca1a90602001610c79565b6005546001600160a01b0316331461178c5760405162461bcd60e51b8152600401610b6690612d24565b60058110156117dd5760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e352500000000006044820152606401610b66565b6117fb6103e86117f5670de0b6b3a764000084611bc7565b90611bda565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610c79565b6005546001600160a01b0316331461185a5760405162461bcd60e51b8152600401610b6690612d24565b6103e8871115801561186e57506103e88611155b801561187c57506103e88511155b801561188a57506103e88411155b801561189857506103e88311155b80156118a657506103e88211155b80156118b457506103e88111155b61190a5760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b6064820152608401610b66565b6009879055600b869055600c859055600e849055600f839055601382905560148190556040805187815260208101879052908101859052606081018490526080810183905260a081018290527f4f3b60f00ab30635825994816ab704331aa84771a97a768ba4ce3e7bfd888f429060c00160405180910390a150505050505050565b6005546001600160a01b031633146119b65760405162461bcd60e51b8152600401610b6690612d24565b601b8054821515600160a01b0260ff60a01b199091161790556040517f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590610c7990831515815260200190565b6005546001600160a01b03163314611a2d5760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610c79565b6005546001600160a01b03163314611aa85760405162461bcd60e51b8152600401610b6690612d24565b6001600160a01b038116611b0d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b66565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b935760405162461bcd60e51b8152600401610b6690612d24565b6018544790611201906001600160a01b0316826124ac565b6000611bb56124ec565b600254611bc29190612de5565b905090565b6000611bd38284612d8c565b9392505050565b6000611bd38284612df8565b6000611bd38284612da3565b6001600160a01b038316611c545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b66565b6001600160a01b038216611cb55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b66565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b601b54600160a81b900460ff1680611d3957506005546001600160a01b031633145b611dab5760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e6572006064820152608401610b66565b6001600160a01b0383166000908152601c602052604090205460ff16158015611ded57506001600160a01b0382166000908152601c602052604090205460ff16155b611e2f5760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b6044820152606401610b66565b601b54600160a01b900460ff1615611e5157611e4c838383612559565b505050565b6001600160a01b03831660009081526016602052604090205460ff16158015611e9357506001600160a01b03821660009081526016602052604090205460ff16155b8015611eb857506001600160a01b0382166000908152601f602052604090205460ff16155b15611ec857611e4c838383612559565b6001600160a01b0383166000908152601e602052604090205460ff16158015611f0a57506001600160a01b0382166000908152601e602052604090205460ff16155b15611f7157600854811115611f715760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610b66565b600e54600b546013546021546001600160a01b0390811690861603611fbe57600c54600b55600f54600e55601454601355601a544211611fbe57601154600b54611fba91611be6565b600b555b3060009081526020819052604090205460225481108015908190611fec5750602154600160a01b900460ff16155b801561200657506021546001600160a01b03898116911614155b801561201b5750602154600160a81b900460ff165b1561202957612029826126dc565b6001600160a01b0388166000908152601d602052604090205460ff168061206857506001600160a01b0387166000908152601d602052604090205460ff165b156120755761207561288e565b600080612081886128e9565b6001600160a01b038c1660009081526020819052604090205491935091506120a99089612910565b6001600160a01b03808c1660009081526020819052604080822093909355908b16815220546120d89083611be6565b6001600160a01b038a166000908152602081905260409020556120fa8161291c565b60235460ff161561211e57600061211089612949565b905061211c3082612966565b505b6001600160a01b0389166000908152601f602052604090205460ff161561215a57600061214c600184612de5565b90506121588a82612966565b505b6001600160a01b038a166000908152601d602052604090205460ff168061219957506001600160a01b0389166000908152601d602052604090205460ff165b156121bb576121bb600a54600955600d54600b55601054600e55601554601355565b600b869055600e87905560138590556040518281526001600160a01b038a811691908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050565b6000818484111561223d5760405162461bcd60e51b8152600401610b669190612aa9565b505050900390565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061227a5761227a612db6565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156122d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f69190612d59565b8160018151811061230957612309612db6565b6001600160a01b03928316602091820292909201810191909152546123319130911684611bf2565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac9479061236a908590600090869030904290600401612e1a565b600060405180830381600087803b15801561238457600080fd5b505af1158015612398573d6000803e3d6000fd5b505050505050565b60065481106123fc5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b6064820152608401610b66565b6006805461240c90600190612de5565b8154811061241c5761241c612db6565b600091825260209091200154600680546001600160a01b03909216918390811061244857612448612db6565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600680548061248757612487612e56565b600082815260209020810160001990810180546001600160a01b031916905501905550565b80156124e8576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611e4c573d6000803e3d6000fd5b5050565b600080805b600654811015612553576125356006828154811061251157612511612db6565b60009182526020808320909101546001600160a01b03168252819052604090205490565b61253f9083612da3565b91508061254b81612dcc565b9150506124f1565b50919050565b6001600160a01b0383166125bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b66565b6001600160a01b03821661261f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b66565b61265c81604051806060016040528060268152602001612e8f602691396001600160a01b0386166000908152602081905260409020549190612219565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461268b9082611be6565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d0a565b6021805460ff60a01b1916600160a01b179055600954600e54600b5460009261271092909161270a91611be6565b90611be6565b905080600003612720575061287e565b4761272a83612245565b60006127364783612910565b9050801561287a576000612759846117f560095485611bc790919063ffffffff16565b601754909150612772906001600160a01b0316826124ac565b600061278d856117f5600e5486611bc790919063ffffffff16565b90506000811180156127a95750601b546001600160a01b031615155b1561280957601b5460405163febd221b60e01b8152600e60048201526001600160a01b039091169063febd221b9083906024016000604051808303818588803b1580156127f557600080fd5b505af193505050508015612807575060015b505b6000612824866117f5600b5487611bc790919063ffffffff16565b60185490915061283d906001600160a01b0316826124ac565b60408051888152602081018690527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a15050505b5050505b506021805460ff60a01b19169055565b600b5415801561289e5750600e54155b80156128aa5750600954155b80156128b65750601354155b156128bd57565b60098054600a55600b8054600d55600e8054601055601380546015556000938490559183905582905555565b60008060006128f784612a71565b905060006129058583612910565b959194509092505050565b6000611bd38284612de5565b306000908152602081905260409020546129369082611be6565b3060009081526020819052604090205550565b6000610b366127106117f560135485611bc790919063ffffffff16565b6001600160a01b0382166129c65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b66565b612a0381604051806060016040528060228152602001612e6d602291396001600160a01b0385166000908152602081905260409020549190612219565b6001600160a01b038316600090815260208190526040902055600254612a299082612910565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080612a9760135461270a60095461270a600e54600b54611be690919063ffffffff16565b9050611bd36127106117f58584611bc7565b600060208083528351808285015260005b81811015612ad657858101830151858201604001528201612aba565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461120157600080fd5b60008060408385031215612b1f57600080fd5b8235612b2a81612af7565b946020939093013593505050565b600060208284031215612b4a57600080fd5b8135611bd381612af7565b600080600060608486031215612b6a57600080fd5b8335612b7581612af7565b92506020840135612b8581612af7565b929592945050506040919091013590565b80358015158114612ba657600080fd5b919050565b600060208284031215612bbd57600080fd5b611bd382612b96565b60008060408385031215612bd957600080fd5b8235612be481612af7565b9150612bf260208401612b96565b90509250929050565b600060208284031215612c0d57600080fd5b5035919050565b600081518084526020808501945080840160005b83811015612c4d5781516001600160a01b031687529582019590820190600101612c28565b509495945050505050565b602081526000611bd36020830184612c14565b600080600080600080600060e0888a031215612c8657600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060408385031215612cca57600080fd5b8235612cd581612af7565b91506020830135612ce581612af7565b809150509250929050565b600181811c90821680612d0457607f821691505b60208210810361255357634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612d6b57600080fd5b8151611bd381612af7565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b3657610b36612d76565b80820180821115610b3657610b36612d76565b634e487b7160e01b600052603260045260246000fd5b600060018201612dde57612dde612d76565b5060010190565b81810381811115610b3657610b36612d76565b600082612e1557634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612e3960a0830186612c14565b6001600160a01b0394909416606083015250608001529392505050565b634e487b7160e01b600052603160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c04848875569f21b1bc2f6e7b6f476f8a9ed403631671036450c3516b46fd08964736f6c63430008110033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.