ETH Price: $3,626.28 (-6.86%)

Contract

0x78965B1c638a7Ff408d1697a96d7b8E47Bb7C75F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

chainpal (CPAL) (@$1.14)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214328082024-12-18 23:51:119 mins ago1734565871IN
Chainpal: CPAL Token
0 ETH0.0006400513.76607343
Approve214327782024-12-18 23:45:1115 mins ago1734565511IN
Chainpal: CPAL Token
0 ETH0.0005444211.76693141
Approve214327752024-12-18 23:44:3516 mins ago1734565475IN
Chainpal: CPAL Token
0 ETH0.0006253613.44669187
Approve214323902024-12-18 22:26:591 hr ago1734560819IN
Chainpal: CPAL Token
0 ETH0.0008571518.43058663
Approve214322272024-12-18 21:54:232 hrs ago1734558863IN
Chainpal: CPAL Token
0 ETH0.0011229224.14528273
Approve214321662024-12-18 21:41:592 hrs ago1734558119IN
Chainpal: CPAL Token
0 ETH0.0011996825.94982764
Approve214321012024-12-18 21:28:592 hrs ago1734557339IN
Chainpal: CPAL Token
0 ETH0.0016573335.86766595
Approve214320292024-12-18 21:14:352 hrs ago1734556475IN
Chainpal: CPAL Token
0 ETH0.0018783840.65162008
Approve214318952024-12-18 20:47:353 hrs ago1734554855IN
Chainpal: CPAL Token
0 ETH0.0024057451.99693817
Approve214318302024-12-18 20:34:113 hrs ago1734554051IN
Chainpal: CPAL Token
0 ETH0.00168557.86603771
Approve214311642024-12-18 18:20:235 hrs ago1734546023IN
Chainpal: CPAL Token
0 ETH0.0012250626.3414541
Approve214309852024-12-18 17:44:356 hrs ago1734543875IN
Chainpal: CPAL Token
0 ETH0.0012333926.5205648
Approve214305192024-12-18 16:10:237 hrs ago1734538223IN
Chainpal: CPAL Token
0 ETH0.0011020423.69639116
Approve214302602024-12-18 15:18:118 hrs ago1734535091IN
Chainpal: CPAL Token
0 ETH0.0010562922.86012053
Approve214302522024-12-18 15:16:358 hrs ago1734534995IN
Chainpal: CPAL Token
0 ETH0.0010719823.04998781
Transfer214296302024-12-18 13:11:1110 hrs ago1734527471IN
Chainpal: CPAL Token
0 ETH0.0010915817.94839359
Transfer214292262024-12-18 11:49:4712 hrs ago1734522587IN
Chainpal: CPAL Token
0 ETH0.0014303915.0539731
Approve214291072024-12-18 11:25:4712 hrs ago1734521147IN
Chainpal: CPAL Token
0 ETH0.0008503518.28454255
Approve214290572024-12-18 11:15:4712 hrs ago1734520547IN
Chainpal: CPAL Token
0 ETH0.0009847121.17356721
Approve214285212024-12-18 9:27:5914 hrs ago1734514079IN
Chainpal: CPAL Token
0 ETH0.0005561912.0371047
Approve214285032024-12-18 9:24:2314 hrs ago1734513863IN
Chainpal: CPAL Token
0 ETH0.0005418511.70534549
Approve214283702024-12-18 8:57:3515 hrs ago1734512255IN
Chainpal: CPAL Token
0 ETH0.000230527.90351598
Approve214283202024-12-18 8:47:2315 hrs ago1734511643IN
Chainpal: CPAL Token
0 ETH0.000434819.35182175
Transfer214279412024-12-18 7:30:5916 hrs ago1734507059IN
Chainpal: CPAL Token
0 ETH0.0009821710.33800745
Approve214279052024-12-18 7:23:4716 hrs ago1734506627IN
Chainpal: CPAL Token
0 ETH0.0006026912.9593141
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214321042024-12-18 21:29:352 hrs ago1734557375
Chainpal: CPAL Token
0.69373295 ETH
214321042024-12-18 21:29:352 hrs ago1734557375
Chainpal: CPAL Token
0.08671661 ETH
214321042024-12-18 21:29:352 hrs ago1734557375
Chainpal: CPAL Token
0.08671661 ETH
214321042024-12-18 21:29:352 hrs ago1734557375
Chainpal: CPAL Token
0.86716618 ETH
214305682024-12-18 16:20:237 hrs ago1734538823
Chainpal: CPAL Token
0.71165965 ETH
214305682024-12-18 16:20:237 hrs ago1734538823
Chainpal: CPAL Token
0.08895745 ETH
214305682024-12-18 16:20:237 hrs ago1734538823
Chainpal: CPAL Token
0.08895745 ETH
214305682024-12-18 16:20:237 hrs ago1734538823
Chainpal: CPAL Token
0.88957456 ETH
214287642024-12-18 10:16:4713 hrs ago1734517007
Chainpal: CPAL Token
0.68359616 ETH
214287642024-12-18 10:16:4713 hrs ago1734517007
Chainpal: CPAL Token
0.08544952 ETH
214287642024-12-18 10:16:4713 hrs ago1734517007
Chainpal: CPAL Token
0.08544952 ETH
214287642024-12-18 10:16:4713 hrs ago1734517007
Chainpal: CPAL Token
0.8544952 ETH
214271002024-12-18 4:41:5919 hrs ago1734496919
Chainpal: CPAL Token
0.79392228 ETH
214271002024-12-18 4:41:5919 hrs ago1734496919
Chainpal: CPAL Token
0.09924028 ETH
214271002024-12-18 4:41:5919 hrs ago1734496919
Chainpal: CPAL Token
0.09924028 ETH
214271002024-12-18 4:41:5919 hrs ago1734496919
Chainpal: CPAL Token
0.99240286 ETH
214258982024-12-18 0:40:1123 hrs ago1734482411
Chainpal: CPAL Token
0.82454358 ETH
214258982024-12-18 0:40:1123 hrs ago1734482411
Chainpal: CPAL Token
0.10306794 ETH
214258982024-12-18 0:40:1123 hrs ago1734482411
Chainpal: CPAL Token
0.10306794 ETH
214258982024-12-18 0:40:1123 hrs ago1734482411
Chainpal: CPAL Token
1.03067948 ETH
214256212024-12-17 23:44:1124 hrs ago1734479051
Chainpal: CPAL Token
0.80380746 ETH
214256212024-12-17 23:44:1124 hrs ago1734479051
Chainpal: CPAL Token
0.10047593 ETH
214256212024-12-17 23:44:1124 hrs ago1734479051
Chainpal: CPAL Token
0.10047593 ETH
214256212024-12-17 23:44:1124 hrs ago1734479051
Chainpal: CPAL Token
1.00475933 ETH
214254942024-12-17 23:18:4724 hrs ago1734477527
Chainpal: CPAL Token
0.63933599 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
chainpal

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 1 : CPAL.sol
pragma solidity 0.8.25;

// SPDX-License-Identifier: MIT

/** ⠀

"Trade Faster & Smarter with the most advanced BOT & α-finder tools on the market."⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢀⠀⠀⠀⢀⣠⣤⣤⣶⣶⣶⣤⣤⣀⠀⠀⠀ ⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⢠⣿⠀⣠⣶⡿⠟⣫⠍⠉⠉⠉⠹⣟⠻⢿⣶⣄⠸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⣸⢹⣾⠟⠁⠀⠀⣿⡆⣚⣻⠃⠀⢿⠀⠀⠙⢻⣷⡧⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⢠⡇⠿⠃⠀⠀⠀⠀⣿⣿⣽⣿⣧⣀⣼⠀⠀⠀⠀⠙⠿⢹⡀⠀⠀⠀  ⠀⣠⠤⠤⠤⣄⡤⢤ ⠀⠀⠀⠀⠀ ⠀⣠⠤⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  ⠀⢠⠤⡄
⢸⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⠀ ⠀⡇⠀⠀⠀ ⢰⠃⢰⢶⡆⢘⡇⠸⠷⢤⣀⣠⠶⠶⣄⣳⠶⣧⢤⠶⠶⣄⡤⠴⠶⢦⣀⣠⠶⠶⣸⠀⡇
⢸⡀⠀⣤⣶⣿⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⣶⣦⢀⡇⠀⠀⠀ ⢸⠀⢸⠀⠉⠛⡇⢠⣶⡄⢹⣅⠶⠦⠈⣿⠀⣿⠀⣶⡆⢸⡇⢠⣶⠀⢹⣧⠴⠦⠈⣿⠀⡇
⠈⢧⠀⣿⣿⣿⣿⣿⣿⡏⣿⠁⣿⢹⣿⢿⣿⣿⣿⣿⢀⡾⠀⠀⠀⠀⢸⡀⢸⣄⡏⢙⡇⢸⢹⠃⢸⠁⣴⣶⠀⣿⠀⣿⠀⡇⡇⢸⡇⠸⣼⠄⢸⠇⢴⣶⠀⣿⠀⡇
⠀⠘⣇⢿⣿⣿⣿ ⣿  ⣿ ⣿  ⣿ ⣿⣿⣿⣿⡼⠁⠀⠀⠀⠀⠀⠳⢤⣤⣤⠿⠧⣼⠿⠦⡾⠧⣤⣤⢤⠿⢤⡿⢤⡇⠧⢼⡇⢠⣤⡤⠟⠳⣤⣤⣤⡿⢤⠇
⠀⠀⠘⢮⠻⢿⣿⣿⣿⣧⣿⣿⣿⣾⣿⣿⣿⡿⢿⡽⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀    ⠈⢧⡼⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠈⠳⢤⣈⠉⠉⠛⠛⠛⠛⠛⠉⠉⣡⡴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠉⠛⠲⠤⠤⠤⠤⠴⠒⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
🌐 Website: chainpal.ai
✈️ Telegram: t.me/chainpalai
✖️ Twitter/X: x.com/chainpalai
📚 Documentation: docs.chainpal.ai

🧠🤖 Multi-chain BOT: t.me/chainpalbot

"A fully integrated ecosystem of the first ever AI Powered class of Trading BOTs, 
Volume Trending Channels, α-Wallet & Deployment trackers."

**/

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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);
}

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }
}

