ETH Price: $2,128.14 (+6.04%)

Contract

0xdC80d4Cb7fF1Fe185B4509C400aeC5A7d17FB19A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve245461972026-02-27 5:32:476 days ago1772170367IN
0xdC80d4Cb...7d17FB19A
0 ETH0.00000160.06537789
Approve245057712026-02-21 14:14:4711 days ago1771683287IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000103282.20836972
Approve244595662026-02-15 3:39:1118 days ago1771126751IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000048231.03875671
Approve243436922026-01-29 23:06:5934 days ago1769728019IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000002460.05294885
Approve243219112026-01-26 22:13:1137 days ago1769465591IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000101322.16752369
Approve242403012026-01-15 13:06:2348 days ago1768482383IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000007760.16730749
Approve240665252025-12-22 7:01:3573 days ago1766386895IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000001350.02891981
Approve239550642025-12-06 16:38:2388 days ago1765039103IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000005850.1258764
Approve238553122025-11-22 15:15:11102 days ago1763824511IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000050671.08479193
Approve238305842025-11-19 3:55:23106 days ago1763524523IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000028280.60809187
Approve238123462025-11-16 14:28:47108 days ago1763303327IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000060341.2901182
Approve237411482025-11-06 15:31:11118 days ago1762443071IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000163626.68225613
Approve236813222025-10-29 6:39:35127 days ago1761719975IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000006550.14038426
Approve236568742025-10-25 20:31:23130 days ago1761424283IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000051131.09331003
Approve236535942025-10-25 9:31:59130 days ago1761384719IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000097572.08884637
Approve236486102025-10-24 16:47:35131 days ago1761324455IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000020440.83478273
Approve236393982025-10-23 9:46:11132 days ago1761212771IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000033320.71332381
Approve235791632025-10-14 23:17:35141 days ago1760483855IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000024270.9911395
Approve235714002025-10-13 21:13:59142 days ago1760390039IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000020960.4506603
Transfer235696192025-10-13 15:15:23142 days ago1760368523IN
0xdC80d4Cb...7d17FB19A
0 ETH0.00009390.90569479
Approve235691462025-10-13 13:40:11142 days ago1760362811IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000091471.95842353
Approve235681042025-10-13 10:09:59142 days ago1760350199IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000089461.92313814
Approve235669892025-10-13 6:24:35143 days ago1760336675IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000074811.60961194
Approve235650372025-10-12 23:51:11143 days ago1760313071IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000006420.13817448
Approve235613302025-10-12 11:24:59143 days ago1760268299IN
0xdC80d4Cb...7d17FB19A
0 ETH0.000077461.66520217
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PEPETUAL

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion
File 1 of 14 : pepetual.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

interface IUniswapV2Router02 {
    function factory() external view returns (address);
    function WETH() external view returns (address);
    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

interface IPondManager {
    function addToPond(uint256 pepeAmount) external;
    function updateHolderEligibility(address holder, uint256 newBalance) external;
    function paused() external view returns (bool);
}

contract PEPETUAL is ERC20, ReentrancyGuard, Pausable, Ownable {
    using SafeERC20 for IERC20;

    // ==================== Token Configuration ====================

    uint256 public constant MAX_TAX_RATE = 1000; // 10% maximum
    uint256 public taxRate = 969; // 9.69% default
    uint256 private constant TAX_DIVISOR = 10000;

    // Fee distribution (matching original FeeHandlerV5_PEPE)
    uint256 public constant POND_BPS = 6900; // 6.9% → Pond
    uint256 public constant PEPE_BURN_BPS = 690; // 0.69% → PEPE burn
    uint256 public constant SELF_BURN_BPS = 690; // 0.69% → PEPETUAL burn
    uint256 public constant REWARDS_BPS = 690; // 0.69% → Holder rewards
    uint256 public constant DEV_BPS = 690; // 0.69% → Dev
    uint256 public constant ART_BPS = 30; // 0.03% → Art
    uint256 public constant TOTAL_BPS = 9690; // Total must equal 9690

    // ==================== Router and Trading ====================

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    IERC20 public PEPE;
    address public immutable WETH;

    mapping(address => bool) public excludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) public isLimitExempt;

    // Transfer restrictions
    bool public walletToWalletTransfersDisabled = false; // Can be toggled by owner

    // Limits
    uint256 public maxTxAmount;
    uint256 public maxWalletAmount;
    bool public limitsInEffect = true;

    // ==================== MEV Protection (Minimal) ====================

    // Only keep basic sandwich protection
    mapping(address => uint256) public lastBuyBlock;
    uint256 public sandwichProtectionBlocks = 1; // Wait 1 block after buying before selling
    bool public mevProtectionEnabled = true;

    // ==================== Whale Protection ====================

    struct WhaleConfig {
        uint256 whaleThreshold; // Balance threshold for whale status
        uint256 maxSellPercent; // Max % of balance whale can sell
        uint256 sellCooldown; // Cooldown between whale sells (blocks)
        uint256 progressiveTaxRate; // Additional tax for whales
    }

    WhaleConfig public whaleConfig = WhaleConfig({
        whaleThreshold: 10000 * 10 ** 18, // 10k tokens = whale
        maxSellPercent: 500, // 5% max sell
        sellCooldown: 50, // ~10 minute cooldown
        progressiveTaxRate: 200 // +2% tax for whales
     });

    mapping(address => uint256) public lastWhaleSell;
    mapping(address => bool) public isWhaleExempt;

    // ==================== Rewards System ====================

    struct RewardSnapshot {
        uint256 totalSupplySnapshot;
        uint256 pepePerToken;
        uint256 timestamp;
    }

    RewardSnapshot[] public rewardSnapshots;
    mapping(address => bool) public excludedFromRewards;

    uint256 private constant REWARD_MAGNITUDE = 1e18;
    uint256 public magnifiedRewardsPerShare;
    mapping(address => int256) private magnifiedRewardCorrections;
    mapping(address => uint256) public withdrawnRewards;

    uint256 public reservedPepeForRewards; // PEPE reserved for rewards
    uint256 public totalPepeDistributed;
    uint256 public totalPepeClaimed;
    uint256 public minBalanceForRewards = 100 * 10 ** 18; // 100 tokens minimum
    uint256 public rewardClaimCooldown = 3600; // 1 hour
    mapping(address => uint256) public lastRewardClaim;

    uint256 public pendingRewardsBuffer;
    address[] private rewardExclusionList;
    mapping(address => bool) private rewardExclusionTracked;

    // ==================== Pond Integration ====================

    IPondManager public pondManager;

    // ==================== Reentrancy Protection ====================

    bool private processingFees;

    // ==================== Slippage Protection ====================

    uint256 public maxSlippageBPS = 100; // 1% default (100 basis points)

    // ==================== Fee Processing ====================

    uint256 public feeProcessingThreshold = 10000; // 0.001% of supply in basis points (10000 = 0.001%)

    // ==================== Wallets ====================

    address public devWallet;
    address public artWallet;

    uint256 public pendingPondPepe;

    // ==================== Events ====================

    event TaxRateUpdated(uint256 oldRate, uint256 newRate);
    event RewardSnapshotTaken(
        uint256 indexed snapshotId, uint256 indexed pepePerToken, uint256 totalSupply
    );
    event RewardsClaimed(address indexed user, uint256 indexed amount);
    event FeesProcessed(uint256 indexed rewards, uint256 indexed pond, uint256 indexed operations);
    event MEVProtectionTriggered(address indexed user, string reason);
    event WhaleProtectionTriggered(
        address indexed whale, uint256 indexed attemptedAmount, uint256 indexed allowedAmount
    );
    event ProgressiveTaxApplied(
        address indexed user, uint256 indexed baseTax, uint256 indexed finalTax
    );
    event PondManagerUpdated(address indexed oldManager, address indexed newManager);
    event RewardsExclusionUpdated(address indexed account, bool excluded);
    event ExternalPondPepeDeposited(address indexed sender, uint256 amount, uint256 forwarded);
    event ExternalRewardsPepeDeposited(address indexed sender, uint256 amount);
    event LimitExemptionUpdated(address indexed account, bool exempt);

    // ==================== Constructor ====================

