Contract 0x88f09b951F513fe7dA4a34B436a3273DE59F253D 2

 
 
Txn Hash
Method
Block
From
To
Value
0x7ff98e757e99272e8d391d02dbb4f2c4cd3ae89a91698cefc936830076f4436dBuy And Burn(pending)2022-12-07 10:52:032 mins ago0x58ff2577e9f9e74a5ff72853a465a2e516b65a93 IN 0x88f09b951f513fe7da4a34b436a3273de59f253d0.001 Ether(Pending)(Pending)
0x43107c9c43c81e5d645ed81e79e9f415d665482ba9b84b4f8c004d74ad15ea28Buy And Burn161285332022-12-06 21:47:1113 hrs 7 mins ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.0161 Ether0.00236788 14.57937768
0x77cb8ba9de477b09ebd993a24b200e6cc82575d7fbfc226671120d65f59c84f1Buy And Burn161224012022-12-06 1:15:231 day 9 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.08 Ether0.00217188 13.37258622
0xc529dcab1b4bdabfe5a996c2fd0e2d90f3efa530f098c573c0f4b1a103f663aaBurn Shib161205062022-12-05 18:54:471 day 15 hrs ago0xfe6148673b1e7cd34efbb689199a155a6ae6cd2e IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.0013571 15.24495638
0x70da23ae151abf2e90cd70c5eabd8a8843dff47f74e8836275cca0d66e9a949dBurn Shib161164902022-12-05 5:23:592 days 5 hrs ago0xf7adc28b449bac7d2c6811ae8163cd9728eac8f5 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00111868 12.57009924
0x72e0fd57a5e96814504705a2bb1b3bc1516a9138da6e176a3ba470927e8ba685Buy And Burn161152272022-12-05 1:09:352 days 9 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.02 Ether0.00181966 11.2039236
0x5915c0f8640d3f1fd3d1a0c2aacb2e8b0cb81de51905df5b7fd71979894c2fbeBuy And Burn161122332022-12-04 15:06:592 days 19 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.01 Ether0.00225385 13.87834225
0x640a2a8f0af31ec1cf9fb2e983af0eb836e2ed8a77398242d3f3bc167d913d79Buy And Burn161071672022-12-03 22:07:473 days 12 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.0482 Ether0.00179914 11.07761688
0x7c18b7009f1459f9faf103b930a5f42eb00a9e8c80907cce166a1c0983accb7dBuy And Burn161064692022-12-03 19:48:113 days 15 hrs ago0x2f34bab94468ae4b1cf9542a2039f727c8fff7dc IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.0085 Ether0.00281019 14.29387846
0x95b3a2d0b98c2d015c738dc74e98b408975e0256f858c114cd2663dd9a907dfeBuy And Burn161046322022-12-03 13:37:473 days 21 hrs ago0xb0d62c35be3d0cd0608649a7e365055c6984b1f5 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.004 Ether0.00229009 11.6484361
0xe56048cea8a917bb048274e3a2657aa0678c6a4b96e3726db7966d44e0ef1ed4Buy And Burn160982072022-12-02 16:06:114 days 18 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.008 Ether0.00263956 16.2545674
0x94da083e05974ae6afdd11b554f591e518de2f1e40168c1300cde7a596d5dee6Burn Shib160980072022-12-02 15:25:594 days 19 hrs ago0x886709e9e7ea1fbeff5c787683aaeda19421f568 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00139987 15.72755001
0x61c476897769427f549c44b0687ccebf620926550e9a97d452a8292f59f2c44aBuy And Burn160932932022-12-01 23:39:115 days 11 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.007 Ether0.00179796 11.07114753
0xbd7ef17e969c5eb7a770417dc10f680499e4a99e5b05fa93b36a590d7d7e8d44Burn Shib160920572022-12-01 19:31:235 days 15 hrs ago0xfd683c6249cecc69cbb878e79c3f5a3c0b3cfd07 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00175676 14.25711364
0x989756b030a1bb24f931c8ecb31fdf3363120635bd3152a1b5b87d6328736e62Burn Shib160869882022-12-01 2:31:596 days 8 hrs ago0x801024698ba024c96b3360240eba358b9ed56b59 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00159077 12.91129072
0x3741ef871c2a01fa034570471a4a9272123402dff09e910b5917e6be1204c622Buy And Burn160854062022-11-30 21:13:116 days 13 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.008 Ether0.00227734 12.67542629
0x2e20795cdc8794a553b4ad650e5f71607b51776add876f9ae8320023c4e88612Buy And Burn160835892022-11-30 15:07:116 days 19 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.008 Ether0.0026327 16.21116065
0xad8a4d5dc5f657917623598b326f087395d91fb66230d8a284eb97db87cc805bBuy And Burn160790572022-11-29 23:54:597 days 10 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.008 Ether0.00179331 11.04250748
0x15db86b6022c1901750fbb96991b75969282836f332de0c6e6acb1fa165cf818Buy And Burn160790532022-11-29 23:54:117 days 11 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.008 Ether0.00182893 11.26183986
0xe090dbff907a6424b4feff453d92b6d7ced64669717a575bacc14edf4500a054Burn Shib160720372022-11-29 0:21:238 days 10 hrs ago0xe0c79d3d6fb1aea6ace4833573cd0168a1b81a50 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00088275 9.91637491
0x03baf000ec1721ae61f8488556828675afb7324ba89e390ce1e960567d0b7ffaBurn Shib160718892022-11-28 23:51:358 days 11 hrs ago0xde6ed8f8f1837207d887a2a9cbd77a16bb341ea3 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00088043 9.89158543
0x27e49fcdbd91530cabb171644e2f5f5e6c7c59142a0dd37b1ba2faccf84af679Buy And Burn160718312022-11-28 23:39:598 days 11 hrs ago0x66b98f95617afa84355acd473702e9728d9a18c2 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.0219 Ether0.00175776 10.82283034
0x6adc6a408db4df1548000f9139977e5aebfbd1b1709ed2541691d5b7a8c1f94fBurn Shib160711712022-11-28 21:27:598 days 13 hrs ago0x2e588499fcee77b6f1c8c27cc79c66d929a5d537 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00105867 11.8941111
0x5dd951d9a8bfeb43d3c9564a208dea288f8a729956e9195c9f7f284c7d4765ddBuy And Burn160708422022-11-28 20:21:478 days 14 hrs ago0x35e5749fe6b181f415be6f3d8d95b81302821744 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0.0352 Ether0.00338238 17.20327886
0xc1de0e88ded69bcfa8da1c6ca9ec2b590ec3e8264696db22e25a080ae05ab4faBurn Shib160702162022-11-28 18:15:478 days 16 hrs ago0x2e588499fcee77b6f1c8c27cc79c66d929a5d537 IN  0x88f09b951f513fe7da4a34b436a3273de59f253d0 Ether0.00173473 19.48703486
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x43107c9c43c81e5d645ed81e79e9f415d665482ba9b84b4f8c004d74ad15ea28161285332022-12-06 21:47:1113 hrs 7 mins ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0161 Ether
0x77cb8ba9de477b09ebd993a24b200e6cc82575d7fbfc226671120d65f59c84f1161224012022-12-06 1:15:231 day 9 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.08 Ether
0x72e0fd57a5e96814504705a2bb1b3bc1516a9138da6e176a3ba470927e8ba685161152272022-12-05 1:09:352 days 9 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.02 Ether
0x5915c0f8640d3f1fd3d1a0c2aacb2e8b0cb81de51905df5b7fd71979894c2fbe161122332022-12-04 15:06:592 days 19 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.01 Ether
0x640a2a8f0af31ec1cf9fb2e983af0eb836e2ed8a77398242d3f3bc167d913d79161071672022-12-03 22:07:473 days 12 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0482 Ether
0x7c18b7009f1459f9faf103b930a5f42eb00a9e8c80907cce166a1c0983accb7d161064692022-12-03 19:48:113 days 15 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0085 Ether
0x95b3a2d0b98c2d015c738dc74e98b408975e0256f858c114cd2663dd9a907dfe161046322022-12-03 13:37:473 days 21 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.004 Ether
0xe56048cea8a917bb048274e3a2657aa0678c6a4b96e3726db7966d44e0ef1ed4160982072022-12-02 16:06:114 days 18 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.008 Ether
0x61c476897769427f549c44b0687ccebf620926550e9a97d452a8292f59f2c44a160932932022-12-01 23:39:115 days 11 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.007 Ether
0x3741ef871c2a01fa034570471a4a9272123402dff09e910b5917e6be1204c622160854062022-11-30 21:13:116 days 13 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.008 Ether
0x2e20795cdc8794a553b4ad650e5f71607b51776add876f9ae8320023c4e88612160835892022-11-30 15:07:116 days 19 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.008 Ether
0xad8a4d5dc5f657917623598b326f087395d91fb66230d8a284eb97db87cc805b160790572022-11-29 23:54:597 days 10 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.008 Ether
0x15db86b6022c1901750fbb96991b75969282836f332de0c6e6acb1fa165cf818160790532022-11-29 23:54:117 days 11 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.008 Ether
0x27e49fcdbd91530cabb171644e2f5f5e6c7c59142a0dd37b1ba2faccf84af679160718312022-11-28 23:39:598 days 11 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0219 Ether
0x5dd951d9a8bfeb43d3c9564a208dea288f8a729956e9195c9f7f284c7d4765dd160708422022-11-28 20:21:478 days 14 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0352 Ether
0xe8739c7a34747b9b51ba814103d40d405f19a5edb9463af56fd9313561d8737d160127282022-11-20 17:30:3516 days 17 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0074 Ether
0x3511cc3d6bbe6e15ec4b18ea2008bd41c7737f1497405d8a452f1098e70e5e7b159006922022-11-05 2:00:1132 days 8 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.012 Ether
0x02e3a8f0e24495d3ad5298fa4beeab85d04e8091b1f80cf6713cd7d63baa1422158395242022-10-27 12:49:4740 days 22 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.001 Ether
0x1ca8920ab201b0fe15a9080832b48acc540d32f9bfee46703c0c9ef9c8a3f194158131592022-10-23 20:20:1144 days 14 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0004 Ether
0x54802457d54cf7f393736c8405835fcf8508e62f458be6cd672073327af1810e158131242022-10-23 20:13:1144 days 14 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0187 Ether
0x0467b7ab0cb46ab0b4c7c3b405d73530f891722aa12665e9fe5c98e1812d421c158055262022-10-22 18:45:4745 days 16 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0023 Ether
0x00818021c7d43e0609fda1fd6ed38617fb0479e347f242bfcfc42c57a1966eeb158031512022-10-22 10:48:3546 days 5 mins ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.004 Ether
0x486036f20b6d8b2d79acfc1a0ebcd676f122b8780faec1f9ab8e01e40e95e657157905262022-10-20 16:32:4747 days 18 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.013 Ether
0xa6a61a7861d792d14c6031579e155de140881ee6f820d5a21e3847294445253d157832392022-10-19 16:06:5948 days 18 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.0712 Ether
0xa85c3d719abc26d12c01aec550bb8f54bd4cf3e2674b0b0ca61c1389eaff431b157412682022-10-13 19:26:1154 days 15 hrs ago 0x88f09b951f513fe7da4a34b436a3273de59f253d Shiba Inu: ShibaSwap0.017 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShibaBurn

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 9 : ISwapper.sol
pragma solidity >=0.6.2;

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

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

}

