Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xCAE7F3aa6D456463bEf0E5B508542b69D96f2904
Balance 0 ETH
Nonce 1
Code Size 6361 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

6361 bytes
0x6080604052600436106101235760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb14610318578063bf474bed14610338578063c876d0b91461034e578063c9567bf914610368578063dd62ed3e1461037d57600080fd5b8063751039fc146102af5780637d1db4a5146102c45780638da5cb5b146102da5780638f9a55c01461030257806395d89b411461012f57600080fd5b8063313ce567116100e7578063313ce567146101f85780633bbac5791461021457806351bc3c851461024d57806370a0823114610264578063715018a61461029a57600080fd5b806306fdde031461012f578063095ea7b31461016f5780630faee56f1461019f57806318160ddd146101c357806323b872dd146101d857600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b506040805180820182526008815267496e76656374414960c01b6020820152905161016691906114a8565b60405180910390f35b34801561017b57600080fd5b5061018f61018a36600461150e565b6103c3565b6040519015158152602001610166565b3480156101ab57600080fd5b506101b560125481565b604051908152602001610166565b3480156101cf57600080fd5b506101b56103da565b3480156101e457600080fd5b5061018f6101f336600461153a565b6103fb565b34801561020457600080fd5b5060405160088152602001610166565b34801561022057600080fd5b5061018f61022f36600461157b565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561025957600080fd5b50610262610464565b005b34801561027057600080fd5b506101b561027f36600461157b565b6001600160a01b031660009081526001602052604090205490565b3480156102a657600080fd5b506102626104bc565b3480156102bb57600080fd5b50610262610539565b3480156102d057600080fd5b506101b5600f5481565b3480156102e657600080fd5b506000546040516001600160a01b039091168152602001610166565b34801561030e57600080fd5b506101b560105481565b34801561032457600080fd5b5061018f61033336600461150e565b6105f5565b34801561034457600080fd5b506101b560115481565b34801561035a57600080fd5b5060065461018f9060ff1681565b34801561037457600080fd5b50610262610602565b34801561038957600080fd5b506101b5610398366004611598565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103d03384846109be565b5060015b92915050565b60006103e86008600a6116cb565b6103f690633b9aca006116da565b905090565b6000610408848484610ae2565b61045a84336104558560405180606001604052806028815260200161187c602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611107565b6109be565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b03161461048957600080fd5b3060009081526001602052604090205480156104a8576104a881611141565b4780156104b8576104b8816112bb565b5050565b6000546001600160a01b031633146104ef5760405162461bcd60e51b81526004016104e6906116f1565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105635760405162461bcd60e51b81526004016104e6906116f1565b61056f6008600a6116cb565b61057d90633b9aca006116da565b600f5561058c6008600a6116cb565b61059a90633b9aca006116da565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105d46008600a6116cb565b6105e290633b9aca006116da565b60405190815260200160405180910390a1565b60006103d0338484610ae2565b6000546001600160a01b0316331461062c5760405162461bcd60e51b81526004016104e6906116f1565b601454600160a01b900460ff16156106865760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104e6565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106cf9030906106c16008600a6116cb565b61045590633b9aca006116da565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107469190611726565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cc9190611726565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083d9190611726565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d7194730610885816001600160a01b031660009081526001602052604090205490565b60008061089a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610902573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109279190611743565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a49190611771565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610a205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e6565b6001600160a01b038216610a815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b465760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e6565b6001600160a01b038216610ba85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e6565b60008111610c0a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104e6565b600080546001600160a01b03858116911614801590610c3757506000546001600160a01b03848116911614155b15610fc4576001600160a01b03841660009081526004602052604090205460ff16158015610c7e57506001600160a01b03831660009081526004602052604090205460ff16155b610c8757600080fd5b610cb36064610cad600b54600e5411610ca257600754610ca6565b6009545b85906112f9565b90611382565b60065490915060ff1615610d9b576013546001600160a01b03848116911614801590610ced57506014546001600160a01b03848116911614155b15610d9b57326000908152600560205260409020544311610d885760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104e6565b3260009081526005602052604090204390555b6014546001600160a01b038581169116148015610dc657506013546001600160a01b03848116911614155b8015610deb57506001600160a01b03831660009081526003602052604090205460ff16155b15610ed357600f54821115610e425760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104e6565b60105482610e65856001600160a01b031660009081526001602052604090205490565b610e6f9190611793565b1115610ebd5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104e6565b600e8054906000610ecd836117a6565b91905055505b6014546001600160a01b038481169116148015610ef957506001600160a01b0384163014155b15610f2657610f236064610cad600c54600e5411610f1957600854610ca6565b600a5485906112f9565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610f5d57506014546001600160a01b038581169116145b8015610f725750601454600160b01b900460ff165b8015610f7f575060115481115b8015610f8e5750600d54600e54115b15610fc257610fb0610fab84610fa6846012546113c4565b6113c4565b611141565b478015610fc057610fc0476112bb565b505b505b801561103e5730600090815260016020526040902054610fe490826113d9565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110359085815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110619083611438565b6001600160a01b0385166000908152600160205260409020556110a66110878383611438565b6001600160a01b038516600090815260016020526040902054906113d9565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6110f08585611438565b60405190815260200160405180910390a350505050565b6000818484111561112b5760405162461bcd60e51b81526004016104e691906114a8565b50600061113884866117bf565b95945050505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611189576111896117d2565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190611726565b81600181518110611219576112196117d2565b6001600160a01b03928316602091820292909201015260135461123f91309116846109be565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906112789085906000908690309042906004016117e8565b600060405180830381600087803b15801561129257600080fd5b505af11580156112a6573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156104b8573d6000803e3d6000fd5b60008260000361130b575060006103d4565b600061131783856116da565b9050826113248583611859565b1461137b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104e6565b9392505050565b600061137b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061147a565b60008183116113d3578261137b565b50919050565b6000806113e68385611793565b90508381101561137b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104e6565b600061137b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611107565b6000818361149b5760405162461bcd60e51b81526004016104e691906114a8565b5060006111388486611859565b600060208083528351808285015260005b818110156114d5578581018301518582016040015282016114b9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461150b57600080fd5b50565b6000806040838503121561152157600080fd5b823561152c816114f6565b946020939093013593505050565b60008060006060848603121561154f57600080fd5b833561155a816114f6565b9250602084013561156a816114f6565b929592945050506040919091013590565b60006020828403121561158d57600080fd5b813561137b816114f6565b600080604083850312156115ab57600080fd5b82356115b6816114f6565b915060208301356115c6816114f6565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611622578160001904821115611608576116086115d1565b8085161561161557918102915b93841c93908002906115ec565b509250929050565b600082611639575060016103d4565b81611646575060006103d4565b816001811461165c576002811461166657611682565b60019150506103d4565b60ff841115611677576116776115d1565b50506001821b6103d4565b5060208310610133831016604e8410600b84101617156116a5575081810a6103d4565b6116af83836115e7565b80600019048211156116c3576116c36115d1565b029392505050565b600061137b60ff84168361162a565b80820281158282048414176103d4576103d46115d1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561173857600080fd5b815161137b816114f6565b60008060006060848603121561175857600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561178357600080fd5b8151801515811461137b57600080fd5b808201808211156103d4576103d46115d1565b6000600182016117b8576117b86115d1565b5060010190565b818103818111156103d4576103d46115d1565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118385784516001600160a01b031683529383019391830191600101611813565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261187657634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122099529a83b573cfe7fed23104af103e81e736f672da0d74c0806e6b7ce961164164736f6c63430008110033