    constructor(
        address router_,
        address pepe_,
        address devWallet_,
        address artWallet_,
        address pondManager_
    ) ERC20("PEPETUAL", "PEPETUAL") Ownable(msg.sender) {
        require(router_ != address(0), "Invalid router");
        require(pepe_ != address(0), "Invalid PEPE token");
        require(devWallet_ != address(0), "Invalid dev wallet");
        require(artWallet_ != address(0), "Invalid art wallet");
        // Allow temporary address for deployment
        // require(pondManager_ != address(0), "Invalid pond manager");

        uint256 totalSupply_ = 1_000_000_000 * 10 ** 18; // 1 billion tokens

        // Initialize router and pair
        uniswapV2Router = IUniswapV2Router02(router_);
        WETH = uniswapV2Router.WETH();
        PEPE = IERC20(pepe_);

        // Check if pair exists first
        address pairAddress =
            IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), WETH);
        if (pairAddress == address(0)) {
            pairAddress =
                IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), WETH);
        }

        uniswapV2Pair = pairAddress;

        automatedMarketMakerPairs[uniswapV2Pair] = true;

        // Set wallets
        devWallet = devWallet_;
        artWallet = artWallet_;
        pondManager = IPondManager(pondManager_);

        // Set limits (2% of total supply)
        maxTxAmount = totalSupply_ * 200 / 10000;
        maxWalletAmount = totalSupply_ * 200 / 10000;

        // Exclude from fees and rewards
        excludedFromFees[owner()] = true;
        excludedFromFees[address(this)] = true;
        excludedFromFees[devWallet] = true;
        excludedFromFees[artWallet] = true;

        isLimitExempt[owner()] = true;
        isLimitExempt[address(this)] = true;

        excludedFromRewards[owner()] = true;
        excludedFromRewards[address(this)] = true;
        excludedFromRewards[uniswapV2Pair] = true;
        excludedFromRewards[address(0xdead)] = true;
        excludedFromRewards[devWallet] = true;
        excludedFromRewards[artWallet] = true;
        if (address(pondManager) != address(0)) {
            excludedFromRewards[address(pondManager)] = true;
        }

        _addRewardExclusion(owner());
        _addRewardExclusion(address(this));
        _addRewardExclusion(uniswapV2Pair);
        _addRewardExclusion(address(0xdead));
        _addRewardExclusion(devWallet);
        _addRewardExclusion(artWallet);
        if (address(pondManager) != address(0)) {
            _addRewardExclusion(address(pondManager));
        }

        // Approve router for swaps
        _approve(address(this), router_, type(uint256).max);

        // Mint tokens to owner
        _mint(owner(), totalSupply_);

        _syncRewardExclusion(owner(), true);
        _syncRewardExclusion(address(this), true);
        _syncRewardExclusion(uniswapV2Pair, true);
        _syncRewardExclusion(address(0xdead), true);
        _syncRewardExclusion(devWallet, true);
        _syncRewardExclusion(artWallet, true);
        if (address(pondManager) != address(0)) {
            _syncRewardExclusion(address(pondManager), true);
        }
    }

    // ==================== Core Transfer Logic ====================

    function _isTransferAllowed(address from, address to) internal view returns (bool) {
        // Always allow minting and burning
        if (from == address(0) || to == address(0)) return true;

        // Always allow transfers from/to this contract
        if (from == address(this) || to == address(this)) return true;

        // Always allow transfers from/to owner or limit-exempt addresses
        if (from == owner() || to == owner()) return true;
        if (isLimitExempt[from] || isLimitExempt[to]) return true;

        // Always allow transfers from/to excluded addresses
        if (excludedFromFees[from] || excludedFromFees[to]) return true;

        // Always allow transfers from/to DEX pairs and router
        if (automatedMarketMakerPairs[from] || automatedMarketMakerPairs[to]) return true;
        if (from == address(uniswapV2Router) || to == address(uniswapV2Router)) return true;

        // Check if wallet-to-wallet transfers are disabled
        if (walletToWalletTransfersDisabled) {
            return false; // Block wallet-to-wallet transfers
        }

        return true; // Allow if not disabled
    }

    function _update(address from, address to, uint256 amount) internal override {
        require(!paused(), "Token transfers paused");

        // Check if transfer is allowed (prevent wallet-to-wallet to force DEX usage)
        bool isAllowedTransfer = _isTransferAllowed(from, to);
        require(isAllowedTransfer, "Wallet-to-wallet transfers disabled");

        // Apply protections and limits
        if (mevProtectionEnabled && !excludedFromFees[from] && !excludedFromFees[to]) {
            _applyMEVProtection(from, to);
        }

        if (
            limitsInEffect && from != owner() && to != owner() && !excludedFromFees[from]
                && !excludedFromFees[to] && !isLimitExempt[from] && !isLimitExempt[to]
        ) {
            amount = _applyLimitsAndProtections(from, to, amount);
        }

        (uint256 netAmount, uint256 feeAmount, bool takeFeeFromRecipient) =
            _calculateTax(from, to, amount);

        if (feeAmount > 0 && !takeFeeFromRecipient) {
            _executeTokenTransfer(from, address(this), feeAmount);
        }

        _executeTokenTransfer(from, to, netAmount);

        if (feeAmount > 0 && takeFeeFromRecipient) {
            _executeTokenTransfer(to, address(this), feeAmount);
        }

        if (feeAmount > 0) {
            _processFeesIfNeeded();
        }

        if (address(pondManager) != address(0)) {
            if (from != address(0) && from != address(this)) {
                pondManager.updateHolderEligibility(from, balanceOf(from));
            }
            if (to != address(0) && to != address(this)) {
                pondManager.updateHolderEligibility(to, balanceOf(to));
            }
        }
    }

    function _applyLimitsAndProtections(address from, address to, uint256 amount)
        internal
        returns (uint256)
    {
        if (isLimitExempt[from] || isLimitExempt[to]) {
            return amount;
        }

        // Whale protection for sells
        if (automatedMarketMakerPairs[to] && !isWhaleExempt[from]) {
            amount = _applyWhaleProtection(from, amount);
        }

        // Check max transaction
        require(amount <= maxTxAmount, "Transfer amount exceeds max");

        // Check max wallet (for buys)
        if (automatedMarketMakerPairs[from] && to != address(uniswapV2Router)) {
            require(balanceOf(to) + amount <= maxWalletAmount, "Wallet would exceed max");
        }

        return amount;
    }

    function _calculateTax(address from, address to, uint256 amount)
        internal
        returns (uint256 netAmount, uint256 feeAmount, bool takeFeeFromRecipient)
    {
        netAmount = amount;

        if (excludedFromFees[from]) {
            return (netAmount, 0, false);
        }

        bool isBuy = automatedMarketMakerPairs[from];
        bool isSell = automatedMarketMakerPairs[to];
        if (!isBuy && !isSell) {
            return (netAmount, 0, false);
        }

        uint256 currentTaxRate = taxRate;

        if (
            !isWhaleExempt[from] && !isLimitExempt[from]
                && balanceOf(from) >= whaleConfig.whaleThreshold
        ) {
            currentTaxRate += whaleConfig.progressiveTaxRate;
            emit ProgressiveTaxApplied(from, taxRate, currentTaxRate);
        }
        if (!isWhaleExempt[to] && !isLimitExempt[to] && balanceOf(to) >= whaleConfig.whaleThreshold)
        {
            currentTaxRate += whaleConfig.progressiveTaxRate;
            emit ProgressiveTaxApplied(to, taxRate, currentTaxRate);
        }

        if (currentTaxRate > MAX_TAX_RATE) {
            currentTaxRate = MAX_TAX_RATE;
        }

        feeAmount = (amount * currentTaxRate) / TAX_DIVISOR;
        if (feeAmount == 0) {
            return (netAmount, 0, false);
        }

        takeFeeFromRecipient = isBuy;
        if (!takeFeeFromRecipient) {
            netAmount = amount - feeAmount;
        }

        return (netAmount, feeAmount, takeFeeFromRecipient);
    }

    // ==================== MEV Protection (Minimal) ====================

    function _applyMEVProtection(address from, address to) internal {
        // Simple sandwich protection only
        bool isBuy = automatedMarketMakerPairs[from];
        bool isSell = automatedMarketMakerPairs[to];

        if (isBuy) {
            // Record buy block for recipient
            lastBuyBlock[to] = block.number;
        }

        if (isSell && sandwichProtectionBlocks > 0) {
            // Only check if seller bought recently (sandwich attack prevention)
            require(
                block.number >= lastBuyBlock[from] + sandwichProtectionBlocks,
                "Please wait 1 block after buying"
            );
            emit MEVProtectionTriggered(from, "Sandwich protection");
        }
    }

    function _executeTokenTransfer(address from, address to, uint256 amount) internal {
        if (amount == 0) {
            return;
        }

        super._update(from, to, amount);
        _updateRewardCorrections(from, to, amount);
    }

    function _updateRewardCorrections(address from, address to, uint256 amount) internal {
        if (amount == 0) {
            return;
        }

        int256 magnifiedAmount = int256(magnifiedRewardsPerShare * amount);

        if (from == address(0)) {
            magnifiedRewardCorrections[to] -= magnifiedAmount;
        } else if (to == address(0)) {
            magnifiedRewardCorrections[from] += magnifiedAmount;
        } else {
            magnifiedRewardCorrections[from] += magnifiedAmount;
            magnifiedRewardCorrections[to] -= magnifiedAmount;
        }
    }

    function _addRewardExclusion(address account) internal {
        if (account == address(0) || rewardExclusionTracked[account]) {
            return;
        }

        rewardExclusionTracked[account] = true;
        rewardExclusionList.push(account);
    }

    function _syncRewardExclusion(address account, bool excluded) internal {
        if (account == address(0)) {
            return;
        }

        if (excluded) {
            _addRewardExclusion(account);
        }

        uint256 balance = balanceOf(account);
        int256 correction = int256(magnifiedRewardsPerShare * balance);
        magnifiedRewardCorrections[account] = -correction;
        withdrawnRewards[account] = 0;
    }

    // ==================== Whale Protection ====================

    function _applyWhaleProtection(address from, uint256 amount) internal returns (uint256) {
        uint256 balance = balanceOf(from);

        // Check if user is a whale
        if (balance < whaleConfig.whaleThreshold || isLimitExempt[from]) {
            return amount;
        }

        // Check cooldown
        require(
            block.number >= lastWhaleSell[from] + whaleConfig.sellCooldown,
            "Whale sell cooldown active"
        );

        // Calculate maximum allowed sell
        uint256 maxSell = (balance * whaleConfig.maxSellPercent) / 10000;

        require(amount <= maxSell, "Whale sell amount exceeds limit");

        lastWhaleSell[from] = block.number;
        return amount;
    }

    // ==================== Fee Processing ====================

    function _processFeesIfNeeded() internal {
        uint256 contractBalance = balanceOf(address(this));
        uint256 threshold = (totalSupply() * feeProcessingThreshold) / 100000000; // feeProcessingThreshold in basis points

        if (contractBalance >= threshold) {
            _processFees(contractBalance);
        }
    }

    function _processFees(uint256 amount) internal {
        // Reentrancy protection
        require(!processingFees, "Already processing fees");
        processingFees = true;

        // 1. First burn SELF_BURN portion (0.69%)
        uint256 selfBurnAmount = (amount * SELF_BURN_BPS) / TOTAL_BPS;
        if (selfBurnAmount > 0) {
            super._update(address(this), 0x000000000000000000000000000000000000dEaD, selfBurnAmount);
        }

        // 2. Calculate remaining amount for swapping to PEPE
        uint256 toSwap = amount - selfBurnAmount;

        if (toSwap == 0) {
            processingFees = false;
            return;
        }

        // 3. Swap all remaining to PEPE
        uint256 pepeReceived = _swapTokensForPepe(toSwap);
        if (pepeReceived == 0) {
            processingFees = false;
            return;
        }

        // 4. Distribute PEPE according to original ratios
        // Calculate each portion from received PEPE based on non-self-burn BPS
        uint256 nonSelfBurnBPS = TOTAL_BPS - SELF_BURN_BPS; // 6210

        uint256 pondPepe = (pepeReceived * POND_BPS) / nonSelfBurnBPS; // 6.9%
        uint256 burnPepe = (pepeReceived * PEPE_BURN_BPS) / nonSelfBurnBPS; // 0.69%
        uint256 rewardsPepe = (pepeReceived * REWARDS_BPS) / nonSelfBurnBPS; // 0.69%
        uint256 devPepe = (pepeReceived * DEV_BPS) / nonSelfBurnBPS; // 0.69%
        uint256 artPepe = (pepeReceived * ART_BPS) / nonSelfBurnBPS; // 0.03%

        // 5. Distribute PEPE

        if (pondPepe > 0) {
            pendingPondPepe += pondPepe;
        }

        uint256 pondSent = _forwardPondPepe();

        // PEPE burn (0.69%)
        if (burnPepe > 0) {
            PEPE.safeTransfer(0x000000000000000000000000000000000000dEaD, burnPepe);
        }

        // Holder rewards (0.69%)
        if (rewardsPepe > 0) {
            _distributeRewards(rewardsPepe);
        }

        // Dev wallet (0.42069%)
        if (devPepe > 0) {
            PEPE.safeTransfer(devWallet, devPepe);
        }

        // Art wallet (0.20241%)
        if (artPepe > 0) {
            PEPE.safeTransfer(artWallet, artPepe);
        }

        emit FeesProcessed(rewardsPepe, pondSent, devPepe + artPepe);

        // Reset reentrancy flag
        processingFees = false;
    }

    function _forwardPondPepe() internal returns (uint256 sent) {
        if (pendingPondPepe == 0) {
            return 0;
        }

        if (address(pondManager) == address(0) || pondManager.paused()) {
            return 0;
        }

        sent = pendingPondPepe;
        pendingPondPepe = 0;
        PEPE.safeTransfer(address(pondManager), sent);
        pondManager.addToPond(sent);
    }

    function _swapTokensForPepe(uint256 tokenAmount) internal virtual returns (uint256) {
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = WETH;
        path[2] = address(PEPE);

        uint256 pepeBalanceBefore = PEPE.balanceOf(address(this));

        // Get expected output amount for slippage protection
        uint256[] memory amounts = uniswapV2Router.getAmountsOut(tokenAmount, path);
        uint256 expectedPepe = amounts[2];

        // Use configurable slippage (default 1%)
        uint256 minPepe = expectedPepe - (expectedPepe * maxSlippageBPS / 10000);

        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount, minPepe, path, address(this), block.timestamp + 300
        );

        return PEPE.balanceOf(address(this)) - pepeBalanceBefore;
    }

    // ==================== Rewards System ====================

    function _distributeRewards(uint256 pepeAmount) internal {
        uint256 totalRewards = pepeAmount + pendingRewardsBuffer;
        if (totalRewards == 0) {
            return;
        }

        uint256 eligibleSupply = _getEligibleSupply();
        if (eligibleSupply == 0) {
            pendingRewardsBuffer = totalRewards;
            return;
        }

        pendingRewardsBuffer = 0;

        magnifiedRewardsPerShare += (totalRewards * REWARD_MAGNITUDE) / eligibleSupply;

        uint256 pepePerToken = (totalRewards * 1e18) / eligibleSupply;

        rewardSnapshots.push(
            RewardSnapshot({
                totalSupplySnapshot: eligibleSupply,
                pepePerToken: pepePerToken,
                timestamp: block.timestamp
            })
        );

        totalPepeDistributed += totalRewards;
        reservedPepeForRewards += totalRewards;

        emit RewardSnapshotTaken(rewardSnapshots.length - 1, pepePerToken, eligibleSupply);
    }

    function _getEligibleSupply() internal view returns (uint256) {
        uint256 total = totalSupply();

        for (uint256 i = 0; i < rewardExclusionList.length; i++) {
            address account = rewardExclusionList[i];
            if (excludedFromRewards[account]) {
                total -= balanceOf(account);
            }
        }

        return total;
    }

    function claimRewards() external nonReentrant {
        require(!excludedFromRewards[msg.sender], "Excluded from rewards");
        require(balanceOf(msg.sender) >= minBalanceForRewards, "Insufficient balance");
        require(
            block.timestamp >= lastRewardClaim[msg.sender] + rewardClaimCooldown,
            "Claim cooldown active"
        );

        uint256 pending = _calculatePendingRewards(msg.sender);
        require(pending > 0, "No rewards available");
        require(pending <= reservedPepeForRewards, "Insufficient PEPE reserves");

        lastRewardClaim[msg.sender] = block.timestamp;
        withdrawnRewards[msg.sender] += pending;
        totalPepeClaimed += pending;
        reservedPepeForRewards -= pending;

        PEPE.safeTransfer(msg.sender, pending);

        emit RewardsClaimed(msg.sender, pending);
    }

    function _accumulativeRewardsOf(address account) internal view returns (uint256) {
        int256 corrected = int256(magnifiedRewardsPerShare * balanceOf(account))
            + magnifiedRewardCorrections[account];
        if (corrected <= 0) {
            return 0;
        }

        return uint256(corrected) / REWARD_MAGNITUDE;
    }

    function _calculatePendingRewards(address user) internal view returns (uint256) {
        if (excludedFromRewards[user]) {
            return 0;
        }

        uint256 userBalance = balanceOf(user);
        if (userBalance < minBalanceForRewards) {
            return 0;
        }

        uint256 accumulative = _accumulativeRewardsOf(user);
        uint256 withdrawn = withdrawnRewards[user];

        if (accumulative <= withdrawn) {
            return 0;
        }

        return accumulative - withdrawn;
    }

    function pendingRewards(address user) external view returns (uint256) {
        return _calculatePendingRewards(user);
    }

    // ==================== Admin Functions ====================

    function setTaxRate(uint256 rate) external onlyOwner {
        require(rate <= MAX_TAX_RATE, "Tax rate too high");
        uint256 oldRate = taxRate;
        taxRate = rate;
        emit TaxRateUpdated(oldRate, rate);
    }

    function setExcludedFromFees(address account, bool excluded) external onlyOwner {
        excludedFromFees[account] = excluded;
    }

    function setLimitExempt(address account, bool exempt) external onlyOwner {
        isLimitExempt[account] = exempt;
        isWhaleExempt[account] = exempt;
        emit LimitExemptionUpdated(account, exempt);
    }

    function setExcludedFromRewards(address account, bool excluded) external onlyOwner {
        excludedFromRewards[account] = excluded;
        _syncRewardExclusion(account, excluded);
        emit RewardsExclusionUpdated(account, excluded);
    }

    function setAMM(address pair, bool value) external onlyOwner {
        automatedMarketMakerPairs[pair] = value;
    }

    function removeLimits() external onlyOwner {
        limitsInEffect = false;
    }

    function setWalletToWalletTransfers(bool disabled) external onlyOwner {
        walletToWalletTransfersDisabled = disabled;
    }

    function setLimits(uint256 maxTx, uint256 maxWallet) external onlyOwner {
        require(maxTx >= totalSupply() / 1000, "Max TX too low");
        require(maxWallet >= totalSupply() / 100, "Max wallet too low");
        maxTxAmount = maxTx;
        maxWalletAmount = maxWallet;
    }

    function setMinBalanceForRewards(uint256 rewardMin) external onlyOwner {
        minBalanceForRewards = rewardMin;
    }

    function setRewardCooldown(uint256 cooldown) external onlyOwner {
        rewardClaimCooldown = cooldown;
    }

    function setPondManager(address newPondManager) external onlyOwner {
        require(newPondManager != address(0), "Invalid pond manager");
        address oldManager = address(pondManager);
        pondManager = IPondManager(newPondManager);
        emit PondManagerUpdated(oldManager, newPondManager);

        if (oldManager != address(0)) {
            excludedFromRewards[oldManager] = false;
            _syncRewardExclusion(oldManager, false);
            emit RewardsExclusionUpdated(oldManager, false);
        }

        excludedFromRewards[newPondManager] = true;
        _syncRewardExclusion(newPondManager, true);
        emit RewardsExclusionUpdated(newPondManager, true);

        if (pendingPondPepe > 0) {
            _forwardPondPepe();
        }
    }

    // ==================== MEV Protection Admin ====================

    function setMEVProtection(bool enabled, uint256 sandwichBlocks) external onlyOwner {
        mevProtectionEnabled = enabled;
        sandwichProtectionBlocks = sandwichBlocks;
    }

    function setMaxSlippage(uint256 newSlippageBPS) external onlyOwner {
        require(newSlippageBPS >= 10 && newSlippageBPS <= 500, "Slippage must be 0.1% to 5%");
        maxSlippageBPS = newSlippageBPS;
    }

    // ==================== Whale Protection Admin ====================

    function setWhaleConfig(
        uint256 threshold,
        uint256 maxSellPercent,
        uint256 cooldownBlocks,
        uint256 progressiveTax
    ) external onlyOwner {
        require(maxSellPercent <= 10000, "Max sell too high");
        require(progressiveTax <= 1000, "Progressive tax too high");

        whaleConfig.whaleThreshold = threshold;
        whaleConfig.maxSellPercent = maxSellPercent;
        whaleConfig.sellCooldown = cooldownBlocks;
        whaleConfig.progressiveTaxRate = progressiveTax;
    }

    function setWhaleExempt(address account, bool exempt) external onlyOwner {
        isWhaleExempt[account] = exempt;
    }

    function batchSetWhaleExempt(address[] calldata accounts, bool exempt) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            isWhaleExempt[accounts[i]] = exempt;
        }
    }

    function setFeeProcessingThreshold(uint256 newThreshold) external onlyOwner {
        require(
            newThreshold >= 100 && newThreshold <= 100000,
            "Threshold must be between 0.0001% and 0.1%"
        );
        feeProcessingThreshold = newThreshold;
    }

    function setDevWallet(address newDevWallet) external onlyOwner {
        require(newDevWallet != address(0), "Invalid dev wallet");
        address oldWallet = devWallet;
        devWallet = newDevWallet;

        // Update fee exclusion
        excludedFromFees[oldWallet] = false;
        excludedFromFees[newDevWallet] = true;

        excludedFromRewards[oldWallet] = false;
        _syncRewardExclusion(oldWallet, false);
        emit RewardsExclusionUpdated(oldWallet, false);

        excludedFromRewards[newDevWallet] = true;
        _syncRewardExclusion(newDevWallet, true);
        emit RewardsExclusionUpdated(newDevWallet, true);
    }

    function setArtWallet(address newArtWallet) external onlyOwner {
        require(newArtWallet != address(0), "Invalid art wallet");
        address oldWallet = artWallet;
        artWallet = newArtWallet;

        // Update fee exclusion
        excludedFromFees[oldWallet] = false;
        excludedFromFees[newArtWallet] = true;

        excludedFromRewards[oldWallet] = false;
        _syncRewardExclusion(oldWallet, false);
        emit RewardsExclusionUpdated(oldWallet, false);

        excludedFromRewards[newArtWallet] = true;
        _syncRewardExclusion(newArtWallet, true);
        emit RewardsExclusionUpdated(newArtWallet, true);
    }

    function setPepeToken(address newPepe) external onlyOwner {
        require(newPepe != address(0), "Invalid PEPE address");
        require(newPepe != address(this), "Cannot be self");

        PEPE = IERC20(newPepe);
    }

    function manualProcessFees() external onlyOwner {
        uint256 balance = balanceOf(address(this));
        if (balance > 0) {
            _processFees(balance);
        }
    }

    function depositExternalPondPepe(uint256 amount) external onlyOwner {
        require(amount > 0, "Amount zero");
        require(PEPE.balanceOf(address(this)) >= amount, "PEPE not received");

        pendingPondPepe += amount;
        uint256 forwarded = _forwardPondPepe();
        emit ExternalPondPepeDeposited(msg.sender, amount, forwarded);
    }

    function depositExternalRewardsPepe(uint256 amount) external onlyOwner {
        require(amount > 0, "Amount zero");
        require(PEPE.balanceOf(address(this)) >= amount, "PEPE not received");

        _distributeRewards(amount);
        emit ExternalRewardsPepeDeposited(msg.sender, amount);
    }

    function flushPendingPondPepe() external onlyOwner {
        require(address(pondManager) != address(0), "Pond manager not set");
        require(pendingPondPepe > 0, "No pending pond PEPE");
        require(!pondManager.paused(), "Pond manager paused");

        uint256 forwarded = _forwardPondPepe();
        require(forwarded > 0, "Forward failed");
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    // ==================== View Functions ====================

    function getRewardSnapshots() external view returns (RewardSnapshot[] memory) {
        return rewardSnapshots;
    }

    function getRewardsReserveInfo()
        external
        view
        returns (
            uint256 totalReserved,
            uint256 totalDistributed,
            uint256 totalClaimed,
            uint256 contractPepeBalance
        )
    {
        return (
            reservedPepeForRewards,
            totalPepeDistributed,
            totalPepeClaimed,
            PEPE.balanceOf(address(this))
        );
    }

    function isProcessingFees() external view returns (bool) {
        return processingFees;
    }

    function getUserBasicStats(address user)
        external
        view
        returns (uint256 balance, uint256 pendingRewardsAmount, bool canClaim)
    {
        balance = balanceOf(user);
        pendingRewardsAmount = _calculatePendingRewards(user);
        canClaim = block.timestamp >= lastRewardClaim[user] + rewardClaimCooldown
            && pendingRewardsAmount > 0 && balance >= minBalanceForRewards;
    }

    receive() external payable { }
}

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

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    bool private _paused;

    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    /**
     * @dev The operation failed because the contract is paused.
     */
    error EnforcedPause();

    /**
     * @dev The operation failed because the contract is not paused.
     */
    error ExpectedPause();

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        if (paused()) {
            revert EnforcedPause();
        }
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        if (!paused()) {
            revert ExpectedPause();
        }
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

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

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

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * Both values are immutable: they can only be set once during construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

    /// @inheritdoc IERC20
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /// @inheritdoc IERC20
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

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

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

        emit Transfer(from, to, value);
    }

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

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

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

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

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

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