interface ILpPair {
    function sync() external;
}

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
}

interface IDexFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

contract chainpal is ERC20, Ownable {

    mapping (address => bool) public exemptFromFees;
    mapping (address => bool) public exemptFromLimits;

    bool public tradingAllowed;

    mapping (address => bool) public isAMMPair;

    address public marketingAddress;
    address public devAddress;

    Taxes public buyTax;
    Taxes public sellTax;

    TokensForTax public tokensForTax;

    mapping(address => uint256) private _holderLastTransferBlock; // MEV protection
    bool public antiMevEnabled = true;

    bool public limited = true;

    uint256 public swapTokensAtAmt;

    address public immutable lpPair;
    IDexRouter public immutable dexRouter;
    address public immutable WETH;

    TxLimits public txLimits;

    uint64 public constant FEE_DIVISOR = 10000;

    uint256 public launchBlock;
    bool public dynamicTaxOn;
    bool public dynamicLiquidityTax;

    bool public transferDelayEnabled = true;

    // structs

    struct TxLimits {
        uint128 transactionLimit;
        uint128 walletLimit;
    }

    struct Taxes {
        uint64 marketingTax;
        uint64 devTax;
        uint64 liquidityTax;
        uint64 totalTax;
    }

    struct TokensForTax {
        uint80 tokensForMarketing;
        uint80 tokensForLiquidity;
        uint80 tokensForDev;
        bool gasSaver;
    }

    // events

    event UpdatedTransactionLimit(uint newMax);
    event UpdatedWalletLimit(uint newMax);
    event SetExemptFromFees(address _address, bool _isExempt);
    event SetExemptFromLimits(address _address, bool _isExempt);
    event RemovedLimits();
    event UpdatedBuyTax(uint newAmt);
    event UpdatedSellTax(uint newAmt);

    // constructor

    constructor()
        ERC20("chainpal", "CPAL")
    {   
        _mint(msg.sender, 10_000_000 * 1e18);

        address _v2Router;

        dynamicTaxOn = true;
        dynamicLiquidityTax = false;

        // @dev assumes WETH pair
        if(block.chainid == 1){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        } else if(block.chainid == 5){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        } else if(block.chainid == 97){
            _v2Router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1;
        } else if(block.chainid == 42161){
            _v2Router = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506;
        } else {
            revert("Chain not configured");
        }

        dexRouter = IDexRouter(_v2Router);

        txLimits.transactionLimit = uint128(totalSupply() * 10 / 10000);
        txLimits.walletLimit = uint128(totalSupply() * 10 / 10000);
        swapTokensAtAmt = totalSupply() * 25 / 100000;

        marketingAddress = 0xaC225e08A5e72ccb7Aa53dbeda951e6Cd79a5161; // update
        devAddress = 0xBe15395eb4e5Be4e3A4e28399Ae25Ed470a99016; // update

        buyTax.marketingTax = 2400; 
        buyTax.liquidityTax = 0;
        buyTax.devTax = 600;
        buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax;

        sellTax.marketingTax = 2400;
        sellTax.liquidityTax = 0;
        sellTax.devTax = 600;
        sellTax.totalTax = sellTax.marketingTax + sellTax.liquidityTax + sellTax.devTax;

        tokensForTax.gasSaver = true;

        WETH = dexRouter.WETH();
        lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), WETH);

        isAMMPair[lpPair] = true;

        exemptFromLimits[lpPair] = true;
        exemptFromLimits[msg.sender] = true;
        exemptFromLimits[address(this)] = true;

        exemptFromFees[msg.sender] = true;
        exemptFromFees[address(this)] = true;
        exemptFromFees[address(dexRouter)] = true;
 
        _approve(address(this), address(dexRouter), type(uint256).max);
        _approve(address(msg.sender), address(dexRouter), totalSupply());
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        if(!exemptFromFees[from] && !exemptFromFees[to]){
            require(tradingAllowed, "Trading not active");
            amount -= handleTax(from, to, amount);
            checkLimits(from, to, amount);
        }

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

    function checkLimits(address from, address to, uint256 amount) internal {
        if(limited){
            bool exFromLimitsTo = exemptFromLimits[to];
            uint256 balanceOfTo = balanceOf(to);
            TxLimits memory _txLimits = txLimits;
            // buy
            if (isAMMPair[from] && !exFromLimitsTo) {
                require(amount <= _txLimits.transactionLimit, "Max Txn");
                require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet");
            } 
            // sell
            else if (isAMMPair[to] && !exemptFromLimits[from]) {
                require(amount <= _txLimits.transactionLimit, "Max Txn");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet");
            }

            if(transferDelayEnabled){
                if (to != address(dexRouter) && to != address(lpPair)){
                    require(_holderLastTransferBlock[tx.origin] < block.number, "Transfer Delay");
                    require(tx.origin == to, "no buying to external wallets yet");
                }
            }
        }

        if (antiMevEnabled){
            if(isAMMPair[to]){
                require(_holderLastTransferBlock[from] < block.number, "Anti MEV");
            } else {
                _holderLastTransferBlock[to] = block.number;
                _holderLastTransferBlock[tx.origin] = block.number;
            }
        }
    }

    function handleTax(address from, address to, uint256 amount) internal returns (uint256){

        if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from]) {
            convertTaxes();
        }

        if(dynamicTaxOn){
            setInternalTaxes();
        }
        
        uint128 tax = 0;

        Taxes memory taxes;

        if (isAMMPair[to]){
            taxes = sellTax;
        } else if(isAMMPair[from]){
            taxes = buyTax;
        }

        if(taxes.totalTax > 0){
            TokensForTax memory tokensForTaxUpdate = tokensForTax;
            tax = uint128(amount * taxes.totalTax / FEE_DIVISOR);
            tokensForTaxUpdate.tokensForLiquidity += uint80(tax * taxes.liquidityTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForMarketing += uint80(tax * taxes.marketingTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForDev += uint80(tax * taxes.devTax / taxes.totalTax / 1e9);
            tokensForTax = tokensForTaxUpdate;
            super._transfer(from, address(this), tax);
        }
        
        return tax;
    }

    function swapTokensForETH(uint256 tokenAmt) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;

        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmt,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function convertTaxes() private {

        uint256 contractBalance = balanceOf(address(this));
        TokensForTax memory tokensForTaxMem = tokensForTax;
        uint256 totalTokensToSwap = tokensForTaxMem.tokensForLiquidity + tokensForTaxMem.tokensForMarketing + tokensForTaxMem.tokensForDev;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

        if(contractBalance > swapTokensAtAmt * 20){
            contractBalance = swapTokensAtAmt * 20;
        }

        if(tokensForTaxMem.tokensForLiquidity > 0){
            uint256 liquidityTokens = contractBalance * tokensForTaxMem.tokensForLiquidity / totalTokensToSwap;
            super._transfer(address(this), lpPair, liquidityTokens);
            try ILpPair(lpPair).sync(){} catch {}
            contractBalance -= liquidityTokens;
            totalTokensToSwap -= tokensForTaxMem.tokensForLiquidity;
        }

        if(contractBalance > 0){

            swapTokensForETH(contractBalance);
            
            uint256 ethBalance = address(this).balance;

            bool success;

            // Split the ethBalance equally between devAddress and the new address
            if (tokensForTaxMem.tokensForDev > 0) {
                uint256 ethToSend = (ethBalance * tokensForTaxMem.tokensForDev) / totalTokensToSwap;
                uint256 halfEthToSend = ethToSend / 2;

            // Send half to devAddress
                (success, ) = devAddress.call{value: halfEthToSend}("");
    
            // Send half to the new address
                (success, ) = address(0xde6B7B8eC7FaEB48F84d6D4Cf83998b3FaB91Cb4).call{value: halfEthToSend}("");
            }

            ethBalance = address(this).balance;

            if(ethBalance > 0){
                (success,) = marketingAddress.call{value: ethBalance}("");  
            }
        }

        tokensForTaxMem.tokensForLiquidity = 0;
        tokensForTaxMem.tokensForMarketing = 0;
        tokensForTaxMem.tokensForDev = 0;

        tokensForTax = tokensForTaxMem;
    }

    // owner functions
    function setExemptFromFee(address _address, bool _isExempt) external onlyOwner {
        require(_address != address(0), "Zero Address");
        require(_address != address(this), "Cannot unexempt contract");
        exemptFromFees[_address] = _isExempt;
        emit SetExemptFromFees(_address, _isExempt);
    }

    function setExemptFromLimit(address _address, bool _isExempt) external onlyOwner {
        require(_address != address(0), "Zero Address");
        if(!_isExempt){
            require(_address != lpPair, "Cannot remove pair");
        }
        exemptFromLimits[_address] = _isExempt;
        emit SetExemptFromLimits(_address, _isExempt);
    }

    function updateTransactionLimit(uint128 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low");
        txLimits.transactionLimit = uint128(newNumInTokens * (10**decimals()));
        emit UpdatedTransactionLimit(txLimits.transactionLimit);
    }

    function updateWalletLimit(uint128 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low");
        txLimits.walletLimit = uint128(newNumInTokens * (10**decimals()));
        emit UpdatedWalletLimit(txLimits.walletLimit);
    }

    function updateSwapTokensAmt(uint256 newAmount) external onlyOwner {
        require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        swapTokensAtAmt = newAmount;
    }

    function updateBuyTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner {
        Taxes memory taxes;
        taxes.marketingTax = _marketingTax;
        taxes.liquidityTax = _liquidityTax;
        taxes.devTax = _devTax;
        taxes.totalTax = _marketingTax + _liquidityTax + _devTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit UpdatedBuyTax(taxes.totalTax);
        buyTax = taxes;
    }

    function updateSellTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner {
        Taxes memory taxes;
        taxes.marketingTax = _marketingTax;
        taxes.liquidityTax = _liquidityTax;
        taxes.devTax = _devTax;
        taxes.totalTax = _marketingTax + _liquidityTax + _devTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit UpdatedSellTax(taxes.totalTax);
        sellTax = taxes;
    }

    function renounceDevTax() external {
        require(msg.sender == devAddress, "Not dev");
        
        Taxes memory buyTaxes = buyTax;
        buyTaxes.marketingTax += buyTaxes.devTax;
        buyTaxes.devTax = 0;
        buyTax = buyTaxes;

        Taxes memory sellTaxes = sellTax;
        sellTaxes.marketingTax += sellTaxes.devTax;
        sellTaxes.devTax = 0;
        sellTax = sellTaxes;
    }

    function enableTrading() external onlyOwner {
        require(!tradingAllowed, "Trading already enabled");
        tradingAllowed = true;
        launchBlock = block.number;
    }

    function removeLimits() external onlyOwner {
        limited = false;
        TxLimits memory _txLimits;
        uint256 supply = totalSupply();
        _txLimits.transactionLimit = uint128(supply);
        _txLimits.walletLimit = uint128(supply);
        txLimits = _txLimits;
        emit RemovedLimits();
    }

    function updateMevBlockerEnabled(bool _enabled) external onlyOwner {
        antiMevEnabled = _enabled;
    }

    function removeTransferDelay() external onlyOwner {
        require(transferDelayEnabled, "Already disabled!");
        transferDelayEnabled = false;
    }

    function airdropToWallets(address[] calldata wallets, uint256[] calldata amountsInWei) external onlyOwner {
        require(wallets.length == amountsInWei.length, "arrays length mismatch");
        for(uint256 i = 0; i < wallets.length; i++){
            super._transfer(msg.sender, wallets[i], amountsInWei[i]);
        }
    }

    function rescueTokens(address _token, address _to) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        SafeERC20.safeTransfer(IERC20(_token),_to, _contractBalance);
    }

    function updateMarketingAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        marketingAddress = _address;
    }

    function updateDevAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        devAddress = _address;
    }

    function removeDynamicTax() external onlyOwner {
        require(dynamicTaxOn, "Already off");
        dynamicTaxOn = false;
    }

    receive() payable external {}

    function setInternalTaxes() internal {
        Taxes memory newBuyTax = buyTax;
        Taxes memory newSellTax = sellTax;
        TxLimits memory _txLimits = txLimits;

        uint256 currentBlock = block.number;
        uint256 blocksSinceLaunch = currentBlock - launchBlock;
        uint256 decay = blocksSinceLaunch / 10;

        if(decay >= 11){
            dynamicTaxOn = false;
            newBuyTax.totalTax = 500;
            newSellTax.totalTax = 500;
            limited = false;
            uint256 supply = totalSupply();
            _txLimits.transactionLimit = uint128(supply);
            _txLimits.walletLimit = uint128(supply);
            txLimits = _txLimits;
            emit RemovedLimits();
        } else if (decay > 0) {
            newBuyTax.totalTax = uint64(3000 - (decay * 100));
            newSellTax.totalTax = uint64(3000 - (decay * 100));
            _txLimits.transactionLimit = uint128(totalSupply() * decay / 1000);
            _txLimits.walletLimit = uint128(totalSupply() * decay / 1000);
        } 

        if(buyTax.totalTax != newBuyTax.totalTax){
            if(dynamicLiquidityTax){
                newBuyTax.marketingTax = newBuyTax.totalTax * 6 / 10;
                newBuyTax.liquidityTax = newBuyTax.totalTax * 2 / 10;
            } else {
                newBuyTax.marketingTax = newBuyTax.totalTax * 8 / 10;
                newBuyTax.liquidityTax = 0;
            }
            newBuyTax.devTax = newBuyTax.totalTax - newBuyTax.marketingTax - newBuyTax.liquidityTax;
            buyTax = newBuyTax;
        }
        if(sellTax.totalTax != newSellTax.totalTax){
            if(dynamicLiquidityTax){
                newSellTax.marketingTax = newSellTax.totalTax * 6 / 10;
                newSellTax.liquidityTax = newSellTax.totalTax * 2 / 10;
            } else {
                newSellTax.marketingTax = newSellTax.totalTax * 8 / 10;
                newSellTax.liquidityTax = 0;
            }
            newSellTax.devTax = newSellTax.totalTax - newSellTax.marketingTax - newSellTax.liquidityTax;
            sellTax = newSellTax;
        }

        if(_txLimits.transactionLimit != txLimits.transactionLimit){
            txLimits = _txLimits;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedWalletLimit","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInWei","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiMevEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicLiquidityTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicTaxOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"removeDynamicTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceDevTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint80","name":"tokensForMarketing","type":"uint80"},{"internalType":"uint80","name":"tokensForLiquidity","type":"uint80"},{"internalType":"uint80","name":"tokensForDev","type":"uint80"},{"internalType":"bool","name":"gasSaver","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimits","outputs":[{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateMevBlockerEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526010805461010161ffff199091161790556014805462ff0000191662010000179055348015610031575f80fd5b506040518060400160405280600881526020016718da185a5b9c185b60c21b8152506040518060400160405280600481526020016310d4105360e21b815250816003908161007f919061087b565b50600461008c828261087b565b5050505f61009e6105f960201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610100336a084595161401484a0000006105fd565b6014805461ffff191660019081179091555f904690036101355750737a250d5630b4cf539739df2c5dacb4c659f2488d6101ec565b466005036101585750737a250d5630b4cf539739df2c5dacb4c659f2488d6101ec565b4660610361017b575073d99d1c33f9fc3444f8101754abc46c52416550d16101ec565b4661a4b10361019f5750731b02da8cb0d097eb8d57a175b88c7d8b479975066101ec565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660a05261271061020560025490565b61021090600a61094e565b61021a919061096b565b601280546001600160801b0319166001600160801b039290921691909117905561271061024660025490565b61025190600a61094e565b61025b919061096b565b601280546001600160801b03928316600160801b029216919091179055620186a061028560025490565b61029090601961094e565b61029a919061096b565b601155600a805473ac225e08a5e72ccb7aa53dbeda951e6cd79a51616001600160a01b031991821617909155600b805473be15395eb4e5be4e3a4e28399ae25ed470a990169216919091179055600c80546001600160c01b031916690258000000000000096017908190556001600160401b0368010000000000000000820481169161033191600160801b9091041661096061098a565b61033b919061098a565b600c80546001600160c01b0316600160c01b6001600160401b0393841602179055600d80546001600160c01b0319166902580000000000000960179081905568010000000000000000810482169161039d91600160801b90041661096061098a565b6103a7919061098a565b600d80546001600160401b0392909216600160c01b026001600160c01b03909216919091179055600e805460ff60f01b1916600160f01b17905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa158015610429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044d91906109b1565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c891906109b1565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af1158015610516573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053a91906109b1565b6001600160a01b0390811660808190525f9081526009602090815260408083208054600160ff19918216811790925560078452828520805482168317905533808652838620805483168417905530808752848720805484168517905590865260069094528285208054821683179055838552828520805482168317905560a05195861685529190932080549091169092179091556105d9915f196106c0565b6105f33360a0516105ee6106ba60201b60201c565b6106c0565b506109f1565b3390565b6001600160a01b0382166106535760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016101e3565b8060025f82825461066491906109de565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60025490565b6001600160a01b0383166107225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016101e3565b6001600160a01b0382166107835760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016101e3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061080b57607f821691505b60208210810361082957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561087657805f5260205f20601f840160051c810160208510156108545750805b601f840160051c820191505b81811015610873575f8155600101610860565b50505b505050565b81516001600160401b03811115610894576108946107e3565b6108a8816108a284546107f7565b8461082f565b602080601f8311600181146108db575f84156108c45750858301515b5f19600386901b1c1916600185901b178555610932565b5f85815260208120601f198616915b82811015610909578886015182559484019460019091019084016108ea565b508582101561092657878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109655761096561093a565b92915050565b5f8261098557634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b038181168382160190808211156109aa576109aa61093a565b5092915050565b5f602082840312156109c1575f80fd5b81516001600160a01b03811681146109d7575f80fd5b9392505050565b808201808211156109655761096561093a565b60805160a05160c0516139e2610a4c5f395f81816107e40152612fa901525f818161029701528181612493015261300001525f8181610452015281816118fd015281816124d001528181612829015261285001526139e25ff3fe608060405260043610610251575f3560e01c806306fdde031461025c5780630758d92414610286578063095ea7b3146102c657806318160ddd146102f557806321045918146103135780632307b441146103345780632369bf831461035357806323b872dd14610372578063286965a714610391578063313ce567146103b0578063362919a7146103cb57806336e18e19146103e457806339509351146104035780633ad10ef614610422578063452ed4f1146104415780634f7041a51461047457806353371be0146104e55780635431c94e146104fe578063597589941461051d5780635a90a49e1461053c578063627e9d8e1461056a57806366ebd39a146105835780636d7adcad146105a257806370a0823114610616578063715018a614610635578063751039fc14610649578063758086311461065d5780638503376214610671578063860a32ec146106905780638a8c523c146106ae5780638becc57d146106c25780638d3e6e40146106e15780638da5cb5b1461070f57806395d89b411461072c5780639e7261af146107405780639e93ad8e14610754578063a457c2d714610776578063a5ece94114610795578063a9059cbb146107b4578063ad5c4648146107d3578063b0249cc614610806578063bba3325d14610834578063bedafd0114610852578063c78d0fa014610871578063c876d0b914610886578063cc1776d3146108a5578063ccad03e1146108e3578063d00efb2f14610902578063dd62ed3e14610917578063f270fde414610936578063f2fde38b14610980578063f8686f071461099f575f80fd5b3661025857005b5f80fd5b348015610267575f80fd5b506102706109b3565b60405161027d9190613202565b60405180910390f35b348015610291575f80fd5b506102b97f000000000000000000000000000000000000000000000000000000000000000081565b60405161027d9190613237565b3480156102d1575f80fd5b506102e56102e0366004613266565b610a43565b604051901515815260200161027d565b348015610300575f80fd5b506002545b60405190815260200161027d565b34801561031e575f80fd5b5061033261032d36600461328e565b610a5c565b005b34801561033f575f80fd5b5061033261034e3660046132ec565b610bb0565b34801561035e575f80fd5b5061033261036d366004613352565b610c84565b34801561037d575f80fd5b506102e561038c366004613372565b610cf6565b34801561039c575f80fd5b506103326103ab3660046133c1565b610d19565b3480156103bb575f80fd5b506040516012815260200161027d565b3480156103d6575f80fd5b506014546102e59060ff1681565b3480156103ef575f80fd5b506103326103fe366004613401565b610e5a565b34801561040e575f80fd5b506102e561041d366004613266565b610f5a565b34801561042d575f80fd5b50600b546102b9906001600160a01b031681565b34801561044c575f80fd5b506102b97f000000000000000000000000000000000000000000000000000000000000000081565b34801561047f575f80fd5b50600c546104b2906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b039586168152938516602085015291841691830191909152909116606082015260800161027d565b3480156104f0575f80fd5b506008546102e59060ff1681565b348015610509575f80fd5b50610332610518366004613427565b610f7b565b348015610528575f80fd5b50610332610537366004613468565b611077565b348015610547575f80fd5b506102e5610556366004613352565b60066020525f908152604090205460ff1681565b348015610575575f80fd5b506010546102e59060ff1681565b34801561058e575f80fd5b5061033261059d366004613401565b6110b4565b3480156105ad575f80fd5b50600e546105e1906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b60405161027d94939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b348015610621575f80fd5b50610305610630366004613352565b6111ad565b348015610640575f80fd5b506103326111c7565b348015610654575f80fd5b50610332611227565b348015610668575f80fd5b506103326112b4565b34801561067c575f80fd5b5061033261068b366004613352565b611459565b34801561069b575f80fd5b506010546102e590610100900460ff1681565b3480156106b9575f80fd5b506103326114cb565b3480156106cd575f80fd5b506103326106dc3660046133c1565b611555565b3480156106ec575f80fd5b506102e56106fb366004613352565b60076020525f908152604090205460ff1681565b34801561071a575f80fd5b506005546001600160a01b03166102b9565b348015610737575f80fd5b50610270611696565b34801561074b575f80fd5b506103326116a5565b34801561075f575f80fd5b5061076961271081565b60405161027d9190613483565b348015610781575f80fd5b506102e5610790366004613266565b61171b565b3480156107a0575f80fd5b50600a546102b9906001600160a01b031681565b3480156107bf575f80fd5b506102e56107ce366004613266565b611795565b3480156107de575f80fd5b506102b97f000000000000000000000000000000000000000000000000000000000000000081565b348015610811575f80fd5b506102e5610820366004613352565b60096020525f908152604090205460ff1681565b34801561083f575f80fd5b506014546102e590610100900460ff1681565b34801561085d575f80fd5b5061033261086c366004613497565b6117a2565b34801561087c575f80fd5b5061030560115481565b348015610891575f80fd5b506014546102e59062010000900460ff1681565b3480156108b0575f80fd5b50600d546104b2906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b3480156108ee575f80fd5b506103326108fd366004613497565b6118a6565b34801561090d575f80fd5b5061030560135481565b348015610922575f80fd5b50610305610931366004613427565b6119c6565b348015610941575f80fd5b50601254610960906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161027d565b34801561098b575f80fd5b5061033261099a366004613352565b6119f0565b3480156109aa575f80fd5b50610332611ac7565b6060600380546109c2906134cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109ee906134cc565b8015610a395780601f10610a1057610100808354040283529160200191610a39565b820191905f5260205f20905b815481529060010190602001808311610a1c57829003601f168201915b5050505050905090565b5f33610a50818585611b4b565b60019150505b92915050565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b8152600401610a8690613504565b60405180910390fd5b620186a0610a9c60025490565b610aa790600161354d565b610ab19190613578565b811015610b1e5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a86565b6103e8610b2a60025490565b610b3590600561354d565b610b3f9190613578565b811115610bab5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a86565b601155565b6005546001600160a01b03163314610bda5760405162461bcd60e51b8152600401610a8690613504565b828114610c225760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610a86565b5f5b83811015610c7d57610c7533868684818110610c4257610c4261358b565b9050602002016020810190610c579190613352565b858585818110610c6957610c6961358b565b90506020020135611c6e565b600101610c24565b5050505050565b6005546001600160a01b03163314610cae5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038116610cd45760405162461bcd60e51b8152600401610a869061359f565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610d03858285611e11565b610d0e858585611e89565b506001949350505050565b6005546001600160a01b03163314610d435760405162461bcd60e51b8152600401610a8690613504565b610d4b6131dc565b6001600160401b03808516825283811660408301528216602082015281610d7284866135c5565b610d7c91906135c5565b6001600160401b0316606082018190526103e81015610dad5760405162461bcd60e51b8152600401610a86906135ec565b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c978160600151604051610de09190613483565b60405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610e845760405162461bcd60e51b8152600401610a8690613504565b610e906012600a6136f8565b6103e8610e9c60025490565b610ea790600161354d565b610eb19190613578565b610ebb9190613578565b816001600160801b03161015610ee35760405162461bcd60e51b8152600401610a8690613706565b610eef6012600a6136f8565b610f02906001600160801b03831661354d565b601280546001600160801b0319166001600160801b039290921691821790556040517f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e691610f4f91613727565b60405180910390a150565b5f33610a50818585610f6c83836119c6565b610f76919061373b565b611b4b565b6005546001600160a01b03163314610fa55760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038216610ff85760405162461bcd60e51b815260206004820152601a60248201527905f746f6b656e20616464726573732063616e6e6f7420626520360341b6044820152606401610a86565b6040516370a0823160e01b81525f906001600160a01b038416906370a0823190611026903090600401613237565b602060405180830381865afa158015611041573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611065919061374e565b9050611072838383611f42565b505050565b6005546001600160a01b031633146110a15760405162461bcd60e51b8152600401610a8690613504565b6010805460ff1916911515919091179055565b6005546001600160a01b031633146110de5760405162461bcd60e51b8152600401610a8690613504565b6110ea6012600a6136f8565b6103e86110f660025490565b61110190600161354d565b61110b9190613578565b6111159190613578565b816001600160801b0316101561113d5760405162461bcd60e51b8152600401610a8690613706565b6111496012600a6136f8565b61115c906001600160801b03831661354d565b601280546001600160801b03908116600160801b938216840217918290556040517fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078893610f4f930490911690613727565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b031633146111f15760405162461bcd60e51b8152600401610a8690613504565b6005546040515f916001600160a01b0316905f8051602061398d833981519152908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112515760405162461bcd60e51b8152600401610a8690613504565b6010805461ff0019169055604080518082019091525f80825260208201525f61127960025490565b6001600160801b03811680845260208401819052600160801b8102176012556040519091505f8051602061396d833981519152905f90a15050565b600b546001600160a01b031633146112f85760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610a86565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b90920416606083015290919082906113519083906135c5565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b820489169783018890529481048816928201929092529390049094169382019390935292509082906113f99083906135c5565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146114835760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0381166114a95760405162461bcd60e51b8152600401610a869061359f565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146114f55760405162461bcd60e51b8152600401610a8690613504565b60085460ff16156115425760405162461bcd60e51b8152602060048201526017602482015276151c98591a5b99c8185b1c9958591e48195b98589b1959604a1b6044820152606401610a86565b6008805460ff1916600117905543601355565b6005546001600160a01b0316331461157f5760405162461bcd60e51b8152600401610a8690613504565b6115876131dc565b6001600160401b038085168252838116604083015282166020820152816115ae84866135c5565b6115b891906135c5565b6001600160401b0316606082018190526103e810156115e95760405162461bcd60e51b8152600401610a86906135ec565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508816060015160405161161c9190613483565b60405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6060600480546109c2906134cc565b6005546001600160a01b031633146116cf5760405162461bcd60e51b8152600401610a8690613504565b60145460ff1661170f5760405162461bcd60e51b815260206004820152600b60248201526a20b63932b0b23c9037b33360a91b6044820152606401610a86565b6014805460ff19169055565b5f338161172882866119c6565b9050838110156117885760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a86565b610d0e8286868403611b4b565b5f33610a50818585611e89565b6005546001600160a01b031633146117cc5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0382166117f25760405162461bcd60e51b8152600401610a8690613765565b306001600160a01b038316036118455760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5b995e195b5c1d0818dbdb9d1c9858dd60421b6044820152606401610a86565b6001600160a01b0382165f9081526006602052604090819020805460ff1916831515179055517f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d9061189a908490849061378b565b60405180910390a15050565b6005546001600160a01b031633146118d05760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0382166118f65760405162461bcd60e51b8152600401610a8690613765565b80611971577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036119715760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610a86565b6001600160a01b0382165f9081526007602052604090819020805460ff1916831515179055517f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9061189a908490849061378b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611a1a5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038116611a7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a86565b6005546040516001600160a01b038084169216905f8051602061398d833981519152905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611af15760405162461bcd60e51b8152600401610a8690613504565b60145462010000900460ff16611b3d5760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610a86565b6014805462ff000019169055565b6001600160a01b038316611bad5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a86565b6001600160a01b038216611c0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a86565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cd25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a86565b6001600160a01b038216611d345760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a86565b6001600160a01b0383165f9081526020819052604090205481811015611dab5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a86565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f611e1c84846119c6565b90505f198114611e835781811015611e765760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a86565b611e838484848403611b4b565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff16158015611ec957506001600160a01b0382165f9081526006602052604090205460ff16155b15611f375760085460ff16611f155760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a86565b611f20838383611f94565b611f2a90826137a6565b9050611f378383836122e4565b611072838383611c6e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611072908490612660565b5f601154611fa1306111ad565b10158015611fc757506001600160a01b0384165f9081526009602052604090205460ff16155b15611fd457611fd4612731565b60145460ff1615611fe757611fe7612a86565b5f611ff06131dc565b6001600160a01b0385165f9081526009602052604090205460ff161561205d575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526120c6565b6001600160a01b0386165f9081526009602052604090205460ff16156120c6575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b0316156122d25760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff16151560608083019190915282015161271090612140906001600160401b03168761354d565b61214a9190613578565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561217891906137b9565b61218291906137e4565b61218c91906137e4565b8160200181815161219d9190613809565b6001600160501b031690525060608201518251633b9aca00916001600160401b03908116916121cd9116866137b9565b6121d791906137e4565b6121e191906137e4565b815182906121f0908390613809565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b03908116916122239116866137b9565b61222d91906137e4565b61223791906137e4565b816040018181516122489190613809565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b0291909116600160a01b600160f81b0319928716600160501b026001600160a01b03199094169590961694909417919091171692909217179055506122d087306001600160801b038616611c6e565b505b506001600160801b0316949350505050565b601054610100900460ff16156125be576001600160a01b0382165f9081526007602052604081205460ff1690612319846111ad565b6040805180820182526012546001600160801b038082168352600160801b909104166020808301919091526001600160a01b0389165f908152600990915291909120549192509060ff16801561236d575082155b156123d75780516001600160801b031684111561239c5760405162461bcd60e51b8152600401610a8690613829565b60208101516001600160801b03166123b4838661373b565b11156123d25760405162461bcd60e51b8152600401610a869061384a565b612480565b6001600160a01b0385165f9081526009602052604090205460ff16801561241657506001600160a01b0386165f9081526007602052604090205460ff16155b156124455780516001600160801b03168411156123d25760405162461bcd60e51b8152600401610a8690613829565b826124805760208101516001600160801b0316612462838661373b565b11156124805760405162461bcd60e51b8152600401610a869061384a565b60145462010000900460ff16156125ba577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03161415801561250557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b156125ba57325f908152600f602052604090205443116125585760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610a86565b326001600160a01b038616146125ba5760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610a86565b5050505b60105460ff1615611072576001600160a01b0382165f9081526009602052604090205460ff161561263a576001600160a01b0383165f908152600f602052604090205443116110725760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610a86565b506001600160a01b03165f908152600f6020526040808220439081905532835291205550565b5f6126b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f3e9092919063ffffffff16565b80519091501561107257808060200190518101906126d2919061386e565b6110725760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a86565b5f61273b306111ad565b60408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f929161279991613809565b6127a39190613809565b6001600160501b031690508215806127b9575080155b156127c357505050565b6011546127d190601461354d565b8311156127e9576011546127e690601461354d565b92505b60208201516001600160501b0316156128e1575f8183602001516001600160501b031685612817919061354d565b6128219190613578565b905061284e307f000000000000000000000000000000000000000000000000000000000000000083611c6e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128a6575f80fd5b505af19250505080156128b7575060015b506128c281856137a6565b935082602001516001600160501b0316826128dd91906137a6565b9150505b8215612a4e576128f083612f54565b604082015147905f906001600160501b0316156129ed575f8385604001516001600160501b031684612922919061354d565b61292c9190613578565b90505f61293a600283613578565b600b546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114612985576040519150601f19603f3d011682016040523d82523d5f602084013e61298a565b606091505b505060405190935073de6b7b8ec7faeb48f84d6d4cf83998b3fab91cb49082905f81818185875af1925050503d805f81146129e0576040519150601f19603f3d011682016040523d82523d5f602084013e6129e5565b606091505b509093505050505b4791508115612a4b57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612a40576040519150601f19603f3d011682016040523d82523d5f602084013e612a45565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b031990921691909117905550565b6040805160808082018352600c546001600160401b038082168452600160401b8083048216602080870191909152600160801b808504841687890152600160c01b94859004841660608089019190915288519687018952600d5480861688529384048516878401528184048516878a0152949092049092169284019290925284518086019095526012546001600160801b038082168752929004909116908401526013549192909143905f90612b3c90836137a6565b90505f612b4a600a83613578565b9050600b8110612bbe576014805460ff191690556101f460608088018290528601526010805461ff00191690555f612b8160025490565b6001600160801b03811680875260208701819052600160801b8102176012556040519091505f8051602061396d833981519152905f90a150612c6a565b8015612c6a57612bcf81606461354d565b612bdb90610bb86137a6565b6001600160401b03166060870152612bf481606461354d565b612c0090610bb86137a6565b6001600160401b031660608601526103e881612c1b60025490565b612c25919061354d565b612c2f9190613578565b6001600160801b031684526103e881612c4760025490565b612c51919061354d565b612c5b9190613578565b6001600160801b031660208501525b6060860151600c54600160c01b90046001600160401b03908116911614612db557601454610100900460ff1615612cf357600a86606001516006612cae9190613889565b612cb891906138ac565b6001600160401b031686526060860151600a90612cd6906002613889565b612ce091906138ac565b6001600160401b03166040870152612d22565b600a86606001516008612d069190613889565b612d1091906138ac565b6001600160401b031686525f60408701525b604086015186516060880151612d3891906138c5565b612d4291906138c5565b6001600160401b03908116602088018190528751600c805460408b015160608c01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b6060850151600d54600160c01b90046001600160401b03908116911614612f0057601454610100900460ff1615612e3e57600a85606001516006612df99190613889565b612e0391906138ac565b6001600160401b031685526060850151600a90612e21906002613889565b612e2b91906138ac565b6001600160401b03166040860152612e6d565b600a85606001516008612e519190613889565b612e5b91906138ac565b6001600160401b031685525f60408601525b604085015185516060870151612e8391906138c5565b612e8d91906138c5565b6001600160401b03908116602087018190528651600d805460408a015160608b01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b60125484516001600160801b03908116911614612f3657835160208501516001600160801b03908116600160801b029116176012555b505050505050565b6060612f4c84845f85613068565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612f8757612f8761358b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110612fdb57612fdb61358b565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac9479061303f9085905f908690309042906004016138e5565b5f604051808303815f87803b158015613056575f80fd5b505af1158015612f36573d5f803e3d5ffd5b6060824710156130c95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a86565b5f80866001600160a01b031685876040516130e49190613956565b5f6040518083038185875af1925050503d805f811461311e576040519150601f19603f3d011682016040523d82523d5f602084013e613123565b606091505b50915091506131348783838761313f565b979650505050505050565b606083156131ad5782515f036131a6576001600160a01b0385163b6131a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a86565b5081612f4c565b612f4c83838151156131c25781518083602001fd5b8060405162461bcd60e51b8152600401610a869190613202565b604080516080810182525f80825260208201819052918101829052606081019190915290565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114613261575f80fd5b919050565b5f8060408385031215613277575f80fd5b6132808361324b565b946020939093013593505050565b5f6020828403121561329e575f80fd5b5035919050565b5f8083601f8401126132b5575f80fd5b5081356001600160401b038111156132cb575f80fd5b6020830191508360208260051b85010111156132e5575f80fd5b9250929050565b5f805f80604085870312156132ff575f80fd5b84356001600160401b0380821115613315575f80fd5b613321888389016132a5565b90965094506020870135915080821115613339575f80fd5b50613346878288016132a5565b95989497509550505050565b5f60208284031215613362575f80fd5b61336b8261324b565b9392505050565b5f805f60608486031215613384575f80fd5b61338d8461324b565b925061339b6020850161324b565b9150604084013590509250925092565b80356001600160401b0381168114613261575f80fd5b5f805f606084860312156133d3575f80fd5b6133dc846133ab565b92506133ea602085016133ab565b91506133f8604085016133ab565b90509250925092565b5f60208284031215613411575f80fd5b81356001600160801b038116811461336b575f80fd5b5f8060408385031215613438575f80fd5b6134418361324b565b915061344f6020840161324b565b90509250929050565b8015158114613465575f80fd5b50565b5f60208284031215613478575f80fd5b813561336b81613458565b6001600160401b0391909116815260200190565b5f80604083850312156134a8575f80fd5b6134b18361324b565b915060208301356134c181613458565b809150509250929050565b600181811c908216806134e057607f821691505b6020821081036134fe57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a5657610a56613539565b634e487b7160e01b5f52601260045260245ffd5b5f8261358657613586613564565b500490565b634e487b7160e01b5f52603260045260245ffd5b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6001600160401b038181168382160190808211156135e5576135e5613539565b5092915050565b6020808252601290820152714b656570207461782062656c6f772031302560701b604082015260600190565b600181815b8085111561365257815f190482111561363857613638613539565b8085161561364557918102915b93841c939080029061361d565b509250929050565b5f8261366857506001610a56565b8161367457505f610a56565b816001811461368a5760028114613694576136b0565b6001915050610a56565b60ff8411156136a5576136a5613539565b50506001821b610a56565b5060208310610133831016604e8410600b84101617156136d3575081810a610a56565b6136dd8383613618565b805f19048211156136f0576136f0613539565b029392505050565b5f61336b60ff84168361365a565b602080825260079082015266546f6f206c6f7760c81b604082015260600190565b6001600160801b0391909116815260200190565b80820180821115610a5657610a56613539565b5f6020828403121561375e575f80fd5b5051919050565b6020808252600c908201526b5a65726f204164647265737360a01b604082015260600190565b6001600160a01b039290921682521515602082015260400190565b81810381811115610a5657610a56613539565b6001600160801b038181168382160280821691908281146137dc576137dc613539565b505092915050565b5f6001600160801b03838116806137fd576137fd613564565b92169190910492915050565b6001600160501b038181168382160190808211156135e5576135e5613539565b60208082526007908201526626b0bc102a3c3760c91b604082015260600190565b6020808252600a908201526913585e0815d85b1b195d60b21b604082015260600190565b5f6020828403121561387e575f80fd5b815161336b81613458565b6001600160401b038181168382160280821691908281146137dc576137dc613539565b5f6001600160401b03838116806137fd576137fd613564565b6001600160401b038281168282160390808211156135e5576135e5613539565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156139355784516001600160a01b031683529383019391830191600101613910565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82518060208501845e5f92019182525091905056fea4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a65da4e59eb79748604e24f39a8171541dc0b1d520dad4fb7b154769da5f620364736f6c63430008190033

Deployed Bytecode

0x608060405260043610610251575f3560e01c806306fdde031461025c5780630758d92414610286578063095ea7b3146102c657806318160ddd146102f557806321045918146103135780632307b441146103345780632369bf831461035357806323b872dd14610372578063286965a714610391578063313ce567146103b0578063362919a7146103cb57806336e18e19146103e457806339509351146104035780633ad10ef614610422578063452ed4f1146104415780634f7041a51461047457806353371be0146104e55780635431c94e146104fe578063597589941461051d5780635a90a49e1461053c578063627e9d8e1461056a57806366ebd39a146105835780636d7adcad146105a257806370a0823114610616578063715018a614610635578063751039fc14610649578063758086311461065d5780638503376214610671578063860a32ec146106905780638a8c523c146106ae5780638becc57d146106c25780638d3e6e40146106e15780638da5cb5b1461070f57806395d89b411461072c5780639e7261af146107405780639e93ad8e14610754578063a457c2d714610776578063a5ece94114610795578063a9059cbb146107b4578063ad5c4648146107d3578063b0249cc614610806578063bba3325d14610834578063bedafd0114610852578063c78d0fa014610871578063c876d0b914610886578063cc1776d3146108a5578063ccad03e1146108e3578063d00efb2f14610902578063dd62ed3e14610917578063f270fde414610936578063f2fde38b14610980578063f8686f071461099f575f80fd5b3661025857005b5f80fd5b348015610267575f80fd5b506102706109b3565b60405161027d9190613202565b60405180910390f35b348015610291575f80fd5b506102b97f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60405161027d9190613237565b3480156102d1575f80fd5b506102e56102e0366004613266565b610a43565b604051901515815260200161027d565b348015610300575f80fd5b506002545b60405190815260200161027d565b34801561031e575f80fd5b5061033261032d36600461328e565b610a5c565b005b34801561033f575f80fd5b5061033261034e3660046132ec565b610bb0565b34801561035e575f80fd5b5061033261036d366004613352565b610c84565b34801561037d575f80fd5b506102e561038c366004613372565b610cf6565b34801561039c575f80fd5b506103326103ab3660046133c1565b610d19565b3480156103bb575f80fd5b506040516012815260200161027d565b3480156103d6575f80fd5b506014546102e59060ff1681565b3480156103ef575f80fd5b506103326103fe366004613401565b610e5a565b34801561040e575f80fd5b506102e561041d366004613266565b610f5a565b34801561042d575f80fd5b50600b546102b9906001600160a01b031681565b34801561044c575f80fd5b506102b97f000000000000000000000000176a9e42315d35508b4b69c8cc1c5fb358c4456481565b34801561047f575f80fd5b50600c546104b2906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b039586168152938516602085015291841691830191909152909116606082015260800161027d565b3480156104f0575f80fd5b506008546102e59060ff1681565b348015610509575f80fd5b50610332610518366004613427565b610f7b565b348015610528575f80fd5b50610332610537366004613468565b611077565b348015610547575f80fd5b506102e5610556366004613352565b60066020525f908152604090205460ff1681565b348015610575575f80fd5b506010546102e59060ff1681565b34801561058e575f80fd5b5061033261059d366004613401565b6110b4565b3480156105ad575f80fd5b50600e546105e1906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b60405161027d94939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b348015610621575f80fd5b50610305610630366004613352565b6111ad565b348015610640575f80fd5b506103326111c7565b348015610654575f80fd5b50610332611227565b348015610668575f80fd5b506103326112b4565b34801561067c575f80fd5b5061033261068b366004613352565b611459565b34801561069b575f80fd5b506010546102e590610100900460ff1681565b3480156106b9575f80fd5b506103326114cb565b3480156106cd575f80fd5b506103326106dc3660046133c1565b611555565b3480156106ec575f80fd5b506102e56106fb366004613352565b60076020525f908152604090205460ff1681565b34801561071a575f80fd5b506005546001600160a01b03166102b9565b348015610737575f80fd5b50610270611696565b34801561074b575f80fd5b506103326116a5565b34801561075f575f80fd5b5061076961271081565b60405161027d9190613483565b348015610781575f80fd5b506102e5610790366004613266565b61171b565b3480156107a0575f80fd5b50600a546102b9906001600160a01b031681565b3480156107bf575f80fd5b506102e56107ce366004613266565b611795565b3480156107de575f80fd5b506102b97f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610811575f80fd5b506102e5610820366004613352565b60096020525f908152604090205460ff1681565b34801561083f575f80fd5b506014546102e590610100900460ff1681565b34801561085d575f80fd5b5061033261086c366004613497565b6117a2565b34801561087c575f80fd5b5061030560115481565b348015610891575f80fd5b506014546102e59062010000900460ff1681565b3480156108b0575f80fd5b50600d546104b2906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b3480156108ee575f80fd5b506103326108fd366004613497565b6118a6565b34801561090d575f80fd5b5061030560135481565b348015610922575f80fd5b50610305610931366004613427565b6119c6565b348015610941575f80fd5b50601254610960906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161027d565b34801561098b575f80fd5b5061033261099a366004613352565b6119f0565b3480156109aa575f80fd5b50610332611ac7565b6060600380546109c2906134cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109ee906134cc565b8015610a395780601f10610a1057610100808354040283529160200191610a39565b820191905f5260205f20905b815481529060010190602001808311610a1c57829003601f168201915b5050505050905090565b5f33610a50818585611b4b565b60019150505b92915050565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b8152600401610a8690613504565b60405180910390fd5b620186a0610a9c60025490565b610aa790600161354d565b610ab19190613578565b811015610b1e5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a86565b6103e8610b2a60025490565b610b3590600561354d565b610b3f9190613578565b811115610bab5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a86565b601155565b6005546001600160a01b03163314610bda5760405162461bcd60e51b8152600401610a8690613504565b828114610c225760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610a86565b5f5b83811015610c7d57610c7533868684818110610c4257610c4261358b565b9050602002016020810190610c579190613352565b858585818110610c6957610c6961358b565b90506020020135611c6e565b600101610c24565b5050505050565b6005546001600160a01b03163314610cae5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038116610cd45760405162461bcd60e51b8152600401610a869061359f565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610d03858285611e11565b610d0e858585611e89565b506001949350505050565b6005546001600160a01b03163314610d435760405162461bcd60e51b8152600401610a8690613504565b610d4b6131dc565b6001600160401b03808516825283811660408301528216602082015281610d7284866135c5565b610d7c91906135c5565b6001600160401b0316606082018190526103e81015610dad5760405162461bcd60e51b8152600401610a86906135ec565b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c978160600151604051610de09190613483565b60405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610e845760405162461bcd60e51b8152600401610a8690613504565b610e906012600a6136f8565b6103e8610e9c60025490565b610ea790600161354d565b610eb19190613578565b610ebb9190613578565b816001600160801b03161015610ee35760405162461bcd60e51b8152600401610a8690613706565b610eef6012600a6136f8565b610f02906001600160801b03831661354d565b601280546001600160801b0319166001600160801b039290921691821790556040517f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e691610f4f91613727565b60405180910390a150565b5f33610a50818585610f6c83836119c6565b610f76919061373b565b611b4b565b6005546001600160a01b03163314610fa55760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038216610ff85760405162461bcd60e51b815260206004820152601a60248201527905f746f6b656e20616464726573732063616e6e6f7420626520360341b6044820152606401610a86565b6040516370a0823160e01b81525f906001600160a01b038416906370a0823190611026903090600401613237565b602060405180830381865afa158015611041573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611065919061374e565b9050611072838383611f42565b505050565b6005546001600160a01b031633146110a15760405162461bcd60e51b8152600401610a8690613504565b6010805460ff1916911515919091179055565b6005546001600160a01b031633146110de5760405162461bcd60e51b8152600401610a8690613504565b6110ea6012600a6136f8565b6103e86110f660025490565b61110190600161354d565b61110b9190613578565b6111159190613578565b816001600160801b0316101561113d5760405162461bcd60e51b8152600401610a8690613706565b6111496012600a6136f8565b61115c906001600160801b03831661354d565b601280546001600160801b03908116600160801b938216840217918290556040517fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078893610f4f930490911690613727565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b031633146111f15760405162461bcd60e51b8152600401610a8690613504565b6005546040515f916001600160a01b0316905f8051602061398d833981519152908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112515760405162461bcd60e51b8152600401610a8690613504565b6010805461ff0019169055604080518082019091525f80825260208201525f61127960025490565b6001600160801b03811680845260208401819052600160801b8102176012556040519091505f8051602061396d833981519152905f90a15050565b600b546001600160a01b031633146112f85760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610a86565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b90920416606083015290919082906113519083906135c5565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b820489169783018890529481048816928201929092529390049094169382019390935292509082906113f99083906135c5565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146114835760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0381166114a95760405162461bcd60e51b8152600401610a869061359f565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146114f55760405162461bcd60e51b8152600401610a8690613504565b60085460ff16156115425760405162461bcd60e51b8152602060048201526017602482015276151c98591a5b99c8185b1c9958591e48195b98589b1959604a1b6044820152606401610a86565b6008805460ff1916600117905543601355565b6005546001600160a01b0316331461157f5760405162461bcd60e51b8152600401610a8690613504565b6115876131dc565b6001600160401b038085168252838116604083015282166020820152816115ae84866135c5565b6115b891906135c5565b6001600160401b0316606082018190526103e810156115e95760405162461bcd60e51b8152600401610a86906135ec565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508816060015160405161161c9190613483565b60405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6060600480546109c2906134cc565b6005546001600160a01b031633146116cf5760405162461bcd60e51b8152600401610a8690613504565b60145460ff1661170f5760405162461bcd60e51b815260206004820152600b60248201526a20b63932b0b23c9037b33360a91b6044820152606401610a86565b6014805460ff19169055565b5f338161172882866119c6565b9050838110156117885760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a86565b610d0e8286868403611b4b565b5f33610a50818585611e89565b6005546001600160a01b031633146117cc5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0382166117f25760405162461bcd60e51b8152600401610a8690613765565b306001600160a01b038316036118455760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5b995e195b5c1d0818dbdb9d1c9858dd60421b6044820152606401610a86565b6001600160a01b0382165f9081526006602052604090819020805460ff1916831515179055517f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d9061189a908490849061378b565b60405180910390a15050565b6005546001600160a01b031633146118d05760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b0382166118f65760405162461bcd60e51b8152600401610a8690613765565b80611971577f000000000000000000000000176a9e42315d35508b4b69c8cc1c5fb358c445646001600160a01b0316826001600160a01b0316036119715760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610a86565b6001600160a01b0382165f9081526007602052604090819020805460ff1916831515179055517f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9061189a908490849061378b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611a1a5760405162461bcd60e51b8152600401610a8690613504565b6001600160a01b038116611a7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a86565b6005546040516001600160a01b038084169216905f8051602061398d833981519152905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611af15760405162461bcd60e51b8152600401610a8690613504565b60145462010000900460ff16611b3d5760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610a86565b6014805462ff000019169055565b6001600160a01b038316611bad5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a86565b6001600160a01b038216611c0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a86565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611cd25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a86565b6001600160a01b038216611d345760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a86565b6001600160a01b0383165f9081526020819052604090205481811015611dab5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a86565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f611e1c84846119c6565b90505f198114611e835781811015611e765760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a86565b611e838484848403611b4b565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff16158015611ec957506001600160a01b0382165f9081526006602052604090205460ff16155b15611f375760085460ff16611f155760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a86565b611f20838383611f94565b611f2a90826137a6565b9050611f378383836122e4565b611072838383611c6e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611072908490612660565b5f601154611fa1306111ad565b10158015611fc757506001600160a01b0384165f9081526009602052604090205460ff16155b15611fd457611fd4612731565b60145460ff1615611fe757611fe7612a86565b5f611ff06131dc565b6001600160a01b0385165f9081526009602052604090205460ff161561205d575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526120c6565b6001600160a01b0386165f9081526009602052604090205460ff16156120c6575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b0316156122d25760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff16151560608083019190915282015161271090612140906001600160401b03168761354d565b61214a9190613578565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561217891906137b9565b61218291906137e4565b61218c91906137e4565b8160200181815161219d9190613809565b6001600160501b031690525060608201518251633b9aca00916001600160401b03908116916121cd9116866137b9565b6121d791906137e4565b6121e191906137e4565b815182906121f0908390613809565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b03908116916122239116866137b9565b61222d91906137e4565b61223791906137e4565b816040018181516122489190613809565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b0291909116600160a01b600160f81b0319928716600160501b026001600160a01b03199094169590961694909417919091171692909217179055506122d087306001600160801b038616611c6e565b505b506001600160801b0316949350505050565b601054610100900460ff16156125be576001600160a01b0382165f9081526007602052604081205460ff1690612319846111ad565b6040805180820182526012546001600160801b038082168352600160801b909104166020808301919091526001600160a01b0389165f908152600990915291909120549192509060ff16801561236d575082155b156123d75780516001600160801b031684111561239c5760405162461bcd60e51b8152600401610a8690613829565b60208101516001600160801b03166123b4838661373b565b11156123d25760405162461bcd60e51b8152600401610a869061384a565b612480565b6001600160a01b0385165f9081526009602052604090205460ff16801561241657506001600160a01b0386165f9081526007602052604090205460ff16155b156124455780516001600160801b03168411156123d25760405162461bcd60e51b8152600401610a8690613829565b826124805760208101516001600160801b0316612462838661373b565b11156124805760405162461bcd60e51b8152600401610a869061384a565b60145462010000900460ff16156125ba577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b03161415801561250557507f000000000000000000000000176a9e42315d35508b4b69c8cc1c5fb358c445646001600160a01b0316856001600160a01b031614155b156125ba57325f908152600f602052604090205443116125585760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610a86565b326001600160a01b038616146125ba5760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610a86565b5050505b60105460ff1615611072576001600160a01b0382165f9081526009602052604090205460ff161561263a576001600160a01b0383165f908152600f602052604090205443116110725760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610a86565b506001600160a01b03165f908152600f6020526040808220439081905532835291205550565b5f6126b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f3e9092919063ffffffff16565b80519091501561107257808060200190518101906126d2919061386e565b6110725760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a86565b5f61273b306111ad565b60408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f929161279991613809565b6127a39190613809565b6001600160501b031690508215806127b9575080155b156127c357505050565b6011546127d190601461354d565b8311156127e9576011546127e690601461354d565b92505b60208201516001600160501b0316156128e1575f8183602001516001600160501b031685612817919061354d565b6128219190613578565b905061284e307f000000000000000000000000176a9e42315d35508b4b69c8cc1c5fb358c4456483611c6e565b7f000000000000000000000000176a9e42315d35508b4b69c8cc1c5fb358c445646001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156128a6575f80fd5b505af19250505080156128b7575060015b506128c281856137a6565b935082602001516001600160501b0316826128dd91906137a6565b9150505b8215612a4e576128f083612f54565b604082015147905f906001600160501b0316156129ed575f8385604001516001600160501b031684612922919061354d565b61292c9190613578565b90505f61293a600283613578565b600b546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114612985576040519150601f19603f3d011682016040523d82523d5f602084013e61298a565b606091505b505060405190935073de6b7b8ec7faeb48f84d6d4cf83998b3fab91cb49082905f81818185875af1925050503d805f81146129e0576040519150601f19603f3d011682016040523d82523d5f602084013e6129e5565b606091505b509093505050505b4791508115612a4b57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612a40576040519150601f19603f3d011682016040523d82523d5f602084013e612a45565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b031990921691909117905550565b6040805160808082018352600c546001600160401b038082168452600160401b8083048216602080870191909152600160801b808504841687890152600160c01b94859004841660608089019190915288519687018952600d5480861688529384048516878401528184048516878a0152949092049092169284019290925284518086019095526012546001600160801b038082168752929004909116908401526013549192909143905f90612b3c90836137a6565b90505f612b4a600a83613578565b9050600b8110612bbe576014805460ff191690556101f460608088018290528601526010805461ff00191690555f612b8160025490565b6001600160801b03811680875260208701819052600160801b8102176012556040519091505f8051602061396d833981519152905f90a150612c6a565b8015612c6a57612bcf81606461354d565b612bdb90610bb86137a6565b6001600160401b03166060870152612bf481606461354d565b612c0090610bb86137a6565b6001600160401b031660608601526103e881612c1b60025490565b612c25919061354d565b612c2f9190613578565b6001600160801b031684526103e881612c4760025490565b612c51919061354d565b612c5b9190613578565b6001600160801b031660208501525b6060860151600c54600160c01b90046001600160401b03908116911614612db557601454610100900460ff1615612cf357600a86606001516006612cae9190613889565b612cb891906138ac565b6001600160401b031686526060860151600a90612cd6906002613889565b612ce091906138ac565b6001600160401b03166040870152612d22565b600a86606001516008612d069190613889565b612d1091906138ac565b6001600160401b031686525f60408701525b604086015186516060880151612d3891906138c5565b612d4291906138c5565b6001600160401b03908116602088018190528751600c805460408b015160608c01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b6060850151600d54600160c01b90046001600160401b03908116911614612f0057601454610100900460ff1615612e3e57600a85606001516006612df99190613889565b612e0391906138ac565b6001600160401b031685526060850151600a90612e21906002613889565b612e2b91906138ac565b6001600160401b03166040860152612e6d565b600a85606001516008612e519190613889565b612e5b91906138ac565b6001600160401b031685525f60408601525b604085015185516060870151612e8391906138c5565b612e8d91906138c5565b6001600160401b03908116602087018190528651600d805460408a015160608b01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b60125484516001600160801b03908116911614612f3657835160208501516001600160801b03908116600160801b029116176012555b505050505050565b6060612f4c84845f85613068565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612f8757612f8761358b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110612fdb57612fdb61358b565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac9479061303f9085905f908690309042906004016138e5565b5f604051808303815f87803b158015613056575f80fd5b505af1158015612f36573d5f803e3d5ffd5b6060824710156130c95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a86565b5f80866001600160a01b031685876040516130e49190613956565b5f6040518083038185875af1925050503d805f811461311e576040519150601f19603f3d011682016040523d82523d5f602084013e613123565b606091505b50915091506131348783838761313f565b979650505050505050565b606083156131ad5782515f036131a6576001600160a01b0385163b6131a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a86565b5081612f4c565b612f4c83838151156131c25781518083602001fd5b8060405162461bcd60e51b8152600401610a869190613202565b604080516080810182525f80825260208201819052918101829052606081019190915290565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114613261575f80fd5b919050565b5f8060408385031215613277575f80fd5b6132808361324b565b946020939093013593505050565b5f6020828403121561329e575f80fd5b5035919050565b5f8083601f8401126132b5575f80fd5b5081356001600160401b038111156132cb575f80fd5b6020830191508360208260051b85010111156132e5575f80fd5b9250929050565b5f805f80604085870312156132ff575f80fd5b84356001600160401b0380821115613315575f80fd5b613321888389016132a5565b90965094506020870135915080821115613339575f80fd5b50613346878288016132a5565b95989497509550505050565b5f60208284031215613362575f80fd5b61336b8261324b565b9392505050565b5f805f60608486031215613384575f80fd5b61338d8461324b565b925061339b6020850161324b565b9150604084013590509250925092565b80356001600160401b0381168114613261575f80fd5b5f805f606084860312156133d3575f80fd5b6133dc846133ab565b92506133ea602085016133ab565b91506133f8604085016133ab565b90509250925092565b5f60208284031215613411575f80fd5b81356001600160801b038116811461336b575f80fd5b5f8060408385031215613438575f80fd5b6134418361324b565b915061344f6020840161324b565b90509250929050565b8015158114613465575f80fd5b50565b5f60208284031215613478575f80fd5b813561336b81613458565b6001600160401b0391909116815260200190565b5f80604083850312156134a8575f80fd5b6134b18361324b565b915060208301356134c181613458565b809150509250929050565b600181811c908216806134e057607f821691505b6020821081036134fe57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a5657610a56613539565b634e487b7160e01b5f52601260045260245ffd5b5f8261358657613586613564565b500490565b634e487b7160e01b5f52603260045260245ffd5b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6001600160401b038181168382160190808211156135e5576135e5613539565b5092915050565b6020808252601290820152714b656570207461782062656c6f772031302560701b604082015260600190565b600181815b8085111561365257815f190482111561363857613638613539565b8085161561364557918102915b93841c939080029061361d565b509250929050565b5f8261366857506001610a56565b8161367457505f610a56565b816001811461368a5760028114613694576136b0565b6001915050610a56565b60ff8411156136a5576136a5613539565b50506001821b610a56565b5060208310610133831016604e8410600b84101617156136d3575081810a610a56565b6136dd8383613618565b805f19048211156136f0576136f0613539565b029392505050565b5f61336b60ff84168361365a565b602080825260079082015266546f6f206c6f7760c81b604082015260600190565b6001600160801b0391909116815260200190565b80820180821115610a5657610a56613539565b5f6020828403121561375e575f80fd5b5051919050565b6020808252600c908201526b5a65726f204164647265737360a01b604082015260600190565b6001600160a01b039290921682521515602082015260400190565b81810381811115610a5657610a56613539565b6001600160801b038181168382160280821691908281146137dc576137dc613539565b505092915050565b5f6001600160801b03838116806137fd576137fd613564565b92169190910492915050565b6001600160501b038181168382160190808211156135e5576135e5613539565b60208082526007908201526626b0bc102a3c3760c91b604082015260600190565b6020808252600a908201526913585e0815d85b1b195d60b21b604082015260600190565b5f6020828403121561387e575f80fd5b815161336b81613458565b6001600160401b038181168382160280821691908281146137dc576137dc613539565b5f6001600160401b03838116806137fd576137fd613564565b6001600160401b038281168282160390808211156135e5576135e5613539565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156139355784516001600160a01b031683529383019391830191600101613910565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82518060208501845e5f92019182525091905056fea4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a65da4e59eb79748604e24f39a8171541dc0b1d520dad4fb7b154769da5f620364736f6c63430008190033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Custom Snipe Loops, indicators, find alpha in our 100+ daily tokens based on volume & experience the power of novel AI Engine with 2FA security.

Validator Index Block Amount
View All Withdrawals

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

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