Contract 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x61a8daa159d474c5b2e17cabcb79fdfd027bd3166a4b6cae2190ff82bde4d13cAdd Liquidity ET...399282372022-06-06 17:01:2122 days 22 hrs ago0xcc93f2ebe4b9c4bd0fa5e579c55afc19e660e30a IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317901 FTM0.015040579703
0x7e61765ae223e6b3389ca92ee3284e794b8f0d92a72142f7ce4000389adcf35bAdd Liquidity ET...398688272022-06-05 21:44:2023 days 17 hrs ago0x4ca402ec4ad01f0c25037e9d2231c50c597103c5 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179029.953536934172103 FTM0.002029838894
0x2efc471b62004bfcfb80836348310bc281b26a9c7d5e2c166fa4f1ea7c3db2bdAdd Liquidity ET...393962682022-05-30 13:13:3230 days 2 hrs ago0xcc93f2ebe4b9c4bd0fa5e579c55afc19e660e30a IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317902.994145967898756 FTM0.215806025203
0x7f033ea424590aa289820271994999163e069ac245c1f777c42119e5f323ee9bAdd Liquidity ET...393030382022-05-29 6:27:0031 days 9 hrs ago0x46412d9c73d74d3ac9238c12035e052ee83e879c IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179010.127401686045777 FTM0.000959682081
0x5ea1c439f67bf899a9c9e5ac07ea15375faaaef10acf5d4164dededf86ee898aAdd Liquidity ET...393027472022-05-29 6:21:4931 days 9 hrs ago0x46412d9c73d74d3ac9238c12035e052ee83e879c IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179010 FTM0.001581390384
0xbf88975262d3515451afa3479de0a434824202d97b9f80a4db1b752d7312ab72Add Liquidity ET...391923472022-05-27 18:54:5132 days 20 hrs ago0xa219712cc2aaa5aa98ccf2a7ba055231f1752323 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179019.966404917989012 FTM0.037400011791
0x35c8b81736ec46d2f7fa306cac4e48809fe3aeaafa4ab01183bf94810776e1a5Add Liquidity ET...390454582022-05-25 18:40:1734 days 20 hrs ago0xa3193098034e2d9983ef298539c81357224d8e7a IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790202.373743135295755 FTM0.017458637459
0xf788e2f4718aa03279863d99a2f65efcee81e95955af0f904f2ca2f81963a727Add Liquidity ET...390063872022-05-25 5:55:4235 days 9 hrs ago0x1d4e027c56f870c27c660c4a201735afb142b924 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179079.94467867718693 FTM0.01134357982
0xb0a51fe10846a47c57e6a6d3259b58f09cacb3992a4c3db1f47abbd9abbfc984Add Liquidity ET...388814932022-05-23 13:14:4137 days 2 hrs ago0x7694e7c3563ccc0470346fe1403d43d8595ff68f IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317904.990498400965401 FTM0.176451673567
0x7d5479f1eafa7e265a846e8d7c16f7b7df483542e6daec347dcc45d17a298312Add Liquidity ET...388106632022-05-22 14:17:2038 days 1 hr ago0xa3193098034e2d9983ef298539c81357224d8e7a IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179039.139512693427309 FTM0.050122969195
0xb93e0042ea15873eab196a1a69d9fa2d40739596a45e120ba0fcd660e265bebcAdd Liquidity ET...386824242022-05-20 20:13:5939 days 19 hrs ago0xf3db56dccbf6c7f5c9caf98610d1e081a42a673b IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179027.982811156349843 FTM0.0167415068
0x0d15ac4ba8beeed4638350844ad32522bc8cf5caef21f4279e53fbcd682504d0Add Liquidity ET...385308962022-05-18 18:49:4641 days 20 hrs ago0x16169c94f8f84fb29cbfada13be1464266cac7df IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317901.99611170010105 FTM0.099681228334
0x47431ad9dc8360d4c8ccd37b14770bafc9fd9c69ed000b04af3264ea66ea579dAdd Liquidity ET...385151942022-05-18 13:33:2542 days 2 hrs ago0xcf1ee1e7c1db5bfbed66ef01d325af5c58d7bf0b IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179010,918.455394577938544 FTM0.162577963754
0xf9eec56e0c072a4768fdefbf65ba76a59510dd51da29a35a40d4aa2f3a22ef6dAdd Liquidity ET...384439522022-05-17 13:15:2243 days 2 hrs ago0x3cf8a87ec281df647e9ff8763a6f87c78e137437 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900.228963383886348 FTM0.130836166512
0x6a383299ebd15046aa6f424c1848d486d77c6d0fcc48fe943b0a622d5c2fd6abAdd Liquidity ET...384231842022-05-17 6:39:1143 days 8 hrs ago0x58235e19b7d6b1852f21649ec185a13afa183248 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317902.397326426046275 FTM0.084126382289
0x2700eaa601c877c6ff505e41c394ebfae05ac0be22946627fa131e1ee2ee0be4Add Liquidity ET...381696272022-05-13 19:04:4446 days 20 hrs ago0x9ef9029ac129d4538f934989b608775479406ba4 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790239.305635770209837 FTM0.255394769982
0x9cd39fbe907578f56de3efed1ee7caf6cb888cb310ba3ac79699b510525dd70fAdd Liquidity ET...378050482022-05-08 3:26:0852 days 12 hrs ago0x547c58a29d6ded521fa4f7fa663c91b245cf613e IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317904.77938447754796 FTM0.265746168
0xce5774379aec7c1f76e84fded8a10a74ddf5b0d3545e4b4eb1c4164c7c0d7a16Add Liquidity ET...376770352022-05-06 9:43:1554 days 5 hrs ago0x3cf8a87ec281df647e9ff8763a6f87c78e137437 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900.139206006051906 FTM0.075138630635
0xe887f1321eb1ee297bb6d5911d3ef46ac7b4b97da943d4791f9bdc48b6b81984Add Liquidity ET...375558102022-05-04 20:03:5955 days 19 hrs ago0x547c58a29d6ded521fa4f7fa663c91b245cf613e IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317902.530067073273497 FTM0.0995304
0x5b32a27561c803d38b4ccf91a6f01d09a241f628d532d61f094ebb64885a92b3Add Liquidity ET...374073672022-05-02 19:06:3857 days 20 hrs ago0x547c58a29d6ded521fa4f7fa663c91b245cf613e IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317907.885720870057909 FTM0.340085
0x63a53ec94694fafd388ffb0689dfc53aebe3c9c142503ea3eb852b323f548630Add Liquidity ET...372388792022-04-29 22:24:4560 days 17 hrs ago0x16169c94f8f84fb29cbfada13be1464266cac7df IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca3179012.7774701441345 FTM0.212235944427
0x30d1cbda9125049f166e48b0a5e170d4ca7926bc2caafa3bc8134c9ecd3fc937Add Liquidity Ta...371112552022-04-28 1:16:0262 days 14 hrs ago0xe41fcbfa49baf65a4f11827186141e96b4b0793c IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900 FTM0.054280792798
0x21c3f6d7f9de491a1d59a3c73352504eab1cdbfe8467d0891189718d8b8caf59Add Liquidity ET...370782862022-04-27 14:57:4663 days 37 mins ago0x3cf8a87ec281df647e9ff8763a6f87c78e137437 IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900.132039577524374 FTM0.074094780659
0x05b4f3346e21a5e1db375f6bfac97385586135f05fe35188f0bd7d3b056433f7Add Liquidity ET...369641522022-04-26 0:24:0564 days 15 hrs ago0x547c58a29d6ded521fa4f7fa663c91b245cf613e IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317903.076221335554753 FTM0.075144834986
0x1ef19040e5e5ee0bf571f6ec7ece71d69748c4e44d7a80dd597811eae598b404Add Liquidity ET...368054382022-04-23 20:26:3166 days 19 hrs ago0x547c58a29d6ded521fa4f7fa663c91b245cf613e IN  0xca5a12bfbddad76add7e4cbfb83dca3f2ca317907.221347026475355 FTM0.040104627364
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x61a8daa159d474c5b2e17cabcb79fdfd027bd3166a4b6cae2190ff82bde4d13c399282372022-06-06 17:01:2122 days 22 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900xcc93f2ebe4b9c4bd0fa5e579c55afc19e660e30a1 wei
0x61a8daa159d474c5b2e17cabcb79fdfd027bd3166a4b6cae2190ff82bde4d13c399282372022-06-06 17:01:2122 days 22 hrs ago SpookySwap: Router 0xca5a12bfbddad76add7e4cbfb83dca3f2ca317901 wei
0x61a8daa159d474c5b2e17cabcb79fdfd027bd3166a4b6cae2190ff82bde4d13c399282372022-06-06 17:01:2122 days 22 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router1 FTM
0x7e61765ae223e6b3389ca92ee3284e794b8f0d92a72142f7ce4000389adcf35b398688272022-06-05 21:44:2023 days 17 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router29.953536934172103317 FTM
0x2efc471b62004bfcfb80836348310bc281b26a9c7d5e2c166fa4f1ea7c3db2bd393962682022-05-30 13:13:3230 days 2 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router2.994145967898756274 FTM
0x7f033ea424590aa289820271994999163e069ac245c1f777c42119e5f323ee9b393030382022-05-29 6:27:0031 days 9 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router10.127401686045777786 FTM
0x5ea1c439f67bf899a9c9e5ac07ea15375faaaef10acf5d4164dededf86ee898a393027472022-05-29 6:21:4931 days 9 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca317900x46412d9c73d74d3ac9238c12035e052ee83e879c1 wei
0x5ea1c439f67bf899a9c9e5ac07ea15375faaaef10acf5d4164dededf86ee898a393027472022-05-29 6:21:4931 days 9 hrs ago SpookySwap: Router 0xca5a12bfbddad76add7e4cbfb83dca3f2ca317901 wei
0x5ea1c439f67bf899a9c9e5ac07ea15375faaaef10acf5d4164dededf86ee898a393027472022-05-29 6:21:4931 days 9 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router10 FTM
0xbf88975262d3515451afa3479de0a434824202d97b9f80a4db1b752d7312ab72391923472022-05-27 18:54:5132 days 20 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router19.966404917989012888 FTM
0x35c8b81736ec46d2f7fa306cac4e48809fe3aeaafa4ab01183bf94810776e1a5390454582022-05-25 18:40:1734 days 20 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router202.373743135295755178 FTM
0xf788e2f4718aa03279863d99a2f65efcee81e95955af0f904f2ca2f81963a727390063872022-05-25 5:55:4235 days 9 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router79.944678677186930441 FTM
0xb0a51fe10846a47c57e6a6d3259b58f09cacb3992a4c3db1f47abbd9abbfc984388814932022-05-23 13:14:4137 days 2 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router4.990498400965401936 FTM
0x7d5479f1eafa7e265a846e8d7c16f7b7df483542e6daec347dcc45d17a298312388106632022-05-22 14:17:2038 days 1 hr ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router39.139512693427309294 FTM
0xb93e0042ea15873eab196a1a69d9fa2d40739596a45e120ba0fcd660e265bebc386824242022-05-20 20:13:5939 days 19 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router27.982811156349843191 FTM
0x0d15ac4ba8beeed4638350844ad32522bc8cf5caef21f4279e53fbcd682504d0385308962022-05-18 18:49:4641 days 20 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router1.996111700101050926 FTM
0x47431ad9dc8360d4c8ccd37b14770bafc9fd9c69ed000b04af3264ea66ea579d385151942022-05-18 13:33:2542 days 2 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router10,918.455394577938544546 FTM
0xf9eec56e0c072a4768fdefbf65ba76a59510dd51da29a35a40d4aa2f3a22ef6d384439522022-05-17 13:15:2243 days 2 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router0.228963383886348612 FTM
0x6a383299ebd15046aa6f424c1848d486d77c6d0fcc48fe943b0a622d5c2fd6ab384231842022-05-17 6:39:1143 days 8 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router2.397326426046275504 FTM
0x2700eaa601c877c6ff505e41c394ebfae05ac0be22946627fa131e1ee2ee0be4381696272022-05-13 19:04:4446 days 20 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router239.305635770209837143 FTM
0x9cd39fbe907578f56de3efed1ee7caf6cb888cb310ba3ac79699b510525dd70f378050482022-05-08 3:26:0852 days 12 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router4.779384477547960708 FTM
0xce5774379aec7c1f76e84fded8a10a74ddf5b0d3545e4b4eb1c4164c7c0d7a16376770352022-05-06 9:43:1554 days 5 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router0.139206006051906297 FTM
0xe887f1321eb1ee297bb6d5911d3ef46ac7b4b97da943d4791f9bdc48b6b81984375558102022-05-04 20:03:5955 days 19 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router2.530067073273497449 FTM
0x5b32a27561c803d38b4ccf91a6f01d09a241f628d532d61f094ebb64885a92b3374073672022-05-02 19:06:3857 days 20 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router7.885720870057909599 FTM
0x63a53ec94694fafd388ffb0689dfc53aebe3c9c142503ea3eb852b323f548630372388792022-04-29 22:24:4560 days 17 hrs ago 0xca5a12bfbddad76add7e4cbfb83dca3f2ca31790 SpookySwap: Router12.777470144134500607 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TaxOfficeV2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : TaxOfficeV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./interfaces/ITaxableToken.sol";
// import "./interfaces/IUniswapV2Router.sol";
import "./interfaces/IUniswapV2Router.sol";
import "./libs/TransferHelper.sol";




interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
    function balanceOf(address account) external view returns (uint256);
}




contract TaxOfficeV2 is Ownable {

    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    address public coffin;
    address public wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);
    address public spookyUniRouter = address(0xF491e7B69E4244ad4002BC14e878a34207E38c29);
    address public spiritUniRouter = address(0x16327E3FbDaCA3bcF7E38F5Af2599D2DDc33aE52);
    address public uniRouter = address(0xF491e7B69E4244ad4002BC14e878a34207E38c29);
    
    receive() external payable {}

    // mapping(address => bool) public taxExclusionEnabled;

    function setCoffin(address _coffin) external onlyOwner {
        require(_coffin!=address(0), "coffin address error ");
        coffin = _coffin;
    }

    function setUniRouter(address _uniRouter) external onlyOwner {
        require(_uniRouter!=address(0), "coffin address error ");
        uniRouter = _uniRouter;
    }
    

    function enableAutoCalculateTax() public onlyOwner {
        ITaxableToken(coffin).enableAutoCalculateTax();
    }

    function disableAutoCalculateTax() public onlyOwner {
        ITaxableToken(coffin).disableAutoCalculateTax();
    }

    function setTaxThreshold(uint256 _taxThreshold)
        public
        onlyOwner
    {
        ITaxableToken(coffin).setTaxThreshold(_taxThreshold);
    }

    function setBurnThreshold(uint256 _burnThreshold)
        public
        onlyOwner
    {
        ITaxableToken(coffin).setBurnThreshold(_burnThreshold);
    }

    function setBasisTaxRate(uint16 _val) public onlyOwner {
        ITaxableToken(coffin).setBasisTaxRate(_val);
    }

    function setTaxCollectorAddress(
        address _taxCollectorAddress
    ) public onlyOwner {
        ITaxableToken(coffin).setTaxCollectorAddress(_taxCollectorAddress);
    }

    function excludeAddressFromTax(address _address)
        external
        onlyOwner
        returns (bool)
    {
        // return ITaxableToken(coffin).excludeAddressFromTax(_address);
        return _excludeAddressFromTax(_address);
    }

    function _excludeAddressFromTax(address _address) private returns (bool) {
        if (!ITaxableToken(coffin).isExcluded(_address)) {
            // update 
            return ITaxableToken(coffin).excludeAddressFromTax(_address);
        }
        return false; // already 
    }
    function includeAddressInTax(address _address)
        external
        onlyOwner
        returns (bool)
    {
        // return ITaxableToken(coffin).includeAddressInTax(_address);
        return _includeAddressInTax(_address);
    }
    function _includeAddressInTax(address _address) private returns (bool) {
        if (ITaxableToken(coffin).isExcluded(_address)) {
            return ITaxableToken(coffin).includeAddressInTax(_address);
        }
        return false; // already
    }

    function isExcluded(address _address)
        public
        view
        returns (bool)
    {
        return ITaxableToken(coffin).isExcluded(_address);
    }


    function taxRate() external view returns (uint16) {
        return ITaxableToken(coffin).latestTaxRate();
    }

    function enableTwap() public onlyOwner {
        ITaxableToken(coffin).enableTwap();
    }

    function disablTwap() public onlyOwner {
        ITaxableToken(coffin).disablTwap();
    }

    function enableTax() public onlyOwner {
        ITaxableToken(coffin).enableTax();
    }

    function disableTax() public onlyOwner {
        ITaxableToken(coffin).disableTax();
    }

    function setCoffinOracle(address _coffinOracle)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setCoffinOracle(_coffinOracle);
    }

    function transferTaxOffice(address _newTaxOffice)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setTaxOffice(_newTaxOffice);
    }

    function setAdjustTaxRateA(uint32 _adjustTaxRate)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setAdjustTaxRateA(_adjustTaxRate);
    }
    function setAdjustTaxRateB(uint32 _adjustTaxRate)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setAdjustTaxRateB(_adjustTaxRate);
    }

    function setStaticTaxRate(uint16 _staticTaxRate)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setStaticTaxRate(_staticTaxRate);
    }

    function setMaxTaxRate(uint16 _maxTaxRate)
        external
        onlyOwner
    {
        ITaxableToken(coffin).setMaxTaxRate(_maxTaxRate);
    }

    function rescueFund(IERC20 _token, address _to) external onlyOwner {
        if (IERC20(_token).balanceOf(address(this))>0) {
            IERC20(_token).safeTransfer(
                _to,
                IERC20(_token).balanceOf(address(this))
            );
        }
    }
    function rescueETH() external onlyOwner{
        if( address(this).balance>0) {
            payable(msg.sender).transfer(address(this).balance);
        }
    }
    
    function addLiquidityTaxFreeSpookySwap(
        address token,
        uint256 amtCoffin,
        uint256 amtToken,
        uint256 amtCoffinMin,
        uint256 amtTokenMin,
        uint256 deadline
    )
        external
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && amtToken != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);

        IERC20(coffin).safeTransferFrom(msg.sender, address(this), amtCoffin);
        IERC20(token).safeTransferFrom(msg.sender, address(this), amtToken);
        // IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        // IERC20(token).transferFrom(msg.sender, address(this), amtToken);
        _approveTokenIfNeeded(coffin, spookyUniRouter);
        _approveTokenIfNeeded(token, spookyUniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtToken;
        uint256 liquidity;
        
        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtToken, liquidity) = IUniswapV2Router(spookyUniRouter).addLiquidity(
            coffin,
            token,
            amtCoffin,
            amtToken,
            amtCoffinMin,
            amtTokenMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }
        if(amtToken.sub(resultAmtToken) > 0) {
            IERC20(token).safeTransfer(msg.sender, amtToken.sub(resultAmtToken));
        }
        return (resultAmtCoffin, resultAmtToken, liquidity);
    }

    function addLiquidityTaxFreeSpiritSwap(
        address token,
        uint256 amtCoffin,
        uint256 amtToken,
        uint256 amtCoffinMin,
        uint256 amtTokenMin,
        uint256 deadline
    )
        external
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && amtToken != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);


        IERC20(coffin).safeTransferFrom(msg.sender, address(this), amtCoffin);
        IERC20(token).safeTransferFrom(msg.sender, address(this), amtToken);
        // IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        // IERC20(token).transferFrom(msg.sender, address(this), amtToken);
        _approveTokenIfNeeded(coffin, spiritUniRouter);
        _approveTokenIfNeeded(token, spiritUniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtToken;
        uint256 liquidity;
        
        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtToken, liquidity) = IUniswapV2Router(spiritUniRouter).addLiquidity(
            coffin,
            token,
            amtCoffin,
            amtToken,
            amtCoffinMin,
            amtTokenMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }
        if(amtToken.sub(resultAmtToken) > 0) {
            IERC20(token).safeTransfer(msg.sender, amtToken.sub(resultAmtToken));
            // IERC20(token).transfer(msg.sender, amtToken.sub(resultAmtToken));
        }
        return (resultAmtCoffin, resultAmtToken, liquidity);
    }


    function addLiquidityTaxFree(
        address token,
        uint256 amtCoffin,
        uint256 amtToken,
        uint256 amtCoffinMin,
        uint256 amtTokenMin,
        uint256 deadline
    )
        external
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && amtToken != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);

        IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        IERC20(token).transferFrom(msg.sender, address(this), amtToken);
        _approveTokenIfNeeded(coffin, uniRouter);
        _approveTokenIfNeeded(token, uniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtToken;
        uint256 liquidity;
        
        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtToken, liquidity) = IUniswapV2Router(uniRouter).addLiquidity(
            coffin,
            token,
            amtCoffin,
            amtToken,
            amtCoffinMin,
            amtTokenMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }
        if(amtToken.sub(resultAmtToken) > 0) {
            IERC20(token).safeTransfer(msg.sender, amtToken.sub(resultAmtToken));
            // IERC20(token).transfer(msg.sender, amtToken.sub(resultAmtToken));
        }
        return (resultAmtCoffin, resultAmtToken, liquidity);
    }


    function addLiquidityETHTaxFreeSpookySwap(
        uint256 amtCoffin,
        uint256 amtCoffinMin,
        uint256 amtFtmMin,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && msg.value != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);

        // IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        IERC20(coffin).safeTransferFrom(msg.sender, address(this), amtCoffin);
        _approveTokenIfNeeded(coffin, spookyUniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtFtm;
        uint256 liquidity;
        //     
        
        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtFtm, liquidity) 
            = IUniswapV2Router(spookyUniRouter).addLiquidityETH{value: msg.value}(
            coffin,
            amtCoffin,
            amtCoffinMin,
            amtFtmMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }

        if(msg.value > resultAmtFtm ) {
            TransferHelper.safeTransferETH(msg.sender, msg.value - resultAmtFtm);
            // payable(msg.sender).transfer(msg.value.sub(resultAmtFtm));
        }
        return (resultAmtCoffin, resultAmtFtm, liquidity);
    }
    function addLiquidityETHTaxFreeSpiritSwap(
        uint256 amtCoffin,
        uint256 amtCoffinMin,
        uint256 amtFtmMin,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && msg.value != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);

        // IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        IERC20(coffin).safeTransferFrom(msg.sender, address(this), amtCoffin);
        _approveTokenIfNeeded(coffin, spiritUniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtFtm;
        uint256 liquidity;

        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtFtm, liquidity) 
            = IUniswapV2Router(spiritUniRouter).addLiquidityETH{value: msg.value}(
            coffin,
            amtCoffin,
            amtCoffinMin,
            amtFtmMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }

        if(msg.value.sub(resultAmtFtm) > 0) {
            TransferHelper.safeTransferETH(msg.sender, msg.value - resultAmtFtm);
            // payable(msg.sender).transfer(msg.value.sub(resultAmtFtm));
        }
        return (resultAmtCoffin, resultAmtFtm, liquidity);
    }

    function addLiquidityETHTaxFree(
        uint256 amtCoffin,
        uint256 amtCoffinMin,
        uint256 amtFtmMin,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(amtCoffin != 0 && msg.value != 0, "amounts can't be 0");
        // _excludeAddressFromTax(msg.sender);

        // IERC20(coffin).transferFrom(msg.sender, address(this), amtCoffin);
        IERC20(coffin).safeTransferFrom(msg.sender, address(this), amtCoffin);
        _approveTokenIfNeeded(coffin, uniRouter);

        // _includeAddressInTax(msg.sender);

        uint256 resultAmtCoffin;
        uint256 resultAmtFtm;
        uint256 liquidity;
        
        amtCoffin = IERC20(coffin).balanceOf(address(this));

        (resultAmtCoffin, resultAmtFtm, liquidity) = IUniswapV2Router(uniRouter).addLiquidityETH{value: msg.value}(
            coffin,
            amtCoffin,
            amtCoffinMin,
            amtFtmMin,
            msg.sender,
            deadline // block.timestamp
        );

        if(amtCoffin.sub(resultAmtCoffin) > 0) {
            IERC20(coffin).safeTransfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
            // IERC20(coffin).transfer(msg.sender, amtCoffin.sub(resultAmtCoffin));
        }
        if(msg.value.sub(resultAmtFtm) > 0) {
            TransferHelper.safeTransferETH(msg.sender, msg.value - resultAmtFtm);
            // payable(msg.sender).transfer(msg.value.sub(resultAmtFtm));
        }
        return (resultAmtCoffin, resultAmtFtm, liquidity);
    }


    function _approveTokenIfNeeded(address _token, address _router) private {
        if (IERC20(_token).allowance(address(this), _router) == 0) {
            IERC20(_token).approve(_router, type(uint256).max);
        }
    }

}