File 2 of 9 : ShibaBurn.sol
pragma solidity >=0.8.9 <0.9.0;
//SPDX-License-Identifier: MIT

import "../node_modules/@openzeppelin/contracts/interfaces/IERC20Metadata.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";

import "./ISwapper.sol";
import "./XToken.sol";



/*
  Hello and welcome to the ShibaBurn burning portal.
    This is a contract that empowers developers to
    create incentive based deflation for all ERC20 tokens!

  ShibaBurn allows for an infinite number of burn pools
  to be created for any given token. By default, burn pools track the following data:
    - total tokens burnt by each user
    - total tokens burnt by all users

  ShibaBurn also allows for ETH to be "zapped" into burn pool ownershib by means of
  buying the specified token on ShibaSwap, and burning it in one transaction. This
  is only possible if eth-token liquidity is present on ShibaSwap.com


  If configured by the ShibaBurn owner wallet, burn pools can optionally:
    - Mint xTokens for users (e.g. burntSHIB in the case of burning SHIB to the default pool)
    - Keep track of the index at which any given address exceeds a burnt amount beyond an admin specified threshold

          _____                    _____                    _____                    _____                    _____          
         /\    \                  /\    \                  /\    \                  /\    \                  /\    \         
        /::\    \                /::\____\                /::\    \                /::\    \                /::\    \        
       /::::\    \              /:::/    /                \:::\    \              /::::\    \              /::::\    \       
      /::::::\    \            /:::/    /                  \:::\    \            /::::::\    \            /::::::\    \      
     /:::/\:::\    \          /:::/    /                    \:::\    \          /:::/\:::\    \          /:::/\:::\    \     
    /:::/__\:::\    \        /:::/____/                      \:::\    \        /:::/__\:::\    \        /:::/__\:::\    \    
    \:::\   \:::\    \      /::::\    \                      /::::\    \      /::::\   \:::\    \      /::::\   \:::\    \   
  ___\:::\   \:::\    \    /::::::\    \   _____    ____    /::::::\    \    /::::::\   \:::\    \    /::::::\   \:::\    \  
 /\   \:::\   \:::\    \  /:::/\:::\    \ /\    \  /\   \  /:::/\:::\    \  /:::/\:::\   \:::\ ___\  /:::/\:::\   \:::\    \ 
/::\   \:::\   \:::\____\/:::/  \:::\    /::\____\/::\   \/:::/  \:::\____\/:::/__\:::\   \:::|    |/:::/  \:::\   \:::\____\
\:::\   \:::\   \::/    /\::/    \:::\  /:::/    /\:::\  /:::/    \::/    /\:::\   \:::\  /:::|____|\::/    \:::\  /:::/    /
 \:::\   \:::\   \/____/  \/____/ \:::\/:::/    /  \:::\/:::/    / \/____/  \:::\   \:::\/:::/    /  \/____/ \:::\/:::/    / 
  \:::\   \:::\    \               \::::::/    /    \::::::/    /            \:::\   \::::::/    /            \::::::/    /  
   \:::\   \:::\____\               \::::/    /      \::::/____/              \:::\   \::::/    /              \::::/    /   
    \:::\  /:::/    /               /:::/    /        \:::\    \               \:::\  /:::/    /               /:::/    /    
     \:::\/:::/    /               /:::/    /          \:::\    \               \:::\/:::/    /               /:::/    /     
      \::::::/    /               /:::/    /            \:::\    \               \::::::/    /               /:::/    /      
       \::::/    /               /:::/    /              \:::\____\               \::::/    /               /:::/    /       
        \::/    /                \::/    /                \::/    /                \::/____/                \::/    /        
         \/____/                  \/____/                  \/____/                  ~~                       \/____/         
                                                                                                                             
                          _____                    _____                    _____                    _____                   
                         /\    \                  /\    \                  /\    \                  /\    \                  
                        /::\    \                /::\____\                /::\    \                /::\____\                 
                       /::::\    \              /:::/    /               /::::\    \              /::::|   |                 
                      /::::::\    \            /:::/    /               /::::::\    \            /:::::|   |                 
                     /:::/\:::\    \          /:::/    /               /:::/\:::\    \          /::::::|   |                 
                    /:::/__\:::\    \        /:::/    /               /:::/__\:::\    \        /:::/|::|   |                 
                   /::::\   \:::\    \      /:::/    /               /::::\   \:::\    \      /:::/ |::|   |                 
                  /::::::\   \:::\    \    /:::/    /      _____    /::::::\   \:::\    \    /:::/  |::|   | _____           
                 /:::/\:::\   \:::\ ___\  /:::/____/      /\    \  /:::/\:::\   \:::\____\  /:::/   |::|   |/\    \          
                /:::/__\:::\   \:::|    ||:::|    /      /::\____\/:::/  \:::\   \:::|    |/:: /    |::|   /::\____\         
                \:::\   \:::\  /:::|____||:::|____\     /:::/    /\::/   |::::\  /:::|____|\::/    /|::|  /:::/    /         
                 \:::\   \:::\/:::/    /  \:::\    \   /:::/    /  \/____|:::::\/:::/    /  \/____/ |::| /:::/    /          
                  \:::\   \::::::/    /    \:::\    \ /:::/    /         |:::::::::/    /           |::|/:::/    /           
                   \:::\   \::::/    /      \:::\    /:::/    /          |::|\::::/    /            |::::::/    /            
                    \:::\  /:::/    /        \:::\__/:::/    /           |::| \::/____/             |:::::/    /             
                     \:::\/:::/    /          \::::::::/    /            |::|  ~|                   |::::/    /              
                      \::::::/    /            \::::::/    /             |::|   |                   /:::/    /               
                       \::::/    /              \::::/    /              \::|   |                  /:::/    /                
                        \::/____/                \::/____/                \:|   |                  \::/    /                 
                         ~~                       ~~                       \|___|                   \/____/                  
                                                                                                                             




*/



