ETH Price: $2,114.31 (-14.00%)

Contract

0x65021E82258137213ba0C727F1ef2B07299E8079
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer214672612024-12-23 19:26:3570 days ago1734981995IN
0x65021E82...7299E8079
0 ETH0.0005374413.08469775
Approve212617622024-11-25 2:23:4798 days ago1732501427IN
0x65021E82...7299E8079
0 ETH0.000294936.31164572
Transfer212514732024-11-23 15:55:59100 days ago1732377359IN
0x65021E82...7299E8079
0 ETH0.0009392822.86807734
Transfer212073192024-11-17 12:06:47106 days ago1731845207IN
0x65021E82...7299E8079
0 ETH0.000490448.43073754
Transfer211721132024-11-12 14:10:47111 days ago1731420647IN
0x65021E82...7299E8079
0 ETH0.0017960730.87418796
Approve210752682024-10-30 1:45:59124 days ago1730252759IN
0x65021E82...7299E8079
0 ETH0.0007144915.36523812
Approve209448782024-10-11 20:51:59143 days ago1728679919IN
0x65021E82...7299E8079
0 ETH0.0005992712.8212298
Transfer209337572024-10-10 7:36:47144 days ago1728545807IN
0x65021E82...7299E8079
0 ETH0.000579529.9620025
Transfer208816192024-10-03 1:11:47152 days ago1727917907IN
0x65021E82...7299E8079
0 ETH0.000369166.34450903
Approve208739082024-10-01 23:24:23153 days ago1727825063IN
0x65021E82...7299E8079
0 ETH0.000295816.36809441
Transfer208565712024-09-29 13:23:11155 days ago1727616191IN
0x65021E82...7299E8079
0 ETH0.0007070912.14736596
Approve208544522024-09-29 6:17:35155 days ago1727590655IN
0x65021E82...7299E8079
0 ETH0.000303356.52857742
Transfer208524922024-09-28 23:43:47156 days ago1727567027IN
0x65021E82...7299E8079
0 ETH0.000286796.25187779
Transfer208371422024-09-26 20:20:11158 days ago1727382011IN
0x65021E82...7299E8079
0 ETH0.0011675325.45098342
Extract Token208371022024-09-26 20:12:11158 days ago1727381531IN
0x65021E82...7299E8079
0 ETH0.0013157529.24543149
Approve208267282024-09-25 9:28:11159 days ago1727256491IN
0x65021E82...7299E8079
0 ETH0.0009457520.2339412
Transfer208267202024-09-25 9:26:35159 days ago1727256395IN
0x65021E82...7299E8079
0 ETH0.0008770119.10283057
Approve208257702024-09-25 6:15:35159 days ago1727244935IN
0x65021E82...7299E8079
0 ETH0.0004840710.36993462
Approve208252792024-09-25 4:37:11159 days ago1727239031IN
0x65021E82...7299E8079
0 ETH0.0003698413.77896875
Approve208252782024-09-25 4:36:59159 days ago1727239019IN
0x65021E82...7299E8079
0 ETH0.0006259413.3917046
Approve208249312024-09-25 3:26:47159 days ago1727234807IN
0x65021E82...7299E8079
0 ETH0.0006919914.82385886
Approve208239682024-09-25 0:13:35160 days ago1727223215IN
0x65021E82...7299E8079
0 ETH0.0014990532.11268447
Approve208232472024-09-24 21:48:47160 days ago1727214527IN
0x65021E82...7299E8079
0 ETH0.0009339820.10597627
Approve208231322024-09-24 21:25:47160 days ago1727213147IN
0x65021E82...7299E8079
0 ETH0.0016680635.68750191
Approve208229582024-09-24 20:50:47160 days ago1727211047IN
0x65021E82...7299E8079
0 ETH0.0008599918.42289192
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WhisprToken

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : WhisprContract.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

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

import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";


error Whispr_InvalidWalletAddress(address invalidWallet);
error Whispr_InvalidPairAddress(address invalidPair);
error Whispr_InvalidRouterAddress(address invalidRouter);
error Whispr_CannotTransfer(uint8 code);
error Whispr_InvalidFeeAmount(uint256 fee, uint256 maxFee);
error Whispr_InvalidSplit(uint8 errorTotal);
error Whispr_InvalidMaxTxAmount();
error Whispr_MaxTx();
error Whispr_TradingAlreadyEnabled();
error Whispr_TradingNotYetEnabled(uint256 blockNumber);