Verified Source Code Partial Match

Compiler: v0.8.17+commit.8df45f5f EVM: london Optimization: Yes (200 runs)
InvectAI.sol 373 lines
/**
 *  .----------------.  .-----------------. .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------. 
 * | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
 * | |     _____    | || | ____  _____  | || | ____   ____  | || |  _________   | || |     ______   | || |  _________   | || |      __      | || |     _____    | |
 * | |    |_   _|   | || ||_   \|_   _| | || ||_  _| |_  _| | || | |_   ___  |  | || |   .' ___  |  | || | |  _   _  |  | || |     /  \     | || |    |_   _|   | |
 * | |      | |     | || |  |   \ | |   | || |  \ \   / /   | || |   | |_  \_|  | || |  / .'   \_|  | || | |_/ | | \_|  | || |    / /\ \    | || |      | |     | |
 * | |      | |     | || |  | |\ \| |   | || |   \ \ / /    | || |   |  _|  _   | || |  | |         | || |     | |      | || |   / ____ \   | || |      | |     | |
 * | |     _| |_    | || | _| |_\   |_  | || |    \ ' /     | || |  _| |___/ |  | || |  \ `.___.'\  | || |    _| |_     | || | _/ /    \ \_ | || |     _| |_    | |
 * | |    |_____|   | || ||_____|\____| | || |     \_/      | || | |_________|  | || |   `._____.'  | || |   |_____|    | || ||____|  |____|| || |    |_____|   | |
 * | |              | || |              | || |              | || |              | || |              | || |              | || |              | || |              | |
 * | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
 * '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------' 
 * InvectAI: Exploring the Synergy of AI and Blockchain
 * Stealth launch
 *
 * Web: https://invect.ai
 * Telegram: https://t.me/invectai
 * Twitter: https://twitter.com/InvectAi
 * Discord: https://discord.gg/5vHTvaCuCx
 * 
 * InvectAI is a revolutionary platform that combines the power of AI and blockchain to create a new realm of creative potential. 
 * With InvectAI, users can generate multimedia content with ease, unleashing their imagination and exploring endless possibilities for content creation.
 * 
 * The platform offers a range of AI-powered solutions for generating multimedia content, including image, animation, voice, lyrics, character, video, and speaking portrait generation. 
 * Users can customize parameters to create stunning visual art and complex animations, compose song lyrics, and generate realistic or fantastical characters in games and social media. 
 * InvectAI's AI solutions also allow for natural-sounding speech and can animate any portrait with expressions and speech.
 * 
 * To make it even easier for users to access the platform's AI solutions, InvectAI offers Discord, Telegram, and Twitter bots, allowing users to generate multimedia content quickly and easily without technical expertise.
 * 
 * AI Image Generation
 * AI Animation Generation
 * AI Voice Generation
 * AI Lyrics Generation
 * AI Character Generation
 * AI Video Generation
 * AI Chat InvectGPT-3
 * AI Speaking Portrait Generation
 * AI Telegram Bots
 * AI Discord Bots
 * AI Twitter Bots
 * AI Developer Solutions API
 * 
 * 1 Billion InvectAI Tokens
 * Tax: 6%
 * A portion of the transaction fees from the InvectAI token will be collected as tax and will be used to pay for the costs associated with developing, maintaining, and improving the AI models, as well as for marketing efforts to promote the adoption of the platform. 
 * This tax mechanism ensures that the InvectAI ecosystem remains financially self-sufficient, while also incentivizing users to hold and use the token.
 *
 * READ MORE:
 * https://invect.ai
*/

