ETH Price: $3,466.18 (+0.53%)

Contract

0x88f09b951F513fe7dA4a34B436a3273DE59F253D
 
Transaction Hash
Method
Block
From
To
Burn Shib206173312024-08-27 3:47:23120 days ago1724730443IN
0x88f09b95...DE59F253D
0 ETH0.000073210.82260159
Burn Shib206090692024-08-26 0:04:35121 days ago1724630675IN
0x88f09b95...DE59F253D
0 ETH0.000069390.77962855
Burn Shib206090512024-08-26 0:00:59121 days ago1724630459IN
0x88f09b95...DE59F253D
0 ETH0.00008380.9415312
Burn Shib206090432024-08-25 23:59:23121 days ago1724630363IN
0x88f09b95...DE59F253D
0 ETH0.000065450.73540602
Burn Shib206090292024-08-25 23:56:35121 days ago1724630195IN
0x88f09b95...DE59F253D
0 ETH0.00010430.84658653
Burn Shib205451412024-08-17 1:43:59130 days ago1723859039IN
0x88f09b95...DE59F253D
0 ETH0.000082720.92923338
Buy And Burn204530842024-08-04 5:25:47143 days ago1722749147IN
0x88f09b95...DE59F253D
0.001 ETH0.00019661
Burn Shib200299362024-06-06 2:54:11202 days ago1717642451IN
0x88f09b95...DE59F253D
0 ETH0.000840039.43645509
Burn Shib200299332024-06-06 2:53:35202 days ago1717642415IN
0x88f09b95...DE59F253D
0 ETH0.000852459.57733786
Burn Shib200299292024-06-06 2:52:47202 days ago1717642367IN
0x88f09b95...DE59F253D
0 ETH0.000857529.63429097
Burn Shib200299182024-06-06 2:50:35202 days ago1717642235IN
0x88f09b95...DE59F253D
0 ETH0.0012332910.00987569
Burn Shib195815452024-04-04 9:35:23265 days ago1712223323IN
0x88f09b95...DE59F253D
0 ETH0.0022177418
Burn Shib195579032024-04-01 2:03:47268 days ago1711937027IN
0x88f09b95...DE59F253D
0 ETH0.0025369420.59076086
Burn Shib195419062024-03-29 20:03:47271 days ago1711742627IN
0x88f09b95...DE59F253D
0 ETH0.0039705532.2264069
Burn Shib193765842024-03-06 13:59:35294 days ago1709733575IN
0x88f09b95...DE59F253D
0 ETH0.0094860776.99235878
Buy And Burn193436372024-03-01 23:33:11298 days ago1709335991IN
0x88f09b95...DE59F253D
0.0103 ETH0.0081918450.43834411
Burn Shib192400562024-02-16 11:06:47313 days ago1708081607IN
0x88f09b95...DE59F253D
0 ETH0.0019214321.5872507
Burn Shib192002782024-02-10 21:09:35318 days ago1707599375IN
0x88f09b95...DE59F253D
0 ETH0.0028331731.83060819
Burn Shib191918752024-02-09 16:51:23320 days ago1707497483IN
0x88f09b95...DE59F253D
0 ETH0.0067153875.44699048
Buy And Burn191518022024-02-04 1:50:35325 days ago1707011435IN
0x88f09b95...DE59F253D
0.0396 ETH0.0025672613.05903958
Burn Shib191149742024-01-29 21:50:59330 days ago1706565059IN
0x88f09b95...DE59F253D
0 ETH0.0012047513.5353054
Burn Shib191079232024-01-28 22:10:23331 days ago1706479823IN
0x88f09b95...DE59F253D
0 ETH0.000850919.55997623
Burn Shib191006192024-01-27 21:35:11332 days ago1706391311IN
0x88f09b95...DE59F253D
0 ETH0.0009410610.57279162
Burn Shib190992542024-01-27 16:57:35333 days ago1706374655IN
0x88f09b95...DE59F253D
0 ETH0.0013354715.00201495
Burn Shib190982702024-01-27 13:39:59333 days ago1706362799IN
0x88f09b95...DE59F253D
0 ETH0.0018560315.0627445
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
211214092024-11-05 12:20:3550 days ago1730809235
0x88f09b95...DE59F253D
0.1081712 ETH
211214092024-11-05 12:20:3550 days ago1730809235
0x88f09b95...DE59F253D
0.1081712 ETH
205862352024-08-22 19:28:23125 days ago1724354903
0x88f09b95...DE59F253D
0.13387297 ETH
205862352024-08-22 19:28:23125 days ago1724354903
0x88f09b95...DE59F253D
0.13387297 ETH
204530842024-08-04 5:25:47143 days ago1722749147
0x88f09b95...DE59F253D
0.001 ETH
197318782024-04-25 10:47:11244 days ago1714042031
0x88f09b95...DE59F253D
0.13478006 ETH
197318782024-04-25 10:47:11244 days ago1714042031
0x88f09b95...DE59F253D
0.13478006 ETH
193436372024-03-01 23:33:11298 days ago1709335991
0x88f09b95...DE59F253D
0.0103 ETH
192955442024-02-24 6:05:59305 days ago1708754759
0x88f09b95...DE59F253D
0.13550343 ETH
192955442024-02-24 6:05:59305 days ago1708754759
0x88f09b95...DE59F253D
0.13550343 ETH
191518022024-02-04 1:50:35325 days ago1707011435
0x88f09b95...DE59F253D
0.0396 ETH
190660972024-01-23 1:25:59337 days ago1705973159
0x88f09b95...DE59F253D
0.0302 ETH
190175562024-01-16 6:07:47344 days ago1705385267
0x88f09b95...DE59F253D
0.19987827 ETH
190175562024-01-16 6:07:47344 days ago1705385267
0x88f09b95...DE59F253D
0.19987827 ETH
190069752024-01-14 18:40:35346 days ago1705257635
0x88f09b95...DE59F253D
0.003 ETH
189598292024-01-08 4:06:35352 days ago1704686795
0x88f09b95...DE59F253D
0.0065 ETH
188780672023-12-27 16:04:59364 days ago1703693099
0x88f09b95...DE59F253D
0.023 ETH
188664002023-12-26 0:48:59365 days ago1703551739
0x88f09b95...DE59F253D
0.003 ETH
188601822023-12-25 3:48:59366 days ago1703476139
0x88f09b95...DE59F253D
0.012 ETH
188450132023-12-23 0:41:35368 days ago1703292095
0x88f09b95...DE59F253D
0.096 ETH
188073842023-12-17 18:00:35374 days ago1702836035
0x88f09b95...DE59F253D
0.0105 ETH
186564412023-11-26 14:28:11395 days ago1701008891
0x88f09b95...DE59F253D
0.0004 ETH
186016742023-11-18 22:24:35402 days ago1700346275
0x88f09b95...DE59F253D
0.3465243 ETH
186016742023-11-18 22:24:35402 days ago1700346275
0x88f09b95...DE59F253D
0.3465243 ETH
184500992023-10-28 17:10:47424 days ago1698513047
0x88f09b95...DE59F253D
0.003 ETH
View All Internal Transactions
Loading...
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 : 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 2 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 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

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80639d4943f4116100f7578063cd2fe1d011610095578063ef9637d611610064578063ef9637d614610602578063f2fde38b14610622578063f887ea4014610642578063faf983391461066257600080fd5b8063cd2fe1d01461058f578063d1d5aa68146105af578063d1df306c146105c2578063dd035e70146105e257600080fd5b8063af004760116100d1578063af004760146104cc578063b7e241691461050a578063c686554e1461052a578063cc1eab0f1461055757600080fd5b80639d4943f41461046c5780639d7804711461048c578063a478933f146104ac57600080fd5b80636ab49e501161016f5780638ab73cd81161013e5780638ab73cd8146103c75780638bc1ca4e146103e75780638da5cb5b1461042e578063973ca6271461044c57600080fd5b80636ab49e501461034757806370d5ae051461037f578063715018a61461039f57806379c3d94c146103b457600080fd5b806332e4b73d116101ab57806332e4b73d146102765780634ce23178146102965780634d808242146102ef5780634f0e0ef31461032757600080fd5b8063124d8536146101d25780631f69565f146101f457806326f8d9931461022a575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046117f2565b610682565b005b34801561020057600080fd5b5061021461020f366004611827565b61069b565b6040516102219190611872565b60405180910390f35b34801561023657600080fd5b506102686102453660046118ec565b600e60209081526000938452604080852082529284528284209052825290205481565b604051908152602001610221565b34801561028257600080fd5b506101f26102913660046118ec565b6107fe565b3480156102a257600080fd5b506102d76102b1366004611928565b60086020908152600092835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b039091168152602001610221565b3480156102fb57600080fd5b5061026861030a366004611928565b600a60209081526000928352604080842090915290825290205481565b34801561033357600080fd5b506003546102d7906001600160a01b031681565b34801561035357600080fd5b50610268610362366004611928565b600960209081526000928352604080842090915290825290205481565b34801561038b57600080fd5b506002546102d7906001600160a01b031681565b3480156103ab57600080fd5b506101f26108f3565b6101f26103c2366004611928565b610929565b3480156103d357600080fd5b506006546102d7906001600160a01b031681565b3480156103f357600080fd5b506102d7610402366004611952565b600d6020908152600093845260408085208252928452828420905282529020546001600160a01b031681565b34801561043a57600080fd5b506000546001600160a01b03166102d7565b34801561045857600080fd5b506101f26104673660046117f2565b610939565b34801561047857600080fd5b506101f2610487366004611952565b61094f565b34801561049857600080fd5b506101f26104a7366004611952565b610b21565b3480156104b857600080fd5b506101f26104c73660046117f2565b610c08565b3480156104d857600080fd5b506102686104e73660046118ec565b600c60209081526000938452604080852082529284528284209052825290205481565b34801561051657600080fd5b506007546102d7906001600160a01b031681565b34801561053657600080fd5b5061054a610545366004611985565b610c1e565b60405161022191906119b8565b34801561056357600080fd5b50610268610572366004611928565b600b60209081526000928352604080842090915290825290205481565b34801561059b57600080fd5b506005546102d7906001600160a01b031681565b6101f26105bd366004611952565b610c33565b3480156105ce57600080fd5b506101f26105dd366004611928565b610ee9565b3480156105ee57600080fd5b506004546102d7906001600160a01b031681565b34801561060e57600080fd5b5061054a61061d3660046119fc565b610ef5565b34801561062e57600080fd5b506101f261063d366004611827565b611454565b34801561064e57600080fd5b506001546102d7906001600160a01b031681565b34801561066e57600080fd5b506101f261067d3660046117f2565b6114ec565b600554610698906001600160a01b031682610ee9565b50565b604080516002808252606082810190935260009190816020015b60608152602001906001900390816106b55790505090506000839050806001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561070a57600080fd5b505afa15801561071e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107469190810190611a76565b8260008151811061075957610759611b01565b6020026020010181905250806001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561079d57600080fd5b505afa1580156107b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107d99190810190611a76565b826001815181106107ec576107ec611b01565b60209081029190910101525092915050565b6000546001600160a01b031633146108315760405162461bcd60e51b815260040161082890611b17565b60405180910390fd5b6001600160a01b0383166000908152600960209081526040808320858452909152902054156108b85760405162461bcd60e51b815260206004820152602d60248201527f78546f6b656e2063616e206f6e6c7920626520736574206f6e20706f6f6c732060448201526c77697468206e6f206275726e7360981b6064820152608401610828565b6001600160a01b0392831660009081526008602090815260408083209483529390529190912080546001600160a01b03191691909216179055565b6000546001600160a01b0316331461091d5760405162461bcd60e51b815260040161082890611b17565b6109276000611502565b565b61093582826000610c33565b5050565b600654610698906001600160a01b031682610ee9565b600754600160a01b900460ff161561099a5760405162461bcd60e51b815260206004820152600e60248201526d1499595b9d1c985b9d0818d85b1b60921b6044820152606401610828565b6007805460ff60a01b1916600160a01b1790556040516370a0823160e01b8152336004820152839082906001600160a01b038316906370a082319060240160206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a289190611b4c565b1015610a765760405162461bcd60e51b815260206004820152601a60248201527f696e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152606401610828565b6002546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101849052908216906323b872dd90606401602060405180830381600087803b158015610aca57600080fd5b505af1158015610ade573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190611b65565b50610b0e848484611552565b50506007805460ff60a01b191690555050565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b815260040161082890611b17565b6001600160a01b038316600090815260096020908152604080832085845290915290205415610be25760405162461bcd60e51b815260206004820152603e60248201527f747261636b696e6720696e64657865732063616e206f6e6c792062652074757260448201527f6e6564206f6e20666f7220706f6f6c732077697468206e6f206275726e7300006064820152608401610828565b6001600160a01b039092166000908152600b602090815260408083209383529290522055565b600754610698906001600160a01b031682610ee9565b6060610c2c60008484610ef5565b9392505050565b600754600160a01b900460ff1615610c7e5760405162461bcd60e51b815260206004820152600e60248201526d1499595b9d1c985b9d0818d85b1b60921b6044820152606401610828565b6007805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337505060035482519293506001600160a01b031691839150600090610cd257610cd2611b01565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110610d0657610d06611b01565b6001600160a01b0392831660209182029290920101526002546040516370a0823160e01b815290821660048201528591600091908316906370a082319060240160206040518083038186803b158015610d5e57600080fd5b505afa158015610d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d969190611b4c565b6001546002549192506001600160a01b0390811691637ff36ab59134918991889116610dc4426103e8611b9d565b6040518663ffffffff1660e01b8152600401610de39493929190611bb5565b6000604051808303818588803b158015610dfc57600080fd5b505af1158015610e10573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610e399190810190611c1f565b506002546040516370a0823160e01b81526001600160a01b0391821660048201526000918391908516906370a082319060240160206040518083038186803b158015610e8457600080fd5b505afa158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190611b4c565b610ec69190611cc5565b9050610ed3878683611552565b50506007805460ff60a01b191690555050505050565b6109358260008361094f565b60408051600c8082526101a082019092526060916000919060208201610180803683370190505090506000839050806001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610f5c57600080fd5b505afa158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190611cdc565b60ff1682600081518110610faa57610faa611b01565b6020908102919091018101919091526001600160a01b03851660009081526009825260408082208983529092522054825183906001908110610fee57610fee611b01565b6020908102919091018101919091526001600160a01b038086166000908152600e835260408082208a8352845280822092891682529190925290205482518390600290811061103f5761103f611b01565b60209081029190910101526040516370a0823160e01b81526001600160a01b0386811660048301528216906370a082319060240160206040518083038186803b15801561108b57600080fd5b505afa15801561109f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c39190611b4c565b826003815181106110d6576110d6611b01565b602002602001018181525050846001600160a01b0316318260048151811061110057611100611b01565b6020908102919091010152604051636eb1769f60e11b81526001600160a01b03868116600483015230602483015282169063dd62ed3e9060440160206040518083038186803b15801561115257600080fd5b505afa158015611166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118a9190611b4c565b8260058151811061119d5761119d611b01565b6020908102919091018101919091526001600160a01b0385166000908152600b825260408082208983529092522054156112ac576001600160a01b0384166000908152600b6020908152604080832089845290915290205482518390600690811061120a5761120a611b01565b6020908102919091018101919091526001600160a01b038086166000908152600c835260408082208a8352845280822092891682529190925290205482518390600790811061125b5761125b611b01565b6020908102919091018101919091526001600160a01b0385166000908152600a82526040808220898352909252205482518390600890811061129f5761129f611b01565b6020026020010181815250505b6001600160a01b0384811660009081526008602090815260408083208a8452909152902054161561144b576001600160a01b0380851660009081526008602090815260408083208a8452909152902054835191169081908490600990811061131657611316611b01565b602002602001018181525050806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561135b57600080fd5b505afa15801561136f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113939190611b4c565b83600a815181106113a6576113a6611b01565b60209081029190910101526040516370a0823160e01b81526001600160a01b0387811660048301528216906370a082319060240160206040518083038186803b1580156113f257600080fd5b505afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a9190611b4c565b83600b8151811061143d5761143d611b01565b602002602001018181525050505b50949350505050565b6000546001600160a01b0316331461147e5760405162461bcd60e51b815260040161082890611b17565b6001600160a01b0381166114e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610828565b61069881611502565b600454610698906001600160a01b031682610ee9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61155d838383611783565b156115f1576001600160a01b0383166000818152600a602090815260408083208684528083528184208054868652600c8552838620898752855283862033808852908652848720829055968652600d85528386208987528552838620908652845291842080546001600160a01b031916909517909455858352929052815460019291906115eb908490611b9d565b90915550505b6001600160a01b038381166000908152600860209081526040808320868452909152902054161561169b576001600160a01b038381166000908152600860209081526040808320868452909152908190205490516340c10f1960e01b8152336004820152602481018490529116906340c10f1990604401600060405180830381600087803b15801561168257600080fd5b505af1158015611696573d6000803e3d6000fd5b505050505b6001600160a01b0383166000908152600e6020908152604080832085845282528083203384529091529020546116d2908290611b9d565b6001600160a01b0384166000818152600e602090815260408083208784528252808320338452825280832094909455918152600982528281208582529091529081208054839290611724908490611b9d565b9091555050604080513381524260208201526001600160a01b03851681830152606081018490526080810183905290517f3be9da6af6db8f6aec0bb70dffbd38932712c19fa236dc1870f2c6a7c39bd37b9181900360a00190a1505050565b6001600160a01b0383166000818152600b60209081526040808320868452825280832054938352600e8252808320868452825280832033845290915281205490919081158015906117d357508181105b80156117e85750816117e58583611b9d565b10155b9695505050505050565b60006020828403121561180457600080fd5b5035919050565b80356001600160a01b038116811461182257600080fd5b919050565b60006020828403121561183957600080fd5b610c2c8261180b565b60005b8381101561185d578181015183820152602001611845565b8381111561186c576000848401525b50505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156118df57878503603f19018452815180518087526118c0818989018a8501611842565b601f01601f191695909501860194509285019290850190600101611899565b5092979650505050505050565b60008060006060848603121561190157600080fd5b61190a8461180b565b92506020840135915061191f6040850161180b565b90509250925092565b6000806040838503121561193b57600080fd5b6119448361180b565b946020939093013593505050565b60008060006060848603121561196757600080fd5b6119708461180b565b95602085013595506040909401359392505050565b6000806040838503121561199857600080fd5b6119a18361180b565b91506119af6020840161180b565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156119f0578351835292840192918401916001016119d4565b50909695505050505050565b600080600060608486031215611a1157600080fd5b83359250611a216020850161180b565b915061191f6040850161180b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a6e57611a6e611a2f565b604052919050565b600060208284031215611a8857600080fd5b815167ffffffffffffffff80821115611aa057600080fd5b818401915084601f830112611ab457600080fd5b815181811115611ac657611ac6611a2f565b611ad9601f8201601f1916602001611a45565b9150808252856020828501011115611af057600080fd5b61144b816020840160208601611842565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611b5e57600080fd5b5051919050565b600060208284031215611b7757600080fd5b81518015158114610c2c57600080fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611bb057611bb0611b87565b500190565b600060808201868352602060808185015281875180845260a086019150828901935060005b81811015611bff5784516001600160a01b031683529383019391830191600101611bda565b50506001600160a01b039690961660408501525050506060015292915050565b60006020808385031215611c3257600080fd5b825167ffffffffffffffff80821115611c4a57600080fd5b818501915085601f830112611c5e57600080fd5b815181811115611c7057611c70611a2f565b8060051b9150611c81848301611a45565b8181529183018401918481019088841115611c9b57600080fd5b938501935b83851015611cb957845182529385019390850190611ca0565b98975050505050505050565b600082821015611cd757611cd7611b87565b500390565b600060208284031215611cee57600080fd5b815160ff81168114610c2c57600080fdfea2646970667358221220eb8ba783b04dea1bc30a8b9ddbdc5984580316362f87274c372f0e3ada49c74a64736f6c63430008090033

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
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.