# Functions value limits, fees. Changing sell fee and buy fee, add autoburn from sell

Hello
I am working with group of friends on own project. We got hands on code which is accessible to everybody, but we dont understand few functions.
Functions which we don't understand have line nunbers:
151 - owner wallet (creator) ?
363 - developer wallet. Wallet where are going Taxfee from every transaction?
365 - Total amount of created coins for contract?
371 - taxfee, which we don't understand. It is reflection which goes to all holders or other kind of tax?
373 - tax from every transaction which goes to dev wallet?
375 - tax from every transaction which goes to liquidity pool?
381 - No idee what it does... ?
382 - No idee what it does... ?

• Also if line 371 is reflection, how to change it for same purpose like developer fee (making charity fee from it).
• How to add if it's possible autoburn system from every sell transaction (value defined in %). Does it involved whole code to be changed?

Code is created in Remix. Ethereum. Interface IER20, solidity ver 0.8.4.

2. pragma solidity ^0.8.4;

3. interface IERC20 {
4.     function totalSupply() external view returns (uint256);
5.     function balanceOf(address account) external view returns (uint256);
6.     function transfer(address recipient, uint256 amount) external returns (bool);
8.     function approve(address spender, uint256 amount) external returns (bool);
12. }

13. library SafeMath {
14.     function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
15.         unchecked {
16.             uint256 c = a + b;
17.             if (c < a) return (false, 0);
18.             return (true, c);
19.         }
20.     }
21.     function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
22.         unchecked {
23.             if (b > a) return (false, 0);
24.             return (true, a - b);
25.         }
26.     }
27.     function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
28.         unchecked {
29.             if (a == 0) return (true, 0);
30.             uint256 c = a * b;
31.             if (c / a != b) return (false, 0);
32.             return (true, c);
33.         }
34.     }
35.     function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
36.         unchecked {
37.             if (b == 0) return (false, 0);
38.             return (true, a / b);
39.         }
40.     }
41.     function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
42.         unchecked {
43.             if (b == 0) return (false, 0);
44.             return (true, a % b);
45.         }
46.     }
47.     function add(uint256 a, uint256 b) internal pure returns (uint256) {
48.         return a + b;
49.     }
50.     function sub(uint256 a, uint256 b) internal pure returns (uint256) {
51.         return a - b;
52.     }
53.     function mul(uint256 a, uint256 b) internal pure returns (uint256) {
54.         return a * b;
55.     }
56.     function div(uint256 a, uint256 b) internal pure returns (uint256) {
57.         return a / b;
58.     }
59.     function mod(uint256 a, uint256 b) internal pure returns (uint256) {
60.         return a % b;
61.     }
62.     function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
63.         unchecked {
64.             require(b <= a, errorMessage);
65.             return a - b;
66.         }
67.     }
68.     function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
69.         unchecked {
70.             require(b > 0, errorMessage);
71.             return a / b;
72.         }
73.     }
74.     function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
75.         unchecked {
76.             require(b > 0, errorMessage);
77.             return a % b;
78.         }
79.     }
80. }

81. abstract contract Context {
82.     function _msgSender() internal view virtual returns (address) {
83.         return msg.sender;
84.     }
85.     function _msgData() internal view virtual returns (bytes calldata) {
86.         this;
87.         return msg.data;
88.     }
89. }

91.     function isContract(address account) internal view returns (bool) {
92.         uint256 size;
93.         assembly { size := extcodesize(account) }
94.         return size > 0;
95.     }
96.     function sendValue(address payable recipient, uint256 amount) internal {
98.         (bool success, ) = recipient.call{ value: amount }("");
99.         require(success, "Address: unable to send value, recipient may have reverted");
100.     }
101.     function functionCall(address target, bytes memory data) internal returns (bytes memory) {
102.       return functionCall(target, data, "Address: low-level call failed");
103.     }
104.     function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
105.         return functionCallWithValue(target, data, 0, errorMessage);
106.     }
107.     function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
108.         return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
109.     }
110.     function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
112.         require(isContract(target), "Address: call to non-contract");
113.         (bool success, bytes memory returndata) = target.call{ value: value }(data);
114.         return _verifyCallResult(success, returndata, errorMessage);
115.     }
116.     function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
117.         return functionStaticCall(target, data, "Address: low-level static call failed");
118.     }
119.     function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
120.         require(isContract(target), "Address: static call to non-contract");
121.         (bool success, bytes memory returndata) = target.staticcall(data);
122.         return _verifyCallResult(success, returndata, errorMessage);
123.     }
124.     function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
125.         return functionDelegateCall(target, data, "Address: low-level delegate call failed");
126.     }
127.     function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
128.         require(isContract(target), "Address: delegate call to non-contract");
129.         (bool success, bytes memory returndata) = target.delegatecall(data);
130.         return _verifyCallResult(success, returndata, errorMessage);
131.     }
132.     function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
133.         if (success) {
134.             return returndata;
135.         } else {
136.             if (returndata.length > 0) {
137.                 assembly {
140.                 }
141.             } else {
142.                 revert(errorMessage);
143.             }
144.         }
145.     }
146. }