contract ShibaBurn is Ownable {

  // ShibaSwap router:
  ISwapper public router = ISwapper(0x03f7724180AA6b939894B5Ca4314783B0b36b329);

  // Ledgendary burn address that holds tokens burnt of the SHIB ecosystem:
  address public burnAddress = 0xdEAD000000000000000042069420694206942069;
  address public wethAddress;

  // Addresses of SHIB ecosystem tokens:
  address public shibAddress = 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE;
  address public boneAddress = 0x9813037ee2218799597d83D4a5B6F3b6778218d9;
  address public leashAddress = 0x27C70Cd1946795B66be9d954418546998b546634;
  address public ryoshiAddress = 0x777E2ae845272a2F540ebf6a3D03734A5a8f618e;

  event Burn(address sender, uint256 time, address tokenAddress, uint256 poolIndex, uint256 amount);


  bool locked;
  modifier noReentrancy() {
    require(!locked,"Reentrant call");
    locked = true;
    _;
    locked = false;
  }

  //////////////
  // BURN POOLS:
  //////////////
  //
  // xTokens[tokenAddress][poolIndex]
  //   => address of pool's xToken
  mapping(address => mapping(uint256 => address)) public xTokens;

  // totalBurnt[tokenAddress][poolIndex]
  //   => total amount burnt for specified pool
  mapping(address => mapping(uint256 => uint256)) public totalBurnt;

  // totalTrackedBurners[tokenAddress][poolIndex]
  //    => total number of burners that have exceeded the trackBurnerIndexThreshold
  mapping(address => mapping(uint256 => uint256)) public totalTrackedBurners;

  // trackBurnerIndexThreshold[tokenAddress][poolIndex]
  //    => the burn threshold required to track user burn indexes of a specific pool
  mapping(address => mapping(uint256 => uint256)) public trackBurnerIndexThreshold;

  // burnerIndex[tokenAddress][poolIndex][userAddress]
  //    => the index at which a user exceeded the trackBurnerIndexThreshold for a specific pool
  mapping(address => mapping(uint256 => mapping(address => uint256))) public burnerIndex;


  // burnerIndex[tokenAddress][poolIndex][burnerIndex]
  //    => the address of the a specified tracked burner at a specified index
  mapping(address => mapping(uint256 => mapping(uint256 => address))) public burnersByIndex;

  // amountBurnt[tokenAddress][poolIndex][userAddress]
  //   => amount burnt by a specific user for a specified pool
  mapping(address => mapping(uint256 => mapping(address => uint256))) public amountBurnt;

  constructor(address _wethAddress) Ownable() {
    wethAddress = _wethAddress;
  }

 /** 
   * @notice Intended to be used for web3 interface, such that all data can be pulled at once
   * @param tokenAddress The address of the token for which the query will be made
   * @param currentUser The address used to query user-based pool info and ethereum balance
   * @return burnPool info for the default pool (0) of the specified token
	*/
  function getInfo(address currentUser, address tokenAddress) external view returns (uint256[] memory) {
    return getInfoForPool(0, currentUser, tokenAddress);
  }

  /**
   * @notice Intended to be used for web3 interface, such that all data can be pulled at once
   * @param poolIndex The index of which token-specific burn pool to be used
   * @param tokenAddress The address of the token for which the query will be made
   * @param currentUser The address used to query user-based pool info and ethereum balance
   *
   * @return burnPool info for the specified pool of the specified token as an  array of 11 integers indicating the following:
   *     (0) Number of decimals of the token associated with the tokenAddress
   *     (1) Total amount burnt for the specified burn-pool
   *     (2) Total amount burnt by the specified currentUser for the specified burn-pool
   *     (3) The amount of specified tokens in possession by the specified currentUser
   *     (4) The amount of eth in the wallet of the specified currentUser
   *     (5) The amount of specified tokens allowed to be burnt by this contract
   *     (6) The threshold of tokens needed to be burnt to track the index of a user for the specified pool (if zero, no indexes will be tracked)
   *     (7) Burn index of the current user with regards to a specified pool (only tracked if admin configured, and burn meets threshold requirements)
   *     (8) Total number of burners above the specified threshold for the specific pool
   *     (9) Decimal integer representation of the address of the 'xToken' of the specified pool
   *     (10) Total supply of the xToken associated with the specified pool
   *     (11) Specified pool's xToken balance of currentUser
  */
  function getInfoForPool(uint256 poolIndex, address currentUser, address tokenAddress) public view returns (uint256[] memory) {
    uint256[] memory info = new uint256[](12);
    IERC20Metadata token = IERC20Metadata(tokenAddress);
    info[0] = token.decimals();
    info[1] = totalBurnt[tokenAddress][poolIndex];
    info[2] = amountBurnt[tokenAddress][poolIndex][currentUser];
    info[3] = token.balanceOf(currentUser);
    info[4] = currentUser.balance;
    info[5] = token.allowance(currentUser, address(this));

    if (trackBurnerIndexThreshold[tokenAddress][poolIndex] != 0) {
			info[6] = trackBurnerIndexThreshold[tokenAddress][poolIndex];
			info[7] = burnerIndex[tokenAddress][poolIndex][currentUser];
			info[8] = totalTrackedBurners[tokenAddress][poolIndex];
		}

    if (xTokens[tokenAddress][poolIndex] != address(0)) {
      IERC20Metadata xToken = IERC20Metadata(xTokens[tokenAddress][poolIndex]);
      info[9] = uint256(uint160(address(xToken)));
      info[10] = xToken.totalSupply();
      info[11] = xToken.balanceOf(currentUser);
    }

    return info;
  }

  /**
   * @notice Intended to be used for web3 such that all necessary data can be requested at once
   * @param tokenAddress The address of the token to buy on shibaswap.
   * @return Name and Symbol metadata of specified ERC20 token.
  */
  function getTokenInfo(address tokenAddress) external view returns (string[] memory) {
    string[] memory info = new string[](2);
    IERC20Metadata token = IERC20Metadata(tokenAddress);
    info[0] = token.name();
    info[1] = token.symbol();

    return info;
  }

  /**
   * @param tokenAddress The address of the token to buy on shibaswap.
   * @param minOut specifies the minimum number of tokens to be burnt when buying (to prevent front-runner attacks)
   *
   * @notice Allows users to buy tokens (with ETH on ShibaSwap) and burn them in 1 tx for the
   *     "default" burn pool for the specified token. Based on the admin configuration of each pool,
   *     xTokens may be issued, and/or the burner's index will be tracked.
  */
  function buyAndBurn(address tokenAddress, uint256 minOut) external payable {
    buyAndBurnForPool(tokenAddress, minOut, 0);
  }

  /**
   * @param tokenAddress The address of the token intended to be burnt.
   * @param poolIndex the index of which token-specific burn pool to be used
   * @param threshold the minimum amount of tokens required to be burnt for the burner's index to be tracked
   *
   * @dev This can only be set on pools with no burns
   * @notice Allows the admin address to mark a specific pool as tracking "indexes" of burns above a specific threshold.
   *     This allows for projects to reward users based on how early they burned more than the specified amount.
   *     Setting this threshold will cause each burn to require more gas.
  */
  function trackIndexesForPool(address tokenAddress, uint256 poolIndex, uint256 threshold) public onlyOwner {
    require (totalBurnt[tokenAddress][poolIndex] == 0, "tracking indexes can only be turned on for pools with no burns");
    trackBurnerIndexThreshold[tokenAddress][poolIndex] = threshold;
  }

  /**
   * @param tokenAddress The address of the token intended to be burnt.
   * @param poolIndex the index of which token-specific burn pool to be used
   * @param xTokenAddress the address of the xToken that will be minted in exchange for burning
   *
   * @notice Allows the admin address to set an xToken address for a specific pool.
   * @dev It is required for this contract to have permission to mint the xToken
  */
  function setXTokenForPool(address tokenAddress, uint256 poolIndex, address xTokenAddress) public onlyOwner {
    require (totalBurnt[tokenAddress][poolIndex] == 0, "xToken can only be set on pools with no burns");
    xTokens[tokenAddress][poolIndex] = xTokenAddress;
  }

  /**
   * @notice Allows users to buy tokens (with ETH on ShibaSwap) and burn them in 1 tx.
   *         Based on the admin configuration of each pool, xTokens may be issued,
   *         and the burner's index will be tracked.
   *
   * @dev uses hard coded shibaswap router address
   *
   * @param tokenAddress The address of the token to buy on shibaswap.
   * @param minOut specifies the minimum number of tokens to be burnt when buying (to prevent front-runner attacks)
   * @param poolIndex the index of which token-specific burn pool to be used
   *
  */
  function buyAndBurnForPool(address tokenAddress, uint256 minOut, uint256 poolIndex) public payable noReentrancy {
    address[] memory ethPath = new address[](2);
    ethPath[0] = wethAddress; // WETH
    ethPath[1] = tokenAddress;
    IERC20Metadata token = IERC20Metadata(tokenAddress);

    uint256 balanceWas = token.balanceOf(burnAddress);
    router.swapExactETHForTokens{ value: msg.value }(minOut, ethPath, burnAddress, block.timestamp + 1000);
    uint256 amount = token.balanceOf(burnAddress) - balanceWas;

    _increaseOwnership(tokenAddress, poolIndex, amount);
  }

  /**
   * @dev internal method
   * @param tokenAddress The address of the token intended to be burnt.
   * @param poolIndex the index of which token-specific burn pool to be used
   * @param amount the amount of tokens intended to be burnt
   *
   * @return boolean value which indicates whether or not the burner's burn index should be tracked for the current transaction.
  */
  function shouldTrackIndex(address tokenAddress, uint256 poolIndex, uint256 amount) internal returns (bool) {
    uint256 threshold = trackBurnerIndexThreshold[tokenAddress][poolIndex];
    uint256 alreadyBurnt = amountBurnt[tokenAddress][poolIndex][msg.sender];
    return threshold != 0 &&
      alreadyBurnt < threshold &&
      alreadyBurnt + amount >= threshold;
  }

  /**
   * @notice increases ownership of specified pool.
   * @dev tracks the user's burn Index if configured
   * @dev mints xTokens for the user if configured
   * @dev internal method
   * @param tokenAddress The address of the token intended to be burnt.
   * @param poolIndex the index of which token-specific burn pool to be used
   * @param amount of tokens intended to be burnt
   *
  */
  function _increaseOwnership(address tokenAddress, uint256 poolIndex, uint256 amount) internal {
    if (shouldTrackIndex(tokenAddress, poolIndex, amount)) {
      burnerIndex[tokenAddress][poolIndex][msg.sender] = totalTrackedBurners[tokenAddress][poolIndex];
      burnersByIndex[tokenAddress][poolIndex][totalTrackedBurners[tokenAddress][poolIndex]] = msg.sender;
      totalTrackedBurners[tokenAddress][poolIndex] += 1;
    }

    if (xTokens[tokenAddress][poolIndex] != address(0))
      XToken(xTokens[tokenAddress][poolIndex]).mint(msg.sender, amount);

    amountBurnt[tokenAddress][poolIndex][msg.sender] = amountBurnt[tokenAddress][poolIndex][msg.sender] + amount;
    totalBurnt[tokenAddress][poolIndex] += amount;
    emit Burn(msg.sender, block.timestamp, tokenAddress, poolIndex, amount);
  }

  /**
   * @notice Burns SHIB to the default SHIB pool
   * @param amount the amount of SHIB to be burnt 
  */
  function burnShib(uint256 amount) external {
    burnToken(shibAddress, amount);
  }

  /**
   * @notice Burns RYOSHI to the default RYOSHI pool
   * @param amount the amount of RYOSHI to be burnt 
  */
  function burnRyoshi(uint256 amount) external {
    burnToken(ryoshiAddress, amount);
  }

  /**
   * @notice Burns LEASH to the default LEASH pool
   * @param amount the amount of LEASH to be burnt 
   *
  */
  function burnLeash(uint256 amount) external {
    burnToken(leashAddress, amount);
  }

  /**
   * @notice Burns BONE to the default BONE pool
   * @param amount the amount of BONE to be burnt 
   *
  */
  function burnBone(uint256 amount) external {
    burnToken(boneAddress, amount);
  }

  /**
   * @notice Burns any token to the default (0) pool for that token
   * @param tokenAddress the address of the token intended to be burnt
   * @param amount the amount of tokens to be burnt 
   *
  */
  function burnToken(address tokenAddress, uint256 amount) public {
    burnTokenForPool(tokenAddress, 0, amount);
  }

  /**
   * @notice Burns any token to the specified pool for that token
   * @param tokenAddress the address of the token intended to be burnt
   * @param poolIndex the index of which token-specific burn pool to be used
   * @param amount the amount of tokens to be burnt 
   *
  */
  function burnTokenForPool(address tokenAddress, uint256 poolIndex, uint256 amount) public noReentrancy {
    IERC20Metadata token = IERC20Metadata(tokenAddress);
    require (token.balanceOf(msg.sender) >= amount, "insufficient token balance");

    token.transferFrom(msg.sender, burnAddress, amount);
    _increaseOwnership(tokenAddress, poolIndex, amount);
  }

}