pragma solidity 0.8.17;

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, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        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 Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() 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 InvectAI is Context, IERC20, Ownable {
    // INVECT.AI
    using SafeMath for uint256;
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    mapping(address => uint256) private _holderLastTransferTimestamp;
    bool public transferDelayEnabled = false;
    address payable private _taxWallet;

    uint256 private _initialBuyTax=8;
    uint256 private _initialSellTax=14;
    uint256 private _finalBuyTax=6;
    uint256 private _finalSellTax=6;
    uint256 private _reduceBuyTaxAt=1;
    uint256 private _reduceSellTaxAt=10;
    uint256 private _preventSwapBefore=30;
    uint256 private _buyCount=0;

    uint8 private constant _decimals = 8;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    string private constant _name = unicode"InvectAI";
    string private constant _symbol = unicode"InvectAI";
    uint256 public _maxTxAmount =   40000000 * 10**_decimals;
    uint256 public _maxWalletSize = 40000000 * 10**_decimals;
    uint256 public _taxSwapThreshold=4000000 * 10**_decimals;
    uint256 public _maxTaxSwap=4000000 * 10**_decimals;
	
	// At InvectAI, we're exploring the potential of connecting two revolutionary technologies: AI and blockchain. 
	// By leveraging the strengths of both, we believe we can create a powerful platform that empowers users to generate and access AI-generated content in a decentralized and transparent manner.

    // Our vision is to create smart contracts on the Ethereum network that will allow anyone to access AI-generated content simply by interacting with the contract. 
	// This approach will provide a secure and transparent way for users to access and utilize AI content without the need for intermediaries. 

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;

    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _taxWallet = payable(_msgSender());
        _balances[_msgSender()] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_taxWallet] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

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

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    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 transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "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 from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            require(!bots[from] && !bots[to]);
            taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);

            if (transferDelayEnabled) {
                  if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) {
                      require(
                          _holderLastTransferTimestamp[tx.origin] <
                              block.number,
                          "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                      );
                      _holderLastTransferTimestamp[tx.origin] = block.number;
                  }
              }

            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                _buyCount++;
            }

            if(to == uniswapV2Pair && from!= address(this) ){
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to   == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) {
                swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        if(taxAmount>0){
          _balances[address(this)]=_balances[address(this)].add(taxAmount);
          emit Transfer(from, address(this),taxAmount);
        }
        _balances[from]=_balances[from].sub(amount);
        _balances[to]=_balances[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }


    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        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 removeLimits() external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        transferDelayEnabled=false;
        emit MaxTxAmountUpdated(_tTotal);
    }

    function sendETHToFee(uint256 amount) private {
        _taxWallet.transfer(amount);
    }

    function isBot(address a) public view returns (bool){
      return bots[a];
    }

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
        swapEnabled = true;
        tradingOpen = true;
    }

    

    receive() external payable {}

    function manualSwap() external {
        require(_msgSender()==_taxWallet);
        uint256 tokenBalance=balanceOf(address(this));
        if(tokenBalance>0){
          swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance=address(this).balance;
        if(ethBalance>0){
          sendETHToFee(ethBalance);
        }
    }
}

Read Contract

_maxTaxSwap 0x0faee56f → uint256
_maxTxAmount 0x7d1db4a5 → uint256
_maxWalletSize 0x8f9a55c0 → uint256
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
isBot 0x3bbac579 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
transferDelayEnabled 0xc876d0b9 → bool

Write Contract 7 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
manualSwap 0x51bc3c85
No parameters
openTrading 0xc9567bf9
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool

Recent Transactions

No transactions found for this address