147. abstract contract Ownable is Context {
150.     constructor () {
151.         _owner = 0xE69Ac38Cd6DA0EA9a540B47399C430131216Ced7;
153.     }
154.     function owner() public view virtual returns (address) {
155.         return _owner;
156.     }
157.     modifier onlyOwner() {
158.         require(owner() == _msgSender(), "Ownable: caller is not the owner");
159.         _;
160.     }
161.     function renounceOwnership() public virtual onlyOwner {
164.     }
165.     function transferOwnership(address newOwner) public virtual onlyOwner {
167.         emit OwnershipTransferred(_owner, newOwner);
168.         _owner = newOwner;
169.     }
170. }

171. interface IUniswapV2Factory {
173.     function feeTo() external view returns (address);
174.     function feeToSetter() external view returns (address);
176.     function allPairs(uint) external view returns (address pair);
177.     function allPairsLength() external view returns (uint);
181. }

182. interface IUniswapV2Pair {
185.     function name() external pure returns (string memory);
186.     function symbol() external pure returns (string memory);
187.     function decimals() external pure returns (uint8);
188.     function totalSupply() external view returns (uint);
189.     function balanceOf(address owner) external view returns (uint);
191.     function approve(address spender, uint value) external returns (bool);
192.     function transfer(address to, uint value) external returns (bool);
194.     function DOMAIN_SEPARATOR() external view returns (bytes32);
195.     function PERMIT_TYPEHASH() external pure returns (bytes32);
196.     function nonces(address owner) external view returns (uint);
197.     function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
198.     event Mint(address indexed sender, uint amount0, uint amount1);
199.     event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
200.     event Swap(
202.         uint amount0In,
203.         uint amount1In,
204.         uint amount0Out,
205.         uint amount1Out,
207.     );
208.     event Sync(uint112 reserve0, uint112 reserve1);
209.     function MINIMUM_LIQUIDITY() external pure returns (uint);
210.     function factory() external view returns (address);
211.     function token0() external view returns (address);
212.     function token1() external view returns (address);
213.     function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
214.     function price0CumulativeLast() external view returns (uint);
215.     function price1CumulativeLast() external view returns (uint);
216.     function kLast() external view returns (uint);
217.     function mint(address to) external returns (uint liquidity);
218.     function burn(address to) external returns (uint amount0, uint amount1);
219.     function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
221.     function sync() external;
223. }

224. interface IUniswapV2Router01 {
225.     function factory() external pure returns (address);
226.     function WETH() external pure returns (address);
231.         uint amountBDesired,
232.         uint amountAMin,
233.         uint amountBMin,
236.     ) external returns (uint amountA, uint amountB, uint liquidity);
239.         uint amountTokenDesired,
240.         uint amountTokenMin,
241.         uint amountETHMin,
244.     ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
245.     function removeLiquidity(
248.         uint liquidity,
249.         uint amountAMin,
250.         uint amountBMin,
253.     ) external returns (uint amountA, uint amountB);
254.     function removeLiquidityETH(
256.         uint liquidity,
257.         uint amountTokenMin,
258.         uint amountETHMin,
261.     ) external returns (uint amountToken, uint amountETH);
262.     function removeLiquidityWithPermit(
265.         uint liquidity,
266.         uint amountAMin,
267.         uint amountBMin,
270.         bool approveMax, uint8 v, bytes32 r, bytes32 s
271.     ) external returns (uint amountA, uint amountB);
272.     function removeLiquidityETHWithPermit(
274.         uint liquidity,
275.         uint amountTokenMin,
276.         uint amountETHMin,
279.         bool approveMax, uint8 v, bytes32 r, bytes32 s
280.     ) external returns (uint amountToken, uint amountETH);
281.     function swapExactTokensForTokens(
282.         uint amountIn,
283.         uint amountOutMin,
287.     ) external returns (uint[] memory amounts);
288.     function swapTokensForExactTokens(
289.         uint amountOut,
290.         uint amountInMax,
294.     ) external returns (uint[] memory amounts);
296.         external
297.         payable
298.         returns (uint[] memory amounts);
300.         external
301.         returns (uint[] memory amounts);
303.         external
304.         returns (uint[] memory amounts);
306.         external
307.         payable
308.         returns (uint[] memory amounts);
309.     function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
310.     function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
311.     function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
312.     function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
313.     function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
314. }