File 2 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 6 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 7 of 12 : ITaxableToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface ITaxableToken {
    function enableTax() external;

    function disableTax() external;

    function enableAutoCalculateTax() external;

    function disableAutoCalculateTax() external;

    function setTaxCollectorAddress(address _taxCollectorAddress) external;

    function setTaxThreshold(uint256 _taxThreshold) external;

    function setBurnThreshold(uint256 _burnThreshold) external;

    function setBasisTaxRate(uint16 _val) external;

    function enableTwap() external;
    
    function disablTwap() external ;

    function includeAddressInTax(address _address) external returns (bool);

    function excludeAddressFromTax(address _address) external returns (bool);

    function isExcluded(address _address) external view returns (bool);

    function setCoffinOracle(address _coffinOracle) external;

    function setStaticTaxRate(uint16 _staticTaxRate) external;

    function setTaxOffice(address _taxOffice) external;

    function setAdjustTaxRateA(uint32 _adjustTaxRate) external;
    function setAdjustTaxRateB(uint32 _adjustTaxRate) external;

    function setMaxTaxRate(uint16 _maxTaxRate) external;
    function latestTaxRate() view external returns(uint16);

}

File 8 of 12 : IUniswapV2Router.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

interface IUniswapV2Router {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);

    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);

    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable
    returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);

    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);

    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);

    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);

    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 9 of 12 : TransferHelper.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(address token, address from, address to, uint value) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}