contract WhisprToken is ERC20, Ownable, ReentrancyGuard {
    uint256 public constant FEE_BASIS = 100;
    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;

    mapping(address => bool) public isExcludedFromFee;
    mapping(address => bool) public isExcludedFromLimit;
    mapping(address => bool) public isPair;
    uint256 public feeOnBuy = 5;
    uint256 public feeOnSell = 5;
    uint256 public swapThreshold;
    uint256 public maxTxAmount;
    bool public tradingEnabled = false;

    IUniswapV2Router02 public router =
        IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address public immutable WETH;
    address public tradingFundWallet;
    address public devWallet;
    address public uniswapV2Pair;

    uint8 public tradingFundPercent = 3;
    uint8 public devPercent = 2;
    uint8 public totalPercent = 5;
    bool private swapping;

    // events
    event TradingFundWalletUpdate(
        address indexed previousTradingFundWallet,
        address indexed newTradingFundWallet
    );
    event DevWalletUpdate(
        address indexed previousDevWallet,
        address indexed newDevWallet
    );
    event PairUpdate(address indexed previousPair, address indexed newPair);
    event RouterUpdate(
        address indexed previousRouter,
        address indexed newRouter
    );
    event InvalidTransfer(address indexed to, uint256 ETHvalue);
    event UpdateExcludedStatus(address indexed wallet, bool status);
    event UpdateLimitStatus(address indexed wallet, bool status);
    event UpdateBuyFee(uint256 prevFee, uint256 fee);
    event UpdateSellFee(uint256 prevFee, uint256 fee);
    event UpdateThreshold(uint256 prevThreshold, uint256 threshold);
    event UpdateFeeSplit(
        uint8 tradingFundShares,
        uint8 devShares,
        uint8 totalShares
    );
    event MaxTxUpdate(uint256 prevMaxTx, uint256 newMaxTx);
    event TradingEnabled(uint256 blockNumber);

    constructor(address _tradingFundWallet, address _devWallet)
        ERC20("Whispr", "WHISPR")
        Ownable(msg.sender)
    {
        super._update(address(0), msg.sender, 1_000_000_000 ether);
        maxTxAmount = totalSupply() / 100; // 1% of total supply
        tradingFundWallet = _tradingFundWallet;
        devWallet = _devWallet;
        IUniswapV2Factory factory = IUniswapV2Factory(router.factory());
        WETH = router.WETH();
        uniswapV2Pair = factory.createPair(address(this), WETH);
        isPair[uniswapV2Pair] = true;
        swapThreshold = totalSupply() / 5_000;
        // Exclude from fees
        isExcludedFromFee[msg.sender] = true;
        isExcludedFromFee[address(this)] = true;
        // Exclude from limits
        isExcludedFromLimit[msg.sender] = true;
        isExcludedFromLimit[address(this)] = true;
        isExcludedFromLimit[DEAD] = true;
        isExcludedFromLimit[uniswapV2Pair] = true;
        isExcludedFromFee[devWallet] = true;
        isExcludedFromFee[tradingFundWallet] = true;
        _approve(address(this), address(router), type(uint256).max);
    }

    receive() external payable {}

    fallback() external payable {}

    function enableTrading() external onlyOwner {
        if (tradingEnabled) revert Whispr_TradingAlreadyEnabled();
        tradingEnabled = true;
        emit TradingEnabled(block.number);
    }

    /**
     * @notice Update the trading fund Wallet
     * @param _newTradingFundWallet The new trading fund Wallet address
     * @dev Only the owner can update the trading fund Wallet and the new wallet should not be the zero address or the contract address or the current trading fund address
     */
    function updateTradingFundWallet(address _newTradingFundWallet)
        external
        onlyOwner
    {
        if (
            _newTradingFundWallet == address(0) ||
            _newTradingFundWallet == address(this) ||
            _newTradingFundWallet == tradingFundWallet
        ) revert Whispr_InvalidWalletAddress(_newTradingFundWallet);
        emit TradingFundWalletUpdate(tradingFundWallet, _newTradingFundWallet);
        tradingFundWallet = _newTradingFundWallet;
    }

    /**
     * @notice Update the Dev Wallet
     * @param _devWallet The new Dev Wallet address
     * @dev Only the owner can update the Dev Wallet and the new wallet should not be the zero address or the contract address or the current trading fund address
     */
    function updateDevWallet(address _devWallet) external onlyOwner {
        if (
            _devWallet == address(0) ||
            _devWallet == address(this) ||
            _devWallet == devWallet
        ) revert Whispr_InvalidWalletAddress(_devWallet);
        emit DevWalletUpdate(devWallet, _devWallet);
        devWallet = _devWallet;
    }

    /**
     * @notice Update the Main Pair to swap for ETH
     * @param _uniswapV2Pair The new UniswapV2Pair address
     * @dev Only the owner can update the Pair and the new wallet should not be the zero address or the contract address or the current address
     *  or the current pair address or be an invalid V2pair
     */
    function updateV2Pair(address _uniswapV2Pair) external onlyOwner {
        address token0 = IUniswapV2Pair(_uniswapV2Pair).token0();
        address token1 = IUniswapV2Pair(_uniswapV2Pair).token1();
        if (token0 != address(this) && token1 != address(this)) {
            revert Whispr_InvalidWalletAddress(_uniswapV2Pair);
        }
        emit PairUpdate(uniswapV2Pair, _uniswapV2Pair);
        uniswapV2Pair = _uniswapV2Pair;
    }

    /**
     * @notice Update the UniswapV2Router
     * @param _uniswapV2Router The new UniswapV2Router address
     * @dev Only the owner can update the Router and the new wallet should not be the zero address or the contract address or the current address
     *  or the current pair address or be an invalid v2 router
     */
    function updateV2Router(address _uniswapV2Router) external onlyOwner {
        if (
            _uniswapV2Router == address(0) ||
            _uniswapV2Router == address(this) ||
            _uniswapV2Router == address(router) ||
            IUniswapV2Router02(_uniswapV2Router).WETH() != WETH
        ) revert Whispr_InvalidRouterAddress(_uniswapV2Router);
        emit RouterUpdate(address(router), _uniswapV2Router);
        router = IUniswapV2Router02(_uniswapV2Router);
    }

    /**
     * @notice Add a new pair to the list of pairs
     * @param pair The address of the pair to add
     */
    function addPair(address pair) external onlyOwner {
        if (pair == address(0) || pair == address(this))
            revert Whispr_InvalidPairAddress(pair);
        isPair[pair] = true;
        isExcludedFromLimit[pair] = true;
    }

    /**
     * @notice Update the exclusion status of a wallet from fees
     * @param wallet The address to update exclusion status from fees
     * @param status The new exclusion status
     */
    function updateWalletExcludeStatus(address wallet, bool status)
        external
        onlyOwner
    {
        isExcludedFromFee[wallet] = status;
        emit UpdateExcludedStatus(wallet, status);
    }

    /**
     * @notice Update the limit exclusion of a wallet
     * @param wallet The address to update exclusion status from limits
     * @param status The new limit exclusion status
     * @dev Wallet to update cannot be the pair or the router
     */
    function updateWalletLimitStatus(address wallet, bool status)
        external
        onlyOwner
    {
        if (wallet == uniswapV2Pair || wallet == address(router))
            revert Whispr_InvalidWalletAddress(wallet);
        isExcludedFromLimit[wallet] = status;
        emit UpdateLimitStatus(wallet, status);
    }

    /**
     * @notice Swap currently held fees for ETH and distribute to trading fund and dev wallets
     */
    function manualSwapFees() external onlyOwner {
        _swapFees();
    }

    /**
     * @notice update the fee taken on BUY transactions
     * @param _fee The new fee to apply
     * @dev The fee cannot be more than 30%
     */
    function updateBuyFee(uint256 _fee) external onlyOwner {
        if (_fee > 30) revert Whispr_InvalidFeeAmount(_fee, 30);
        emit UpdateBuyFee(feeOnBuy, _fee);
        feeOnBuy = _fee;
    }

    /**
     * @notice update the fee taken on BUY transactions
     * @param _fee The new fee to apply
     * @dev The fee cannot be more than 30%
     */
    function updateSellFee(uint256 _fee) external onlyOwner {
        if (_fee > 30) revert Whispr_InvalidFeeAmount(_fee, 30);
        emit UpdateSellFee(feeOnSell, _fee);
        feeOnSell = _fee;
    }

    /**
     * @notice update the amount to collect before triggering a conversion to ETH
     * @param _threshold The new threshold to apply
     */
    function updateSwapThreshold(uint256 _threshold) external onlyOwner {
        emit UpdateThreshold(swapThreshold, _threshold);
        swapThreshold = _threshold;
    }

    /**
     * Updates the Max Tokens a tx can make in a single TX
     * @param _maxTx The new maxTx to apply
     */
    function updateMaxTx(uint256 _maxTx) external onlyOwner {
        if (_maxTx < totalSupply() / 100) revert Whispr_InvalidMaxTxAmount();
        emit MaxTxUpdate(maxTxAmount, _maxTx);
        maxTxAmount = _maxTx;
    }

    /**
     * @notice update the fee split between trading fund and dev wallets
     * @param _tradingFundShares The new trading fund shares
     * @param _devShares The new dev shares
     * @dev totalPercent cannot be 0. Shares do not change the fees, only the split
     */
    function updateFeeSplit(uint8 _tradingFundShares, uint8 _devShares)
        external
        onlyOwner
    {
        if (_tradingFundShares + _devShares == 0) revert Whispr_InvalidSplit(0);
        totalPercent = _tradingFundShares + _devShares;
        tradingFundPercent = _tradingFundShares;
        devPercent = _devShares;
    }

    /**
     * @notice remove any ETH from the contract to DEV wallet
     */
    function extractETH() external {
        uint256 amount = address(this).balance;
        if (amount == 0) revert Whispr_CannotTransfer(0);
        (bool success, ) = devWallet.call{value: address(this).balance}("");
        if (!success) revert Whispr_CannotTransfer(1);
    }

    /**
     * @notice remove any ERC20 token from the contract to dev wallet
     * @param token The address of the ERC20 token to extract from this contract
     */
    function extractToken(address token) external onlyOwner {
        if (token == address(0)) {
            revert Whispr_InvalidWalletAddress(token);
        }

        ERC20 erc = ERC20(token);
        uint256 balance = erc.balanceOf(address(this));
        if (balance == 0) {
            revert Whispr_CannotTransfer(0);
        }
        erc.transfer(devWallet, balance);
    }

    /**
     * @notice Updates balances for sender and receiver with fee handling and trading controls.
     * @param from The sender address.
     * @param to The receiver address.
     * @param value The amount of tokens to be transferred.
     * @dev Overrides the ERC20 transfer mechanism to implement buy/sell transaction checks and fee management.
     * It verifies trading is enabled and checks transaction limits unless the address is exempt. Fees are calculated
     * and retained if applicable, and balances updated accordingly. Exceeds threshold triggers a token swap for ETH
     * to fund designated wallets.
     */
    function _update(
        address from,
        address to,
        uint256 value
    ) internal override {
        bool isBuy = isPair[from] && to != address(this);
        bool isSell = isPair[to] && from != address(this);

        // Apply restrictions
        if (isBuy || isSell) {
            bool isAuthorizedTrader = (from == owner() ||
                to == owner() ||
                from == devWallet ||
                to == devWallet ||
                from == tradingFundWallet ||
                to == tradingFundWallet);

            // Only allow trading if enabled or if an authorized wallet is directly interacting
            if (!tradingEnabled && !isAuthorizedTrader) {
                revert Whispr_TradingNotYetEnabled(block.number);
            }
        }

        // Check transaction limits for buys and sells
        if ((isBuy || isSell) && value > maxTxAmount) {
            if (!isExcludedFromLimit[from] && !isExcludedFromLimit[to]) {
                revert Whispr_MaxTx();
            }
        }

        // Manage token swaps based on internal conditions and thresholds
        bool canSwap = !swapping &&
            balanceOf(address(this)) >= swapThreshold &&
            !isSell;
        if (canSwap) {
            _swapFees();
        }

        // Handle fees ONLY for buy/sell txs
        uint256 fee = 0;
        if (
            !swapping &&
            (isBuy || isSell) &&
            !(isExcludedFromFee[from] || isExcludedFromFee[to])
        ) {
            if (isBuy) {
                fee = (value * feeOnBuy) / FEE_BASIS;
            } else if (isSell) {
                fee = (value * feeOnSell) / FEE_BASIS;
            }
            super._update(from, address(this), fee); // deduct fees
            value -= fee;
        }

        super._update(from, to, value);
    }

    /**
     * @notice Swap fees for Whispr to eth, and send the eth to dev and trading wallets
     */
    function _swapFees() private nonReentrant {
        uint256 totalFees = balanceOf(address(this));
        require(totalFees >= swapThreshold, "Insufficient fees to swap");

        // Ensuring the interaction with the external contract is the last action.
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;

        uint256 initialBalance = address(this).balance;
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            totalFees,
            0,  // Minimum amount of ETH to accept (could be modified to a reasonable value)
            path,
            address(this),
            block.timestamp
        );

        uint256 newBalance = address(this).balance - initialBalance;
        uint256 tradingFundFeeETH = (newBalance * tradingFundPercent) / totalPercent;
        uint256 devFeeETH = (newBalance * devPercent) / totalPercent;

        // Transferring ETH after all state updates
        (bool tfSuccess, ) = tradingFundWallet.call{value: tradingFundFeeETH}("");
        require(tfSuccess, "Failed to send ETH to trading fund");

        (bool devSuccess, ) = devWallet.call{value: devFeeETH}("");
        require(devSuccess, "Failed to send ETH to dev wallet");
    }
}