315. interface IUniswapV2Router02 is IUniswapV2Router01 {
316.     function removeLiquidityETHSupportingFeeOnTransferTokens(
318.         uint liquidity,
319.         uint amountTokenMin,
320.         uint amountETHMin,
323.     ) external returns (uint amountETH);
324.     function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
326.         uint liquidity,
327.         uint amountTokenMin,
328.         uint amountETHMin,
331.         bool approveMax, uint8 v, bytes32 r, bytes32 s
332.     ) external returns (uint amountETH);
333.     function swapExactTokensForTokensSupportingFeeOnTransferTokens(
334.         uint amountIn,
335.         uint amountOutMin,
339.     ) external;
340.     function swapExactETHForTokensSupportingFeeOnTransferTokens(
341.         uint amountOutMin,
345.     ) external payable;
346.     function swapExactTokensForETHSupportingFeeOnTransferTokens(
347.         uint amountIn,
348.         uint amountOutMin,
352.     ) external;
353. }

354. contract COMF is Context, IERC20, Ownable {
355.     using SafeMath for uint256;
357.     mapping (address => uint256) private _rOwned;
358.     mapping (address => uint256) private _tOwned;
360.     mapping (address => bool) private _isExcludedFromFee;
361.     mapping (address => bool) private _isExcluded;
364.     uint256 private constant MAX = ~uint256(0);
365.     uint256 private _tTotal = 1000000000000 * 10**18;
366.     uint256 private _rTotal = (MAX - (MAX % _tTotal));
367.     uint256 private _tFeeTotal;
368.     string private _name = "Comfy Rocket";
369.     string private _symbol = "COMF";
370.     uint8 private _decimals = 18;
371.     uint256 public _taxFee = 20;
372.     uint256 private _previousTaxFee = _taxFee;
373.     uint256 public _developmentFee = 10;
374.     uint256 private _previousDevelopmentFee = _developmentFee;
375.     uint256 public _liquidityFee = 50;
376.     uint256 private _previousLiquidityFee = _liquidityFee;

377.     IUniswapV2Router02 public immutable uniswapV2Router;
379.     bool inSwapAndLiquify;
380.     bool public swapAndLiquifyEnabled = true;
381.     uint256 public _maxTxAmount = 1000000000000 * 10**18;
382.     uint256 private numTokensSellToAddToLiquidity = 1000000000 * 10**18;
383.     event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
384.     event SwapAndLiquifyEnabledUpdated(bool enabled);
385.     event SwapAndLiquify(
386.         uint256 tokensSwapped,
388.         uint256 tokensIntoLiqudity
389.     );
390.     modifier lockTheSwap {
391.         inSwapAndLiquify = true;
392.         _;
393.         inSwapAndLiquify = false;
394.     }
395.     constructor () {
396.         _rOwned[owner()] = _rTotal;
397.         IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
398.         uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
400.         uniswapV2Router = _uniswapV2Router;
401.         _isExcludedFromFee[owner()] = true;
404.     }
405.     function name() public view returns (string memory) {
406.         return _name;
407.     }
408.     function symbol() public view returns (string memory) {
409.         return _symbol;
410.     }
411.     function decimals() public view returns (uint8) {
412.         return _decimals;
413.     }
414.     function totalSupply() public view override returns (uint256) {
415.         return _tTotal;
416.     }
417.     function balanceOf(address account) public view override returns (uint256) {
418.         if (_isExcluded[account]) return _tOwned[account];
420.     }
421.     function transfer(address recipient, uint256 amount) public override returns (bool) {
422.         _transfer(_msgSender(), recipient, amount);
423.         return true;
424.     }
425.     function allowance(address owner, address spender) public view override returns (uint256) {
426.         return _allowances[owner][spender];
427.     }
428.     function approve(address spender, uint256 amount) public override returns (bool) {
429.         _approve(_msgSender(), spender, amount);
430.         return true;
431.     }
432.     function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
433.         _transfer(sender, recipient, amount);
434.         _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
435.         return true;
436.     }
439.         return true;
440.     }
441.     function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
442.         _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
443.         return true;
444.     }
445.     function isExcludedFromReward(address account) public view returns (bool) {
446.         return _isExcluded[account];
447.     }
448.     function totalFees() public view returns (uint256) {
449.         return _tFeeTotal;
450.     }
451.     function deliver(uint256 tAmount) public {
453.         require(!_isExcluded[sender], "Excluded addresses cannot call this function");
454.         (uint256 rAmount,,,,,,) = _getValues(tAmount);
455.         _rOwned[sender] = _rOwned[sender].sub(rAmount);
456.         _rTotal = _rTotal.sub(rAmount);
458.     }
459.     function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
460.         require(tAmount <= _tTotal, "Amount must be less than supply");
461.         if (!deductTransferFee) {
462.             (uint256 rAmount,,,,,,) = _getValues(tAmount);
463.             return rAmount;
464.         } else {
465.             (,uint256 rTransferAmount,,,,,) = _getValues(tAmount);
466.             return rTransferAmount;
467.         }
468.     }
469.     function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
470.         require(rAmount <= _rTotal, "Amount must be less than total reflections");
471.         uint256 currentRate =  _getRate();
472.         return rAmount.div(currentRate);
473.     }
474.     function excludeFromReward(address account) public onlyOwner() {
475.         require(!_isExcluded[account], "Account is already excluded");
476.         if(_rOwned[account] > 0) {
477.             _tOwned[account] = tokenFromReflection(_rOwned[account]);
478.         }
479.         _isExcluded[account] = true;
480.         _excluded.push(account);
481.     }
482.     function includeInReward(address account) external onlyOwner() {
483.         require(_isExcluded[account], "Account is already included");
484.         for (uint256 i = 0; i < _excluded.length; i++) {
485.             if (_excluded[i] == account) {
486.                 _excluded[i] = _excluded[_excluded.length - 1];
487.                 _tOwned[account] = 0;
488.                 _isExcluded[account] = false;
489.                 _excluded.pop();
490.                 break;
491.             }
492.         }
493.     }
495.     (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDevelopment) = _getValues(tAmount);
496.         _tOwned[sender] = _tOwned[sender].sub(tAmount);
497.         _rOwned[sender] = _rOwned[sender].sub(rAmount);
500.         _takeLiquidity(tLiquidity);
501.         _takeDevelopment(tDevelopment);
502.         _reflectFee(rFee, tFee);
503.     emit Transfer(sender, recipient, tTransferAmount);
504.     }
505.     function excludeFromFee(address account) public onlyOwner {
506.     _isExcludedFromFee[account] = true;
507.     }
508.     function includeInFee(address account) public onlyOwner {
509.         _isExcludedFromFee[account] = false;
510.     }
511.     function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
512.         _taxFee = taxFee;
513.     }
514.     function setDevelopmentFeePercent(uint256 developmentFee) external onlyOwner() {
515.         _developmentFee = developmentFee;
516.     }
517.     function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
518.         _liquidityFee = liquidityFee;
519.     }
520.     function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
521.         _maxTxAmount = _tTotal.mul(maxTxPercent).div(
522.             10**3
523.         );
524.     }
525.     function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
526.         swapAndLiquifyEnabled = _enabled;
527.         emit SwapAndLiquifyEnabledUpdated(_enabled);
528.     }
530.     function _reflectFee(uint256 rFee, uint256 tFee) private {
531.         _rTotal = _rTotal.sub(rFee);
533.     }
534.     function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) {
535.         (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDevelopment) = _getTValues(tAmount);
536.         (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tDevelopment, _getRate());
537.         return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity, tDevelopment);
538.     }
539.     function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) {
540.         uint256 tFee = calculateTaxFee(tAmount);
541.         uint256 tLiquidity = calculateLiquidityFee(tAmount);
542.         uint256 tDevelopment = calculateDevelopmentFee(tAmount);
543.         uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tDevelopment);
544.         return (tTransferAmount, tFee, tLiquidity, tDevelopment);
545.     }
546.     function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tDevelopment, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
547.         uint256 rAmount = tAmount.mul(currentRate);
548.         uint256 rFee = tFee.mul(currentRate);
549.         uint256 rLiquidity = tLiquidity.mul(currentRate);
550.         uint256 rDevelopment = tDevelopment.mul(currentRate);
551.         uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rDevelopment);
552.         return (rAmount, rTransferAmount, rFee);
553.     }
554.     function _getRate() private view returns(uint256) {
555.         (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
556.         return rSupply.div(tSupply);
557.     }
558.     function _getCurrentSupply() private view returns(uint256, uint256) {
559.         uint256 rSupply = _rTotal;
560.         uint256 tSupply = _tTotal;
561.         for (uint256 i = 0; i < _excluded.length; i++) {
562.             if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
563.             rSupply = rSupply.sub(_rOwned[_excluded[i]]);
564.             tSupply = tSupply.sub(_tOwned[_excluded[i]]);
565.         }
566.         if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
567.         return (rSupply, tSupply);
568.     }
569.     function _takeLiquidity(uint256 tLiquidity) private {
570.         uint256 currentRate =  _getRate();
571.         uint256 rLiquidity = tLiquidity.mul(currentRate);
575.     }
576.     function _takeDevelopment(uint256 tDevelopment) private {
577.         uint256 currentRate =  _getRate();
578.         uint256 rDevelopment = tDevelopment.mul(currentRate);
582.     }
583.     function calculateTaxFee(uint256 _amount) private view returns (uint256) {
584.         return _amount.mul(_taxFee).div(
585.             10**3
586.         );
587.     }
588.     function calculateDevelopmentFee(uint256 _amount) private view returns (uint256) {
589.         return _amount.mul(_developmentFee).div(
590.             10**3
591.         );
592.     }
593.     function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
594.         return _amount.mul(_liquidityFee).div(
595.             10**3
596.         );
597.     }
598.     function removeAllFee() private {
599.         if(_taxFee == 0 && _liquidityFee == 0) return;
600.         _previousTaxFee = _taxFee;
601.         _previousDevelopmentFee = _developmentFee;
602.         _previousLiquidityFee = _liquidityFee;
603.         _taxFee = 0;
604.         _developmentFee = 0;
605.         _liquidityFee = 0;
606.     }
607.     function restoreAllFee() private {
608.         _taxFee = _previousTaxFee;
609.         _developmentFee = _previousDevelopmentFee;
610.         _liquidityFee = _previousLiquidityFee;
611.     }
612.     function isExcludedFromFee(address account) public view returns(bool) {
613.         return _isExcludedFromFee[account];
614.     }
618.         _allowances[owner][spender] = amount;
619.         emit Approval(owner, spender, amount);
620.     }
621.     function _transfer(
624.         uint256 amount
625.     ) private {
628.         require(amount > 0, "Transfer amount must be greater than zero");
629.         if(from != owner() && to != owner())
630.             require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
632.         if(contractTokenBalance >= _maxTxAmount)
633.         {
634.             contractTokenBalance = _maxTxAmount;
635.         }
636.         bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
637.         if (
638.             overMinTokenBalance &&
639.             !inSwapAndLiquify &&
640.             from != uniswapV2Pair &&
641.             swapAndLiquifyEnabled
642.         ) {
644.             swapAndLiquify(contractTokenBalance);
645.         }
646.         bool takeFee = true;
647.         if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
648.             takeFee = false;
649.         }
650.         _tokenTransfer(from,to,amount,takeFee);
651.     }
652.     function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
653.         uint256 half = contractTokenBalance.div(2);
654.         uint256 otherHalf = contractTokenBalance.sub(half);
656.         swapTokensForEth(half);
659.         emit SwapAndLiquify(half, newBalance, otherHalf);
660.     }
661.     function swapTokensForEth(uint256 tokenAmount) private {
664.         path[1] = uniswapV2Router.WETH();
666.         uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
667.             tokenAmount,
668.             0,
669.             path,
671.             block.timestamp
672.         );
673.     }
674.     function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
678.             tokenAmount,
679.             0,
680.             0,
681.             owner(),
682.             block.timestamp
683.         );
684.     }
686.         if(!takeFee)
687.             removeAllFee();
688.         if (_isExcluded[sender] && !_isExcluded[recipient]) {
689.             _transferFromExcluded(sender, recipient, amount);
690.         } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
691.             _transferToExcluded(sender, recipient, amount);
692.         } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
693.             _transferStandard(sender, recipient, amount);
694.         } else if (_isExcluded[sender] && _isExcluded[recipient]) {
695.             _transferBothExcluded(sender, recipient, amount);
696.         } else {
697.             _transferStandard(sender, recipient, amount);
698.         }
699.         if(!takeFee)
700.             restoreAllFee();
701.     }
703.         (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDevelopment) = _getValues(tAmount);
704.         _rOwned[sender] = _rOwned[sender].sub(rAmount);
706.         _takeLiquidity(tLiquidity);
707.         _takeDevelopment(tDevelopment);
708.         _reflectFee(rFee, tFee);
709.         emit Transfer(sender, recipient, tTransferAmount);
710.     }
712.         (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDevelopment) = _getValues(tAmount);
713.         _rOwned[sender] = _rOwned[sender].sub(rAmount);
716.         _takeLiquidity(tLiquidity);
717.         _takeDevelopment(tDevelopment);
718.         _reflectFee(rFee, tFee);
719.         emit Transfer(sender, recipient, tTransferAmount);
720.     }