File 10 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 12 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 500
  },
  "metadata": {
    "bytecodeHash": "none",
    "useLiteralContent": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtFtmMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETHTaxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtFtmMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETHTaxFreeSpiritSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtFtmMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityETHTaxFreeSpookySwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtToken","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtTokenMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityTaxFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtToken","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtTokenMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityTaxFreeSpiritSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amtCoffin","type":"uint256"},{"internalType":"uint256","name":"amtToken","type":"uint256"},{"internalType":"uint256","name":"amtCoffinMin","type":"uint256"},{"internalType":"uint256","name":"amtTokenMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"addLiquidityTaxFreeSpookySwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"coffin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disablTwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"excludeAddressFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"includeAddressInTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_adjustTaxRate","type":"uint32"}],"name":"setAdjustTaxRateA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_adjustTaxRate","type":"uint32"}],"name":"setAdjustTaxRateB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_val","type":"uint16"}],"name":"setBasisTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnThreshold","type":"uint256"}],"name":"setBurnThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_coffin","type":"address"}],"name":"setCoffin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_coffinOracle","type":"address"}],"name":"setCoffinOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTaxRate","type":"uint16"}],"name":"setMaxTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_staticTaxRate","type":"uint16"}],"name":"setStaticTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxCollectorAddress","type":"address"}],"name":"setTaxCollectorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxThreshold","type":"uint256"}],"name":"setTaxThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniRouter","type":"address"}],"name":"setUniRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spiritUniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spookyUniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTaxOffice","type":"address"}],"name":"transferTaxOffice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600280546001600160a01b03199081167321be370d5312f44cb42ce377bc9b8a0cef1a4c831790915560038054821673f491e7b69e4244ad4002bc14e878a34207e38c299081179091556004805483167316327e3fbdaca3bcf7e38f5af2599d2ddc33ae521790556005805490921617905534801561008257600080fd5b5061008c33610091565b6100e1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612add80620000f16000396000f3fe6080604052600436106102295760003560e01c80637403456f11610123578063be94f86b116100ab578063ee4e26871161006f578063ee4e268714610631578063f2fde38b14610651578063f4f45b4614610671578063fbe2f9d714610691578063ff87fc7c146106b157600080fd5b8063be94f86b1461059c578063cba0e996146105bc578063cd428af3146105dc578063ced695a4146105fc578063d1d31a371461061157600080fd5b80639d6b5f21116100f25780639d6b5f21146105075780639e3cb7cb14610527578063a0025c4a14610547578063a0e47bf614610567578063be8ec6d21461058757600080fd5b80637403456f14610481578063771a3a1d146104a15780638da5cb5b146104c95780638e6c7722146104e757600080fd5b80633fa09639116101b15780635c26606a116101755780635c26606a146103f757806362b8b2e51461041757806365bbacd91461043757806369356d471461044c578063715018a61461046c57600080fd5b80633fa096391461037a578063522d0c1e1461038d57806353788a6b146103ad57806353eb3bcf146103c2578063593a48c1146103d757600080fd5b806319db099d116101f857806319db099d146102e257806320800a00146103125780632084acbc1461032757806335c9de7e146103475780633a9874891461035a57600080fd5b806307a212be1461023557806307cf5b86146102575780630a4f20f81461028a5780631711063b146102c257600080fd5b3661023057005b600080fd5b34801561024157600080fd5b50610255610250366004612933565b6106c6565b005b61026a610265366004612993565b610775565b604080519384526020840192909252908201526060015b60405180910390f35b34801561029657600080fd5b506003546102aa906001600160a01b031681565b6040516001600160a01b039091168152602001610281565b3480156102ce57600080fd5b506004546102aa906001600160a01b031681565b3480156102ee57600080fd5b506103026102fd366004612835565b610993565b6040519015158152602001610281565b34801561031e57600080fd5b506102556109eb565b34801561033357600080fd5b506102556103423660046129c5565b610a69565b61026a610355366004612993565b610ae7565b34801561036657600080fd5b506102556103753660046129c5565b610cd2565b61026a610388366004612993565b610d50565b34801561039957600080fd5b506102556103a83660046128c0565b610eb7565b3480156103b957600080fd5b50610255611011565b3480156103ce57600080fd5b506102556110c3565b3480156103e357600080fd5b506001546102aa906001600160a01b031681565b34801561040357600080fd5b506102556104123660046128f9565b61115b565b34801561042357600080fd5b5061026a610432366004612852565b6111d7565b34801561044357600080fd5b5061025561150e565b34801561045857600080fd5b50610255610467366004612835565b6115a6565b34801561047857600080fd5b50610255611620565b34801561048d57600080fd5b5061025561049c366004612835565b611672565b3480156104ad57600080fd5b506104b661172a565b60405161ffff9091168152602001610281565b3480156104d557600080fd5b506000546001600160a01b03166102aa565b3480156104f357600080fd5b50610255610502366004612835565b6117ac565b34801561051357600080fd5b50610255610522366004612933565b611826565b34801561053357600080fd5b5061026a610542366004612852565b61189f565b34801561055357600080fd5b506102556105623660046128f9565b611a3f565b34801561057357600080fd5b506005546102aa906001600160a01b031681565b34801561059357600080fd5b50610255611abb565b3480156105a857600080fd5b506103026105b7366004612835565b611b53565b3480156105c857600080fd5b506103026105d7366004612835565b611ba5565b3480156105e857600080fd5b506102556105f73660046128f9565b611c23565b34801561060857600080fd5b50610255611c9f565b34801561061d57600080fd5b5061025561062c366004612835565b611d37565b34801561063d57600080fd5b5061025561064c366004612835565b611db1565b34801561065d57600080fd5b5061025561066c366004612835565b611e69565b34801561067d57600080fd5b506002546102aa906001600160a01b031681565b34801561069d57600080fd5b5061026a6106ac366004612852565b611f1f565b3480156106bd57600080fd5b506102556120b9565b6000546001600160a01b031633146107135760405162461bcd60e51b81526020600482018190526024820152600080516020612ab183398151915260448201526064015b60405180910390fd5b6001546040516303d1095f60e11b8152600481018390526001600160a01b03909116906307a212be906024015b600060405180830381600087803b15801561075a57600080fd5b505af115801561076e573d6000803e3d6000fd5b5050505050565b60008080861580159061078757503415155b6107c85760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b6001546107e0906001600160a01b031633308a612151565b6001546005546107fc916001600160a01b0390811691166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b15801561084457600080fd5b505afa158015610858573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087c919061294c565b60055460015460405163f305d71960e01b81526001600160a01b03918216600482015260248101849052604481018d9052606481018c905233608482015260a481018b9052929c50169063f305d71990349060c4015b6060604051808303818588803b1580156108eb57600080fd5b505af11580156108ff573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109249190612965565b9194509250905060006109378b856122f4565b111561095e5761095e3361094b8c866122f4565b6001546001600160a01b03169190612307565b600061096a34846122f4565b1115610983576109833361097e8434612a3a565b612337565b9199909850909650945050505050565b600080546001600160a01b031633146109dc5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6109e582612400565b92915050565b6000546001600160a01b03163314610a335760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b4715610a675760405133904780156108fc02916000818181858888f19350505050158015610a65573d6000803e3d6000fd5b505b565b6000546001600160a01b03163314610ab15760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001546040516308212b2f60e21b815263ffffffff831660048201526001600160a01b0390911690632084acbc90602401610740565b600080808615801590610af957503415155b610b3a5760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b600154610b52906001600160a01b031633308a612151565b600154600354610b6e916001600160a01b0390811691166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b158015610bb657600080fd5b505afa158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee919061294c565b60035460015460405163f305d71960e01b81526001600160a01b03918216600482015260248101849052604481018d9052606481018c905233608482015260a481018b9052929c50169063f305d71990349060c4016060604051808303818588803b158015610c5c57600080fd5b505af1158015610c70573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c959190612965565b919450925090506000610ca88b856122f4565b1115610cbc57610cbc3361094b8c866122f4565b81341115610983576109833361097e8434612a3a565b6000546001600160a01b03163314610d1a5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600154604051633a98748960e01b815263ffffffff831660048201526001600160a01b0390911690633a98748990602401610740565b600080808615801590610d6257503415155b610da35760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b600154610dbb906001600160a01b031633308a612151565b600154600454610dd7916001600160a01b0390811691166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b158015610e1f57600080fd5b505afa158015610e33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e57919061294c565b6004805460015460405163f305d71960e01b81526001600160a01b039182169381019390935260248301849052604483018d9052606483018c905233608484015260a483018b9052929c50919091169063f305d71990349060c4016108d2565b6000546001600160a01b03163314610eff5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b158015610f4157600080fd5b505afa158015610f55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f79919061294c565b111561100d576040516370a0823160e01b815230600482015261100d9082906001600160a01b038516906370a082319060240160206040518083038186803b158015610fc457600080fd5b505afa158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc919061294c565b6001600160a01b0385169190612307565b5050565b6000546001600160a01b031633146110595760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b03166353788a6b6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b505af11580156110bd573d6000803e3d6000fd5b50505050565b6000546001600160a01b0316331461110b5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b03166353eb3bcf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b6000546001600160a01b031633146111a35760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600154604051632e13303560e11b815261ffff831660048201526001600160a01b0390911690635c26606a90602401610740565b6000808087158015906111e957508615155b61122a5760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b6001546040516323b872dd60e01b8152336004820152306024820152604481018a90526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561127c57600080fd5b505af1158015611290573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b4919061289e565b506040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038a16906323b872dd90606401602060405180830381600087803b15801561130357600080fd5b505af1158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b919061289e565b50600154600554611358916001600160a01b0390811691166121e9565b60055461136f908a906001600160a01b03166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b1580156113b757600080fd5b505afa1580156113cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ef919061294c565b60055460015460405162e8e33760e81b81526001600160a01b0391821660048201528f8216602482015260448101849052606481018e9052608481018d905260a481018c90523360c482015260e481018b9052929d50169063e8e3370090610104015b606060405180830381600087803b15801561146c57600080fd5b505af1158015611480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a49190612965565b9194509250905060006114b78c856122f4565b11156114cb576114cb3361094b8d866122f4565b60006114d78b846122f4565b11156114fc576114fc336114eb8c856122f4565b6001600160a01b038f169190612307565b919b909a509098509650505050505050565b6000546001600160a01b031633146115565760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b03166365bbacd96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b6000546001600160a01b031633146115ee5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001546040516369356d4760e01b81526001600160a01b038381166004830152909116906369356d4790602401610740565b6000546001600160a01b031633146116685760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b610a6760006124e7565b6000546001600160a01b031633146116ba5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001600160a01b0381166117085760405162461bcd60e51b8152602060048201526015602482015274031b7b33334b71030b2323932b9b99032b93937b91605d1b604482015260640161070a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60015460408051635373d58b60e11b815290516000926001600160a01b03169163a6e7ab16916004808301926020929190829003018186803b15801561176f57600080fd5b505afa158015611783573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a79190612916565b905090565b6000546001600160a01b031633146117f45760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001546040516347363b9160e11b81526001600160a01b03838116600483015290911690638e6c772290602401610740565b6000546001600160a01b0316331461186e5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600154604051639d6b5f2160e01b8152600481018390526001600160a01b0390911690639d6b5f2190602401610740565b6000808087158015906118b157508615155b6118f25760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b60015461190a906001600160a01b031633308b612151565b61191f6001600160a01b038a1633308a612151565b60015460045461193b916001600160a01b0390811691166121e9565b600454611952908a906001600160a01b03166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b15801561199a57600080fd5b505afa1580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d2919061294c565b6004805460015460405162e8e33760e81b81526001600160a01b03918216938101939093528f8116602484015260448301849052606483018e9052608483018d905260a483018c90523360c484015260e483018b9052929d50919091169063e8e337009061010401611452565b6000546001600160a01b03163314611a875760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001546040516350012e2560e11b815261ffff831660048201526001600160a01b039091169063a0025c4a90602401610740565b6000546001600160a01b03163314611b035760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b031663be8ec6d26040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b600080546001600160a01b03163314611b9c5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6109e582612537565b6001546040516365d074cb60e11b81526001600160a01b038381166004830152600092169063cba0e9969060240160206040518083038186803b158015611beb57600080fd5b505afa158015611bff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e5919061289e565b6000546001600160a01b03163314611c6b5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b60015460405163cd428af360e01b815261ffff831660048201526001600160a01b039091169063cd428af390602401610740565b6000546001600160a01b03163314611ce75760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b031663ced695a46040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b6000546001600160a01b03163314611d7f5760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600154604051631f83ebb560e11b81526001600160a01b03838116600483015290911690633f07d76a90602401610740565b6000546001600160a01b03163314611df95760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001600160a01b038116611e475760405162461bcd60e51b8152602060048201526015602482015274031b7b33334b71030b2323932b9b99032b93937b91605d1b604482015260640161070a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611eb15760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b6001600160a01b038116611f165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161070a565b610a65816124e7565b600080808715801590611f3157508615155b611f725760405162461bcd60e51b81526020600482015260126024820152710616d6f756e74732063616e277420626520360741b604482015260640161070a565b600154611f8a906001600160a01b031633308b612151565b611f9f6001600160a01b038a1633308a612151565b600154600354611fbb916001600160a01b0390811691166121e9565b600354611fd2908a906001600160a01b03166121e9565b6001546040516370a0823160e01b8152306004820152600091829182916001600160a01b0316906370a082319060240160206040518083038186803b15801561201a57600080fd5b505afa15801561202e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612052919061294c565b60035460015460405162e8e33760e81b81526001600160a01b0391821660048201528f8216602482015260448101849052606481018e9052608481018d905260a481018c90523360c482015260e481018b9052929d50169063e8e337009061010401611452565b6000546001600160a01b031633146121015760405162461bcd60e51b81526020600482018190526024820152600080516020612ab1833981519152604482015260640161070a565b600160009054906101000a90046001600160a01b03166001600160a01b031663ff87fc7c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110a957600080fd5b6040516001600160a01b03808516602483015283166044820152606481018290526110bd9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526125eb565b604051636eb1769f60e11b81523060048201526001600160a01b03828116602483015283169063dd62ed3e9060440160206040518083038186803b15801561223057600080fd5b505afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612268919061294c565b61100d5760405163095ea7b360e01b81526001600160a01b038281166004830152600019602483015283169063095ea7b390604401602060405180830381600087803b1580156122b757600080fd5b505af11580156122cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ef919061289e565b505050565b60006123008284612a3a565b9392505050565b6040516001600160a01b0383166024820152604481018290526122ef90849063a9059cbb60e01b90606401612185565b604080516000808252602082019092526001600160a01b03841690839060405161236191906129eb565b60006040518083038185875af1925050503d806000811461239e576040519150601f19603f3d011682016040523d82523d6000602084013e6123a3565b606091505b50509050806122ef5760405162461bcd60e51b815260206004820152602360248201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960448201526213115160ea1b606482015260840161070a565b6001546040516365d074cb60e11b81526001600160a01b038381166004830152600092169063cba0e9969060240160206040518083038186803b15801561244657600080fd5b505afa15801561245a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247e919061289e565b156124df576001546040516319db099d60e01b81526001600160a01b038481166004830152909116906319db099d906024015b602060405180830381600087803b1580156124cb57600080fd5b505af1158015611bff573d6000803e3d6000fd5b506000919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546040516365d074cb60e11b81526001600160a01b038381166004830152600092169063cba0e9969060240160206040518083038186803b15801561257d57600080fd5b505afa158015612591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b5919061289e565b6124df5760015460405163be94f86b60e01b81526001600160a01b0384811660048301529091169063be94f86b906024016124b1565b6000612640826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126bd9092919063ffffffff16565b8051909150156122ef578080602001905181019061265e919061289e565b6122ef5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161070a565b60606126cc84846000856126d4565b949350505050565b6060824710156127355760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161070a565b843b6127835760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161070a565b600080866001600160a01b0316858760405161279f91906129eb565b60006040518083038185875af1925050503d80600081146127dc576040519150601f19603f3d011682016040523d82523d6000602084013e6127e1565b606091505b50915091506127f18282866127fc565b979650505050505050565b6060831561280b575081612300565b82511561281b5782518084602001fd5b8160405162461bcd60e51b815260040161070a9190612a07565b60006020828403121561284757600080fd5b813561230081612a8b565b60008060008060008060c0878903121561286b57600080fd5b863561287681612a8b565b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b6000602082840312156128b057600080fd5b8151801515811461230057600080fd5b600080604083850312156128d357600080fd5b82356128de81612a8b565b915060208301356128ee81612a8b565b809150509250929050565b60006020828403121561290b57600080fd5b813561230081612aa0565b60006020828403121561292857600080fd5b815161230081612aa0565b60006020828403121561294557600080fd5b5035919050565b60006020828403121561295e57600080fd5b5051919050565b60008060006060848603121561297a57600080fd5b8351925060208401519150604084015190509250925092565b600080600080608085870312156129a957600080fd5b5050823594602084013594506040840135936060013592509050565b6000602082840312156129d757600080fd5b813563ffffffff8116811461230057600080fd5b600082516129fd818460208701612a5f565b9190910192915050565b6020815260008251806020840152612a26816040850160208701612a5f565b601f01601f19169190910160400192915050565b600082821015612a5a57634e487b7160e01b600052601160045260246000fd5b500390565b60005b83811015612a7a578181015183820152602001612a62565b838111156110bd5750506000910152565b6001600160a01b0381168114610a6557600080fd5b61ffff81168114610a6557600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a164736f6c6343000807000a

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.