ETH Price: $3,328.11 (-1.81%)
 

Overview

Max Total Supply

420,690,000 TRAMP

Holders

35

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
898,591.4452688930945817 TRAMP

Value
$0.00
0xc8f455dada38ae63199a1edf162571bcc20560d4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DonnaTramp

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 8 : Tramp.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

/**
 *Telegram: https://t.me/VoteDonnaTramp
 * Twitter: https://x.com/VoteDonnaTramp
 * Website: https://donnatramp.com/
 */

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./ERC20.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./Uniswap.sol";

contract DonnaTramp is ERC20, Ownable, ReentrancyGuard {
    // Uniswap router and pair
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;

    // Dead address for token burns
    address public constant deadAddress = address(0xdead);

    // Wallet addresses for fee distribution
    address public trampWallet;
    address public devWallet;

    // Flags for trading and swapping
    bool private swapping;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool public limitsInEffect = true;

    // Block number when trading was enabled
    uint256 public tradingActiveBlock;

    // Maximum transaction amount and wallet balance
    uint256 public maxTransactionAmount;
    uint256 public maxWallet;

    // Fee percentages
    uint256 public buyTotalFees;
    uint256 public buyFee;

    uint256 public sellTotalFees;
    uint256 public sellFee;

    // Tokens accumulated for fees
    uint256 public tokensForFees;

    // Mappings for fee and transaction exclusions
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // Automated market maker pairs
    mapping(address => bool) public automatedMarketMakerPairs;

    // Events for tracking state changes
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event TrampWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event DevWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event TradingEnabled(uint256 blockNumber);
    event LimitsRemoved();
    event MaxTransactionAmountUpdated(uint256 newAmount);
    event MaxWalletUpdated(uint256 newAmount);
    event ExcludedFromMaxTransaction(address indexed account, bool isExcluded);
    event SwapEnabledUpdated(bool enabled);
    event BuyFeesUpdated(uint256 fee);
    event SellFeesUpdated(uint256 fee);
    event TokenSwap(uint256 tokensSwapped, uint256 ethReceived);
    event TokenSwapFailed(uint256 tokenAmount);
    event TokenSwapFailedWithReason(uint256 tokenAmount, string reason);
    event TokenSwapFailedWithData(uint256 tokenAmount, bytes data);


    constructor(address _router) ERC20("Donna Tramp", "TRAMP") {
        address _owner = _msgSender();

        uint256 totalSupply_ = 420_690_000 * (10 ** decimals());

        maxTransactionAmount = totalSupply_ * 2 / 100;
        maxWallet = totalSupply_ * 2 / 100;

        buyFee = 30; // 30% buy fee - Once fee is reduced, it cannot be raised again!
        buyTotalFees = buyFee;

        sellFee = 30; // 30% sell fee - Once fee is reduced, it cannot be raised again!
        sellTotalFees = sellFee;

        // Set initial trampWallet and devWallet to specific addresses
        trampWallet = address(0x48A853cDA0525B8779d3F652D5152C65B876082B);
        devWallet = address(0xE886Bb9dB058B5631Cfc3ea7945bEB33a503f238);

        require(_router != address(0), "Router address cannot be zero");

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_router);

        uniswapV2Router = _uniswapV2Router;

        excludeFromMaxTransaction(address(_uniswapV2Router), true);

        // Create or get existing Uniswap pair for this token
        address existingPair = IUniswapV2Factory(_uniswapV2Router.factory())
            .getPair(address(this), _uniswapV2Router.WETH());
        if (existingPair != address(0)) {
            uniswapV2Pair = existingPair;
        } else {
            uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
                .createPair(address(this), _uniswapV2Router.WETH());
        }

        _setAutomatedMarketMakerPair(uniswapV2Pair, true);

        // Exclude from fees and max transaction limits
        excludeFromFees(_owner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);

        excludeFromMaxTransaction(_owner, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);

        // Mint total supply to the owner
        _mint(_owner, totalSupply_);
    }

    /**
     * @dev Enables trading and allows swaps
     */
    function enableTrading() external onlyOwner {
        require(trampWallet != address(0), "Tramp wallet not set");
        require(devWallet != address(0), "Dev wallet not set");
        tradingActive = true;
        swapEnabled = true;
        limitsInEffect = true; // Ensure limits are in effect when trading is enabled
        tradingActiveBlock = block.number;
        emit TradingEnabled(block.number);
    }

    /**
     * @dev Removes transaction and wallet limits
     */
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        emit LimitsRemoved();
        return true;
    }

    /**
     * @dev Updates the maximum transaction amount
     * @param newAmount The new maximum transaction amount
     */
    function updateMaxTransactionAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount >= (totalSupply() * 1) / 100,
            "Cannot set maxTransactionAmount lower than 1%"
        );
        maxTransactionAmount = newAmount;
        emit MaxTransactionAmountUpdated(newAmount);
    }

    /**
     * @dev Updates the maximum wallet balance
     * @param newAmount The new maximum wallet balance
     */
    function updateMaxWallet(uint256 newAmount) external onlyOwner {
        require(
            newAmount >= (totalSupply() * 1) / 100,
            "Cannot set maxWallet lower than 1%"
        );
        maxWallet = newAmount;
        emit MaxWalletUpdated(newAmount);
    }

    /**
     * @dev Excludes or includes an account from the max transaction limit
     * @param account The account to modify
     * @param isExcluded Whether the account is excluded
     */
    function excludeFromMaxTransaction(address account, bool isExcluded)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[account] = isExcluded;
        emit ExcludedFromMaxTransaction(account, isExcluded);
    }

    /**
     * @dev Enables or disables the swap mechanism
     * @param enabled Whether swapping is enabled
     */
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
        emit SwapEnabledUpdated(enabled);
    }

    /**
     * @dev Excludes or includes an account from fees
     * @param account The account to modify
     * @param excluded Whether the account is excluded
     */
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    /**
     * @dev Sets an address as an automated market maker pair
     * @param pair The address to set
     * @param value Whether it is an AMM pair
     */
    function setAutomatedMarketMakerPair(address pair, bool value)
        external
        onlyOwner
    {
        require(pair != uniswapV2Pair, "Cannot remove primary pair");
        _setAutomatedMarketMakerPair(pair, value);
    }

    /**
     * @dev Internal function to set an AMM pair
     * @param pair The address to set
     * @param value Whether it is an AMM pair
     */
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    /**
     * @dev Updates the tramp wallet address
     * @param newWallet The new wallet address
     */
    function updateTrampWallet(address newWallet) external onlyOwner {
        require(
            newWallet != address(0),
            "New wallet cannot be the zero address"
        );
        emit TrampWalletUpdated(newWallet, trampWallet);
        trampWallet = newWallet;
    }

    /**
     * @dev Updates the dev wallet address
     * @param newWallet The new wallet address
     */
    function updateDevWallet(address newWallet) external onlyOwner {
        require(
            newWallet != address(0),
            "New wallet cannot be the zero address"
        );
        emit DevWalletUpdated(newWallet, devWallet);
        devWallet = newWallet;
    }

    /**
     * @dev Checks if an account is excluded from fees
     * @param account The account to check
     * @return True if excluded, false otherwise
     */
    function isExcludedFromFees(address account) external view returns (bool) {
        return _isExcludedFromFees[account];
    }

    /**
     * @dev Updates the buy fees
     * @param newFee The new buy fee percentage
     */
    function updateBuyFees(uint256 newFee) external onlyOwner {
        require(newFee <= 30, "Fee cannot exceed 30%");
        require(newFee <= buyFee, "Cannot increase fees");
        buyFee = newFee;
        buyTotalFees = buyFee;
        emit BuyFeesUpdated(buyFee);
    }

    /**
     * @dev Updates the sell fees
     * @param newFee The new sell fee percentage
     */
    function updateSellFees(uint256 newFee) external onlyOwner {
        require(newFee <= 30, "Fee cannot exceed 30%");
        require(newFee <= sellFee, "Cannot increase fees");
        sellFee = newFee;
        sellTotalFees = sellFee;
        emit SellFeesUpdated(sellFee);
    }

    /**
     * @dev Internal transfer function with fee logic
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from zero address");
        require(to != address(0), "ERC20: transfer to zero address");

        uint256 fromBalance = balanceOf(from);
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );

        // Prevent trading before it's enabled
        if (!tradingActive) {
            require(
                _isExcludedFromFees[from] || _isExcludedFromFees[to],
                "Trading is not active."
            );
        }

        // Early return if amount is zero
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        // Limits and transaction checks
        if (limitsInEffect && !swapping) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != deadAddress &&
                !_isExcludedMaxTransactionAmount[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                // Buy transaction
                if (automatedMarketMakerPairs[from]) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maximum allowed."
                    );
                    require(
                        balanceOf(to) + amount <= maxWallet,
                        "Recipient exceeds maximum wallet token amount."
                    );
                }
                // Sell transaction
                else if (automatedMarketMakerPairs[to]) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maximum allowed."
                    );
                }
                // Regular transfer
                else {
                    require(
                        balanceOf(to) + amount <= maxWallet,
                        "Recipient exceeds maximum wallet token amount."
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= tokensForFees;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
            swapBack();
            swapping = false;
        }

        bool takeFee = !swapping;

        // If any account is excluded from fee, remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;

        if (takeFee) {
            // On sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 100;
                tokensForFees += fees;
            }
            // On buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 100;
                tokensForFees += fees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    /**
     * @dev Swaps tokens for ETH using Uniswap
     * @param tokenAmount The amount of tokens to swap
     */
    function swapTokensForEth(uint256 tokenAmount) private {
    // Generate Uniswap pair path of token -> WETH
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

    // Approve token transfer to cover all possible scenarios
    _approve(address(this), address(uniswapV2Router), tokenAmount);

    // Attempt the swap and handle failures
    try uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
        tokenAmount,
        0, // Accept any amount of ETH
        path,
        address(this),
        block.timestamp
    ) {
        emit TokenSwap(tokenAmount, address(this).balance);
    } catch Error(string memory reason) {
        // Handle known errors with reason
        emit TokenSwapFailedWithReason(tokenAmount, reason);
        revert(reason);
    } catch (bytes memory lowLevelData) {
        // Handle unknown errors
        emit TokenSwapFailedWithData(tokenAmount, lowLevelData);
        revert("Swap failed due to an unknown error");
    }
}

    /**
     * @dev Swaps back tokens for ETH and distributes to wallets
     */
    function swapBack() private nonReentrant {
    swapping = true;

    uint256 contractBalance = balanceOf(address(this));
    uint256 tokensToSwap = tokensForFees;

    if (contractBalance == 0 || tokensToSwap == 0) {
        swapping = false;
        return;
    }

    if (tokensToSwap > (totalSupply() * 2) / 1000) {
        tokensToSwap = (totalSupply() * 2) / 1000; // Cap at 0.2% of total supply
    }

    uint256 initialETHBalance = address(this).balance;

    // Attempt to swap tokens for ETH
    swapTokensForEth(tokensToSwap);

    uint256 ethBalance = address(this).balance - initialETHBalance;

    // Only reduce tokensForFees if swap was successful
    tokensForFees -= tokensToSwap;

    if (ethBalance > 0) {
        uint256 ethForDev = (ethBalance * 20) / 100; // 20% to dev wallet
        uint256 ethForTramp = ethBalance - ethForDev; // Remaining 80% to tramp wallet

        // Transfer ETH to dev wallet
        if (ethForDev > 0) {
            (bool successDev, ) = devWallet.call{value: ethForDev, gas: 30000}("");
            require(successDev, "Failed to send ETH to dev wallet");
        }

        // Transfer ETH to tramp wallet
        if (ethForTramp > 0) {
            (bool successTramp, ) = trampWallet.call{value: ethForTramp, gas: 30000}("");
            require(successTramp, "Failed to send ETH to tramp wallet");
        }
    }

    swapping = false;
}

    /**
     * @dev Allows the owner to rescue ETH from the contract
     */
    function rescueETH() external onlyOwner nonReentrant {
        uint256 contractETHBalance = address(this).balance;
        require(contractETHBalance > 0, "No ETH to rescue");

        (bool success, ) = owner().call{value: contractETHBalance}("");
        require(success, "Transfer failed");
    }

    /**
     * @dev Allows the owner to rescue any ERC20 tokens, including the contract's own tokens.
     * @param tokenAddress The address of the token to rescue.
     */
    function rescueTokens(address tokenAddress) external onlyOwner {
        IERC20 token = IERC20(tokenAddress);
        uint256 contractTokenBalance = token.balanceOf(address(this));
        require(contractTokenBalance > 0, "No tokens in contract");
        token.transfer(owner(), contractTokenBalance);
    }

    // Receive function to accept ETH
    receive() external payable {}

    // Fallback function
    fallback() external payable {}
}