File 2 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 3 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 4 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 5 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 6 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 8 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 9 of 12 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 10 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 11 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

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

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

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

File 12 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_tradingFundWallet","type":"address"},{"internalType":"address","name":"_devWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint8","name":"code","type":"uint8"}],"name":"Whispr_CannotTransfer","type":"error"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"maxFee","type":"uint256"}],"name":"Whispr_InvalidFeeAmount","type":"error"},{"inputs":[],"name":"Whispr_InvalidMaxTxAmount","type":"error"},{"inputs":[{"internalType":"address","name":"invalidPair","type":"address"}],"name":"Whispr_InvalidPairAddress","type":"error"},{"inputs":[{"internalType":"address","name":"invalidRouter","type":"address"}],"name":"Whispr_InvalidRouterAddress","type":"error"},{"inputs":[{"internalType":"uint8","name":"errorTotal","type":"uint8"}],"name":"Whispr_InvalidSplit","type":"error"},{"inputs":[{"internalType":"address","name":"invalidWallet","type":"address"}],"name":"Whispr_InvalidWalletAddress","type":"error"},{"inputs":[],"name":"Whispr_MaxTx","type":"error"},{"inputs":[],"name":"Whispr_TradingAlreadyEnabled","type":"error"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"Whispr_TradingNotYetEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousDevWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newDevWallet","type":"address"}],"name":"DevWalletUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"ETHvalue","type":"uint256"}],"name":"InvalidTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevMaxTx","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMaxTx","type":"uint256"}],"name":"MaxTxUpdate","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousPair","type":"address"},{"indexed":true,"internalType":"address","name":"newPair","type":"address"}],"name":"PairUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousRouter","type":"address"},{"indexed":true,"internalType":"address","name":"newRouter","type":"address"}],"name":"RouterUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousTradingFundWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newTradingFundWallet","type":"address"}],"name":"TradingFundWalletUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"UpdateBuyFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdateExcludedStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"tradingFundShares","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"devShares","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"totalShares","type":"uint8"}],"name":"UpdateFeeSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdateLimitStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"UpdateSellFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevThreshold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"UpdateThreshold","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"FEE_BASIS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extractETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"extractToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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 IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingFundPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingFundWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tradingFundShares","type":"uint8"},{"internalType":"uint8","name":"_devShares","type":"uint8"}],"name":"updateFeeSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"updateMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"updateSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTradingFundWallet","type":"address"}],"name":"updateTradingFundWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"updateV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Router","type":"address"}],"name":"updateV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateWalletExcludeStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateWalletLimitStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526005600a819055600b55600e80546001600160a81b031916747a250d5630b4cf539739df2c5dacb4c659f2488d001790556011805462ffffff60a01b19166205020360a01b179055348015610057575f80fd5b506040516129c83803806129c88339810160408190526100769161066b565b33604051806040016040528060068152602001652bb434b9b83960d11b815250604051806040016040528060068152602001652ba424a9a82960d11b81525081600390816100c49190610733565b5060046100d18282610733565b5050506001600160a01b03811661010257604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61010b816103f4565b5060016006556101285f336b033b2e3c9fd0803ce8000000610445565b606461013360025490565b61013d91906107f2565b600d55600f80546001600160a01b038085166001600160a01b031992831617909255601080548484169216919091179055600e546040805163c45a015560e01b815290515f936101009093049092169163c45a0155916004808201926020929091908290030181865afa1580156101b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101da9190610811565b9050600e60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561022d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102519190610811565b6001600160a01b0390811660808190526040516364e329cb60e11b815230600482015260248101919091529082169063c9c65396906044016020604051808303815f875af11580156102a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102c99190610811565b601180546001600160a01b0319166001600160a01b039290921691821790555f908152600960205260409020805460ff1916600117905561138861030c60025490565b61031691906107f2565b600c55335f8181526007602081815260408084208054600160ff19918216811790925530808752838720805483168417905596865260088452828620805482168317905586865282862080548216831790557f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd0933429980548216831790556011546001600160a01b039081168752838720805483168417905560105481168752949093528185208054841682179055600f548416855293208054909116909217909155600e546103ec9291610100909104165f1961056b565b505050610856565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03831661046f578060025f8282546104649190610831565b909155506104df9050565b6001600160a01b0383165f90815260208190526040902054818110156104c15760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100f9565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104fb57600280548290039055610519565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161055e91815260200190565b60405180910390a3505050565b610578838383600161057d565b505050565b6001600160a01b0384166105a65760405163e602df0560e01b81525f60048201526024016100f9565b6001600160a01b0383166105cf57604051634a1406b160e11b81525f60048201526024016100f9565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561064a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161064191815260200190565b60405180910390a35b50505050565b80516001600160a01b0381168114610666575f80fd5b919050565b5f806040838503121561067c575f80fd5b61068583610650565b915061069360208401610650565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806106c457607f821691505b6020821081036106e257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561057857805f5260205f20601f840160051c8101602085101561070d5750805b601f840160051c820191505b8181101561072c575f8155600101610719565b5050505050565b81516001600160401b0381111561074c5761074c61069c565b6107608161075a84546106b0565b846106e8565b602080601f831160018114610793575f841561077c5750858301515b5f19600386901b1c1916600185901b1785556107ea565b5f85815260208120601f198616915b828110156107c1578886015182559484019460019091019084016107a2565b50858210156107de57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f8261080c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215610821575f80fd5b61082a82610650565b9392505050565b8082018082111561085057634e487b7160e01b5f52601160045260245ffd5b92915050565b60805161214c61087c5f395f818161063901528181610a7501526115da015261214c5ff3fe60806040526004361061025d575f3560e01c80637a7c83a611610142578063bb8c3ee0116100ba578063dd62ed3e11610076578063dd62ed3e14610739578063e5e31b131461077d578063f2fde38b146107ab578063f887ea40146107ca578063fabb71d2146107ee578063fc3c28af1461080257005b8063bb8c3ee01461067a578063c2b7bbb61461068f578063c2d0ffca146106ae578063cc274b29146106cd578063cd9f62d4146106ec578063d94160e01461070b57005b80638ea5220f116101095780638ea5220f146105b75780639359a92b146105d657806395d89b41146105f5578063a9059cbb14610609578063ad5c464814610628578063b9f724431461065b57005b80637a7c83a61461053d5780638686ebcc1461055d5780638a8c523c146105715780638c0b5e22146105855780638da5cb5b1461059a57005b806343ed59af116101d5578063608c44d61161019c578063608c44d61461048357806365048d08146104a25780636606042a146104b757806370a08231146104d6578063715018a61461050a57806378ff4fdc1461051e57005b806343ed59af146103ea578063467abe0a146103fe57806349bd5a5e1461041d5780634ada218b1461043c5780635342acb41461045557005b806319972d351161022457806319972d35146103115780631d933a4a1461034357806323b872dd14610362578063313ce567146103815780633bb25ad41461039457806340751968146103b357005b80630445b6671461026657806306fdde031461028e578063095ea7b3146102af57806318160ddd146102de5780631816467f146102f257005b3661026457005b005b348015610271575f80fd5b5061027b600c5481565b6040519081526020015b60405180910390f35b348015610299575f80fd5b506102a2610822565b6040516102859190611de3565b3480156102ba575f80fd5b506102ce6102c9366004611e2c565b6108b2565b6040519015158152602001610285565b3480156102e9575f80fd5b5060025461027b565b3480156102fd575f80fd5b5061026461030c366004611e56565b6108cb565b34801561031c575f80fd5b5060115461033190600160a01b900460ff1681565b60405160ff9091168152602001610285565b34801561034e575f80fd5b5061026461035d366004611e78565b610992565b34801561036d575f80fd5b506102ce61037c366004611e8f565b610a07565b34801561038c575f80fd5b506012610331565b34801561039f575f80fd5b506102646103ae366004611e56565b610a2a565b3480156103be575f80fd5b50600f546103d2906001600160a01b031681565b6040516001600160a01b039091168152602001610285565b3480156103f5575f80fd5b50610264610b98565b348015610409575f80fd5b50610264610418366004611e78565b610baa565b348015610428575f80fd5b506011546103d2906001600160a01b031681565b348015610447575f80fd5b50600e546102ce9060ff1681565b348015610460575f80fd5b506102ce61046f366004611e56565b60076020525f908152604090205460ff1681565b34801561048e575f80fd5b5061026461049d366004611e56565b610c1f565b3480156104ad575f80fd5b5061027b600b5481565b3480156104c2575f80fd5b506102646104d1366004611e56565b610d61565b3480156104e1575f80fd5b5061027b6104f0366004611e56565b6001600160a01b03165f9081526020819052604090205490565b348015610515575f80fd5b50610264610e23565b348015610529575f80fd5b50610264610538366004611ee2565b610e34565b348015610548575f80fd5b5060115461033190600160b01b900460ff1681565b348015610568575f80fd5b5061027b606481565b34801561057c575f80fd5b50610264610ebd565b348015610590575f80fd5b5061027b600d5481565b3480156105a5575f80fd5b506005546001600160a01b03166103d2565b3480156105c2575f80fd5b506010546103d2906001600160a01b031681565b3480156105e1575f80fd5b506102646105f0366004611f20565b610f32565b348015610600575f80fd5b506102a2610f99565b348015610614575f80fd5b506102ce610623366004611e2c565b610fa8565b348015610633575f80fd5b506103d27f000000000000000000000000000000000000000000000000000000000000000081565b348015610666575f80fd5b50610264610675366004611f20565b610fb5565b348015610685575f80fd5b5061027b600a5481565b34801561069a575f80fd5b506102646106a9366004611e56565b61106b565b3480156106b9575f80fd5b506102646106c8366004611e78565b6110f5565b3480156106d8575f80fd5b506102646106e7366004611e78565b611173565b3480156106f7575f80fd5b50610264610706366004611e56565b6111bc565b348015610716575f80fd5b506102ce610725366004611e56565b60086020525f908152604090205460ff1681565b348015610744575f80fd5b5061027b610753366004611f57565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610788575f80fd5b506102ce610797366004611e56565b60096020525f908152604090205460ff1681565b3480156107b6575f80fd5b506102646107c5366004611e56565b611332565b3480156107d5575f80fd5b50600e546103d29061010090046001600160a01b031681565b3480156107f9575f80fd5b5061026461136f565b34801561080d575f80fd5b5060115461033190600160a81b900460ff1681565b60606003805461083190611f83565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90611f83565b80156108a85780601f1061087f576101008083540402835291602001916108a8565b820191905f5260205f20905b81548152906001019060200180831161088b57829003601f168201915b5050505050905090565b5f336108bf81858561140b565b60019150505b92915050565b6108d361141d565b6001600160a01b03811615806108f157506001600160a01b03811630145b8061090957506010546001600160a01b038281169116145b15610937576040516319c7113f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6010546040516001600160a01b038084169216907f18fc3ba4f62cf4833f55b864292e6863d464b3d906a761e44ad014bc14a055c6905f90a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b61099a61141d565b601e8111156109c657604051632be69f0560e01b815260048101829052601e602482015260440161092e565b600b5460408051918252602082018390527fde4022aab72c416fa5c54f5b02a3d8ce50d8a9418a85c790d51cf759ebb4697d910160405180910390a1600b55565b5f33610a1485828561144a565b610a1f8585856114bf565b506001949350505050565b610a3261141d565b6001600160a01b0381161580610a5057506001600160a01b03811630145b80610a6d5750600e546001600160a01b0382811661010090920416145b80610b0957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afd9190611fbb565b6001600160a01b031614155b15610b325760405163949f32a960e01b81526001600160a01b038216600482015260240161092e565b600e546040516001600160a01b0380841692610100900416907f363beda10ebf02584eda9ab4ca38e353bc57591b50714ba84692ed584280672d905f90a3600e80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610ba061141d565b610ba861151c565b565b610bb261141d565b601e811115610bde57604051632be69f0560e01b815260048101829052601e602482015260440161092e565b600a5460408051918252602082018390527fc66f11a4e1af275a2ecb111e96ff29a572358bd3abd0d8851f439ca0f4aa40ac910160405180910390a1600a55565b610c2761141d565b6001600160a01b038116610c59576040516319c7113f60e01b81526001600160a01b038216600482015260240161092e565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc39190611fd6565b9050805f03610ce757604051637173823560e11b81525f600482015260240161092e565b60105460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611fed565b50505050565b610d6961141d565b6001600160a01b0381161580610d8757506001600160a01b03811630145b80610d9f5750600f546001600160a01b038281169116145b15610dc8576040516319c7113f60e01b81526001600160a01b038216600482015260240161092e565b600f546040516001600160a01b038084169216907f65ea68f3f3670c3b9805b742bde4301c6b6555a16739ac8b4c67acde272d7da0905f90a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610e2b61141d565b610ba85f611858565b610e3c61141d565b610e46818361201c565b60ff165f03610e6a5760405163786031a560e01b81525f600482015260240161092e565b610e74818361201c565b6011805462ff00ff60a01b1916600160b01b60ff9384160260ff60a01b191617600160a01b948316949094029390931760ff60a81b1916600160a81b9290911691909102179055565b610ec561141d565b600e5460ff1615610ee957604051633e1151fb60e01b815260040160405180910390fd5b600e805460ff191660011790556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390610f289043815260200190565b60405180910390a1565b610f3a61141d565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527f2c3bf8535205cd5836e82c4509edb0b2d59ca58bfecd1cc0a511828828881dba91015b60405180910390a25050565b60606004805461083190611f83565b5f336108bf8185856114bf565b610fbd61141d565b6011546001600160a01b0383811691161480610feb5750600e546001600160a01b0383811661010090920416145b15611014576040516319c7113f60e01b81526001600160a01b038316600482015260240161092e565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f68eb8038e65b90dcf733cc7d3ea22c9b5623b245737f1dba379e61416b094b759101610f8d565b61107361141d565b6001600160a01b038116158061109157506001600160a01b03811630145b156110ba57604051637c06468760e11b81526001600160a01b038216600482015260240161092e565b6001600160a01b03165f9081526009602090815260408083208054600160ff1991821681179092556008909352922080549091169091179055565b6110fd61141d565b606461110860025490565b6111129190612035565b811015611132576040516393a267e560e01b815260040160405180910390fd5b600d5460408051918252602082018390527f7a67d9ff36dd9cfc97e4bec7285f664fae66a1fe883052d5b46346773a0057b9910160405180910390a1600d55565b61117b61141d565b600c5460408051918252602082018390527fe2f0d2b9bd62fe4d997e442d96308c2084de77174fc94e18e14bf473b030f4dd910160405180910390a1600c55565b6111c461141d565b5f816001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611201573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112259190611fbb565b90505f826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fbb565b90506001600160a01b03821630148015906112ac57506001600160a01b0381163014155b156112d5576040516319c7113f60e01b81526001600160a01b038416600482015260240161092e565b6011546040516001600160a01b038086169216907f64f805d25d00b4b9f3a22a1ccccdbcc3b12948681a091c3643be5488fbe85a81905f90a35050601180546001600160a01b0319166001600160a01b0392909216919091179055565b61133a61141d565b6001600160a01b03811661136357604051631e4fbdf760e01b81525f600482015260240161092e565b61136c81611858565b50565b475f81900361139357604051637173823560e11b81525f600482015260240161092e565b6010546040515f916001600160a01b03169047908381818185875af1925050503d805f81146113dd576040519150601f19603f3d011682016040523d82523d5f602084013e6113e2565b606091505b505090508061140757604051637173823560e11b81526001600482015260240161092e565b5050565b61141883838360016118a9565b505050565b6005546001600160a01b03163314610ba85760405163118cdaa760e01b815233600482015260240161092e565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610d5b57818110156114b157604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161092e565b610d5b84848484035f6118a9565b6001600160a01b0383166114e857604051634b637e8f60e11b81525f600482015260240161092e565b6001600160a01b0382166115115760405163ec442f0560e01b81525f600482015260240161092e565b61141883838361197b565b611524611c64565b305f90815260208190526040902054600c548110156115855760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74206665657320746f207377617000000000000000604482015260640161092e565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106115b8576115b8612054565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061160c5761160c612054565b6001600160a01b039283166020918202929092010152600e5460405163791ac94760e01b815247926101009092049091169063791ac9479061165a9086905f90879030904290600401612068565b5f604051808303815f87803b158015611671575f80fd5b505af1158015611683573d5f803e3d5ffd5b505050505f814761169491906120d9565b6011549091505f9060ff600160b01b82048116916116bb91600160a01b90910416846120ec565b6116c59190612035565b6011549091505f9060ff600160b01b82048116916116ec91600160a81b90910416856120ec565b6116f69190612035565b600f546040519192505f916001600160a01b039091169084908381818185875af1925050503d805f8114611745576040519150601f19603f3d011682016040523d82523d5f602084013e61174a565b606091505b50509050806117a65760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e642045544820746f2074726164696e672066756044820152611b9960f21b606482015260840161092e565b6010546040515f916001600160a01b03169084908381818185875af1925050503d805f81146117f0576040519150601f19603f3d011682016040523d82523d5f602084013e6117f5565b606091505b50509050806118465760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c6574604482015260640161092e565b5050505050505050610ba86001600655565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166118d25760405163e602df0560e01b81525f600482015260240161092e565b6001600160a01b0383166118fb57604051634a1406b160e11b81525f600482015260240161092e565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610d5b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161196d91815260200190565b60405180910390a350505050565b6001600160a01b0383165f9081526009602052604081205460ff1680156119ab57506001600160a01b0383163014155b6001600160a01b0384165f908152600960205260408120549192509060ff1680156119df57506001600160a01b0385163014155b905081806119ea5750805b15611ac4575f611a026005546001600160a01b031690565b6001600160a01b0316866001600160a01b03161480611a2e57506005546001600160a01b038681169116145b80611a4657506010546001600160a01b038781169116145b80611a5e57506010546001600160a01b038681169116145b80611a765750600f546001600160a01b038781169116145b80611a8e5750600f546001600160a01b038681169116145b600e5490915060ff16158015611aa2575080155b15611ac25760405163a1b3dc3f60e01b815243600482015260240161092e565b505b8180611acd5750805b8015611ada5750600d5483115b15611b3d576001600160a01b0385165f9081526008602052604090205460ff16158015611b1f57506001600160a01b0384165f9081526008602052604090205460ff16155b15611b3d5760405163e26a939d60e01b815260040160405180910390fd5b6011545f90600160b81b900460ff16158015611b695750600c54305f9081526020819052604090205410155b8015611b73575081155b90508015611b8357611b8361151c565b6011545f90600160b81b900460ff16158015611ba357508380611ba35750825b8015611be957506001600160a01b0387165f9081526007602052604090205460ff1680611be757506001600160a01b0386165f9081526007602052604090205460ff165b155b15611c50578315611c15576064600a5486611c0491906120ec565b611c0e9190612035565b9050611c38565b8215611c38576064600b5486611c2b91906120ec565b611c359190612035565b90505b611c43873083611cbd565b611c4d81866120d9565b94505b611c5b878787611cbd565b50505050505050565b600260065403611cb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161092e565b6002600655565b6001600160a01b038316611ce7578060025f828254611cdc9190612103565b90915550611d579050565b6001600160a01b0383165f9081526020819052604090205481811015611d395760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161092e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611d7357600280548290039055611d91565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611dd691815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461136c575f80fd5b5f8060408385031215611e3d575f80fd5b8235611e4881611e18565b946020939093013593505050565b5f60208284031215611e66575f80fd5b8135611e7181611e18565b9392505050565b5f60208284031215611e88575f80fd5b5035919050565b5f805f60608486031215611ea1575f80fd5b8335611eac81611e18565b92506020840135611ebc81611e18565b929592945050506040919091013590565b803560ff81168114611edd575f80fd5b919050565b5f8060408385031215611ef3575f80fd5b611efc83611ecd565b9150611f0a60208401611ecd565b90509250929050565b801515811461136c575f80fd5b5f8060408385031215611f31575f80fd5b8235611f3c81611e18565b91506020830135611f4c81611f13565b809150509250929050565b5f8060408385031215611f68575f80fd5b8235611f7381611e18565b91506020830135611f4c81611e18565b600181811c90821680611f9757607f821691505b602082108103611fb557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611fcb575f80fd5b8151611e7181611e18565b5f60208284031215611fe6575f80fd5b5051919050565b5f60208284031215611ffd575f80fd5b8151611e7181611f13565b634e487b7160e01b5f52601160045260245ffd5b60ff81811683821601908111156108c5576108c5612008565b5f8261204f57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156120b85784516001600160a01b031683529383019391830191600101612093565b50506001600160a01b03969096166060850152505050608001529392505050565b818103818111156108c5576108c5612008565b80820281158282048414176108c5576108c5612008565b808201808211156108c5576108c561200856fea2646970667358221220c7f6046cb0727b35fd63894817a83ac83399637c98d688009ce60e842fd2217e64736f6c634300081900330000000000000000000000002625ecdd4a9e31e3e5d398c2c489a5a5c3d2dc2f000000000000000000000000e734e1a56f03b3ae70640363a8c83e3994ec9e4a