File 3 of 9 : XToken.sol
pragma solidity >=0.8.9 <0.9.0;
//SPDX-License-Identifier: MIT

import "../node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";

contract XToken is ERC20, Ownable {

  constructor(address shibaBurner, string memory name, string memory symbol)
  ERC20(name, symbol)
  Ownable()
  {
    transferOwnership(shibaBurner);
  }

  function mint(address account, uint256 amount) external onlyOwner {
    _mint(account, amount);
  }
}

File 4 of 9 : 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 5 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../token/ERC20/extensions/IERC20Metadata.sol";

File 6 of 9 : 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 Contracts guidelines: functions revert
 * instead 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 7 of 9 : 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 8 of 9 : 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 9 of 9 : 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;
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_wethAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"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":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"amountBurnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boneAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnBone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnLeash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnRyoshi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnShib","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnTokenForPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"burnerIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnersByIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"minOut","type":"uint256"}],"name":"buyAndBurn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"minOut","type":"uint256"},{"internalType":"uint256","name":"poolIndex","type":"uint256"}],"name":"buyAndBurnForPool","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"currentUser","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getInfo","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"address","name":"currentUser","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getInfoForPool","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getTokenInfo","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leashAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"router","outputs":[{"internalType":"contract ISwapper","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ryoshiAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"address","name":"xTokenAddress","type":"address"}],"name":"setXTokenForPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shibAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalBurnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTrackedBurners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"trackBurnerIndexThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"poolIndex","type":"uint256"},{"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"trackIndexesForPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"xTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600180546001600160a01b03199081167303f7724180aa6b939894b5ca4314783b0b36b3291790915560028054821673dead0000000000000000420694206942069420691790556004805482167395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce179055600580548216739813037ee2218799597d83d4a5b6f3b6778218d91790556006805482167327c70cd1946795b66be9d954418546998b5466341790556007805490911673777e2ae845272a2f540ebf6a3d03734a5a8f618e179055348015620000d157600080fd5b5060405162001eec38038062001eec833981016040819052620000f49162000175565b620000ff3362000125565b600380546001600160a01b0319166001600160a01b0392909216919091179055620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200018857600080fd5b81516001600160a01b0381168114620001a057600080fd5b9392505050565b611d3580620001b76000396000f3fe6080604052600436106101cd5760003560e01c80639d4943f4116100f7578063cd2fe1d011610095578063ef9637d611610064578063ef9637d614610602578063f2fde38b14610622578063f887ea4014610642578063faf983391461066257600080fd5b8063cd2fe1d01461058f578063d1d5aa68146105af578063d1df306c146105c2578063dd035e70146105e257600080fd5b8063af004760116100d1578063af004760146104cc578063b7e241691461050a578063c686554e1461052a578063cc1eab0f1461055757600080fd5b80639d4943f41461046c5780639d7804711461048c578063a478933f146104ac57600080fd5b80636ab49e501161016f5780638ab73cd81161013e5780638ab73cd8146103c75780638bc1ca4e146103e75780638da5cb5b1461042e578063973ca6271461044c57600080fd5b80636ab49e501461034757806370d5ae051461037f578063715018a61461039f57806379c3d94c146103b457600080fd5b806332e4b73d116101ab57806332e4b73d146102765780634ce23178146102965780634d808242146102ef5780634f0e0ef31461032757600080fd5b8063124d8536146101d25780631f69565f146101f457806326f8d9931461022a575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046117f2565b610682565b005b34801561020057600080fd5b5061021461020f366004611827565b61069b565b6040516102219190611872565b60405180910390f35b34801561023657600080fd5b506102686102453660046118ec565b600e60209081526000938452604080852082529284528284209052825290205481565b604051908152602001610221565b34801561028257600080fd5b506101f26102913660046118ec565b6107fe565b3480156102a257600080fd5b506102d76102b1366004611928565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610221565b3480156102fb57600080fd5b5061026861030a366004611928565b600a60209081526000928352604080842090915290825290205481565b34801561033357600080fd5b506003546102d7906001600160a01b031681565b34801561035357600080fd5b50610268610362366004611928565b600960209081526000928352604080842090915290825290205481565b34801561038b57600080fd5b506002546102d7906001600160a01b031681565b3480156103ab57600080fd5b506101f26108f3565b6101f26103c2366004611928565b610929565b3480156103d357600080fd5b506006546102d7906001600160a01b031681565b3480156103f357600080fd5b506102d7610402366004611952565b600d6020908152600093845260408085208252928452828420905282529020546001600160a01b031681565b34801561043a57600080fd5b506000546001600160a01b03166102d7565b34801561045857600080fd5b506101f26104673660046117f2565b610939565b34801561047857600080fd5b506101f2610487366004611952565b61094f565b34801561049857600080fd5b506101f26104a7366004611952565b610b21565b3480156104b857600080fd5b506101f26104c73660046117f2565b610c08565b3480156104d857600080fd5b506102686104e73660046118ec565b600c60209081526000938452604080852082529284528284209052825290205481565b34801561051657600080fd5b506007546102d7906001600160a01b031681565b34801561053657600080fd5b5061054a610545366004611985565b610c1e565b60405161022191906119b8565b34801561056357600080fd5b50610268610572366004611928565b600b60209081526000928352604080842090915290825290205481565b34801561059b57600080fd5b506005546102d7906001600160a01b031681565b6101f26105bd366004611952565b610c33565b3480156105ce57600080fd5b506101f26105dd366004611928565b610ee9565b3480156105ee57600080fd5b506004546102d7906001600160a01b031681565b34801561060e57600080fd5b5061054a61061d3660046119fc565b610ef5565b34801561062e57600080fd5b506101f261063d366004611827565b611454565b34801561064e57600080fd5b506001546102d7906001600160a01b031681565b34801561066e57600080fd5b506101f261067d3660046117f2565b6114ec565b600554610698906001600160a01b031682610ee9565b50565b604080516002808252606082810190935260009190816020015b60608152602001906001900390816106b55790505090506000839050806001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561070a57600080fd5b505afa15801561071e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107469190810190611a76565b8260008151811061075957610759611b01565b6020026020010181905250806001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561079d57600080fd5b505afa1580156107b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107d99190810190611a76565b826001815181106107ec576107ec611b01565b60209081029190910101525092915050565b6000546001600160a01b031633146108315760405162461bcd60e51b815260040161082890611b17565b60405180910390fd5b6001600160a01b0383166000908152600960209081526040808320858452909152902054156108b85760405162461bcd60e51b815260206004820152602d60248201527f78546f6b656e2063616e206f6e6c7920626520736574206f6e20706f6f6c732060448201526c77697468206e6f206275726e7360981b6064820152608401610828565b6001600160a01b0392831660009081526008602090815260408083209483529390529190912080546001600160a01b03191691909216179055565b6000546001600160a01b0316331461091d5760405162461bcd60e51b815260040161082890611b17565b6109276000611502565b565b61093582826000610c33565b5050565b600654610698906001600160a01b031682610ee9565b600754600160a01b900460ff161561099a5760405162461bcd60e51b815260206004820152600e60248201526d1499595b9d1c985b9d0818d85b1b60921b6044820152606401610828565b6007805460ff60a01b1916600160a01b1790556040516370a0823160e01b8152336004820152839082906001600160a01b038316906370a082319060240160206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a289190611b4c565b1015610a765760405162461bcd60e51b815260206004820152601a60248201527f696e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152606401610828565b6002546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101849052908216906323b872dd90606401602060405180830381600087803b158015610aca57600080fd5b505af1158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190611b65565b50610b0e848484611552565b50506007805460ff60a01b191690555050565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b815260040161082890611b17565b6001600160a01b038316600090815260096020908152604080832085845290915290205415610be25760405162461bcd60e51b815260206004820152603e60248201527f747261636b696e6720696e64657865732063616e206f6e6c792062652074757260448201527f6e6564206f6e20666f7220706f6f6c732077697468206e6f206275726e7300006064820152608401610828565b6001600160a01b039092166000908152600b602090815260408083209383529290522055565b600754610698906001600160a01b031682610ee9565b6060610c2c60008484610ef5565b9392505050565b600754600160a01b900460ff1615610c7e5760405162461bcd60e51b815260206004820152600e60248201526d1499595b9d1c985b9d0818d85b1b60921b6044820152606401610828565b6007805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337505060035482519293506001600160a01b031691839150600090610cd257610cd2611b01565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110610d0657610d06611b01565b6001600160a01b0392831660209182029290920101526002546040516370a0823160e01b815290821660048201528591600091908316906370a082319060240160206040518083038186803b158015610d5e57600080fd5b505afa158015610d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d969190611b4c565b6001546002549192506001600160a01b0390811691637ff36ab59134918991889116610dc4426103e8611b9d565b6040518663ffffffff1660e01b8152600401610de39493929190611bb5565b6000604051808303818588803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610e399190810190611c1f565b506002546040516370a0823160e01b81526001600160a01b0391821660048201526000918391908516906370a082319060240160206040518083038186803b158015610e8457600080fd5b505afa158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190611b4c565b610ec69190611cc5565b9050610ed3878683611552565b50506007805460ff60a01b191690555050505050565b6109358260008361094f565b60408051600c8082526101a082019092526060916000919060208201610180803683370190505090506000839050806001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610f5c57600080fd5b505afa158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190611cdc565b60ff1682600081518110610faa57610faa611b01565b6020908102919091018101919091526001600160a01b03851660009081526009825260408082208983529092522054825183906001908110610fee57610fee611b01565b6020908102919091018101919091526001600160a01b038086166000908152600e835260408082208a8352845280822092891682529190925290205482518390600290811061103f5761103f611b01565b60209081029190910101526040516370a0823160e01b81526001600160a01b0386811660048301528216906370a082319060240160206040518083038186803b15801561108b57600080fd5b505afa15801561109f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c39190611b4c565b826003815181106110d6576110d6611b01565b602002602001018181525050846001600160a01b0316318260048151811061110057611100611b01565b6020908102919091010152604051636eb1769f60e11b81526001600160a01b03868116600483015230602483015282169063dd62ed3e9060440160206040518083038186803b15801561115257600080fd5b505afa158015611166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118a9190611b4c565b8260058151811061119d5761119d611b01565b6020908102919091018101919091526001600160a01b0385166000908152600b825260408082208983529092522054156112ac576001600160a01b0384166000908152600b6020908152604080832089845290915290205482518390600690811061120a5761120a611b01565b6020908102919091018101919091526001600160a01b038086166000908152600c835260408082208a8352845280822092891682529190925290205482518390600790811061125b5761125b611b01565b6020908102919091018101919091526001600160a01b0385166000908152600a82526040808220898352909252205482518390600890811061129f5761129f611b01565b6020026020010181815250505b6001600160a01b0384811660009081526008602090815260408083208a8452909152902054161561144b576001600160a01b0380851660009081526008602090815260408083208a8452909152902054835191169081908490600990811061131657611316611b01565b602002602001018181525050806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561135b57600080fd5b505afa15801561136f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113939190611b4c565b83600a815181106113a6576113a6611b01565b60209081029190910101526040516370a0823160e01b81526001600160a01b0387811660048301528216906370a082319060240160206040518083038186803b1580156113f257600080fd5b505afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a9190611b4c565b83600b8151811061143d5761143d611b01565b602002602001018181525050505b50949350505050565b6000546001600160a01b0316331461147e5760405162461bcd60e51b815260040161082890611b17565b6001600160a01b0381166114e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610828565b61069881611502565b600454610698906001600160a01b031682610ee9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61155d838383611783565b156115f1576001600160a01b0383166000818152600a602090815260408083208684528083528184208054868652600c8552838620898752855283862033808852908652848720829055968652600d85528386208987528552838620908652845291842080546001600160a01b031916909517909455858352929052815460019291906115eb908490611b9d565b90915550505b6001600160a01b038381166000908152600860209081526040808320868452909152902054161561169b576001600160a01b038381166000908152600860209081526040808320868452909152908190205490516340c10f1960e01b8152336004820152602481018490529116906340c10f1990604401600060405180830381600087803b15801561168257600080fd5b505af1158015611696573d6000803e3d6000fd5b505050505b6001600160a01b0383166000908152600e6020908152604080832085845282528083203384529091529020546116d2908290611b9d565b6001600160a01b0384166000818152600e602090815260408083208784528252808320338452825280832094909455918152600982528281208582529091529081208054839290611724908490611b9d565b9091555050604080513381524260208201526001600160a01b03851681830152606081018490526080810183905290517f3be9da6af6db8f6aec0bb70dffbd38932712c19fa236dc1870f2c6a7c39bd37b9181900360a00190a1505050565b6001600160a01b0383166000818152600b60209081526040808320868452825280832054938352600e8252808320868452825280832033845290915281205490919081158015906117d357508181105b80156117e85750816117e58583611b9d565b10155b9695505050505050565b60006020828403121561180457600080fd5b5035919050565b80356001600160a01b038116811461182257600080fd5b919050565b60006020828403121561183957600080fd5b610c2c8261180b565b60005b8381101561185d578181015183820152602001611845565b8381111561186c576000848401525b50505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156118df57878503603f19018452815180518087526118c0818989018a8501611842565b601f01601f191695909501860194509285019290850190600101611899565b5092979650505050505050565b60008060006060848603121561190157600080fd5b61190a8461180b565b92506020840135915061191f6040850161180b565b90509250925092565b6000806040838503121561193b57600080fd5b6119448361180b565b946020939093013593505050565b60008060006060848603121561196757600080fd5b6119708461180b565b95602085013595506040909401359392505050565b6000806040838503121561199857600080fd5b6119a18361180b565b91506119af6020840161180b565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156119f0578351835292840192918401916001016119d4565b50909695505050505050565b600080600060608486031215611a1157600080fd5b83359250611a216020850161180b565b915061191f6040850161180b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a6e57611a6e611a2f565b604052919050565b600060208284031215611a8857600080fd5b815167ffffffffffffffff80821115611aa057600080fd5b818401915084601f830112611ab457600080fd5b815181811115611ac657611ac6611a2f565b611ad9601f8201601f1916602001611a45565b9150808252856020828501011115611af057600080fd5b61144b816020840160208601611842565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611b5e57600080fd5b5051919050565b600060208284031215611b7757600080fd5b81518015158114610c2c57600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611bb057611bb0611b87565b500190565b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015611bff5784516001600160a01b031683529383019391830191600101611bda565b50506001600160a01b039690961660408501525050506060015292915050565b60006020808385031215611c3257600080fd5b825167ffffffffffffffff80821115611c4a57600080fd5b818501915085601f830112611c5e57600080fd5b815181811115611c7057611c70611a2f565b8060051b9150611c81848301611a45565b8181529183018401918481019088841115611c9b57600080fd5b938501935b83851015611cb957845182529385019390850190611ca0565b98975050505050505050565b600082821015611cd757611cd7611b87565b500390565b600060208284031215611cee57600080fd5b815160ff81168114610c2c57600080fdfea2646970667358221220eb8ba783b04dea1bc30a8b9ddbdc5984580316362f87274c372f0e3ada49c74a64736f6c63430008090033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _wethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Block Transaction Difficulty Gas Used Reward
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.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.