File 2 of 8 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

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

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;
    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue);
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), 'ERC20: transfer from the zero address');
        require(recipient != address(0), 'ERC20: transfer to the zero address');

        _balances[sender] -= amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: mint to the zero address');
        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), 'ERC20: burn from the zero address');
        _balances[account] -= amount;
        _totalSupply -= amount;
        emit Transfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), 'ERC20: approve from the zero address');
        require(spender != address(0), 'ERC20: approve to the zero address');
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
}

File 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import "./IERC20.sol";

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

File 6 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import "./Context.sol";

contract Ownable is Context {
    address private _owner;

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

    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), 'Ownable: caller is not the owner');
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

abstract contract ReentrancyGuard {
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    modifier nonReentrant() {
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
        _status = _ENTERED;
        _;
        _status = _NOT_ENTERED;
    }
}

File 8 of 8 : Uniswap.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

// IUniswapV2Pair Interface
interface IUniswapV2Pair {
    // Events
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
    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);
    
    // Functions
    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;
    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;
}

// IUniswapV2Factory Interface
interface IUniswapV2Factory {
    // Events
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
    
    // Functions
    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;
}

// IUniswapV2Router01 Interface
interface IUniswapV2Router01 {
    // Functions
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    
    // Liquidity functions
    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 amountETH);
    
    // Swap functions
    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);
    
    // Utility functions
    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);
}