pragma solidity ^0.8.20;

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)

pragma solidity >=0.6.2;

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

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity >=0.6.2;

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

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

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

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

File 12 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)

pragma solidity >=0.4.16;

import {IERC165} from "../utils/introspection/IERC165.sol";

File 13 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)

pragma solidity >=0.4.16;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"pepe_","type":"address"},{"internalType":"address","name":"devWallet_","type":"address"},{"internalType":"address","name":"artWallet_","type":"address"},{"internalType":"address","name":"pondManager_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"forwarded","type":"uint256"}],"name":"ExternalPondPepeDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ExternalRewardsPepeDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"rewards","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"pond","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"operations","type":"uint256"}],"name":"FeesProcessed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"exempt","type":"bool"}],"name":"LimitExemptionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"MEVProtectionTriggered","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldManager","type":"address"},{"indexed":true,"internalType":"address","name":"newManager","type":"address"}],"name":"PondManagerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"baseTax","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"finalTax","type":"uint256"}],"name":"ProgressiveTaxApplied","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"snapshotId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"pepePerToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"RewardSnapshotTaken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"RewardsExclusionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TaxRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"whale","type":"address"},{"indexed":true,"internalType":"uint256","name":"attemptedAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"allowedAmount","type":"uint256"}],"name":"WhaleProtectionTriggered","type":"event"},{"inputs":[],"name":"ART_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TAX_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PEPE","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PEPE_BURN_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POND_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARDS_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SELF_BURN_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"batchSetWhaleExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositExternalPondPepe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositExternalRewardsPepe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeProcessingThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flushPendingPondPepe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardSnapshots","outputs":[{"components":[{"internalType":"uint256","name":"totalSupplySnapshot","type":"uint256"},{"internalType":"uint256","name":"pepePerToken","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct PEPETUAL.RewardSnapshot[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsReserveInfo","outputs":[{"internalType":"uint256","name":"totalReserved","type":"uint256"},{"internalType":"uint256","name":"totalDistributed","type":"uint256"},{"internalType":"uint256","name":"totalClaimed","type":"uint256"},{"internalType":"uint256","name":"contractPepeBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserBasicStats","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"pendingRewardsAmount","type":"uint256"},{"internalType":"bool","name":"canClaim","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isLimitExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isProcessingFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhaleExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastBuyBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastRewardClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastWhaleSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"magnifiedRewardsPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualProcessFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSlippageBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mevProtectionEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBalanceForRewards","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingPondPepe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingRewardsBuffer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pondManager","outputs":[{"internalType":"contract IPondManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedPepeForRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardClaimCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardSnapshots","outputs":[{"internalType":"uint256","name":"totalSupplySnapshot","type":"uint256"},{"internalType":"uint256","name":"pepePerToken","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sandwichProtectionBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAMM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newArtWallet","type":"address"}],"name":"setArtWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDevWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"setFeeProcessingThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setLimitExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTx","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint256","name":"sandwichBlocks","type":"uint256"}],"name":"setMEVProtection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlippageBPS","type":"uint256"}],"name":"setMaxSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardMin","type":"uint256"}],"name":"setMinBalanceForRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPepe","type":"address"}],"name":"setPepeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPondManager","type":"address"}],"name":"setPondManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cooldown","type":"uint256"}],"name":"setRewardCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rate","type":"uint256"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"disabled","type":"bool"}],"name":"setWalletToWalletTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"},{"internalType":"uint256","name":"maxSellPercent","type":"uint256"},{"internalType":"uint256","name":"cooldownBlocks","type":"uint256"},{"internalType":"uint256","name":"progressiveTax","type":"uint256"}],"name":"setWhaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setWhaleExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPepeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPepeDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletToWalletTransfersDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whaleConfig","outputs":[{"internalType":"uint256","name":"whaleThreshold","type":"uint256"},{"internalType":"uint256","name":"maxSellPercent","type":"uint256"},{"internalType":"uint256","name":"sellCooldown","type":"uint256"},{"internalType":"uint256","name":"progressiveTaxRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawnRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6103c9600755600c805460ff19908116909155600f80548216600190811790915560118190556012805490921617905561016060405269021e19e0c9bab240000060e08190526101f4610100819052603261012081905260c861014081905260139390935560149190915560155560165568056bc75e2d63100000602155610e106022556064602855612710602955348015610099575f80fd5b50604051616ddb380380616ddb8339810160408190526100b89161236a565b604080518082018252600880825267141154115515505360c21b6020808401829052845180860190955291845290830152339160036100f7838261245c565b506004610104828261245c565b50506001600555506001600160a01b03811661013a57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101438161088e565b506001600160a01b03851661018b5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103937baba32b960911b6044820152606401610131565b6001600160a01b0384166101d65760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b2102822a822903a37b5b2b760711b6044820152606401610131565b6001600160a01b0383166102215760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a590819195d881dd85b1b195d60721b6044820152606401610131565b6001600160a01b03821661026c5760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a5908185c9d081dd85b1b195d60721b6044820152606401610131565b6001600160a01b0385166080819052604080516315ab88c960e31b815290516b033b2e3c9fd0803ce8000000929163ad5c46489160048083019260209291908290030181865afa1580156102c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e69190612516565b6001600160a01b0390811660c052600880546001600160a01b0319168783161790556080516040805163c45a015560e01b815290515f93929092169163c45a0155916004808201926020929091908290030181865afa15801561034b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036f9190612516565b60c05160405163e6a4390560e01b81523060048201526001600160a01b03918216602482015291169063e6a4390590604401602060405180830381865afa1580156103bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e09190612516565b90506001600160a01b0381166104c7576080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561042e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104529190612516565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af11580156104a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c49190612516565b90505b6001600160a01b0380821660a08190525f908152600a60205260409020805460ff19166001179055602a80548783166001600160a01b031991821617909155602b805487841690831617905560278054928616929091169190911790556127106105328360c8612543565b61053c919061255a565b600d5561271061054d8360c8612543565b610557919061255a565b600e55600160095f61057660065461010090046001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790553081526009909352818320805485166001908117909155602a54821684528284208054861682179055602b54909116835290822080549093168117909255600b906105fb60065461010090046001600160a01b031690565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff19958616179055308152600b909252812080549092166001908117909255601a9061065760065461010090046001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152601a90935281832080548516600190811790915560a0518216845282842080548616821790557f428bdc965569ef4717764ecfd84e88946a9a226b52b813e6ab6a7f46aad86e888054861682179055602a54821684528284208054861682179055602b548216845291909220805490931617909155602754161561072a576027546001600160a01b03165f908152601a60205260409020805460ff191660011790555b61074961074460065461010090046001600160a01b031690565b6108e7565b610752306108e7565b60a05161075e906108e7565b61076961dead6108e7565b602a5461077e906001600160a01b03166108e7565b602b54610793906001600160a01b03166108e7565b6027546001600160a01b0316156107b9576027546107b9906001600160a01b03166108e7565b6107c530885f19610981565b6107e56107df60065461010090046001600160a01b031690565b83610993565b6108066107ff60065461010090046001600160a01b031690565b60016109cb565b6108113060016109cb565b60a05161081f9060016109cb565b61082c61dead60016109cb565b602a54610843906001600160a01b031660016109cb565b602b5461085a906001600160a01b031660016109cb565b6027546001600160a01b03161561088257602754610882906001600160a01b031660016109cb565b505050505050506127b5565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038116158061091457506001600160a01b0381165f9081526026602052604090205460ff165b1561091c5750565b6001600160a01b03165f818152602660205260408120805460ff191660019081179091556025805491820181559091527f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4c0180546001600160a01b0319169091179055565b61098e8383836001610a4f565b505050565b6001600160a01b0382166109bc5760405163ec442f0560e01b81525f6004820152602401610131565b6109c75f8383610b22565b5050565b6001600160a01b0382166109dd575050565b80156109ec576109ec826108e7565b6001600160a01b0382165f9081526020819052604081205490505f81601b54610a159190612543565b9050610a2081612579565b6001600160a01b039094165f908152601c6020908152604080832096909655601d905293842093909355505050565b6001600160a01b038416610a785760405163e602df0560e01b81525f6004820152602401610131565b6001600160a01b038316610aa157604051634a1406b160e11b81525f6004820152602401610131565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610b1c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b1391815260200190565b60405180910390a35b50505050565b60065460ff1615610b755760405162461bcd60e51b815260206004820152601660248201527f546f6b656e207472616e736665727320706175736564000000000000000000006044820152606401610131565b5f610b808484610f29565b905080610bdb5760405162461bcd60e51b815260206004820152602360248201527f57616c6c65742d746f2d77616c6c6574207472616e73666572732064697361626044820152621b195960ea1b6064820152608401610131565b60125460ff168015610c0557506001600160a01b0384165f9081526009602052604090205460ff16155b8015610c2957506001600160a01b0383165f9081526009602052604090205460ff16155b15610c3857610c388484611126565b600f5460ff168015610c725750610c5c60065461010090046001600160a01b031690565b6001600160a01b0316846001600160a01b031614155b8015610ca65750610c9060065461010090046001600160a01b031690565b6001600160a01b0316836001600160a01b031614155b8015610cca57506001600160a01b0384165f9081526009602052604090205460ff16155b8015610cee57506001600160a01b0383165f9081526009602052604090205460ff16155b8015610d1257506001600160a01b0384165f908152600b602052604090205460ff16155b8015610d3657506001600160a01b0383165f908152600b602052604090205460ff16155b15610d4957610d4684848461126e565b91505b5f8080610d5787878761141e565b9250925092505f82118015610d6a575080155b15610d7a57610d7a87308461163a565b610d8587878561163a565b5f82118015610d915750805b15610da157610da186308461163a565b8115610daf57610daf61165c565b6027546001600160a01b031615610f20576001600160a01b03871615801590610de157506001600160a01b0387163014155b15610e70576027546001600160a01b03166342a1e4d388610e16816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610e59575f80fd5b505af1158015610e6b573d5f803e3d5ffd5b505050505b6001600160a01b03861615801590610e9157506001600160a01b0386163014155b15610f20576027546001600160a01b03166342a1e4d387610ec6816001600160a01b03165f9081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610f09575f80fd5b505af1158015610f1b573d5f803e3d5ffd5b505050505b50505050505050565b5f6001600160a01b0383161580610f4757506001600160a01b038216155b15610f5457506001611120565b6001600160a01b038316301480610f7357506001600160a01b03821630145b15610f8057506001611120565b610f9760065461010090046001600160a01b031690565b6001600160a01b0316836001600160a01b03161480610fdd5750610fc860065461010090046001600160a01b031690565b6001600160a01b0316826001600160a01b0316145b15610fea57506001611120565b6001600160a01b0383165f908152600b602052604090205460ff168061102757506001600160a01b0382165f908152600b602052604090205460ff165b1561103457506001611120565b6001600160a01b0383165f9081526009602052604090205460ff168061107157506001600160a01b0382165f9081526009602052604090205460ff165b1561107e57506001611120565b6001600160a01b0383165f908152600a602052604090205460ff16806110bb57506001600160a01b0382165f908152600a602052604090205460ff165b156110c857506001611120565b6080516001600160a01b0316836001600160a01b031614806110fd57506080516001600160a01b0316826001600160a01b0316145b1561110a57506001611120565b600c5460ff161561111c57505f611120565b5060015b92915050565b6001600160a01b038083165f908152600a602052604080822054928416825290205460ff91821691168115611170576001600160a01b0383165f9081526010602052604090204390555b80801561117e57505f601154115b15610b1c576011546001600160a01b0385165f908152601060205260409020546111a89190612593565b4310156111f75760405162461bcd60e51b815260206004820181905260248201527f506c656173652077616974203120626c6f636b20616674657220627579696e676044820152606401610131565b836001600160a01b03167fd3d6135252b4fcf2466f3aa57373969b9e9401ace0088aa81b2a025ec4329fca6040516112609060208082526013908201527f53616e64776963682070726f74656374696f6e00000000000000000000000000604082015260600190565b60405180910390a250505050565b6001600160a01b0383165f908152600b602052604081205460ff16806112ab57506001600160a01b0383165f908152600b602052604090205460ff165b156112b7575080611417565b6001600160a01b0383165f908152600a602052604090205460ff1680156112f657506001600160a01b0384165f9081526018602052604090205460ff16155b156113085761130584836116a6565b91505b600d5482111561135a5760405162461bcd60e51b815260206004820152601b60248201527f5472616e7366657220616d6f756e742065786365656473206d617800000000006044820152606401610131565b6001600160a01b0384165f908152600a602052604090205460ff16801561139557506080516001600160a01b0316836001600160a01b031614155b1561141457600e54826113bc856001600160a01b03165f9081526020819052604090205490565b6113c69190612593565b11156114145760405162461bcd60e51b815260206004820152601760248201527f57616c6c657420776f756c6420657863656564206d61780000000000000000006044820152606401610131565b50805b9392505050565b6001600160a01b0383165f90815260096020526040812054829190819060ff161561144d57505f905080611631565b6001600160a01b038087165f908152600a602052604080822054928816825290205460ff918216911681158015611482575080155b1561149557505f92508291506116319050565b6007546001600160a01b0389165f9081526018602052604090205460ff161580156114d857506001600160a01b0389165f908152600b602052604090205460ff16155b80156114fd57506013546001600160a01b038a165f9081526020819052604090205410155b156115395760165461150f9082612593565b9050806007548a6001600160a01b03165f80516020616dbb83398151915260405160405180910390a45b6001600160a01b0388165f9081526018602052604090205460ff1615801561157957506001600160a01b0388165f908152600b602052604090205460ff16155b801561159e57506013546001600160a01b0389165f9081526020819052604090205410155b156115da576016546115b09082612593565b905080600754896001600160a01b03165f80516020616dbb83398151915260405160405180910390a45b6103e88111156115e957506103e85b6127106115f68289612543565b611600919061255a565b9450845f0361161857505f9350839250611631915050565b8293508361162d5761162a85886125a6565b95505b5050505b93509350939050565b805f0361164657505050565b6116518383836117f8565b61098e83838361191e565b305f908152602081905260408120546029549091906305f5e1009061168060025490565b61168a9190612543565b611694919061255a565b90508082106109c7576109c782611a0e565b6001600160a01b0382165f908152602081905260408120546013548110806116e557506001600160a01b0384165f908152600b602052604090205460ff165b156116f35782915050611120565b6015546001600160a01b0385165f908152601760205260409020546117189190612593565b4310156117675760405162461bcd60e51b815260206004820152601a60248201527f5768616c652073656c6c20636f6f6c646f776e206163746976650000000000006044820152606401610131565b6014545f906127109061177a9084612543565b611784919061255a565b9050808411156117d65760405162461bcd60e51b815260206004820152601f60248201527f5768616c652073656c6c20616d6f756e742065786365656473206c696d6974006044820152606401610131565b5050506001600160a01b03919091165f90815260176020526040902043905590565b6001600160a01b038316611822578060025f8282546118179190612593565b909155506118929050565b6001600160a01b0383165f90815260208190526040902054818110156118745760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610131565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166118ae576002805482900390556118cc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161191191815260200190565b60405180910390a3505050565b805f0361192a57505050565b5f81601b546119399190612543565b90506001600160a01b03841661197b576001600160a01b0383165f908152601c6020526040812080548392906119709084906125b9565b90915550610b1c9050565b6001600160a01b0383166119b0576001600160a01b0384165f908152601c6020526040812080548392906119709084906125df565b6001600160a01b0384165f908152601c6020526040812080548392906119d79084906125df565b90915550506001600160a01b0383165f908152601c602052604081208054839290611a039084906125b9565b909155505050505050565b602754600160a01b900460ff1615611a685760405162461bcd60e51b815260206004820152601760248201527f416c72656164792070726f63657373696e6720666565730000000000000000006044820152606401610131565b6027805460ff60a01b1916600160a01b1790555f6125da611a8b6102b284612543565b611a95919061255a565b90508015611aaa57611aaa3061dead836117f8565b5f611ab582846125a6565b9050805f03611ad05750506027805460ff60a01b1916905550565b5f611ada82611c74565b9050805f03611af65750506027805460ff60a01b191690555050565b5f611b056102b26125da6125a6565b90505f81611b15611af485612543565b611b1f919061255a565b90505f82611b2f6102b286612543565b611b39919061255a565b90505f83611b496102b287612543565b611b53919061255a565b90505f84611b636102b288612543565b611b6d919061255a565b90505f85611b7c601e89612543565b611b86919061255a565b90508415611ba55784602c5f828254611b9f9190612593565b90915550505b5f611bae611f3a565b90508415611bcf57600854611bcf906001600160a01b031661dead8761205c565b8315611bde57611bde846120b2565b8215611c0157602a54600854611c01916001600160a01b0391821691168561205c565b8115611c2457602b54600854611c24916001600160a01b0391821691168461205c565b611c2e8284612593565b604051829086907ff3b92bac10eca6b22ab7eb9e11474efe0a46765ca7dd7700877f4f776997beb9905f90a450506027805460ff60a01b19169055505050505050505050565b604080516003808252608082019092525f918291906020820160608036833701905050905030815f81518110611cac57611cac612606565b60200260200101906001600160a01b031690816001600160a01b03168152505060c05181600181518110611ce257611ce2612606565b6001600160a01b039283166020918202929092010152600854825191169082906002908110611d1357611d13612606565b6001600160a01b0392831660209182029290920101526008546040516370a0823160e01b81523060048201525f9291909116906370a0823190602401602060405180830381865afa158015611d6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8e919061261a565b90505f6080516001600160a01b031663d06ca61f86856040518363ffffffff1660e01b8152600401611dc1929190612674565b5f60405180830381865afa158015611ddb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e029190810190612694565b90505f81600281518110611e1857611e18612606565b602002602001015190505f61271060285483611e349190612543565b611e3e919061255a565b611e4890836125a6565b6080519091506001600160a01b0316635c11d79588838830611e6c4261012c612593565b6040518663ffffffff1660e01b8152600401611e8c95949392919061275b565b5f604051808303815f87803b158015611ea3575f80fd5b505af1158015611eb5573d5f803e3d5ffd5b50506008546040516370a0823160e01b81523060048201528793506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015611f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f25919061261a565b611f2f91906125a6565b979650505050505050565b5f602c545f03611f4957505f90565b6027546001600160a01b03161580611fd0575060275f9054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd09190612796565b15611fda57505f90565b50602c80545f909155602754600854612000916001600160a01b0391821691168361205c565b60275460405163fd056c4b60e01b8152600481018390526001600160a01b039091169063fd056c4b906024015f604051808303815f87803b158015612043575f80fd5b505af1158015612055573d5f803e3d5ffd5b5050505090565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663a9059cbb60e01b1790915261098e91859161225316565b5f602454826120c19190612593565b9050805f036120ce575050565b5f6120d76122bf565b9050805f036120e7575060245550565b5f602455806120fe670de0b6b3a764000084612543565b612108919061255a565b601b5f8282546121189190612593565b909155505f90508161213284670de0b6b3a7640000612543565b61213c919061255a565b604080516060810182528481526020810183815242928201928352601980546001810182555f91825292517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969560039094029384015590517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969683015591517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969790910155601f805492935085929091906121f5908490612593565b9250508190555082601e5f82825461220d9190612593565b90915550506019548190612223906001906125a6565b6040518481527f22ee476b827869767b93c9d66a409cda0f5f260baebc35ebe36ec5a5a3712f8990602001610b13565b5f8060205f8451602086015f885af180612272576040513d5f823e3d81fd5b50505f513d91508115612289578060011415612296565b6001600160a01b0384163b155b15610b1c57604051635274afe760e01b81526001600160a01b0385166004820152602401610131565b5f806122ca60025490565b90505f5b602554811015612349575f602582815481106122ec576122ec612606565b5f9182526020808320909101546001600160a01b0316808352601a90915260409091205490915060ff1615612340576001600160a01b0381165f9081526020819052604090205461233d90846125a6565b92505b506001016122ce565b50919050565b80516001600160a01b0381168114612365575f80fd5b919050565b5f805f805f60a0868803121561237e575f80fd5b6123878661234f565b94506123956020870161234f565b93506123a36040870161234f565b92506123b16060870161234f565b91506123bf6080870161234f565b90509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806123f357607f821691505b60208210810361234957634e487b7160e01b5f52602260045260245ffd5b601f82111561098e57805f5260205f20601f840160051c810160208510156124365750805b601f840160051c820191505b81811015612455575f8155600101612442565b5050505050565b81516001600160401b03811115612475576124756123cb565b6124898161248384546123df565b84612411565b6020601f8211600181146124bb575f83156124a45750848201515b5f19600385901b1c1916600184901b178455612455565b5f84815260208120601f198516915b828110156124ea57878501518255602094850194600190920191016124ca565b508482101561250757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612526575f80fd5b6114178261234f565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176111205761112061252f565b5f8261257457634e487b7160e01b5f52601260045260245ffd5b500490565b5f600160ff1b820161258d5761258d61252f565b505f0390565b808201808211156111205761112061252f565b818103818111156111205761112061252f565b8181035f8312801583831316838312821617156125d8576125d861252f565b5092915050565b8082018281125f8312801582168215821617156125fe576125fe61252f565b505092915050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561262a575f80fd5b5051919050565b5f8151808452602084019350602083015f5b8281101561266a5781516001600160a01b0316865260209586019590910190600101612643565b5093949350505050565b828152604060208201525f61268c6040830184612631565b949350505050565b5f602082840312156126a4575f80fd5b81516001600160401b038111156126b9575f80fd5b8201601f810184136126c9575f80fd5b80516001600160401b038111156126e2576126e26123cb565b604051600582901b90603f8201601f191681016001600160401b0381118282101715612710576127106123cb565b60405291825260208184018101929081018784111561272d575f80fd5b6020850194505b8385101561275057845180825260209586019590935001612734565b509695505050505050565b85815284602082015260a060408201525f61277960a0830186612631565b6001600160a01b0394909416606083015250608001529392505050565b5f602082840312156127a6575f80fd5b81518015158114611417575f80fd5b60805160a05160c0516145b26128095f395f8181610c15015261334001525f61087801525f81816105d401528181613423015281816135020152818161377c015281816137b70152613a6101526145b25ff3fe6080604052600436106104be575f3560e01c8063771a3a1d1161026d578063bafbd2781161014a578063dd6624e4116100be578063f2fde38b11610083578063f2fde38b14610ea4578063f3b0c28914610ec3578063f4aba96014610ed7578063f82f235f14610eeb578063f8bd6d0814610f19578063fdb74ca514610f2e575f80fd5b8063dd6624e414610e22578063e1616c24146104c9578063e1cd5b5d14610e4d578063e4fbaecb14610e6c578063ee788ad314610e8b575f80fd5b8063c8a60ec31161010f578063c8a60ec314610d43578063cce15db214610d57578063d3cd52bc14610d70578063d8ad523114610d85578063dbe66ca014610db0578063dd62ed3e14610dde575f80fd5b8063bafbd27814610cb2578063bd7e06b314610cc7578063c4590d3f14610ce6578063c6d69a3014610d05578063c6f5def714610d24575f80fd5b80639320e605116101e1578063aa4bde28116101a6578063aa4bde2814610bdb578063aba31bbe14610bf0578063ad5c464814610c04578063ae0f020b14610c37578063b0c150af14610c56578063b62496f514610c84575f80fd5b80639320e60514610b5357806395d89b4114610b74578063a040a74b14610b88578063a9059cbb14610b9d578063a9d3cd8a14610bbc575f80fd5b8063860f979c11610232578063860f979c146104c95780638a2cfbe314610ac95780638c0b5e2214610ae85780638da5cb5b14610afd5780638ea5220f14610b1f5780638fa8173214610b3e575f80fd5b8063771a3a1d14610a57578063821d4b0814610a6c57806383f0cfea14610a815780638456cb5914610aa0578063855e1c5314610ab4575f80fd5b80633c8afa5d1161039b5780635c975abb1161030f57806370a08231116102d457806370a08231146109d257806370cbe56c146109f1578063715018a614610a10578063751039fc14610a245780637547407414610a38578063760690c4146104c9575f80fd5b80635c975abb146109385780635d6485881461094f578063637930dd1461098957806367337df9146109a85780636b5a0e5e146109bd575f80fd5b806349bd5a5e1161036057806349bd5a5e146108675780634a62bb651461089a5780635288f312146108b35780635561e1f6146108ef578063570d84f414610904578063590ffdce14610919575f80fd5b80633c8afa5d146107cb5780633d3bd088146107ea5780633f4ba83a1461081557806340a24e6c1461082957806343f68a4914610848575f80fd5b80631f7980a4116104325780632e4ef694116103f75780632e4ef694146106f1578063313ce5671461073357806331d7a2621461074e578063324d01d81461076d578063372500ab1461078c57806337b28bfd146107a0575f80fd5b80631f7980a4146106565780631ff9182f1461067557806321122e951461069457806323b872dd146106b35780632a801fe8146106d2575f80fd5b80631314474411610483578063131447441461058d57806315386342146105a25780631694505e146105c357806318160ddd1461060e5780631911687a146106225780631f53ac0214610637575f80fd5b806304b49429146104c957806306fdde03146104f1578063095ea7b3146105125780630c3f476814610541578063125cac3e1461055f575f80fd5b366104c557005b5f80fd5b3480156104d4575f80fd5b506104de6102b281565b6040519081526020015b60405180910390f35b3480156104fc575f80fd5b50610505610f43565b6040516104e89190613fc9565b34801561051d575f80fd5b5061053161052c36600461402f565b610fd3565b60405190151581526020016104e8565b34801561054c575f80fd5b50602754600160a01b900460ff16610531565b34801561056a575f80fd5b50610531610579366004614057565b60186020525f908152604090205460ff1681565b348015610598575f80fd5b506104de60295481565b3480156105ad575f80fd5b506105c16105bc36600461407d565b610fec565b005b3480156105ce575f80fd5b506105f67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016104e8565b348015610619575f80fd5b506002546104de565b34801561062d575f80fd5b506104de60285481565b348015610642575f80fd5b506105c1610651366004614057565b61105e565b348015610661575f80fd5b506105c16106703660046140ff565b6111aa565b348015610680575f80fd5b506105c161068f36600461411a565b6111c5565b34801561069f575f80fd5b506105c16106ae366004614057565b6111d2565b3480156106be575f80fd5b506105316106cd366004614131565b61134b565b3480156106dd575f80fd5b50602b546105f6906001600160a01b031681565b3480156106fc575f80fd5b506013546014546015546016546107139392919084565b6040805194855260208501939093529183015260608201526080016104e8565b34801561073e575f80fd5b50604051601281526020016104e8565b348015610759575f80fd5b506104de610768366004614057565b611370565b348015610778575f80fd5b506105c1610787366004614057565b61137a565b348015610797575f80fd5b506105c1611435565b3480156107ab575f80fd5b506104de6107ba366004614057565b60106020525f908152604090205481565b3480156107d6575f80fd5b506105c16107e5366004614057565b61169c565b3480156107f5575f80fd5b506104de610804366004614057565b60176020525f908152604090205481565b348015610820575f80fd5b506105c161175c565b348015610834575f80fd5b506105c161084336600461416b565b61176c565b348015610853575f80fd5b506105c161086236600461411a565b6117dc565b348015610872575f80fd5b506105f67f000000000000000000000000000000000000000000000000000000000000000081565b3480156108a5575f80fd5b50600f546105319060ff1681565b3480156108be575f80fd5b506108d26108cd366004614057565b611848565b6040805193845260208401929092521515908201526060016104e8565b3480156108fa575f80fd5b506104de60215481565b34801561090f575f80fd5b506104de60225481565b348015610924575f80fd5b506105c161093336600461416b565b6118aa565b348015610943575f80fd5b5060065460ff16610531565b34801561095a575f80fd5b5061096e61096936600461411a565b6118dc565b604080519384526020840192909252908201526060016104e8565b348015610994575f80fd5b506105c16109a336600461411a565b61190d565b3480156109b3575f80fd5b506104de60245481565b3480156109c8575f80fd5b506104de60205481565b3480156109dd575f80fd5b506104de6109ec366004614057565b61198d565b3480156109fc575f80fd5b506105c1610a0b36600461411a565b6119a7565b348015610a1b575f80fd5b506105c16119b4565b348015610a2f575f80fd5b506105c16119c5565b348015610a43575f80fd5b506105c1610a5236600461416b565b6119d9565b348015610a62575f80fd5b506104de60075481565b348015610a77575f80fd5b506104de611af481565b348015610a8c575f80fd5b506105c1610a9b3660046141a0565b611a0b565b348015610aab575f80fd5b506105c1611a2a565b348015610abf575f80fd5b506104de601f5481565b348015610ad4575f80fd5b506105c1610ae336600461411a565b611a3a565b348015610af3575f80fd5b506104de600d5481565b348015610b08575f80fd5b5060065461010090046001600160a01b03166105f6565b348015610b2a575f80fd5b50602a546105f6906001600160a01b031681565b348015610b49575f80fd5b506104de6103e881565b348015610b5e575f80fd5b50610b67611b86565b6040516104e891906141bc565b348015610b7f575f80fd5b50610505611bff565b348015610b93575f80fd5b506104de602c5481565b348015610ba8575f80fd5b50610531610bb736600461402f565b611c0e565b348015610bc7575f80fd5b506105c1610bd636600461416b565b611c1b565b348015610be6575f80fd5b506104de600e5481565b348015610bfb575f80fd5b50610713611c4d565b348015610c0f575f80fd5b506105f67f000000000000000000000000000000000000000000000000000000000000000081565b348015610c42575f80fd5b506105c1610c5136600461411a565b611cdc565b348015610c61575f80fd5b50610531610c70366004614057565b600b6020525f908152604090205460ff1681565b348015610c8f575f80fd5b50610531610c9e366004614057565b600a6020525f908152604090205460ff1681565b348015610cbd575f80fd5b506104de601e5481565b348015610cd2575f80fd5b506027546105f6906001600160a01b031681565b348015610cf1575f80fd5b506105c1610d0036600461421a565b611e0e565b348015610d10575f80fd5b506105c1610d1f36600461411a565b611ed0565b348015610d2f575f80fd5b506105c1610d3e36600461416b565b611f63565b348015610d4e575f80fd5b506105c1611fc2565b348015610d62575f80fd5b506012546105319060ff1681565b348015610d7b575f80fd5b506104de6125da81565b348015610d90575f80fd5b506104de610d9f366004614057565b60236020525f908152604090205481565b348015610dbb575f80fd5b50610531610dca366004614057565b60096020525f908152604090205460ff1681565b348015610de9575f80fd5b506104de610df836600461423a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610e2d575f80fd5b506104de610e3c366004614057565b601d6020525f908152604090205481565b348015610e58575f80fd5b506105c1610e6736600461426b565b612166565b348015610e77575f80fd5b506008546105f6906001600160a01b031681565b348015610e96575f80fd5b50600c546105319060ff1681565b348015610eaf575f80fd5b506105c1610ebe366004614057565b61221a565b348015610ece575f80fd5b506104de601e81565b348015610ee2575f80fd5b506105c1612254565b348015610ef6575f80fd5b50610531610f05366004614057565b601a6020525f908152604090205460ff1681565b348015610f24575f80fd5b506104de601b5481565b348015610f39575f80fd5b506104de60115481565b606060038054610f529061429a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e9061429a565b8015610fc95780601f10610fa057610100808354040283529160200191610fc9565b820191905f5260205f20905b815481529060010190602001808311610fac57829003601f168201915b5050505050905090565b5f33610fe0818585612277565b60019150505b92915050565b610ff4612284565b5f5b82811015611058578160185f868685818110611014576110146142cc565b90506020020160208101906110299190614057565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610ff6565b50505050565b611066612284565b6001600160a01b0381166110b65760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a590819195d881dd85b1b195d60721b60448201526064015b60405180910390fd5b602a80546001600160a01b038381166001600160a01b031983168117909355165f818152600960209081526040808320805460ff19908116909155948352808320805486166001179055838352601a909152812080549093169092559061111e9082906122b7565b6040515f81526001600160a01b038216905f8051602061455d8339815191529060200160405180910390a26001600160a01b0382165f908152601a60205260409020805460ff191660019081179091556111799083906122b7565b604051600181526001600160a01b038316905f8051602061455d833981519152906020015b60405180910390a25050565b6111b2612284565b600c805460ff1916911515919091179055565b6111cd612284565b602255565b6111da612284565b6001600160a01b0381166112275760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103837b7321036b0b730b3b2b960611b60448201526064016110ad565b602780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f6449a89accff0afe9f56548a2ebb5163fe2b2736e171473a6f08d67200fcb3e2905f90a36001600160a01b038116156112d9576001600160a01b0381165f908152601a60205260408120805460ff191690556112ad9082906122b7565b6040515f81526001600160a01b038216905f8051602061455d8339815191529060200160405180910390a25b6001600160a01b0382165f908152601a60205260409020805460ff191660019081179091556113099083906122b7565b604051600181526001600160a01b038316905f8051602061455d8339815191529060200160405180910390a2602c54156113475761134561232d565b505b5050565b5f3361135885828561244f565b6113638585856124c5565b60019150505b9392505050565b5f610fe682612522565b611382612284565b6001600160a01b0381166113cd5760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a5908185c9d081dd85b1b195d60721b60448201526064016110ad565b602b80546001600160a01b038381166001600160a01b031983168117909355165f818152600960209081526040808320805460ff19908116909155948352808320805486166001179055838352601a909152812080549093169092559061111e9082906122b7565b61143d6125b0565b335f908152601a602052604090205460ff16156114945760405162461bcd60e51b81526020600482015260156024820152744578636c756465642066726f6d207265776172647360581b60448201526064016110ad565b6021546114a03361198d565b10156114e55760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016110ad565b602254335f9081526023602052604090205461150191906142f4565b4210156115485760405162461bcd60e51b8152602060048201526015602482015274436c61696d20636f6f6c646f776e2061637469766560581b60448201526064016110ad565b5f61155233612522565b90505f811161159a5760405162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320617661696c61626c6560601b60448201526064016110ad565b601e548111156115ec5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74205045504520726573657276657300000000000060448201526064016110ad565b335f908152602360209081526040808320429055601d909152812080548392906116179084906142f4565b925050819055508060205f82825461162f91906142f4565b9250508190555080601e5f8282546116479190614307565b9091555050600854611663906001600160a01b031633836125da565b604051819033907ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe905f90a35061169a6001600555565b565b6116a4612284565b6001600160a01b0381166116f15760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642050455045206164647265737360601b60448201526064016110ad565b306001600160a01b0382160361173a5760405162461bcd60e51b815260206004820152600e60248201526d21b0b73737ba1031329039b2b63360911b60448201526064016110ad565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b611764612284565b61169a61262c565b611774612284565b6001600160a01b0382165f818152600b60209081526040808320805486151560ff199182168117909255601884529382902080549094168117909355519182527f5cea8c810b0392e753a238e1d073a0ad28fa8534950a456306f29746c53b5b97910161119e565b6117e4612284565b600a81101580156117f757506101f48111155b6118435760405162461bcd60e51b815260206004820152601b60248201527f536c697070616765206d75737420626520302e312520746f203525000000000060448201526064016110ad565b602855565b5f805f6118548461198d565b925061185f84612522565b6022546001600160a01b0386165f90815260236020526040902054919350611886916142f4565b421015801561189457505f82115b80156118a257506021548310155b929491935050565b6118b2612284565b6001600160a01b03919091165f908152600960205260409020805460ff1916911515919091179055565b601981815481106118eb575f80fd5b5f91825260209091206003909102018054600182015460029092015490925083565b611915612284565b606481101580156119295750620186a08111155b6119885760405162461bcd60e51b815260206004820152602a60248201527f5468726573686f6c64206d757374206265206265747765656e20302e303030316044820152692520616e6420302e312560b01b60648201526084016110ad565b602955565b6001600160a01b03165f9081526020819052604090205490565b6119af612284565b602155565b6119bc612284565b61169a5f61267e565b6119cd612284565b600f805460ff19169055565b6119e1612284565b6001600160a01b03919091165f908152601860205260409020805460ff1916911515919091179055565b611a13612284565b6012805460ff191692151592909217909155601155565b611a32612284565b61169a6126d7565b611a42612284565b5f8111611a7f5760405162461bcd60e51b815260206004820152600b60248201526a416d6f756e74207a65726f60a81b60448201526064016110ad565b6008546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae9919061431a565b1015611b2b5760405162461bcd60e51b815260206004820152601160248201527014115411481b9bdd081c9958d95a5d9959607a1b60448201526064016110ad565b80602c5f828254611b3c91906142f4565b909155505f9050611b4b61232d565b604080518481526020810183905291925033917f243a49b94f22067a538d03b506f1f44245dedf597196f0256d2f2299558e2e45910161119e565b60606019805480602002602001604051908101604052809291908181526020015f905b82821015611bf6578382905f5260205f2090600302016040518060600160405290815f82015481526020016001820154815260200160028201548152505081526020019060010190611ba9565b50505050905090565b606060048054610f529061429a565b5f33610fe08185856124c5565b611c23612284565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b601e54601f546020546008546040516370a0823160e01b81523060048201525f948594859485949293919290916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cce919061431a565b935093509350935090919293565b611ce4612284565b5f8111611d215760405162461bcd60e51b815260206004820152600b60248201526a416d6f756e74207a65726f60a81b60448201526064016110ad565b6008546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611d67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8b919061431a565b1015611dcd5760405162461bcd60e51b815260206004820152601160248201527014115411481b9bdd081c9958d95a5d9959607a1b60448201526064016110ad565b611dd681612714565b60405181815233907fe0db959ccaef964bd3978f9e5268c139c9546969e3f9d880b71ff0f43c4cdd559060200160405180910390a250565b611e16612284565b6103e8611e2260025490565b611e2c9190614331565b821015611e6c5760405162461bcd60e51b815260206004820152600e60248201526d4d617820545820746f6f206c6f7760901b60448201526064016110ad565b6064611e7760025490565b611e819190614331565b811015611ec55760405162461bcd60e51b81526020600482015260126024820152714d61782077616c6c657420746f6f206c6f7760701b60448201526064016110ad565b600d91909155600e55565b611ed8612284565b6103e8811115611f1e5760405162461bcd60e51b81526020600482015260116024820152700a8c2f040e4c2e8ca40e8dede40d0d2ced607b1b60448201526064016110ad565b600780549082905560408051828152602081018490527fa8ee157eb2a9aa895d74df4d2d3bc0ad165ff3162f8ec46a4ecf602dd5c48fda910160405180910390a15050565b611f6b612284565b6001600160a01b0382165f908152601a60205260409020805460ff1916821515179055611f9882826122b7565b816001600160a01b03165f8051602061455d8339815191528260405161119e911515815260200190565b611fca612284565b6027546001600160a01b03166120195760405162461bcd60e51b8152602060048201526014602482015273141bdb99081b585b9859d95c881b9bdd081cd95d60621b60448201526064016110ad565b5f602c54116120615760405162461bcd60e51b81526020600482015260146024820152734e6f2070656e64696e6720706f6e64205045504560601b60448201526064016110ad565b60275f9054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120d59190614350565b156121185760405162461bcd60e51b8152602060048201526013602482015272141bdb99081b585b9859d95c881c185d5cd959606a1b60448201526064016110ad565b5f61212161232d565b90505f81116121635760405162461bcd60e51b815260206004820152600e60248201526d119bdc9dd85c990819985a5b195960921b60448201526064016110ad565b50565b61216e612284565b6127108311156121b45760405162461bcd60e51b815260206004820152601160248201527009ac2f040e6cad8d840e8dede40d0d2ced607b1b60448201526064016110ad565b6103e88111156122065760405162461bcd60e51b815260206004820152601860248201527f50726f67726573736976652074617820746f6f2068696768000000000000000060448201526064016110ad565b601393909355601491909155601555601655565b612222612284565b6001600160a01b03811661224b57604051631e4fbdf760e01b81525f60048201526024016110ad565b6121638161267e565b61225c612284565b5f6122663061198d565b9050801561216357612163816128bf565b6113458383836001612b25565b6006546001600160a01b0361010090910416331461169a5760405163118cdaa760e01b81523360048201526024016110ad565b6001600160a01b0382166122c9575050565b80156122d8576122d882612be9565b5f6122e28361198d565b90505f81601b546122f3919061436b565b90506122fe81614382565b6001600160a01b039094165f908152601c6020908152604080832096909655601d905293842093909355505050565b5f602c545f0361233c57505f90565b6027546001600160a01b031615806123c3575060275f9054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561239f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c39190614350565b156123cd57505f90565b50602c80545f9091556027546008546123f3916001600160a01b039182169116836125da565b60275460405163fd056c4b60e01b8152600481018390526001600160a01b039091169063fd056c4b906024015f604051808303815f87803b158015612436575f80fd5b505af1158015612448573d5f803e3d5ffd5b5050505090565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981101561105857818110156124b757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016110ad565b61105884848484035f612b25565b6001600160a01b0383166124ee57604051634b637e8f60e11b81525f60048201526024016110ad565b6001600160a01b0382166125175760405163ec442f0560e01b81525f60048201526024016110ad565b611345838383612c83565b6001600160a01b0381165f908152601a602052604081205460ff161561254957505f919050565b5f6125538361198d565b905060215481101561256757505f92915050565b5f6125718461302f565b6001600160a01b0385165f908152601d602052604090205490915080821161259d57505f949350505050565b6125a78183614307565b95945050505050565b6002600554036125d357604051633ee5aeb560e01b815260040160405180910390fd5b6002600555565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261134590849061308c565b6126346130f8565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6126df61311b565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126613390565b5f6024548261272391906142f4565b9050805f03612730575050565b5f61273961313f565b9050805f03612749575060245550565b5f60245580612760670de0b6b3a76400008461436b565b61276a9190614331565b601b5f82825461277a91906142f4565b909155505f90508161279484670de0b6b3a764000061436b565b61279e9190614331565b604080516060810182528481526020810183815242928201928352601980546001810182555f91825292517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969560039094029384015590517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969683015591517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969790910155601f805492935085929091906128579084906142f4565b9250508190555082601e5f82825461286f91906142f4565b9091555050601954819061288590600190614307565b6040518481527f22ee476b827869767b93c9d66a409cda0f5f260baebc35ebe36ec5a5a3712f89906020015b60405180910390a350505050565b602754600160a01b900460ff16156129195760405162461bcd60e51b815260206004820152601760248201527f416c72656164792070726f63657373696e67206665657300000000000000000060448201526064016110ad565b6027805460ff60a01b1916600160a01b1790555f6125da61293c6102b28461436b565b6129469190614331565b9050801561295b5761295b3061dead836131c0565b5f6129668284614307565b9050805f036129815750506027805460ff60a01b1916905550565b5f61298b826132e6565b9050805f036129a75750506027805460ff60a01b191690555050565b5f6129b66102b26125da614307565b90505f816129c6611af48561436b565b6129d09190614331565b90505f826129e06102b28661436b565b6129ea9190614331565b90505f836129fa6102b28761436b565b612a049190614331565b90505f84612a146102b28861436b565b612a1e9190614331565b90505f85612a2d601e8961436b565b612a379190614331565b90508415612a565784602c5f828254612a5091906142f4565b90915550505b5f612a5f61232d565b90508415612a8057600854612a80906001600160a01b031661dead876125da565b8315612a8f57612a8f84612714565b8215612ab257602a54600854612ab2916001600160a01b039182169116856125da565b8115612ad557602b54600854612ad5916001600160a01b039182169116846125da565b612adf82846142f4565b604051829086907ff3b92bac10eca6b22ab7eb9e11474efe0a46765ca7dd7700877f4f776997beb9905f90a450506027805460ff60a01b19169055505050505050505050565b6001600160a01b038416612b4e5760405163e602df0560e01b81525f60048201526024016110ad565b6001600160a01b038316612b7757604051634a1406b160e11b81525f60048201526024016110ad565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561105857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516128b191815260200190565b6001600160a01b0381161580612c1657506001600160a01b0381165f9081526026602052604090205460ff165b15612c1e5750565b6001600160a01b03165f818152602660205260408120805460ff191660019081179091556025805491820181559091527f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4c0180546001600160a01b0319169091179055565b60065460ff1615612ccf5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881d1c985b9cd9995c9cc81c185d5cd95960521b60448201526064016110ad565b5f612cda8484613605565b905080612d355760405162461bcd60e51b815260206004820152602360248201527f57616c6c65742d746f2d77616c6c6574207472616e73666572732064697361626044820152621b195960ea1b60648201526084016110ad565b60125460ff168015612d5f57506001600160a01b0384165f9081526009602052604090205460ff16155b8015612d8357506001600160a01b0383165f9081526009602052604090205460ff16155b15612d9257612d928484613813565b600f5460ff168015612db757506006546001600160a01b038581166101009092041614155b8015612dd657506006546001600160a01b038481166101009092041614155b8015612dfa57506001600160a01b0384165f9081526009602052604090205460ff16155b8015612e1e57506001600160a01b0383165f9081526009602052604090205460ff16155b8015612e4257506001600160a01b0384165f908152600b602052604090205460ff16155b8015612e6657506001600160a01b0383165f908152600b602052604090205460ff16155b15612e7957612e76848484613951565b91505b5f805f612e87878787613b07565b9250925092505f82118015612e9a575080155b15612eaa57612eaa873084613d2b565b612eb5878785613d2b565b5f82118015612ec15750805b15612ed157612ed1863084613d2b565b8115612edf57612edf613d4d565b6027546001600160a01b031615613026576001600160a01b03871615801590612f1157506001600160a01b0387163014155b15612f8b576027546001600160a01b03166342a1e4d388612f318161198d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612f74575f80fd5b505af1158015612f86573d5f803e3d5ffd5b505050505b6001600160a01b03861615801590612fac57506001600160a01b0386163014155b15613026576027546001600160a01b03166342a1e4d387612fcc8161198d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561300f575f80fd5b505af1158015613021573d5f803e3d5ffd5b505050505b50505050505050565b6001600160a01b0381165f908152601c602052604081205481906130528461198d565b601b5461305f919061436b565b613069919061439c565b90505f811361307a57505f92915050565b611369670de0b6b3a764000082614331565b5f8060205f8451602086015f885af1806130ab576040513d5f823e3d81fd5b50505f513d915081156130c25780600114156130cf565b6001600160a01b0384163b155b1561105857604051635274afe760e01b81526001600160a01b03851660048201526024016110ad565b60065460ff1661169a57604051638dfc202b60e01b815260040160405180910390fd5b60065460ff161561169a5760405163d93c066560e01b815260040160405180910390fd5b5f8061314a60025490565b90505f5b6025548110156131ba575f6025828154811061316c5761316c6142cc565b5f9182526020808320909101546001600160a01b0316808352601a90915260409091205490915060ff16156131b1576131a48161198d565b6131ae9084614307565b92505b5060010161314e565b50919050565b6001600160a01b0383166131ea578060025f8282546131df91906142f4565b9091555061325a9050565b6001600160a01b0383165f908152602081905260409020548181101561323c5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016110ad565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661327657600280548290039055613294565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516132d991815260200190565b60405180910390a3505050565b604080516003808252608082019092525f918291906020820160608036833701905050905030815f8151811061331e5761331e6142cc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110613372576133726142cc565b6001600160a01b0392831660209182029290920101526008548251911690829060029081106133a3576133a36142cc565b6001600160a01b0392831660209182029290920101526008546040516370a0823160e01b81523060048201525f9291909116906370a0823190602401602060405180830381865afa1580156133fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061341e919061431a565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d06ca61f86856040518363ffffffff1660e01b815260040161346f92919061441a565b5f60405180830381865afa158015613489573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b0919081019061443a565b90505f816002815181106134c6576134c66142cc565b602002602001015190505f612710602854836134e2919061436b565b6134ec9190614331565b6134f69083614307565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635c11d795888388306135374261012c6142f4565b6040518663ffffffff1660e01b8152600401613557959493929190614502565b5f604051808303815f87803b15801561356e575f80fd5b505af1158015613580573d5f803e3d5ffd5b50506008546040516370a0823160e01b81523060048201528793506001600160a01b0390911691506370a0823190602401602060405180830381865afa1580156135cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135f0919061431a565b6135fa9190614307565b979650505050505050565b5f6001600160a01b038316158061362357506001600160a01b038216155b1561363057506001610fe6565b6001600160a01b03831630148061364f57506001600160a01b03821630145b1561365c57506001610fe6565b6006546001600160a01b0384811661010090920416148061368f57506006546001600160a01b0383811661010090920416145b1561369c57506001610fe6565b6001600160a01b0383165f908152600b602052604090205460ff16806136d957506001600160a01b0382165f908152600b602052604090205460ff165b156136e657506001610fe6565b6001600160a01b0383165f9081526009602052604090205460ff168061372357506001600160a01b0382165f9081526009602052604090205460ff165b1561373057506001610fe6565b6001600160a01b0383165f908152600a602052604090205460ff168061376d57506001600160a01b0382165f908152600a602052604090205460ff165b1561377a57506001610fe6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614806137eb57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b156137f857506001610fe6565b600c5460ff161561380a57505f610fe6565b50600192915050565b6001600160a01b038083165f908152600a602052604080822054928416825290205460ff9182169116811561385d576001600160a01b0383165f9081526010602052604090204390555b80801561386b57505f601154115b15611058576011546001600160a01b0385165f9081526010602052604090205461389591906142f4565b4310156138e45760405162461bcd60e51b815260206004820181905260248201527f506c656173652077616974203120626c6f636b20616674657220627579696e6760448201526064016110ad565b836001600160a01b03167fd3d6135252b4fcf2466f3aa57373969b9e9401ace0088aa81b2a025ec4329fca6040516139439060208082526013908201527229b0b7323bb4b1b410383937ba32b1ba34b7b760691b604082015260600190565b60405180910390a250505050565b6001600160a01b0383165f908152600b602052604081205460ff168061398e57506001600160a01b0383165f908152600b602052604090205460ff165b1561399a575080611369565b6001600160a01b0383165f908152600a602052604090205460ff1680156139d957506001600160a01b0384165f9081526018602052604090205460ff16155b156139eb576139e88483613d91565b91505b600d54821115613a3d5760405162461bcd60e51b815260206004820152601b60248201527f5472616e7366657220616d6f756e742065786365656473206d6178000000000060448201526064016110ad565b6001600160a01b0384165f908152600a602052604090205460ff168015613a9657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b15613b0057600e5482613aa88561198d565b613ab291906142f4565b1115613b005760405162461bcd60e51b815260206004820152601760248201527f57616c6c657420776f756c6420657863656564206d617800000000000000000060448201526064016110ad565b5092915050565b6001600160a01b0383165f90815260096020526040812054829190819060ff1615613b3657505f905080613d22565b6001600160a01b038087165f908152600a602052604080822054928816825290205460ff918216911681158015613b6b575080155b15613b7e57505f9250829150613d229050565b6007546001600160a01b0389165f9081526018602052604090205460ff16158015613bc157506001600160a01b0389165f908152600b602052604090205460ff16155b8015613bd75750601354613bd48a61198d565b10155b15613c2657601654613be990826142f4565b9050806007548a6001600160a01b03167f7897d10b1faf7174a3e08b4cc8945db5450ebda52428952aa5da77cf7470479c60405160405180910390a45b6001600160a01b0388165f9081526018602052604090205460ff16158015613c6657506001600160a01b0388165f908152600b602052604090205460ff16155b8015613c7c5750601354613c798961198d565b10155b15613ccb57601654613c8e90826142f4565b905080600754896001600160a01b03167f7897d10b1faf7174a3e08b4cc8945db5450ebda52428952aa5da77cf7470479c60405160405180910390a45b6103e8811115613cda57506103e85b612710613ce7828961436b565b613cf19190614331565b9450845f03613d0957505f9350839250613d22915050565b82935083613d1e57613d1b8588614307565b95505b5050505b93509350939050565b805f03613d3757505050565b613d428383836131c0565b611345838383613ed9565b5f613d573061198d565b90505f6305f5e100602954613d6b60025490565b613d75919061436b565b613d7f9190614331565b905080821061134757611347826128bf565b5f80613d9c8461198d565b601354909150811080613dc657506001600160a01b0384165f908152600b602052604090205460ff165b15613dd45782915050610fe6565b6015546001600160a01b0385165f90815260176020526040902054613df991906142f4565b431015613e485760405162461bcd60e51b815260206004820152601a60248201527f5768616c652073656c6c20636f6f6c646f776e2061637469766500000000000060448201526064016110ad565b6014545f9061271090613e5b908461436b565b613e659190614331565b905080841115613eb75760405162461bcd60e51b815260206004820152601f60248201527f5768616c652073656c6c20616d6f756e742065786365656473206c696d69740060448201526064016110ad565b5050506001600160a01b03919091165f90815260176020526040902043905590565b805f03613ee557505050565b5f81601b54613ef4919061436b565b90506001600160a01b038416613f36576001600160a01b0383165f908152601c602052604081208054839290613f2b90849061453d565b909155506110589050565b6001600160a01b038316613f6b576001600160a01b0384165f908152601c602052604081208054839290613f2b90849061439c565b6001600160a01b0384165f908152601c602052604081208054839290613f9290849061439c565b90915550506001600160a01b0383165f908152601c602052604081208054839290613fbe90849061453d565b909155505050505050565b602081525f82518060208401525f5b81811015613ff55760208186018101516040868401015201613fd8565b505f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461402a575f80fd5b919050565b5f8060408385031215614040575f80fd5b61404983614014565b946020939093013593505050565b5f60208284031215614067575f80fd5b61136982614014565b8015158114612163575f80fd5b5f805f6040848603121561408f575f80fd5b833567ffffffffffffffff8111156140a5575f80fd5b8401601f810186136140b5575f80fd5b803567ffffffffffffffff8111156140cb575f80fd5b8660208260051b84010111156140df575f80fd5b6020918201945092508401356140f481614070565b809150509250925092565b5f6020828403121561410f575f80fd5b813561136981614070565b5f6020828403121561412a575f80fd5b5035919050565b5f805f60608486031215614143575f80fd5b61414c84614014565b925061415a60208501614014565b929592945050506040919091013590565b5f806040838503121561417c575f80fd5b61418583614014565b9150602083013561419581614070565b809150509250929050565b5f80604083850312156141b1575f80fd5b823561404981614070565b602080825282518282018190525f918401906040840190835b8181101561420f578351805184526020810151602085015260408101516040850152506060830192506020840193506001810190506141d5565b509095945050505050565b5f806040838503121561422b575f80fd5b50508035926020909101359150565b5f806040838503121561424b575f80fd5b61425483614014565b915061426260208401614014565b90509250929050565b5f805f806080858703121561427e575f80fd5b5050823594602084013594506040840135936060013592509050565b600181811c908216806142ae57607f821691505b6020821081036131ba57634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610fe657610fe66142e0565b81810381811115610fe657610fe66142e0565b5f6020828403121561432a575f80fd5b5051919050565b5f8261434b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215614360575f80fd5b815161136981614070565b8082028115828204841417610fe657610fe66142e0565b5f600160ff1b8201614396576143966142e0565b505f0390565b8082018281125f8312801582168215821617156143bb576143bb6142e0565b505092915050565b634e487b7160e01b5f52604160045260245ffd5b5f8151808452602084019350602083015f5b828110156144105781516001600160a01b03168652602095860195909101906001016143e9565b5093949350505050565b828152604060208201525f61443260408301846143d7565b949350505050565b5f6020828403121561444a575f80fd5b815167ffffffffffffffff811115614460575f80fd5b8201601f81018413614470575f80fd5b805167ffffffffffffffff81111561448a5761448a6143c3565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156144b7576144b76143c3565b6040529182526020818401810192908101878411156144d4575f80fd5b6020850194505b838510156144f7578451808252602095860195909350016144db565b509695505050505050565b85815284602082015260a060408201525f61452060a08301866143d7565b6001600160a01b0394909416606083015250608001529392505050565b8181035f831280158383131683831282161715613b0057613b006142e056fe151e5e0c0e720ff3bf4bdf81a60792accaa294c13caff1cd03690956bb35a352a264697066735822122073fd439f74e8b2b41f3b8b34c188af32c5c20a349dab9a7b47480de0a197766764736f6c634300081a00337897d10b1faf7174a3e08b4cc8945db5450ebda52428952aa5da77cf7470479c0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193300000000000000000000000075eda8c60d84b3df2abee786c1b54276786851b70000000000000000000000003dac0835916766e3f9c9288780bfed5213a1c1bd0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106104be575f3560e01c8063771a3a1d1161026d578063bafbd2781161014a578063dd6624e4116100be578063f2fde38b11610083578063f2fde38b14610ea4578063f3b0c28914610ec3578063f4aba96014610ed7578063f82f235f14610eeb578063f8bd6d0814610f19578063fdb74ca514610f2e575f80fd5b8063dd6624e414610e22578063e1616c24146104c9578063e1cd5b5d14610e4d578063e4fbaecb14610e6c578063ee788ad314610e8b575f80fd5b8063c8a60ec31161010f578063c8a60ec314610d43578063cce15db214610d57578063d3cd52bc14610d70578063d8ad523114610d85578063dbe66ca014610db0578063dd62ed3e14610dde575f80fd5b8063bafbd27814610cb2578063bd7e06b314610cc7578063c4590d3f14610ce6578063c6d69a3014610d05578063c6f5def714610d24575f80fd5b80639320e605116101e1578063aa4bde28116101a6578063aa4bde2814610bdb578063aba31bbe14610bf0578063ad5c464814610c04578063ae0f020b14610c37578063b0c150af14610c56578063b62496f514610c84575f80fd5b80639320e60514610b5357806395d89b4114610b74578063a040a74b14610b88578063a9059cbb14610b9d578063a9d3cd8a14610bbc575f80fd5b8063860f979c11610232578063860f979c146104c95780638a2cfbe314610ac95780638c0b5e2214610ae85780638da5cb5b14610afd5780638ea5220f14610b1f5780638fa8173214610b3e575f80fd5b8063771a3a1d14610a57578063821d4b0814610a6c57806383f0cfea14610a815780638456cb5914610aa0578063855e1c5314610ab4575f80fd5b80633c8afa5d1161039b5780635c975abb1161030f57806370a08231116102d457806370a08231146109d257806370cbe56c146109f1578063715018a614610a10578063751039fc14610a245780637547407414610a38578063760690c4146104c9575f80fd5b80635c975abb146109385780635d6485881461094f578063637930dd1461098957806367337df9146109a85780636b5a0e5e146109bd575f80fd5b806349bd5a5e1161036057806349bd5a5e146108675780634a62bb651461089a5780635288f312146108b35780635561e1f6146108ef578063570d84f414610904578063590ffdce14610919575f80fd5b80633c8afa5d146107cb5780633d3bd088146107ea5780633f4ba83a1461081557806340a24e6c1461082957806343f68a4914610848575f80fd5b80631f7980a4116104325780632e4ef694116103f75780632e4ef694146106f1578063313ce5671461073357806331d7a2621461074e578063324d01d81461076d578063372500ab1461078c57806337b28bfd146107a0575f80fd5b80631f7980a4146106565780631ff9182f1461067557806321122e951461069457806323b872dd146106b35780632a801fe8146106d2575f80fd5b80631314474411610483578063131447441461058d57806315386342146105a25780631694505e146105c357806318160ddd1461060e5780631911687a146106225780631f53ac0214610637575f80fd5b806304b49429146104c957806306fdde03146104f1578063095ea7b3146105125780630c3f476814610541578063125cac3e1461055f575f80fd5b366104c557005b5f80fd5b3480156104d4575f80fd5b506104de6102b281565b6040519081526020015b60405180910390f35b3480156104fc575f80fd5b50610505610f43565b6040516104e89190613fc9565b34801561051d575f80fd5b5061053161052c36600461402f565b610fd3565b60405190151581526020016104e8565b34801561054c575f80fd5b50602754600160a01b900460ff16610531565b34801561056a575f80fd5b50610531610579366004614057565b60186020525f908152604090205460ff1681565b348015610598575f80fd5b506104de60295481565b3480156105ad575f80fd5b506105c16105bc36600461407d565b610fec565b005b3480156105ce575f80fd5b506105f67f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016104e8565b348015610619575f80fd5b506002546104de565b34801561062d575f80fd5b506104de60285481565b348015610642575f80fd5b506105c1610651366004614057565b61105e565b348015610661575f80fd5b506105c16106703660046140ff565b6111aa565b348015610680575f80fd5b506105c161068f36600461411a565b6111c5565b34801561069f575f80fd5b506105c16106ae366004614057565b6111d2565b3480156106be575f80fd5b506105316106cd366004614131565b61134b565b3480156106dd575f80fd5b50602b546105f6906001600160a01b031681565b3480156106fc575f80fd5b506013546014546015546016546107139392919084565b6040805194855260208501939093529183015260608201526080016104e8565b34801561073e575f80fd5b50604051601281526020016104e8565b348015610759575f80fd5b506104de610768366004614057565b611370565b348015610778575f80fd5b506105c1610787366004614057565b61137a565b348015610797575f80fd5b506105c1611435565b3480156107ab575f80fd5b506104de6107ba366004614057565b60106020525f908152604090205481565b3480156107d6575f80fd5b506105c16107e5366004614057565b61169c565b3480156107f5575f80fd5b506104de610804366004614057565b60176020525f908152604090205481565b348015610820575f80fd5b506105c161175c565b348015610834575f80fd5b506105c161084336600461416b565b61176c565b348015610853575f80fd5b506105c161086236600461411a565b6117dc565b348015610872575f80fd5b506105f67f000000000000000000000000fab8863923e54a4f097874f6a1e69d7d8507ad3f81565b3480156108a5575f80fd5b50600f546105319060ff1681565b3480156108be575f80fd5b506108d26108cd366004614057565b611848565b6040805193845260208401929092521515908201526060016104e8565b3480156108fa575f80fd5b506104de60215481565b34801561090f575f80fd5b506104de60225481565b348015610924575f80fd5b506105c161093336600461416b565b6118aa565b348015610943575f80fd5b5060065460ff16610531565b34801561095a575f80fd5b5061096e61096936600461411a565b6118dc565b604080519384526020840192909252908201526060016104e8565b348015610994575f80fd5b506105c16109a336600461411a565b61190d565b3480156109b3575f80fd5b506104de60245481565b3480156109c8575f80fd5b506104de60205481565b3480156109dd575f80fd5b506104de6109ec366004614057565b61198d565b3480156109fc575f80fd5b506105c1610a0b36600461411a565b6119a7565b348015610a1b575f80fd5b506105c16119b4565b348015610a2f575f80fd5b506105c16119c5565b348015610a43575f80fd5b506105c1610a5236600461416b565b6119d9565b348015610a62575f80fd5b506104de60075481565b348015610a77575f80fd5b506104de611af481565b348015610a8c575f80fd5b506105c1610a9b3660046141a0565b611a0b565b348015610aab575f80fd5b506105c1611a2a565b348015610abf575f80fd5b506104de601f5481565b348015610ad4575f80fd5b506105c1610ae336600461411a565b611a3a565b348015610af3575f80fd5b506104de600d5481565b348015610b08575f80fd5b5060065461010090046001600160a01b03166105f6565b348015610b2a575f80fd5b50602a546105f6906001600160a01b031681565b348015610b49575f80fd5b506104de6103e881565b348015610b5e575f80fd5b50610b67611b86565b6040516104e891906141bc565b348015610b7f575f80fd5b50610505611bff565b348015610b93575f80fd5b506104de602c5481565b348015610ba8575f80fd5b50610531610bb736600461402f565b611c0e565b348015610bc7575f80fd5b506105c1610bd636600461416b565b611c1b565b348015610be6575f80fd5b506104de600e5481565b348015610bfb575f80fd5b50610713611c4d565b348015610c0f575f80fd5b506105f67f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610c42575f80fd5b506105c1610c5136600461411a565b611cdc565b348015610c61575f80fd5b50610531610c70366004614057565b600b6020525f908152604090205460ff1681565b348015610c8f575f80fd5b50610531610c9e366004614057565b600a6020525f908152604090205460ff1681565b348015610cbd575f80fd5b506104de601e5481565b348015610cd2575f80fd5b506027546105f6906001600160a01b031681565b348015610cf1575f80fd5b506105c1610d0036600461421a565b611e0e565b348015610d10575f80fd5b506105c1610d1f36600461411a565b611ed0565b348015610d2f575f80fd5b506105c1610d3e36600461416b565b611f63565b348015610d4e575f80fd5b506105c1611fc2565b348015610d62575f80fd5b506012546105319060ff1681565b348015610d7b575f80fd5b506104de6125da81565b348015610d90575f80fd5b506104de610d9f366004614057565b60236020525f908152604090205481565b348015610dbb575f80fd5b50610531610dca366004614057565b60096020525f908152604090205460ff1681565b348015610de9575f80fd5b506104de610df836600461423a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610e2d575f80fd5b506104de610e3c366004614057565b601d6020525f908152604090205481565b348015610e58575f80fd5b506105c1610e6736600461426b565b612166565b348015610e77575f80fd5b506008546105f6906001600160a01b031681565b348015610e96575f80fd5b50600c546105319060ff1681565b348015610eaf575f80fd5b506105c1610ebe366004614057565b61221a565b348015610ece575f80fd5b506104de601e81565b348015610ee2575f80fd5b506105c1612254565b348015610ef6575f80fd5b50610531610f05366004614057565b601a6020525f908152604090205460ff1681565b348015610f24575f80fd5b506104de601b5481565b348015610f39575f80fd5b506104de60115481565b606060038054610f529061429a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e9061429a565b8015610fc95780601f10610fa057610100808354040283529160200191610fc9565b820191905f5260205f20905b815481529060010190602001808311610fac57829003601f168201915b5050505050905090565b5f33610fe0818585612277565b60019150505b92915050565b610ff4612284565b5f5b82811015611058578160185f868685818110611014576110146142cc565b90506020020160208101906110299190614057565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610ff6565b50505050565b611066612284565b6001600160a01b0381166110b65760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a590819195d881dd85b1b195d60721b60448201526064015b60405180910390fd5b602a80546001600160a01b038381166001600160a01b031983168117909355165f818152600960209081526040808320805460ff19908116909155948352808320805486166001179055838352601a909152812080549093169092559061111e9082906122b7565b6040515f81526001600160a01b038216905f8051602061455d8339815191529060200160405180910390a26001600160a01b0382165f908152601a60205260409020805460ff191660019081179091556111799083906122b7565b604051600181526001600160a01b038316905f8051602061455d833981519152906020015b60405180910390a25050565b6111b2612284565b600c805460ff1916911515919091179055565b6111cd612284565b602255565b6111da612284565b6001600160a01b0381166112275760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b2103837b7321036b0b730b3b2b960611b60448201526064016110ad565b602780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f6449a89accff0afe9f56548a2ebb5163fe2b2736e171473a6f08d67200fcb3e2905f90a36001600160a01b038116156112d9576001600160a01b0381165f908152601a60205260408120805460ff191690556112ad9082906122b7565b6040515f81526001600160a01b038216905f8051602061455d8339815191529060200160405180910390a25b6001600160a01b0382165f908152601a60205260409020805460ff191660019081179091556113099083906122b7565b604051600181526001600160a01b038316905f8051602061455d8339815191529060200160405180910390a2602c54156113475761134561232d565b505b5050565b5f3361135885828561244f565b6113638585856124c5565b60019150505b9392505050565b5f610fe682612522565b611382612284565b6001600160a01b0381166113cd5760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a5908185c9d081dd85b1b195d60721b60448201526064016110ad565b602b80546001600160a01b038381166001600160a01b031983168117909355165f818152600960209081526040808320805460ff19908116909155948352808320805486166001179055838352601a909152812080549093169092559061111e9082906122b7565b61143d6125b0565b335f908152601a602052604090205460ff16156114945760405162461bcd60e51b81526020600482015260156024820152744578636c756465642066726f6d207265776172647360581b60448201526064016110ad565b6021546114a03361198d565b10156114e55760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016110ad565b602254335f9081526023602052604090205461150191906142f4565b4210156115485760405162461bcd60e51b8152602060048201526015602482015274436c61696d20636f6f6c646f776e2061637469766560581b60448201526064016110ad565b5f61155233612522565b90505f811161159a5760405162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320617661696c61626c6560601b60448201526064016110ad565b601e548111156115ec5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74205045504520726573657276657300000000000060448201526064016110ad565b335f908152602360209081526040808320429055601d909152812080548392906116179084906142f4565b925050819055508060205f82825461162f91906142f4565b9250508190555080601e5f8282546116479190614307565b9091555050600854611663906001600160a01b031633836125da565b604051819033907ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe905f90a35061169a6001600555565b565b6116a4612284565b6001600160a01b0381166116f15760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642050455045206164647265737360601b60448201526064016110ad565b306001600160a01b0382160361173a5760405162461bcd60e51b815260206004820152600e60248201526d21b0b73737ba1031329039b2b63360911b60448201526064016110ad565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b611764612284565b61169a61262c565b611774612284565b6001600160a01b0382165f818152600b60209081526040808320805486151560ff199182168117909255601884529382902080549094168117909355519182527f5cea8c810b0392e753a238e1d073a0ad28fa8534950a456306f29746c53b5b97910161119e565b6117e4612284565b600a81101580156117f757506101f48111155b6118435760405162461bcd60e51b815260206004820152601b60248201527f536c697070616765206d75737420626520302e312520746f203525000000000060448201526064016110ad565b602855565b5f805f6118548461198d565b925061185f84612522565b6022546001600160a01b0386165f90815260236020526040902054919350611886916142f4565b421015801561189457505f82115b80156118a257506021548310155b929491935050565b6118b2612284565b6001600160a01b03919091165f908152600960205260409020805460ff1916911515919091179055565b601981815481106118eb575f80fd5b5f91825260209091206003909102018054600182015460029092015490925083565b611915612284565b606481101580156119295750620186a08111155b6119885760405162461bcd60e51b815260206004820152602a60248201527f5468726573686f6c64206d757374206265206265747765656e20302e303030316044820152692520616e6420302e312560b01b60648201526084016110ad565b602955565b6001600160a01b03165f9081526020819052604090205490565b6119af612284565b602155565b6119bc612284565b61169a5f61267e565b6119cd612284565b600f805460ff19169055565b6119e1612284565b6001600160a01b03919091165f908152601860205260409020805460ff1916911515919091179055565b611a13612284565b6012805460ff191692151592909217909155601155565b611a32612284565b61169a6126d7565b611a42612284565b5f8111611a7f5760405162461bcd60e51b815260206004820152600b60248201526a416d6f756e74207a65726f60a81b60448201526064016110ad565b6008546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae9919061431a565b1015611b2b5760405162461bcd60e51b815260206004820152601160248201527014115411481b9bdd081c9958d95a5d9959607a1b60448201526064016110ad565b80602c5f828254611b3c91906142f4565b909155505f9050611b4b61232d565b604080518481526020810183905291925033917f243a49b94f22067a538d03b506f1f44245dedf597196f0256d2f2299558e2e45910161119e565b60606019805480602002602001604051908101604052809291908181526020015f905b82821015611bf6578382905f5260205f2090600302016040518060600160405290815f82015481526020016001820154815260200160028201548152505081526020019060010190611ba9565b50505050905090565b606060048054610f529061429a565b5f33610fe08185856124c5565b611c23612284565b6001600160a01b03919091165f908152600a60205260409020805460ff1916911515919091179055565b601e54601f546020546008546040516370a0823160e01b81523060048201525f948594859485949293919290916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cce919061431a565b935093509350935090919293565b611ce4612284565b5f8111611d215760405162461bcd60e51b815260206004820152600b60248201526a416d6f756e74207a65726f60a81b60448201526064016110ad565b6008546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611d67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8b919061431a565b1015611dcd5760405162461bcd60e51b815260206004820152601160248201527014115411481b9bdd081c9958d95a5d9959607a1b60448201526064016110ad565b611dd681612714565b60405181815233907fe0db959ccaef964bd3978f9e5268c139c9546969e3f9d880b71ff0f43c4cdd559060200160405180910390a250565b611e16612284565b6103e8611e2260025490565b611e2c9190614331565b821015611e6c5760405162461bcd60e51b815260206004820152600e60248201526d4d617820545820746f6f206c6f7760901b60448201526064016110ad565b6064611e7760025490565b611e819190614331565b811015611ec55760405162461bcd60e51b81526020600482015260126024820152714d61782077616c6c657420746f6f206c6f7760701b60448201526064016110ad565b600d91909155600e55565b611ed8612284565b6103e8811115611f1e5760405162461bcd60e51b81526020600482015260116024820152700a8c2f040e4c2e8ca40e8dede40d0d2ced607b1b60448201526064016110ad565b600780549082905560408051828152602081018490527fa8ee157eb2a9aa895d74df4d2d3bc0ad165ff3162f8ec46a4ecf602dd5c48fda910160405180910390a15050565b611f6b612284565b6001600160a01b0382165f908152601a60205260409020805460ff1916821515179055611f9882826122b7565b816001600160a01b03165f8051602061455d8339815191528260405161119e911515815260200190565b611fca612284565b6027546001600160a01b03166120195760405162461bcd60e51b8152602060048201526014602482015273141bdb99081b585b9859d95c881b9bdd081cd95d60621b60448201526064016110ad565b5f602c54116120615760405162461bcd60e51b81526020600482015260146024820152734e6f2070656e64696e6720706f6e64205045504560601b60448201526064016110ad565b60275f9054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120d59190614350565b156121185760405162461bcd60e51b8152602060048201526013602482015272141bdb99081b585b9859d95c881c185d5cd959606a1b60448201526064016110ad565b5f61212161232d565b90505f81116121635760405162461bcd60e51b815260206004820152600e60248201526d119bdc9dd85c990819985a5b195960921b60448201526064016110ad565b50565b61216e612284565b6127108311156121b45760405162461bcd60e51b815260206004820152601160248201527009ac2f040e6cad8d840e8dede40d0d2ced607b1b60448201526064016110ad565b6103e88111156122065760405162461bcd60e51b815260206004820152601860248201527f50726f67726573736976652074617820746f6f2068696768000000000000000060448201526064016110ad565b601393909355601491909155601555601655565b612222612284565b6001600160a01b03811661224b57604051631e4fbdf760e01b81525f60048201526024016110ad565b6121638161267e565b61225c612284565b5f6122663061198d565b9050801561216357612163816128bf565b6113458383836001612b25565b6006546001600160a01b0361010090910416331461169a5760405163118cdaa760e01b81523360048201526024016110ad565b6001600160a01b0382166122c9575050565b80156122d8576122d882612be9565b5f6122e28361198d565b90505f81601b546122f3919061436b565b90506122fe81614382565b6001600160a01b039094165f908152601c6020908152604080832096909655601d905293842093909355505050565b5f602c545f0361233c57505f90565b6027546001600160a01b031615806123c3575060275f9054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561239f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c39190614350565b156123cd57505f90565b50602c80545f9091556027546008546123f3916001600160a01b039182169116836125da565b60275460405163fd056c4b60e01b8152600481018390526001600160a01b039091169063fd056c4b906024015f604051808303815f87803b158015612436575f80fd5b505af1158015612448573d5f803e3d5ffd5b5050505090565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981101561105857818110156124b757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016110ad565b61105884848484035f612b25565b6001600160a01b0383166124ee57604051634b637e8f60e11b81525f60048201526024016110ad565b6001600160a01b0382166125175760405163ec442f0560e01b81525f60048201526024016110ad565b611345838383612c83565b6001600160a01b0381165f908152601a602052604081205460ff161561254957505f919050565b5f6125538361198d565b905060215481101561256757505f92915050565b5f6125718461302f565b6001600160a01b0385165f908152601d602052604090205490915080821161259d57505f949350505050565b6125a78183614307565b95945050505050565b6002600554036125d357604051633ee5aeb560e01b815260040160405180910390fd5b6002600555565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261134590849061308c565b6126346130f8565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6126df61311b565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126613390565b5f6024548261272391906142f4565b9050805f03612730575050565b5f61273961313f565b9050805f03612749575060245550565b5f60245580612760670de0b6b3a76400008461436b565b61276a9190614331565b601b5f82825461277a91906142f4565b909155505f90508161279484670de0b6b3a764000061436b565b61279e9190614331565b604080516060810182528481526020810183815242928201928352601980546001810182555f91825292517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969560039094029384015590517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969683015591517f944998273e477b495144fb8794c914197f3ccb46be2900f4698fd0ef743c969790910155601f805492935085929091906128579084906142f4565b9250508190555082601e5f82825461286f91906142f4565b9091555050601954819061288590600190614307565b6040518481527f22ee476b827869767b93c9d66a409cda0f5f260baebc35ebe36ec5a5a3712f89906020015b60405180910390a350505050565b602754600160a01b900460ff16156129195760405162461bcd60e51b815260206004820152601760248201527f416c72656164792070726f63657373696e67206665657300000000000000000060448201526064016110ad565b6027805460ff60a01b1916600160a01b1790555f6125da61293c6102b28461436b565b6129469190614331565b9050801561295b5761295b3061dead836131c0565b5f6129668284614307565b9050805f036129815750506027805460ff60a01b1916905550565b5f61298b826132e6565b9050805f036129a75750506027805460ff60a01b191690555050565b5f6129b66102b26125da614307565b90505f816129c6611af48561436b565b6129d09190614331565b90505f826129e06102b28661436b565b6129ea9190614331565b90505f836129fa6102b28761436b565b612a049190614331565b90505f84612a146102b28861436b565b612a1e9190614331565b90505f85612a2d601e8961436b565b612a379190614331565b90508415612a565784602c5f828254612a5091906142f4565b90915550505b5f612a5f61232d565b90508415612a8057600854612a80906001600160a01b031661dead876125da565b8315612a8f57612a8f84612714565b8215612ab257602a54600854612ab2916001600160a01b039182169116856125da565b8115612ad557602b54600854612ad5916001600160a01b039182169116846125da565b612adf82846142f4565b604051829086907ff3b92bac10eca6b22ab7eb9e11474efe0a46765ca7dd7700877f4f776997beb9905f90a450506027805460ff60a01b19169055505050505050505050565b6001600160a01b038416612b4e5760405163e602df0560e01b81525f60048201526024016110ad565b6001600160a01b038316612b7757604051634a1406b160e11b81525f60048201526024016110ad565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561105857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516128b191815260200190565b6001600160a01b0381161580612c1657506001600160a01b0381165f9081526026602052604090205460ff165b15612c1e5750565b6001600160a01b03165f818152602660205260408120805460ff191660019081179091556025805491820181559091527f401968ff42a154441da5f6c4c935ac46b8671f0e062baaa62a7545ba53bb6e4c0180546001600160a01b0319169091179055565b60065460ff1615612ccf5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881d1c985b9cd9995c9cc81c185d5cd95960521b60448201526064016110ad565b5f612cda8484613605565b905080612d355760405162461bcd60e51b815260206004820152602360248201527f57616c6c65742d746f2d77616c6c6574207472616e73666572732064697361626044820152621b195960ea1b60648201526084016110ad565b60125460ff168015612d5f57506001600160a01b0384165f9081526009602052604090205460ff16155b8015612d8357506001600160a01b0383165f9081526009602052604090205460ff16155b15612d9257612d928484613813565b600f5460ff168015612db757506006546001600160a01b038581166101009092041614155b8015612dd657506006546001600160a01b038481166101009092041614155b8015612dfa57506001600160a01b0384165f9081526009602052604090205460ff16155b8015612e1e57506001600160a01b0383165f9081526009602052604090205460ff16155b8015612e4257506001600160a01b0384165f908152600b602052604090205460ff16155b8015612e6657506001600160a01b0383165f908152600b602052604090205460ff16155b15612e7957612e76848484613951565b91505b5f805f612e87878787613b07565b9250925092505f82118015612e9a575080155b15612eaa57612eaa873084613d2b565b612eb5878785613d2b565b5f82118015612ec15750805b15612ed157612ed1863084613d2b565b8115612edf57612edf613d4d565b6027546001600160a01b031615613026576001600160a01b03871615801590612f1157506001600160a01b0387163014155b15612f8b576027546001600160a01b03166342a1e4d388612f318161198d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015612f74575f80fd5b505af1158015612f86573d5f803e3d5ffd5b505050505b6001600160a01b03861615801590612fac57506001600160a01b0386163014155b15613026576027546001600160a01b03166342a1e4d387612fcc8161198d565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b15801561300f575f80fd5b505af1158015613021573d5f803e3d5ffd5b505050505b50505050505050565b6001600160a01b0381165f908152601c602052604081205481906130528461198d565b601b5461305f919061436b565b613069919061439c565b90505f811361307a57505f92915050565b611369670de0b6b3a764000082614331565b5f8060205f8451602086015f885af1806130ab576040513d5f823e3d81fd5b50505f513d915081156130c25780600114156130cf565b6001600160a01b0384163b155b1561105857604051635274afe760e01b81526001600160a01b03851660048201526024016110ad565b60065460ff1661169a57604051638dfc202b60e01b815260040160405180910390fd5b60065460ff161561169a5760405163d93c066560e01b815260040160405180910390fd5b5f8061314a60025490565b90505f5b6025548110156131ba575f6025828154811061316c5761316c6142cc565b5f9182526020808320909101546001600160a01b0316808352601a90915260409091205490915060ff16156131b1576131a48161198d565b6131ae9084614307565b92505b5060010161314e565b50919050565b6001600160a01b0383166131ea578060025f8282546131df91906142f4565b9091555061325a9050565b6001600160a01b0383165f908152602081905260409020548181101561323c5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016110ad565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661327657600280548290039055613294565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516132d991815260200190565b60405180910390a3505050565b604080516003808252608082019092525f918291906020820160608036833701905050905030815f8151811061331e5761331e6142cc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110613372576133726142cc565b6001600160a01b0392831660209182029290920101526008548251911690829060029081106133a3576133a36142cc565b6001600160a01b0392831660209182029290920101526008546040516370a0823160e01b81523060048201525f9291909116906370a0823190602401602060405180830381865afa1580156133fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061341e919061431a565b90505f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663d06ca61f86856040518363ffffffff1660e01b815260040161346f92919061441a565b5f60405180830381865afa158015613489573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b0919081019061443a565b90505f816002815181106134c6576134c66142cc565b602002602001015190505f612710602854836134e2919061436b565b6134ec9190614331565b6134f69083614307565b90506001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d16635c11d795888388306135374261012c6142f4565b6040518663ffffffff1660e01b8152600401613557959493929190614502565b5f604051808303815f87803b15801561356e575f80fd5b505af1158015613580573d5f803e3d5ffd5b50506008546040516370a0823160e01b81523060048201528793506001600160a01b0390911691506370a0823190602401602060405180830381865afa1580156135cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135f0919061431a565b6135fa9190614307565b979650505050505050565b5f6001600160a01b038316158061362357506001600160a01b038216155b1561363057506001610fe6565b6001600160a01b03831630148061364f57506001600160a01b03821630145b1561365c57506001610fe6565b6006546001600160a01b0384811661010090920416148061368f57506006546001600160a01b0383811661010090920416145b1561369c57506001610fe6565b6001600160a01b0383165f908152600b602052604090205460ff16806136d957506001600160a01b0382165f908152600b602052604090205460ff165b156136e657506001610fe6565b6001600160a01b0383165f9081526009602052604090205460ff168061372357506001600160a01b0382165f9081526009602052604090205460ff165b1561373057506001610fe6565b6001600160a01b0383165f908152600a602052604090205460ff168061376d57506001600160a01b0382165f908152600a602052604090205460ff165b1561377a57506001610fe6565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614806137eb57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b0316145b156137f857506001610fe6565b600c5460ff161561380a57505f610fe6565b50600192915050565b6001600160a01b038083165f908152600a602052604080822054928416825290205460ff9182169116811561385d576001600160a01b0383165f9081526010602052604090204390555b80801561386b57505f601154115b15611058576011546001600160a01b0385165f9081526010602052604090205461389591906142f4565b4310156138e45760405162461bcd60e51b815260206004820181905260248201527f506c656173652077616974203120626c6f636b20616674657220627579696e6760448201526064016110ad565b836001600160a01b03167fd3d6135252b4fcf2466f3aa57373969b9e9401ace0088aa81b2a025ec4329fca6040516139439060208082526013908201527229b0b7323bb4b1b410383937ba32b1ba34b7b760691b604082015260600190565b60405180910390a250505050565b6001600160a01b0383165f908152600b602052604081205460ff168061398e57506001600160a01b0383165f908152600b602052604090205460ff165b1561399a575080611369565b6001600160a01b0383165f908152600a602052604090205460ff1680156139d957506001600160a01b0384165f9081526018602052604090205460ff16155b156139eb576139e88483613d91565b91505b600d54821115613a3d5760405162461bcd60e51b815260206004820152601b60248201527f5472616e7366657220616d6f756e742065786365656473206d6178000000000060448201526064016110ad565b6001600160a01b0384165f908152600a602052604090205460ff168015613a9657507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b15613b0057600e5482613aa88561198d565b613ab291906142f4565b1115613b005760405162461bcd60e51b815260206004820152601760248201527f57616c6c657420776f756c6420657863656564206d617800000000000000000060448201526064016110ad565b5092915050565b6001600160a01b0383165f90815260096020526040812054829190819060ff1615613b3657505f905080613d22565b6001600160a01b038087165f908152600a602052604080822054928816825290205460ff918216911681158015613b6b575080155b15613b7e57505f9250829150613d229050565b6007546001600160a01b0389165f9081526018602052604090205460ff16158015613bc157506001600160a01b0389165f908152600b602052604090205460ff16155b8015613bd75750601354613bd48a61198d565b10155b15613c2657601654613be990826142f4565b9050806007548a6001600160a01b03167f7897d10b1faf7174a3e08b4cc8945db5450ebda52428952aa5da77cf7470479c60405160405180910390a45b6001600160a01b0388165f9081526018602052604090205460ff16158015613c6657506001600160a01b0388165f908152600b602052604090205460ff16155b8015613c7c5750601354613c798961198d565b10155b15613ccb57601654613c8e90826142f4565b905080600754896001600160a01b03167f7897d10b1faf7174a3e08b4cc8945db5450ebda52428952aa5da77cf7470479c60405160405180910390a45b6103e8811115613cda57506103e85b612710613ce7828961436b565b613cf19190614331565b9450845f03613d0957505f9350839250613d22915050565b82935083613d1e57613d1b8588614307565b95505b5050505b93509350939050565b805f03613d3757505050565b613d428383836131c0565b611345838383613ed9565b5f613d573061198d565b90505f6305f5e100602954613d6b60025490565b613d75919061436b565b613d7f9190614331565b905080821061134757611347826128bf565b5f80613d9c8461198d565b601354909150811080613dc657506001600160a01b0384165f908152600b602052604090205460ff165b15613dd45782915050610fe6565b6015546001600160a01b0385165f90815260176020526040902054613df991906142f4565b431015613e485760405162461bcd60e51b815260206004820152601a60248201527f5768616c652073656c6c20636f6f6c646f776e2061637469766500000000000060448201526064016110ad565b6014545f9061271090613e5b908461436b565b613e659190614331565b905080841115613eb75760405162461bcd60e51b815260206004820152601f60248201527f5768616c652073656c6c20616d6f756e742065786365656473206c696d69740060448201526064016110ad565b5050506001600160a01b03919091165f90815260176020526040902043905590565b805f03613ee557505050565b5f81601b54613ef4919061436b565b90506001600160a01b038416613f36576001600160a01b0383165f908152601c602052604081208054839290613f2b90849061453d565b909155506110589050565b6001600160a01b038316613f6b576001600160a01b0384165f908152601c602052604081208054839290613f2b90849061439c565b6001600160a01b0384165f908152601c602052604081208054839290613f9290849061439c565b90915550506001600160a01b0383165f908152601c602052604081208054839290613fbe90849061453d565b909155505050505050565b602081525f82518060208401525f5b81811015613ff55760208186018101516040868401015201613fd8565b505f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461402a575f80fd5b919050565b5f8060408385031215614040575f80fd5b61404983614014565b946020939093013593505050565b5f60208284031215614067575f80fd5b61136982614014565b8015158114612163575f80fd5b5f805f6040848603121561408f575f80fd5b833567ffffffffffffffff8111156140a5575f80fd5b8401601f810186136140b5575f80fd5b803567ffffffffffffffff8111156140cb575f80fd5b8660208260051b84010111156140df575f80fd5b6020918201945092508401356140f481614070565b809150509250925092565b5f6020828403121561410f575f80fd5b813561136981614070565b5f6020828403121561412a575f80fd5b5035919050565b5f805f60608486031215614143575f80fd5b61414c84614014565b925061415a60208501614014565b929592945050506040919091013590565b5f806040838503121561417c575f80fd5b61418583614014565b9150602083013561419581614070565b809150509250929050565b5f80604083850312156141b1575f80fd5b823561404981614070565b602080825282518282018190525f918401906040840190835b8181101561420f578351805184526020810151602085015260408101516040850152506060830192506020840193506001810190506141d5565b509095945050505050565b5f806040838503121561422b575f80fd5b50508035926020909101359150565b5f806040838503121561424b575f80fd5b61425483614014565b915061426260208401614014565b90509250929050565b5f805f806080858703121561427e575f80fd5b5050823594602084013594506040840135936060013592509050565b600181811c908216806142ae57607f821691505b6020821081036131ba57634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610fe657610fe66142e0565b81810381811115610fe657610fe66142e0565b5f6020828403121561432a575f80fd5b5051919050565b5f8261434b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215614360575f80fd5b815161136981614070565b8082028115828204841417610fe657610fe66142e0565b5f600160ff1b8201614396576143966142e0565b505f0390565b8082018281125f8312801582168215821617156143bb576143bb6142e0565b505092915050565b634e487b7160e01b5f52604160045260245ffd5b5f8151808452602084019350602083015f5b828110156144105781516001600160a01b03168652602095860195909101906001016143e9565b5093949350505050565b828152604060208201525f61443260408301846143d7565b949350505050565b5f6020828403121561444a575f80fd5b815167ffffffffffffffff811115614460575f80fd5b8201601f81018413614470575f80fd5b805167ffffffffffffffff81111561448a5761448a6143c3565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156144b7576144b76143c3565b6040529182526020818401810192908101878411156144d4575f80fd5b6020850194505b838510156144f7578451808252602095860195909350016144db565b509695505050505050565b85815284602082015260a060408201525f61452060a08301866143d7565b6001600160a01b0394909416606083015250608001529392505050565b8181035f831280158383131683831282161715613b0057613b006142e056fe151e5e0c0e720ff3bf4bdf81a60792accaa294c13caff1cd03690956bb35a352a264697066735822122073fd439f74e8b2b41f3b8b34c188af32c5c20a349dab9a7b47480de0a197766764736f6c634300081a0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193300000000000000000000000075eda8c60d84b3df2abee786c1b54276786851b70000000000000000000000003dac0835916766e3f9c9288780bfed5213a1c1bd0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : pepe_ (address): 0x6982508145454Ce325dDbE47a25d4ec3d2311933
Arg [2] : devWallet_ (address): 0x75eda8C60D84B3DF2abee786C1b54276786851B7
Arg [3] : artWallet_ (address): 0x3dAC0835916766e3f9C9288780BFEd5213a1c1BD
Arg [4] : pondManager_ (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000006982508145454ce325ddbe47a25d4ec3d2311933
Arg [2] : 00000000000000000000000075eda8c60d84b3df2abee786c1b54276786851b7
Arg [3] : 0000000000000000000000003dac0835916766e3f9c9288780bfed5213a1c1bd
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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