Deployed Bytecode

0x60806040526004361061025d575f3560e01c80637a7c83a611610142578063bb8c3ee0116100ba578063dd62ed3e11610076578063dd62ed3e14610739578063e5e31b131461077d578063f2fde38b146107ab578063f887ea40146107ca578063fabb71d2146107ee578063fc3c28af1461080257005b8063bb8c3ee01461067a578063c2b7bbb61461068f578063c2d0ffca146106ae578063cc274b29146106cd578063cd9f62d4146106ec578063d94160e01461070b57005b80638ea5220f116101095780638ea5220f146105b75780639359a92b146105d657806395d89b41146105f5578063a9059cbb14610609578063ad5c464814610628578063b9f724431461065b57005b80637a7c83a61461053d5780638686ebcc1461055d5780638a8c523c146105715780638c0b5e22146105855780638da5cb5b1461059a57005b806343ed59af116101d5578063608c44d61161019c578063608c44d61461048357806365048d08146104a25780636606042a146104b757806370a08231146104d6578063715018a61461050a57806378ff4fdc1461051e57005b806343ed59af146103ea578063467abe0a146103fe57806349bd5a5e1461041d5780634ada218b1461043c5780635342acb41461045557005b806319972d351161022457806319972d35146103115780631d933a4a1461034357806323b872dd14610362578063313ce567146103815780633bb25ad41461039457806340751968146103b357005b80630445b6671461026657806306fdde031461028e578063095ea7b3146102af57806318160ddd146102de5780631816467f146102f257005b3661026457005b005b348015610271575f80fd5b5061027b600c5481565b6040519081526020015b60405180910390f35b348015610299575f80fd5b506102a2610822565b6040516102859190611de3565b3480156102ba575f80fd5b506102ce6102c9366004611e2c565b6108b2565b6040519015158152602001610285565b3480156102e9575f80fd5b5060025461027b565b3480156102fd575f80fd5b5061026461030c366004611e56565b6108cb565b34801561031c575f80fd5b5060115461033190600160a01b900460ff1681565b60405160ff9091168152602001610285565b34801561034e575f80fd5b5061026461035d366004611e78565b610992565b34801561036d575f80fd5b506102ce61037c366004611e8f565b610a07565b34801561038c575f80fd5b506012610331565b34801561039f575f80fd5b506102646103ae366004611e56565b610a2a565b3480156103be575f80fd5b50600f546103d2906001600160a01b031681565b6040516001600160a01b039091168152602001610285565b3480156103f5575f80fd5b50610264610b98565b348015610409575f80fd5b50610264610418366004611e78565b610baa565b348015610428575f80fd5b506011546103d2906001600160a01b031681565b348015610447575f80fd5b50600e546102ce9060ff1681565b348015610460575f80fd5b506102ce61046f366004611e56565b60076020525f908152604090205460ff1681565b34801561048e575f80fd5b5061026461049d366004611e56565b610c1f565b3480156104ad575f80fd5b5061027b600b5481565b3480156104c2575f80fd5b506102646104d1366004611e56565b610d61565b3480156104e1575f80fd5b5061027b6104f0366004611e56565b6001600160a01b03165f9081526020819052604090205490565b348015610515575f80fd5b50610264610e23565b348015610529575f80fd5b50610264610538366004611ee2565b610e34565b348015610548575f80fd5b5060115461033190600160b01b900460ff1681565b348015610568575f80fd5b5061027b606481565b34801561057c575f80fd5b50610264610ebd565b348015610590575f80fd5b5061027b600d5481565b3480156105a5575f80fd5b506005546001600160a01b03166103d2565b3480156105c2575f80fd5b506010546103d2906001600160a01b031681565b3480156105e1575f80fd5b506102646105f0366004611f20565b610f32565b348015610600575f80fd5b506102a2610f99565b348015610614575f80fd5b506102ce610623366004611e2c565b610fa8565b348015610633575f80fd5b506103d27f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610666575f80fd5b50610264610675366004611f20565b610fb5565b348015610685575f80fd5b5061027b600a5481565b34801561069a575f80fd5b506102646106a9366004611e56565b61106b565b3480156106b9575f80fd5b506102646106c8366004611e78565b6110f5565b3480156106d8575f80fd5b506102646106e7366004611e78565b611173565b3480156106f7575f80fd5b50610264610706366004611e56565b6111bc565b348015610716575f80fd5b506102ce610725366004611e56565b60086020525f908152604090205460ff1681565b348015610744575f80fd5b5061027b610753366004611f57565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610788575f80fd5b506102ce610797366004611e56565b60096020525f908152604090205460ff1681565b3480156107b6575f80fd5b506102646107c5366004611e56565b611332565b3480156107d5575f80fd5b50600e546103d29061010090046001600160a01b031681565b3480156107f9575f80fd5b5061026461136f565b34801561080d575f80fd5b5060115461033190600160a81b900460ff1681565b60606003805461083190611f83565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90611f83565b80156108a85780601f1061087f576101008083540402835291602001916108a8565b820191905f5260205f20905b81548152906001019060200180831161088b57829003601f168201915b5050505050905090565b5f336108bf81858561140b565b60019150505b92915050565b6108d361141d565b6001600160a01b03811615806108f157506001600160a01b03811630145b8061090957506010546001600160a01b038281169116145b15610937576040516319c7113f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6010546040516001600160a01b038084169216907f18fc3ba4f62cf4833f55b864292e6863d464b3d906a761e44ad014bc14a055c6905f90a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b61099a61141d565b601e8111156109c657604051632be69f0560e01b815260048101829052601e602482015260440161092e565b600b5460408051918252602082018390527fde4022aab72c416fa5c54f5b02a3d8ce50d8a9418a85c790d51cf759ebb4697d910160405180910390a1600b55565b5f33610a1485828561144a565b610a1f8585856114bf565b506001949350505050565b610a3261141d565b6001600160a01b0381161580610a5057506001600160a01b03811630145b80610a6d5750600e546001600160a01b0382811661010090920416145b80610b0957507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afd9190611fbb565b6001600160a01b031614155b15610b325760405163949f32a960e01b81526001600160a01b038216600482015260240161092e565b600e546040516001600160a01b0380841692610100900416907f363beda10ebf02584eda9ab4ca38e353bc57591b50714ba84692ed584280672d905f90a3600e80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610ba061141d565b610ba861151c565b565b610bb261141d565b601e811115610bde57604051632be69f0560e01b815260048101829052601e602482015260440161092e565b600a5460408051918252602082018390527fc66f11a4e1af275a2ecb111e96ff29a572358bd3abd0d8851f439ca0f4aa40ac910160405180910390a1600a55565b610c2761141d565b6001600160a01b038116610c59576040516319c7113f60e01b81526001600160a01b038216600482015260240161092e565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc39190611fd6565b9050805f03610ce757604051637173823560e11b81525f600482015260240161092e565b60105460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611fed565b50505050565b610d6961141d565b6001600160a01b0381161580610d8757506001600160a01b03811630145b80610d9f5750600f546001600160a01b038281169116145b15610dc8576040516319c7113f60e01b81526001600160a01b038216600482015260240161092e565b600f546040516001600160a01b038084169216907f65ea68f3f3670c3b9805b742bde4301c6b6555a16739ac8b4c67acde272d7da0905f90a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610e2b61141d565b610ba85f611858565b610e3c61141d565b610e46818361201c565b60ff165f03610e6a5760405163786031a560e01b81525f600482015260240161092e565b610e74818361201c565b6011805462ff00ff60a01b1916600160b01b60ff9384160260ff60a01b191617600160a01b948316949094029390931760ff60a81b1916600160a81b9290911691909102179055565b610ec561141d565b600e5460ff1615610ee957604051633e1151fb60e01b815260040160405180910390fd5b600e805460ff191660011790556040517fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390610f289043815260200190565b60405180910390a1565b610f3a61141d565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527f2c3bf8535205cd5836e82c4509edb0b2d59ca58bfecd1cc0a511828828881dba91015b60405180910390a25050565b60606004805461083190611f83565b5f336108bf8185856114bf565b610fbd61141d565b6011546001600160a01b0383811691161480610feb5750600e546001600160a01b0383811661010090920416145b15611014576040516319c7113f60e01b81526001600160a01b038316600482015260240161092e565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f68eb8038e65b90dcf733cc7d3ea22c9b5623b245737f1dba379e61416b094b759101610f8d565b61107361141d565b6001600160a01b038116158061109157506001600160a01b03811630145b156110ba57604051637c06468760e11b81526001600160a01b038216600482015260240161092e565b6001600160a01b03165f9081526009602090815260408083208054600160ff1991821681179092556008909352922080549091169091179055565b6110fd61141d565b606461110860025490565b6111129190612035565b811015611132576040516393a267e560e01b815260040160405180910390fd5b600d5460408051918252602082018390527f7a67d9ff36dd9cfc97e4bec7285f664fae66a1fe883052d5b46346773a0057b9910160405180910390a1600d55565b61117b61141d565b600c5460408051918252602082018390527fe2f0d2b9bd62fe4d997e442d96308c2084de77174fc94e18e14bf473b030f4dd910160405180910390a1600c55565b6111c461141d565b5f816001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015611201573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112259190611fbb565b90505f826001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fbb565b90506001600160a01b03821630148015906112ac57506001600160a01b0381163014155b156112d5576040516319c7113f60e01b81526001600160a01b038416600482015260240161092e565b6011546040516001600160a01b038086169216907f64f805d25d00b4b9f3a22a1ccccdbcc3b12948681a091c3643be5488fbe85a81905f90a35050601180546001600160a01b0319166001600160a01b0392909216919091179055565b61133a61141d565b6001600160a01b03811661136357604051631e4fbdf760e01b81525f600482015260240161092e565b61136c81611858565b50565b475f81900361139357604051637173823560e11b81525f600482015260240161092e565b6010546040515f916001600160a01b03169047908381818185875af1925050503d805f81146113dd576040519150601f19603f3d011682016040523d82523d5f602084013e6113e2565b606091505b505090508061140757604051637173823560e11b81526001600482015260240161092e565b5050565b61141883838360016118a9565b505050565b6005546001600160a01b03163314610ba85760405163118cdaa760e01b815233600482015260240161092e565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610d5b57818110156114b157604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161092e565b610d5b84848484035f6118a9565b6001600160a01b0383166114e857604051634b637e8f60e11b81525f600482015260240161092e565b6001600160a01b0382166115115760405163ec442f0560e01b81525f600482015260240161092e565b61141883838361197b565b611524611c64565b305f90815260208190526040902054600c548110156115855760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74206665657320746f207377617000000000000000604482015260640161092e565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106115b8576115b8612054565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061160c5761160c612054565b6001600160a01b039283166020918202929092010152600e5460405163791ac94760e01b815247926101009092049091169063791ac9479061165a9086905f90879030904290600401612068565b5f604051808303815f87803b158015611671575f80fd5b505af1158015611683573d5f803e3d5ffd5b505050505f814761169491906120d9565b6011549091505f9060ff600160b01b82048116916116bb91600160a01b90910416846120ec565b6116c59190612035565b6011549091505f9060ff600160b01b82048116916116ec91600160a81b90910416856120ec565b6116f69190612035565b600f546040519192505f916001600160a01b039091169084908381818185875af1925050503d805f8114611745576040519150601f19603f3d011682016040523d82523d5f602084013e61174a565b606091505b50509050806117a65760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e642045544820746f2074726164696e672066756044820152611b9960f21b606482015260840161092e565b6010546040515f916001600160a01b03169084908381818185875af1925050503d805f81146117f0576040519150601f19603f3d011682016040523d82523d5f602084013e6117f5565b606091505b50509050806118465760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c6574604482015260640161092e565b5050505050505050610ba86001600655565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166118d25760405163e602df0560e01b81525f600482015260240161092e565b6001600160a01b0383166118fb57604051634a1406b160e11b81525f600482015260240161092e565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610d5b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161196d91815260200190565b60405180910390a350505050565b6001600160a01b0383165f9081526009602052604081205460ff1680156119ab57506001600160a01b0383163014155b6001600160a01b0384165f908152600960205260408120549192509060ff1680156119df57506001600160a01b0385163014155b905081806119ea5750805b15611ac4575f611a026005546001600160a01b031690565b6001600160a01b0316866001600160a01b03161480611a2e57506005546001600160a01b038681169116145b80611a4657506010546001600160a01b038781169116145b80611a5e57506010546001600160a01b038681169116145b80611a765750600f546001600160a01b038781169116145b80611a8e5750600f546001600160a01b038681169116145b600e5490915060ff16158015611aa2575080155b15611ac25760405163a1b3dc3f60e01b815243600482015260240161092e565b505b8180611acd5750805b8015611ada5750600d5483115b15611b3d576001600160a01b0385165f9081526008602052604090205460ff16158015611b1f57506001600160a01b0384165f9081526008602052604090205460ff16155b15611b3d5760405163e26a939d60e01b815260040160405180910390fd5b6011545f90600160b81b900460ff16158015611b695750600c54305f9081526020819052604090205410155b8015611b73575081155b90508015611b8357611b8361151c565b6011545f90600160b81b900460ff16158015611ba357508380611ba35750825b8015611be957506001600160a01b0387165f9081526007602052604090205460ff1680611be757506001600160a01b0386165f9081526007602052604090205460ff165b155b15611c50578315611c15576064600a5486611c0491906120ec565b611c0e9190612035565b9050611c38565b8215611c38576064600b5486611c2b91906120ec565b611c359190612035565b90505b611c43873083611cbd565b611c4d81866120d9565b94505b611c5b878787611cbd565b50505050505050565b600260065403611cb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161092e565b6002600655565b6001600160a01b038316611ce7578060025f828254611cdc9190612103565b90915550611d579050565b6001600160a01b0383165f9081526020819052604090205481811015611d395760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161092e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611d7357600280548290039055611d91565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611dd691815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461136c575f80fd5b5f8060408385031215611e3d575f80fd5b8235611e4881611e18565b946020939093013593505050565b5f60208284031215611e66575f80fd5b8135611e7181611e18565b9392505050565b5f60208284031215611e88575f80fd5b5035919050565b5f805f60608486031215611ea1575f80fd5b8335611eac81611e18565b92506020840135611ebc81611e18565b929592945050506040919091013590565b803560ff81168114611edd575f80fd5b919050565b5f8060408385031215611ef3575f80fd5b611efc83611ecd565b9150611f0a60208401611ecd565b90509250929050565b801515811461136c575f80fd5b5f8060408385031215611f31575f80fd5b8235611f3c81611e18565b91506020830135611f4c81611f13565b809150509250929050565b5f8060408385031215611f68575f80fd5b8235611f7381611e18565b91506020830135611f4c81611e18565b600181811c90821680611f9757607f821691505b602082108103611fb557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611fcb575f80fd5b8151611e7181611e18565b5f60208284031215611fe6575f80fd5b5051919050565b5f60208284031215611ffd575f80fd5b8151611e7181611f13565b634e487b7160e01b5f52601160045260245ffd5b60ff81811683821601908111156108c5576108c5612008565b5f8261204f57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156120b85784516001600160a01b031683529383019391830191600101612093565b50506001600160a01b03969096166060850152505050608001529392505050565b818103818111156108c5576108c5612008565b80820281158282048414176108c5576108c5612008565b808201808211156108c5576108c561200856fea2646970667358221220c7f6046cb0727b35fd63894817a83ac83399637c98d688009ce60e842fd2217e64736f6c63430008190033

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

0000000000000000000000002625ecdd4a9e31e3e5d398c2c489a5a5c3d2dc2f000000000000000000000000e734e1a56f03b3ae70640363a8c83e3994ec9e4a

-----Decoded View---------------
Arg [0] : _tradingFundWallet (address): 0x2625Ecdd4A9E31e3e5d398c2c489a5a5c3D2DC2f
Arg [1] : _devWallet (address): 0xE734E1A56F03b3Ae70640363A8C83E3994EC9e4a

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002625ecdd4a9e31e3e5d398c2c489a5a5c3d2dc2f
Arg [1] : 000000000000000000000000e734e1a56f03b3ae70640363a8c83e3994ec9e4a


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  ]

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.