// IUniswapV2Router02 Interface
interface IUniswapV2Router02 is IUniswapV2Router01 {
    // Additional swap functions supporting fee-on-transfer tokens
    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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"DevWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxWalletUpdated","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":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SellFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"TokenSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"TokenSwapFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"TokenSwapFailedWithData","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"TokenSwapFailedWithReason","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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"TrampWalletUpdated","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trampWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTrampWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526009805462ffffff60a81b1916600160b81b1790553480156200002657600080fd5b506040516200375838038062003758833981016040819052620000499162000841565b6040518060400160405280600b81526020016a0446f6e6e61205472616d760ac1b8152506040518060400160405280600581526020016405452414d560dc1b81525081600390816200009c919062000918565b506004620000ab828262000918565b5050506000620000c0620005b560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600655336000620001246012600a62000af9565b6200013490631913385062000b0a565b905060646200014582600262000b0a565b62000151919062000b24565b600b5560646200016382600262000b0a565b6200016f919062000b24565b600c55601e600e819055600d8190556010819055600f55600880546001600160a01b03199081167348a853cda0525b8779d3f652d5152c65b876082b179091556009805490911673e886bb9db058b5631cfc3ea7945beb33a503f2381790556001600160a01b0383166200022a5760405162461bcd60e51b815260206004820152601d60248201527f526f7574657220616464726573732063616e6e6f74206265207a65726f00000060448201526064015b60405180910390fd5b6001600160a01b0383166080528262000245816001620005b9565b6000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000286573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ac919062000841565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000320919062000841565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156200036c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000392919062000841565b90506001600160a01b03811615620003c557600780546001600160a01b0319166001600160a01b03831617905562000533565b816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000404573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200042a919062000841565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000478573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200049e919062000841565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620004ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000512919062000841565b600780546001600160a01b0319166001600160a01b03929092169190911790555b6007546200054c906001600160a01b0316600162000664565b62000559846001620006b8565b62000566306001620006b8565b6200057561dead6001620006b8565b62000582846001620005b9565b6200058f306001620005b9565b6200059e61dead6001620005b9565b620005aa84846200075c565b505050505062000b5d565b3390565b6005546001600160a01b03163314620006045760405162461bcd60e51b8152602060048201819052602482015260008051602062003738833981519152604482015260640162000221565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f388758d239a7790471b273e3760fe65d6424024ca3adb4582f843cec8e71ba5e91015b60405180910390a25050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620007035760405162461bcd60e51b8152602060048201819052602482015260008051602062003738833981519152604482015260640162000221565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910162000658565b6001600160a01b038216620007b45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000221565b8060026000828254620007c8919062000b47565b90915550506001600160a01b03821660009081526020819052604081208054839290620007f790849062000b47565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156200085457600080fd5b81516001600160a01b03811681146200086c57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200089e57607f821691505b602082108103620008bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200091357600081815260208120601f850160051c81016020861015620008ee5750805b601f850160051c820191505b818110156200090f57828155600101620008fa565b5050505b505050565b81516001600160401b0381111562000934576200093462000873565b6200094c8162000945845462000889565b84620008c5565b602080601f8311600181146200098457600084156200096b5750858301515b600019600386901b1c1916600185901b1785556200090f565b600085815260208120601f198616915b82811015620009b55788860151825594840194600190910190840162000994565b5085821015620009d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000a3b57816000190482111562000a1f5762000a1f620009e4565b8085161562000a2d57918102915b93841c9390800290620009ff565b509250929050565b60008262000a545750600162000af3565b8162000a635750600062000af3565b816001811462000a7c576002811462000a875762000aa7565b600191505062000af3565b60ff84111562000a9b5762000a9b620009e4565b50506001821b62000af3565b5060208310610133831016604e8410600b841016171562000acc575081810a62000af3565b62000ad88383620009fa565b806000190482111562000aef5762000aef620009e4565b0290505b92915050565b60006200086c60ff84168362000a43565b808202811582820484141762000af35762000af3620009e4565b60008262000b4257634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000af35762000af3620009e4565b608051612baa62000b8e600039600081816103390152818161239e0152818161245701526124930152612baa6000f3fe6080604052600436106102735760003560e01c806370a082311161014e578063a9059cbb116100bb578063d85ba06311610077578063d85ba063146107bb578063dd62ed3e146107d1578063eba4c33314610817578063ee40166e14610837578063f2fde38b1461084d578063f8b45b051461086d57005b8063a9059cbb146106f4578063aa49802314610714578063b62496f514610734578063bbc0c74214610764578063c024666814610785578063c8c8ebe4146107a557005b80638da5cb5b1161010a5780638da5cb5b146106415780638ea5220f1461065f578063924de9b71461067f57806395d89b411461069f5780639a7a23d6146106b4578063a457c2d7146106d457005b806370a082311461058c578063715018a6146105c257806371fc4688146105d7578063751039fc146105f75780637571336a1461060c5780638a8c523c1461062c57005b806327e20c21116101ec57806347062402116101a857806347062402146104c557806349bd5a5e146104db5780634a62bb65146104fb5780634fbee1931461051c5780636a486a8e146105555780636ddd17131461056b57005b806327e20c211461041d5780632b14ca561461043d578063313ce56714610453578063353fe0861461046f578063395093511461048f5780633f8a6204146104af57005b806318160ddd1161023b57806318160ddd146103735780631816467f146103925780631c499ab0146103b257806320800a00146103d257806323b872dd146103e757806327c8f8351461040757005b8062ae3bf81461027c57806306fdde031461029c578063095ea7b3146102c757806310d5de53146102f75780631694505e1461032757005b3661027a57005b005b34801561028857600080fd5b5061027a61029736600461268d565b610883565b3480156102a857600080fd5b506102b1610a05565b6040516102be91906126f7565b60405180910390f35b3480156102d357600080fd5b506102e76102e236600461270a565b610a97565b60405190151581526020016102be565b34801561030357600080fd5b506102e761031236600461268d565b60136020526000908152604090205460ff1681565b34801561033357600080fd5b5061035b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102be565b34801561037f57600080fd5b506002545b6040519081526020016102be565b34801561039e57600080fd5b5061027a6103ad36600461268d565b610aae565b3480156103be57600080fd5b5061027a6103cd366004612736565b610b5b565b3480156103de57600080fd5b5061027a610c3b565b3480156103f357600080fd5b506102e761040236600461274f565b610dac565b34801561041357600080fd5b5061035b61dead81565b34801561042957600080fd5b5060085461035b906001600160a01b031681565b34801561044957600080fd5b5061038460105481565b34801561045f57600080fd5b50604051601281526020016102be565b34801561047b57600080fd5b5061027a61048a36600461268d565b610dfe565b34801561049b57600080fd5b506102e76104aa36600461270a565b610eab565b3480156104bb57600080fd5b5061038460115481565b3480156104d157600080fd5b50610384600e5481565b3480156104e757600080fd5b5060075461035b906001600160a01b031681565b34801561050757600080fd5b506009546102e790600160b81b900460ff1681565b34801561052857600080fd5b506102e761053736600461268d565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561056157600080fd5b50610384600f5481565b34801561057757600080fd5b506009546102e790600160b01b900460ff1681565b34801561059857600080fd5b506103846105a736600461268d565b6001600160a01b031660009081526020819052604090205490565b3480156105ce57600080fd5b5061027a610ee2565b3480156105e357600080fd5b5061027a6105f2366004612736565b610f56565b34801561060357600080fd5b506102e761104c565b34801561061857600080fd5b5061027a61062736600461279e565b6110b6565b34801561063857600080fd5b5061027a611140565b34801561064d57600080fd5b506005546001600160a01b031661035b565b34801561066b57600080fd5b5060095461035b906001600160a01b031681565b34801561068b57600080fd5b5061027a61069a3660046127d7565b611258565b3480156106ab57600080fd5b506102b16112cf565b3480156106c057600080fd5b5061027a6106cf36600461279e565b6112de565b3480156106e057600080fd5b506102e76106ef36600461270a565b611374565b34801561070057600080fd5b506102e761070f36600461270a565b6113ab565b34801561072057600080fd5b5061027a61072f366004612736565b6113b8565b34801561074057600080fd5b506102e761074f36600461268d565b60146020526000908152604090205460ff1681565b34801561077057600080fd5b506009546102e790600160a81b900460ff1681565b34801561079157600080fd5b5061027a6107a036600461279e565b61149c565b3480156107b157600080fd5b50610384600b5481565b3480156107c757600080fd5b50610384600d5481565b3480156107dd57600080fd5b506103846107ec3660046127f4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561082357600080fd5b5061027a610832366004612736565b61151e565b34801561084357600080fd5b50610384600a5481565b34801561085957600080fd5b5061027a61086836600461268d565b611614565b34801561087957600080fd5b50610384600c5481565b6005546001600160a01b031633146108b65760405162461bcd60e51b81526004016108ad90612822565b60405180910390fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109239190612857565b90506000811161096d5760405162461bcd60e51b8152602060048201526015602482015274139bc81d1bdad95b9cc81a5b8818dbdb9d1c9858dd605a1b60448201526064016108ad565b816001600160a01b031663a9059cbb61098e6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190612870565b50505050565b606060038054610a149061288d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a409061288d565b8015610a8d5780601f10610a6257610100808354040283529160200191610a8d565b820191906000526020600020905b815481529060010190602001808311610a7057829003601f168201915b5050505050905090565b6000610aa43384846116ff565b5060015b92915050565b6005546001600160a01b03163314610ad85760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038116610afe5760405162461bcd60e51b81526004016108ad906128c7565b6009546040516001600160a01b03918216918316907f0db17895a9d092fb3ca24d626f2150dd80c185b0706b36f1040ee239f56cb87190600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610b855760405162461bcd60e51b81526004016108ad90612822565b6064610b9060025490565b610b9b906001612922565b610ba59190612939565b811015610bff5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b60648201526084016108ad565b600c8190556040518181527f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace906020015b60405180910390a150565b6005546001600160a01b03163314610c655760405162461bcd60e51b81526004016108ad90612822565b600260065403610cb75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ad565b60026006554780610cfd5760405162461bcd60e51b815260206004820152601060248201526f4e6f2045544820746f2072657363756560801b60448201526064016108ad565b6000610d116005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d5b576040519150601f19603f3d011682016040523d82523d6000602084013e610d60565b606091505b5050905080610da35760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016108ad565b50506001600655565b6000610db9848484611824565b6001600160a01b038416600090815260016020908152604080832033808552925290912054610df4918691610def90869061295b565b6116ff565b5060019392505050565b6005546001600160a01b03163314610e285760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038116610e4e5760405162461bcd60e51b81526004016108ad906128c7565b6008546040516001600160a01b03918216918316907f46825af71ce265104c7eb062c20202c4e7caa677d25d419750d8f0d126eab69b90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610aa4918590610def90869061296e565b6005546001600160a01b03163314610f0c5760405162461bcd60e51b81526004016108ad90612822565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610f805760405162461bcd60e51b81526004016108ad90612822565b601e811115610fc95760405162461bcd60e51b81526020600482015260156024820152744665652063616e6e6f74206578636565642033302560581b60448201526064016108ad565b600e548111156110125760405162461bcd60e51b815260206004820152601460248201527343616e6e6f7420696e637265617365206665657360601b60448201526064016108ad565b600e819055600d8190556040518181527f491005465ab6f82fd10f4b13a1b1e5ca452bc4856b019f63775e33a6b1ad2feb90602001610c30565b6005546000906001600160a01b031633146110795760405162461bcd60e51b81526004016108ad90612822565b6009805460ff60b81b191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a15060015b90565b6005546001600160a01b031633146110e05760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f388758d239a7790471b273e3760fe65d6424024ca3adb4582f843cec8e71ba5e91015b60405180910390a25050565b6005546001600160a01b0316331461116a5760405162461bcd60e51b81526004016108ad90612822565b6008546001600160a01b03166111b95760405162461bcd60e51b8152602060048201526014602482015273151c985b5c081dd85b1b195d081b9bdd081cd95d60621b60448201526064016108ad565b6009546001600160a01b03166112065760405162461bcd60e51b815260206004820152601260248201527111195d881dd85b1b195d081b9bdd081cd95d60721b60448201526064016108ad565b6009805462ffffff60a81b19166201010160a81b17905543600a8190556040519081527fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e9239060200160405180910390a1565b6005546001600160a01b031633146112825760405162461bcd60e51b81526004016108ad90612822565b60098054821515600160b01b0260ff60b01b199091161790556040517f436b6cf978c7b6998fcce43dfe4d37e3a0dc2bb780144a2eb55d7138201e8a1290610c3090831515815260200190565b606060048054610a149061288d565b6005546001600160a01b031633146113085760405162461bcd60e51b81526004016108ad90612822565b6007546001600160a01b03908116908316036113665760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742072656d6f7665207072696d617279207061697200000000000060448201526064016108ad565b6113708282611eba565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610aa4918590610def90869061295b565b6000610aa4338484611824565b6005546001600160a01b031633146113e25760405162461bcd60e51b81526004016108ad90612822565b60646113ed60025490565b6113f8906001612922565b6114029190612939565b8110156114675760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b60648201526084016108ad565b600b8190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610c30565b6005546001600160a01b031633146114c65760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101611134565b6005546001600160a01b031633146115485760405162461bcd60e51b81526004016108ad90612822565b601e8111156115915760405162461bcd60e51b81526020600482015260156024820152744665652063616e6e6f74206578636565642033302560581b60448201526064016108ad565b6010548111156115da5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f7420696e637265617365206665657360601b60448201526064016108ad565b6010819055600f8190556040518181527f16df2c25b3392f376a685a3826b941b25140108d95899d6b1bd983feafbc1c5590602001610c30565b6005546001600160a01b0316331461163e5760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b0381166116a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ad565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166117615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ad565b6001600160a01b0382166117c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ad565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118845760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b60648201526084016108ad565b6001600160a01b0382166118da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f20616464726573730060448201526064016108ad565b6001600160a01b038316600090815260208190526040902054818110156119525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ad565b600954600160a81b900460ff166119e7576001600160a01b03841660009081526012602052604090205460ff16806119a257506001600160a01b03831660009081526012602052604090205460ff165b6119e75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108ad565b816000036119fb576109ff84846000611f0e565b600954600160b81b900460ff168015611a1e5750600954600160a01b900460ff16155b15611c7d576005546001600160a01b03858116911614801590611a4f57506005546001600160a01b03848116911614155b8015611a6357506001600160a01b03831615155b8015611a7a57506001600160a01b03831661dead14155b8015611a9f57506001600160a01b03841660009081526013602052604090205460ff16155b8015611ac457506001600160a01b03831660009081526013602052604090205460ff16155b15611c7d576001600160a01b03841660009081526014602052604090205460ff1615611ba557600b54821115611b555760405162461bcd60e51b815260206004820152603060248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526f36b0bc34b6bab69030b63637bbb2b21760811b60648201526084016108ad565b600c5482611b78856001600160a01b031660009081526020819052604090205490565b611b82919061296e565b1115611ba05760405162461bcd60e51b81526004016108ad90612981565b611c7d565b6001600160a01b03831660009081526014602052604090205460ff1615611c3257600b54821115611ba05760405162461bcd60e51b815260206004820152603160248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152701036b0bc34b6bab69030b63637bbb2b21760791b60648201526084016108ad565b600c5482611c55856001600160a01b031660009081526020819052604090205490565b611c5f919061296e565b1115611c7d5760405162461bcd60e51b81526004016108ad90612981565b3060009081526020819052604090205460115481108015908190611caa5750600954600160b01b900460ff165b8015611cc05750600954600160a01b900460ff16155b8015611ce557506001600160a01b03861660009081526014602052604090205460ff16155b8015611d0a57506001600160a01b03861660009081526012602052604090205460ff16155b8015611d2f57506001600160a01b03851660009081526012602052604090205460ff16155b15611d5d576009805460ff60a01b1916600160a01b179055611d4f612075565b6009805460ff60a01b191690555b6009546001600160a01b03871660009081526012602052604090205460ff600160a01b909204821615911680611dab57506001600160a01b03861660009081526012602052604090205460ff165b15611db4575060005b60008115611ea5576001600160a01b03871660009081526014602052604090205460ff168015611de657506000600f54115b15611e24576064600f5487611dfb9190612922565b611e059190612939565b90508060116000828254611e19919061296e565b90915550611e879050565b6001600160a01b03881660009081526014602052604090205460ff168015611e4e57506000600d54115b15611e87576064600d5487611e639190612922565b611e6d9190612939565b90508060116000828254611e81919061296e565b90915550505b8015611e9857611e98883083611f0e565b611ea2818761295b565b95505b611eb0888888611f0e565b5050505050505050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ad565b6001600160a01b038216611fd45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ad565b6001600160a01b03831660009081526020819052604081208054839290611ffc90849061295b565b90915550506001600160a01b0382166000908152602081905260408120805483929061202990849061296e565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161181791815260200190565b6002600654036120c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ad565b60026006556009805460ff60a01b1916600160a01b179055306000908152602081905260409020546011548115806120fd575080155b156121165750506009805460ff60a01b19169055612340565b6103e861212260025490565b61212d906002612922565b6121379190612939565b811115612162576103e861214a60025490565b612155906002612922565b61215f9190612939565b90505b4761216c82612347565b6000612178824761295b565b9050826011600082825461218c919061295b565b9091555050801561232e57600060646121a6836014612922565b6121b09190612939565b905060006121be828461295b565b90508115612270576009546040516000916001600160a01b03169061753090859084818181858888f193505050503d8060008114612218576040519150601f19603f3d011682016040523d82523d6000602084013e61221d565b606091505b505090508061226e5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c657460448201526064016108ad565b505b801561232b576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146122c8576040519150601f19603f3d011682016040523d82523d6000602084013e6122cd565b606091505b50509050806123295760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e642045544820746f207472616d702077616c6c604482015261195d60f21b60648201526084016108ad565b505b50505b50506009805460ff60a01b1916905550505b6001600655565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061237c5761237c6129cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241e91906129e5565b81600181518110612431576124316129cf565b60200260200101906001600160a01b031690816001600160a01b03168152505061247c307f0000000000000000000000000000000000000000000000000000000000000000846116ff565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906124d1908590600090869030904290600401612a02565b600060405180830381600087803b1580156124eb57600080fd5b505af19250505080156124fc575060015b61263957612508612a73565b806308c379a00361257a575061251c612ac9565b80612527575061257c565b7fdf56312a616c0a93bb5bc464e3b9e2514160a42cbc69db8a095db22d397b4a198382604051612558929190612b53565b60405180910390a18060405162461bcd60e51b81526004016108ad91906126f7565b505b3d8080156125a6576040519150601f19603f3d011682016040523d82523d6000602084013e6125ab565b606091505b507fcac61de4cc24e08946cbe1f74266e89411092e0723d52258d0b9f3b6142c1df683826040516125dd929190612b53565b60405180910390a160405162461bcd60e51b815260206004820152602360248201527f53776170206661696c65642064756520746f20616e20756e6b6e6f776e2065726044820152623937b960e91b60648201526084016108ad565b604080518381524760208201527fa808b9f34dc92cf15d3573b357678c78b5aeb0ae55a5d0fb3915b2a3611649c5910160405180910390a15050565b6001600160a01b038116811461268a57600080fd5b50565b60006020828403121561269f57600080fd5b81356126aa81612675565b9392505050565b6000815180845260005b818110156126d7576020818501810151868301820152016126bb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006126aa60208301846126b1565b6000806040838503121561271d57600080fd5b823561272881612675565b946020939093013593505050565b60006020828403121561274857600080fd5b5035919050565b60008060006060848603121561276457600080fd5b833561276f81612675565b9250602084013561277f81612675565b929592945050506040919091013590565b801515811461268a57600080fd5b600080604083850312156127b157600080fd5b82356127bc81612675565b915060208301356127cc81612790565b809150509250929050565b6000602082840312156127e957600080fd5b81356126aa81612790565b6000806040838503121561280757600080fd5b823561281281612675565b915060208301356127cc81612675565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561286957600080fd5b5051919050565b60006020828403121561288257600080fd5b81516126aa81612790565b600181811c908216806128a157607f821691505b6020821081036128c157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f4e65772077616c6c65742063616e6e6f7420626520746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aa857610aa861290c565b60008261295657634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610aa857610aa861290c565b80820180821115610aa857610aa861290c565b6020808252602e908201527f526563697069656e742065786365656473206d6178696d756d2077616c6c657460408201526d103a37b5b2b71030b6b7bab73a1760911b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129f757600080fd5b81516126aa81612675565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612a525784516001600160a01b031683529383019391830191600101612a2d565b50506001600160a01b03969096166060850152505050608001529392505050565b600060033d11156110b35760046000803e5060005160e01c90565b601f8201601f1916810167ffffffffffffffff81118282101715612ac257634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015612ad75790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612b0757505050505090565b8285019150815181811115612b1f5750505050505090565b843d8701016020828501011115612b395750505050505090565b612b4860208286010187612a8e565b509095945050505050565b828152604060208201526000612b6c60408301846126b1565b94935050505056fea2646970667358221220c8eb820ef5c738b6017afb67b4a45bd790f7d60fc5f13005b920403c551b100564736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106102735760003560e01c806370a082311161014e578063a9059cbb116100bb578063d85ba06311610077578063d85ba063146107bb578063dd62ed3e146107d1578063eba4c33314610817578063ee40166e14610837578063f2fde38b1461084d578063f8b45b051461086d57005b8063a9059cbb146106f4578063aa49802314610714578063b62496f514610734578063bbc0c74214610764578063c024666814610785578063c8c8ebe4146107a557005b80638da5cb5b1161010a5780638da5cb5b146106415780638ea5220f1461065f578063924de9b71461067f57806395d89b411461069f5780639a7a23d6146106b4578063a457c2d7146106d457005b806370a082311461058c578063715018a6146105c257806371fc4688146105d7578063751039fc146105f75780637571336a1461060c5780638a8c523c1461062c57005b806327e20c21116101ec57806347062402116101a857806347062402146104c557806349bd5a5e146104db5780634a62bb65146104fb5780634fbee1931461051c5780636a486a8e146105555780636ddd17131461056b57005b806327e20c211461041d5780632b14ca561461043d578063313ce56714610453578063353fe0861461046f578063395093511461048f5780633f8a6204146104af57005b806318160ddd1161023b57806318160ddd146103735780631816467f146103925780631c499ab0146103b257806320800a00146103d257806323b872dd146103e757806327c8f8351461040757005b8062ae3bf81461027c57806306fdde031461029c578063095ea7b3146102c757806310d5de53146102f75780631694505e1461032757005b3661027a57005b005b34801561028857600080fd5b5061027a61029736600461268d565b610883565b3480156102a857600080fd5b506102b1610a05565b6040516102be91906126f7565b60405180910390f35b3480156102d357600080fd5b506102e76102e236600461270a565b610a97565b60405190151581526020016102be565b34801561030357600080fd5b506102e761031236600461268d565b60136020526000908152604090205460ff1681565b34801561033357600080fd5b5061035b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102be565b34801561037f57600080fd5b506002545b6040519081526020016102be565b34801561039e57600080fd5b5061027a6103ad36600461268d565b610aae565b3480156103be57600080fd5b5061027a6103cd366004612736565b610b5b565b3480156103de57600080fd5b5061027a610c3b565b3480156103f357600080fd5b506102e761040236600461274f565b610dac565b34801561041357600080fd5b5061035b61dead81565b34801561042957600080fd5b5060085461035b906001600160a01b031681565b34801561044957600080fd5b5061038460105481565b34801561045f57600080fd5b50604051601281526020016102be565b34801561047b57600080fd5b5061027a61048a36600461268d565b610dfe565b34801561049b57600080fd5b506102e76104aa36600461270a565b610eab565b3480156104bb57600080fd5b5061038460115481565b3480156104d157600080fd5b50610384600e5481565b3480156104e757600080fd5b5060075461035b906001600160a01b031681565b34801561050757600080fd5b506009546102e790600160b81b900460ff1681565b34801561052857600080fd5b506102e761053736600461268d565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561056157600080fd5b50610384600f5481565b34801561057757600080fd5b506009546102e790600160b01b900460ff1681565b34801561059857600080fd5b506103846105a736600461268d565b6001600160a01b031660009081526020819052604090205490565b3480156105ce57600080fd5b5061027a610ee2565b3480156105e357600080fd5b5061027a6105f2366004612736565b610f56565b34801561060357600080fd5b506102e761104c565b34801561061857600080fd5b5061027a61062736600461279e565b6110b6565b34801561063857600080fd5b5061027a611140565b34801561064d57600080fd5b506005546001600160a01b031661035b565b34801561066b57600080fd5b5060095461035b906001600160a01b031681565b34801561068b57600080fd5b5061027a61069a3660046127d7565b611258565b3480156106ab57600080fd5b506102b16112cf565b3480156106c057600080fd5b5061027a6106cf36600461279e565b6112de565b3480156106e057600080fd5b506102e76106ef36600461270a565b611374565b34801561070057600080fd5b506102e761070f36600461270a565b6113ab565b34801561072057600080fd5b5061027a61072f366004612736565b6113b8565b34801561074057600080fd5b506102e761074f36600461268d565b60146020526000908152604090205460ff1681565b34801561077057600080fd5b506009546102e790600160a81b900460ff1681565b34801561079157600080fd5b5061027a6107a036600461279e565b61149c565b3480156107b157600080fd5b50610384600b5481565b3480156107c757600080fd5b50610384600d5481565b3480156107dd57600080fd5b506103846107ec3660046127f4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561082357600080fd5b5061027a610832366004612736565b61151e565b34801561084357600080fd5b50610384600a5481565b34801561085957600080fd5b5061027a61086836600461268d565b611614565b34801561087957600080fd5b50610384600c5481565b6005546001600160a01b031633146108b65760405162461bcd60e51b81526004016108ad90612822565b60405180910390fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156108ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109239190612857565b90506000811161096d5760405162461bcd60e51b8152602060048201526015602482015274139bc81d1bdad95b9cc81a5b8818dbdb9d1c9858dd605a1b60448201526064016108ad565b816001600160a01b031663a9059cbb61098e6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190612870565b50505050565b606060038054610a149061288d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a409061288d565b8015610a8d5780601f10610a6257610100808354040283529160200191610a8d565b820191906000526020600020905b815481529060010190602001808311610a7057829003601f168201915b5050505050905090565b6000610aa43384846116ff565b5060015b92915050565b6005546001600160a01b03163314610ad85760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038116610afe5760405162461bcd60e51b81526004016108ad906128c7565b6009546040516001600160a01b03918216918316907f0db17895a9d092fb3ca24d626f2150dd80c185b0706b36f1040ee239f56cb87190600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610b855760405162461bcd60e51b81526004016108ad90612822565b6064610b9060025490565b610b9b906001612922565b610ba59190612939565b811015610bff5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b60648201526084016108ad565b600c8190556040518181527f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace906020015b60405180910390a150565b6005546001600160a01b03163314610c655760405162461bcd60e51b81526004016108ad90612822565b600260065403610cb75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ad565b60026006554780610cfd5760405162461bcd60e51b815260206004820152601060248201526f4e6f2045544820746f2072657363756560801b60448201526064016108ad565b6000610d116005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d5b576040519150601f19603f3d011682016040523d82523d6000602084013e610d60565b606091505b5050905080610da35760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016108ad565b50506001600655565b6000610db9848484611824565b6001600160a01b038416600090815260016020908152604080832033808552925290912054610df4918691610def90869061295b565b6116ff565b5060019392505050565b6005546001600160a01b03163314610e285760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038116610e4e5760405162461bcd60e51b81526004016108ad906128c7565b6008546040516001600160a01b03918216918316907f46825af71ce265104c7eb062c20202c4e7caa677d25d419750d8f0d126eab69b90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610aa4918590610def90869061296e565b6005546001600160a01b03163314610f0c5760405162461bcd60e51b81526004016108ad90612822565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610f805760405162461bcd60e51b81526004016108ad90612822565b601e811115610fc95760405162461bcd60e51b81526020600482015260156024820152744665652063616e6e6f74206578636565642033302560581b60448201526064016108ad565b600e548111156110125760405162461bcd60e51b815260206004820152601460248201527343616e6e6f7420696e637265617365206665657360601b60448201526064016108ad565b600e819055600d8190556040518181527f491005465ab6f82fd10f4b13a1b1e5ca452bc4856b019f63775e33a6b1ad2feb90602001610c30565b6005546000906001600160a01b031633146110795760405162461bcd60e51b81526004016108ad90612822565b6009805460ff60b81b191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a15060015b90565b6005546001600160a01b031633146110e05760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f388758d239a7790471b273e3760fe65d6424024ca3adb4582f843cec8e71ba5e91015b60405180910390a25050565b6005546001600160a01b0316331461116a5760405162461bcd60e51b81526004016108ad90612822565b6008546001600160a01b03166111b95760405162461bcd60e51b8152602060048201526014602482015273151c985b5c081dd85b1b195d081b9bdd081cd95d60621b60448201526064016108ad565b6009546001600160a01b03166112065760405162461bcd60e51b815260206004820152601260248201527111195d881dd85b1b195d081b9bdd081cd95d60721b60448201526064016108ad565b6009805462ffffff60a81b19166201010160a81b17905543600a8190556040519081527fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e9239060200160405180910390a1565b6005546001600160a01b031633146112825760405162461bcd60e51b81526004016108ad90612822565b60098054821515600160b01b0260ff60b01b199091161790556040517f436b6cf978c7b6998fcce43dfe4d37e3a0dc2bb780144a2eb55d7138201e8a1290610c3090831515815260200190565b606060048054610a149061288d565b6005546001600160a01b031633146113085760405162461bcd60e51b81526004016108ad90612822565b6007546001600160a01b03908116908316036113665760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742072656d6f7665207072696d617279207061697200000000000060448201526064016108ad565b6113708282611eba565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610aa4918590610def90869061295b565b6000610aa4338484611824565b6005546001600160a01b031633146113e25760405162461bcd60e51b81526004016108ad90612822565b60646113ed60025490565b6113f8906001612922565b6114029190612939565b8110156114675760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b60648201526084016108ad565b600b8190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610c30565b6005546001600160a01b031633146114c65760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101611134565b6005546001600160a01b031633146115485760405162461bcd60e51b81526004016108ad90612822565b601e8111156115915760405162461bcd60e51b81526020600482015260156024820152744665652063616e6e6f74206578636565642033302560581b60448201526064016108ad565b6010548111156115da5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f7420696e637265617365206665657360601b60448201526064016108ad565b6010819055600f8190556040518181527f16df2c25b3392f376a685a3826b941b25140108d95899d6b1bd983feafbc1c5590602001610c30565b6005546001600160a01b0316331461163e5760405162461bcd60e51b81526004016108ad90612822565b6001600160a01b0381166116a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ad565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166117615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ad565b6001600160a01b0382166117c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ad565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166118845760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b60648201526084016108ad565b6001600160a01b0382166118da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f20616464726573730060448201526064016108ad565b6001600160a01b038316600090815260208190526040902054818110156119525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ad565b600954600160a81b900460ff166119e7576001600160a01b03841660009081526012602052604090205460ff16806119a257506001600160a01b03831660009081526012602052604090205460ff165b6119e75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108ad565b816000036119fb576109ff84846000611f0e565b600954600160b81b900460ff168015611a1e5750600954600160a01b900460ff16155b15611c7d576005546001600160a01b03858116911614801590611a4f57506005546001600160a01b03848116911614155b8015611a6357506001600160a01b03831615155b8015611a7a57506001600160a01b03831661dead14155b8015611a9f57506001600160a01b03841660009081526013602052604090205460ff16155b8015611ac457506001600160a01b03831660009081526013602052604090205460ff16155b15611c7d576001600160a01b03841660009081526014602052604090205460ff1615611ba557600b54821115611b555760405162461bcd60e51b815260206004820152603060248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526f36b0bc34b6bab69030b63637bbb2b21760811b60648201526084016108ad565b600c5482611b78856001600160a01b031660009081526020819052604090205490565b611b82919061296e565b1115611ba05760405162461bcd60e51b81526004016108ad90612981565b611c7d565b6001600160a01b03831660009081526014602052604090205460ff1615611c3257600b54821115611ba05760405162461bcd60e51b815260206004820152603160248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152701036b0bc34b6bab69030b63637bbb2b21760791b60648201526084016108ad565b600c5482611c55856001600160a01b031660009081526020819052604090205490565b611c5f919061296e565b1115611c7d5760405162461bcd60e51b81526004016108ad90612981565b3060009081526020819052604090205460115481108015908190611caa5750600954600160b01b900460ff165b8015611cc05750600954600160a01b900460ff16155b8015611ce557506001600160a01b03861660009081526014602052604090205460ff16155b8015611d0a57506001600160a01b03861660009081526012602052604090205460ff16155b8015611d2f57506001600160a01b03851660009081526012602052604090205460ff16155b15611d5d576009805460ff60a01b1916600160a01b179055611d4f612075565b6009805460ff60a01b191690555b6009546001600160a01b03871660009081526012602052604090205460ff600160a01b909204821615911680611dab57506001600160a01b03861660009081526012602052604090205460ff165b15611db4575060005b60008115611ea5576001600160a01b03871660009081526014602052604090205460ff168015611de657506000600f54115b15611e24576064600f5487611dfb9190612922565b611e059190612939565b90508060116000828254611e19919061296e565b90915550611e879050565b6001600160a01b03881660009081526014602052604090205460ff168015611e4e57506000600d54115b15611e87576064600d5487611e639190612922565b611e6d9190612939565b90508060116000828254611e81919061296e565b90915550505b8015611e9857611e98883083611f0e565b611ea2818761295b565b95505b611eb0888888611f0e565b5050505050505050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ad565b6001600160a01b038216611fd45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ad565b6001600160a01b03831660009081526020819052604081208054839290611ffc90849061295b565b90915550506001600160a01b0382166000908152602081905260408120805483929061202990849061296e565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161181791815260200190565b6002600654036120c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ad565b60026006556009805460ff60a01b1916600160a01b179055306000908152602081905260409020546011548115806120fd575080155b156121165750506009805460ff60a01b19169055612340565b6103e861212260025490565b61212d906002612922565b6121379190612939565b811115612162576103e861214a60025490565b612155906002612922565b61215f9190612939565b90505b4761216c82612347565b6000612178824761295b565b9050826011600082825461218c919061295b565b9091555050801561232e57600060646121a6836014612922565b6121b09190612939565b905060006121be828461295b565b90508115612270576009546040516000916001600160a01b03169061753090859084818181858888f193505050503d8060008114612218576040519150601f19603f3d011682016040523d82523d6000602084013e61221d565b606091505b505090508061226e5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c657460448201526064016108ad565b505b801561232b576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146122c8576040519150601f19603f3d011682016040523d82523d6000602084013e6122cd565b606091505b50509050806123295760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e642045544820746f207472616d702077616c6c604482015261195d60f21b60648201526084016108ad565b505b50505b50506009805460ff60a01b1916905550505b6001600655565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061237c5761237c6129cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241e91906129e5565b81600181518110612431576124316129cf565b60200260200101906001600160a01b031690816001600160a01b03168152505061247c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846116ff565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906124d1908590600090869030904290600401612a02565b600060405180830381600087803b1580156124eb57600080fd5b505af19250505080156124fc575060015b61263957612508612a73565b806308c379a00361257a575061251c612ac9565b80612527575061257c565b7fdf56312a616c0a93bb5bc464e3b9e2514160a42cbc69db8a095db22d397b4a198382604051612558929190612b53565b60405180910390a18060405162461bcd60e51b81526004016108ad91906126f7565b505b3d8080156125a6576040519150601f19603f3d011682016040523d82523d6000602084013e6125ab565b606091505b507fcac61de4cc24e08946cbe1f74266e89411092e0723d52258d0b9f3b6142c1df683826040516125dd929190612b53565b60405180910390a160405162461bcd60e51b815260206004820152602360248201527f53776170206661696c65642064756520746f20616e20756e6b6e6f776e2065726044820152623937b960e91b60648201526084016108ad565b604080518381524760208201527fa808b9f34dc92cf15d3573b357678c78b5aeb0ae55a5d0fb3915b2a3611649c5910160405180910390a15050565b6001600160a01b038116811461268a57600080fd5b50565b60006020828403121561269f57600080fd5b81356126aa81612675565b9392505050565b6000815180845260005b818110156126d7576020818501810151868301820152016126bb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006126aa60208301846126b1565b6000806040838503121561271d57600080fd5b823561272881612675565b946020939093013593505050565b60006020828403121561274857600080fd5b5035919050565b60008060006060848603121561276457600080fd5b833561276f81612675565b9250602084013561277f81612675565b929592945050506040919091013590565b801515811461268a57600080fd5b600080604083850312156127b157600080fd5b82356127bc81612675565b915060208301356127cc81612790565b809150509250929050565b6000602082840312156127e957600080fd5b81356126aa81612790565b6000806040838503121561280757600080fd5b823561281281612675565b915060208301356127cc81612675565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561286957600080fd5b5051919050565b60006020828403121561288257600080fd5b81516126aa81612790565b600181811c908216806128a157607f821691505b6020821081036128c157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f4e65772077616c6c65742063616e6e6f7420626520746865207a65726f206164604082015264647265737360d81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aa857610aa861290c565b60008261295657634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610aa857610aa861290c565b80820180821115610aa857610aa861290c565b6020808252602e908201527f526563697069656e742065786365656473206d6178696d756d2077616c6c657460408201526d103a37b5b2b71030b6b7bab73a1760911b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129f757600080fd5b81516126aa81612675565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612a525784516001600160a01b031683529383019391830191600101612a2d565b50506001600160a01b03969096166060850152505050608001529392505050565b600060033d11156110b35760046000803e5060005160e01c90565b601f8201601f1916810167ffffffffffffffff81118282101715612ac257634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015612ad75790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612b0757505050505090565b8285019150815181811115612b1f5750505050505090565b843d8701016020828501011115612b395750505050505090565b612b4860208286010187612a8e565b509095945050505050565b828152604060208201526000612b6c60408301846126b1565b94935050505056fea2646970667358221220c8eb820ef5c738b6017afb67b4a45bd790f7d60fc5f13005b920403c551b100564736f6c63430008150033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.