ETH Price: $3,026.46 (+3.77%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve205455832024-08-17 3:12:4784 days ago1723864367IN
0x395611cd...17e2A26DB
0 ETH0.000049161.05542172
Approve183000502023-10-07 17:18:23398 days ago1696699103IN
0x395611cd...17e2A26DB
0 ETH0.000364537.82468257
Approve182901252023-10-06 7:58:59399 days ago1696579139IN
0x395611cd...17e2A26DB
0 ETH0.000300556.45130584
Approve146333622022-04-22 7:33:14932 days ago1650612794IN
0x395611cd...17e2A26DB
0 ETH0.0013634629.22878528
Approve146294882022-04-21 16:59:51932 days ago1650560391IN
0x395611cd...17e2A26DB
0 ETH0.0041226688.37813634
Update Max Walle...146294682022-04-21 16:54:05932 days ago1650560045IN
0x395611cd...17e2A26DB
0 ETH0.0023288374.69235573
Approve146294652022-04-21 16:52:32932 days ago1650559952IN
0x395611cd...17e2A26DB
0 ETH0.0025357254.35861453
Update Max Txn A...146294612022-04-21 16:52:24932 days ago1650559944IN
0x395611cd...17e2A26DB
0 ETH0.0022272871.43305271
Approve146294532022-04-21 16:51:13932 days ago1650559873IN
0x395611cd...17e2A26DB
0 ETH0.0033826272.51375865
Approve146294452022-04-21 16:49:04932 days ago1650559744IN
0x395611cd...17e2A26DB
0 ETH0.0036019177.21486819
Approve146294252022-04-21 16:44:34932 days ago1650559474IN
0x395611cd...17e2A26DB
0 ETH0.0034470673.89527977
Set Auto LP Burn...146294202022-04-21 16:43:39932 days ago1650559419IN
0x395611cd...17e2A26DB
0 ETH0.0033144491.09127373
Transfer146294152022-04-21 16:42:32932 days ago1650559352IN
0x395611cd...17e2A26DB
0 ETH0.0059654290.48940762
Update Buy Fees146293832022-04-21 16:34:56932 days ago1650558896IN
0x395611cd...17e2A26DB
0 ETH0.0026926681.26352277
Approve146293552022-04-21 16:28:58932 days ago1650558538IN
0x395611cd...17e2A26DB
0 ETH0.002946663.16680165
Approve146292622022-04-21 16:09:55932 days ago1650557395IN
0x395611cd...17e2A26DB
0 ETH0.003498675
Approve146292592022-04-21 16:09:30932 days ago1650557370IN
0x395611cd...17e2A26DB
0 ETH0.002955963.36624816
Approve146291952022-04-21 15:55:08932 days ago1650556508IN
0x395611cd...17e2A26DB
0 ETH0.0034653974.28825183
Approve146291902022-04-21 15:53:44932 days ago1650556424IN
0x395611cd...17e2A26DB
0 ETH0.0031773668.11370243
Approve146291832022-04-21 15:52:37932 days ago1650556357IN
0x395611cd...17e2A26DB
0 ETH0.0042284790.64646714
Approve146291472022-04-21 15:41:18932 days ago1650555678IN
0x395611cd...17e2A26DB
0 ETH0.0032846670.41385446
Approve146291262022-04-21 15:36:53932 days ago1650555413IN
0x395611cd...17e2A26DB
0 ETH0.0046272899.19579449
Approve146291252022-04-21 15:36:22932 days ago1650555382IN
0x395611cd...17e2A26DB
0 ETH0.0042203290.47173094
Approve146291232022-04-21 15:35:42932 days ago1650555342IN
0x395611cd...17e2A26DB
0 ETH0.0040788287.43830077
Approve146291212022-04-21 15:34:59932 days ago1650555299IN
0x395611cd...17e2A26DB
0 ETH0.003846882.46441916
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
146296832022-04-21 17:45:28932 days ago1650563128
0x395611cd...17e2A26DB
5.30813234 ETH
146296832022-04-21 17:45:28932 days ago1650563128
0x395611cd...17e2A26DB
1.51660924 ETH
146296832022-04-21 17:45:28932 days ago1650563128
0x395611cd...17e2A26DB
6.82474158 ETH
146294092022-04-21 16:40:51932 days ago1650559251
0x395611cd...17e2A26DB
0.0167227 ETH
146294092022-04-21 16:40:51932 days ago1650559251
0x395611cd...17e2A26DB
0.00726603 ETH
146294092022-04-21 16:40:51932 days ago1650559251
0x395611cd...17e2A26DB
0.02398873 ETH
146292652022-04-21 16:10:25932 days ago1650557425
0x395611cd...17e2A26DB
0.01052029 ETH
146292652022-04-21 16:10:25932 days ago1650557425
0x395611cd...17e2A26DB
0.00400266 ETH
146292652022-04-21 16:10:25932 days ago1650557425
0x395611cd...17e2A26DB
0.01452295 ETH
146292632022-04-21 16:10:00932 days ago1650557400
0x395611cd...17e2A26DB
0.00565334 ETH
146292632022-04-21 16:10:00932 days ago1650557400
0x395611cd...17e2A26DB
0.00161524 ETH
146292632022-04-21 16:10:00932 days ago1650557400
0x395611cd...17e2A26DB
0.00726858 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00586431 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00167551 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00753983 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00641767 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00183362 ETH
146292592022-04-21 16:09:30932 days ago1650557370
0x395611cd...17e2A26DB
0.00825129 ETH
146292552022-04-21 16:08:45932 days ago1650557325
0x395611cd...17e2A26DB
0.00621867 ETH
146292552022-04-21 16:08:45932 days ago1650557325
0x395611cd...17e2A26DB
0.00177676 ETH
146292552022-04-21 16:08:45932 days ago1650557325
0x395611cd...17e2A26DB
0.00799543 ETH
146292482022-04-21 16:07:54932 days ago1650557274
0x395611cd...17e2A26DB
0.00640204 ETH
146292482022-04-21 16:07:54932 days ago1650557274
0x395611cd...17e2A26DB
0.00182915 ETH
146292482022-04-21 16:07:54932 days ago1650557274
0x395611cd...17e2A26DB
0.00823119 ETH
146292362022-04-21 16:05:34932 days ago1650557134
0x395611cd...17e2A26DB
0.00556694 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LeoAioliaToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : LeoAioliaToken.sol
// Sources flattened with hardhat v2.8.3 https://hardhat.org

// telegram: https://t.me/leo_aiolia_portal
// website: https://leoaioliatoken.com

// File contracts/token/LeoAioliaToken.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

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

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

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

/* pragma solidity ^0.8.0; */

/* import "../utils/Context.sol"; */

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

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

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

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

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

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

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

/* pragma solidity ^0.8.0; */

/* import "../IERC20.sol"; */

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

/* pragma solidity ^0.8.0; */

/* import "./IERC20.sol"; */
/* import "./extensions/IERC20Metadata.sol"; */
/* import "../../utils/Context.sol"; */

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

/* pragma solidity ^0.8.0; */

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

////// src/IUniswapV2Factory.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

////// src/IUniswapV2Router02.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract LeoAioliaToken is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;

    address public marketingWallet;
    address public devWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    uint256 public percentForLPBurn;
    bool public lpBurnEnabled = true;
    uint256 public lpBurnFrequency = 5 hours;
    uint256 public lastLpBurnTime;

    uint256 public manualBurnFrequency = 5 hours;
    uint256 public lastManualLpBurnTime;
    uint256 public manualLpBurnPercent;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
    bool public transferDelayEnabled = true;
    mapping(address => bool) public bots;
    uint256 public botCount;
    uint256 private launchTimeStamp;

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;

    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event devWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event AutoNukeLP();

    event ManualNukeLP();

    constructor() ERC20("Leo Aiolia", "LEA") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMarketingFee = 4;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyDevFee = 2;

        uint256 _sellMarketingFee = 7;
        uint256 _sellLiquidityFee = 0;
        uint256 _sellDevFee = 2;

        uint256 totalSupply = 1_000_000_000 * 1e18;

        maxTransactionAmount = 10_000_000 * 1e18; // 1% from total supply maxTransactionAmountTxn
        maxWallet = 20_000_000 * 1e18; // 2% from total supply maxWallet
        swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet

        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;

        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;

        percentForLPBurn = 25;
        manualLpBurnPercent = percentForLPBurn;

        marketingWallet = address(0x5d76f310CC28374D567228884153a1e8dCd3aeE0); // set as marketing wallet
        devWallet = address(0xc549732D7De1b375caB91cF44683bbaFE3bf968f); // set as dev wallet

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
        lastLpBurnTime = block.timestamp;
        launchTimeStamp = block.timestamp;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool) {
        transferDelayEnabled = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        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."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
        require(buyTotalFees <= 20, "Must keep fees at 20% or less");
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;
        require(sellTotalFees <= 25, "Must keep fees at 25% or less");
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function updateManualLpBurnPercent(uint256 _percent) public onlyOwner {
        require(_percent <= 1000, "May not nuke more than 10% of tokens in LP");
        manualLpBurnPercent = _percent;
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(address newMarketingWallet)
        external
        onlyOwner
    {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function updateDevWallet(address newWallet) external onlyOwner {
        emit devWalletUpdated(newWallet, devWallet);
        devWallet = newWallet;
    }

    function delBot(address account) external onlyOwner {
        bots[account] = false;
        if (botCount > 0) {
            botCount--;
        }
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    event BoughtEarly(address indexed sniper);

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(!bots[from] && !bots[to], "botted");
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

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

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(uniswapV2Router) &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                // bot detection
                if (!tradingActive && automatedMarketMakerPairs[from]) {
                    bots[to] = true;
                    botCount++;
                }
                if (block.timestamp < launchTimeStamp + 1 minutes) {
                    bots[to] = true;
                    botCount++;
                }

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                if (transferDelayEnabled) {
                    if (
                        to != owner() &&
                        to != address(uniswapV2Router) &&
                        to != address(uniswapV2Pair)
                    ) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number,
                            "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        if (
            !swapping &&
            automatedMarketMakerPairs[to] &&
            lpBurnEnabled &&
            block.timestamp >= lastLpBurnTime + lpBurnFrequency &&
            !_isExcludedFromFees[from]
        ) {
            autoBurnLiquidityPairTokens();
        }

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForDev += (fees * sellDevFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForDev += (fees * buyDevFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            deadAddress,
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForMarketing +
            tokensForDev;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 6) {
            contractBalance = swapTokensAtAmount * 6;
        }

        // Have the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

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

        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(
            totalTokensToSwap
        );
        uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);

        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev;

        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDev = 0;

        (success, ) = address(devWallet).call{value: ethForDev}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

        (success, ) = address(marketingWallet).call{
            value: address(this).balance
        }("");
    }

    function setAutoLPBurnSettings(
        uint256 _frequencyInSeconds,
        uint256 _percent,
        bool _Enabled
    ) external onlyOwner {
        require(
            _frequencyInSeconds >= 60,
            "cannot set buyback more often than every 1 minutes"
        );
        lpBurnFrequency = _frequencyInSeconds;
        percentForLPBurn = _percent;
        lpBurnEnabled = _Enabled;
    }

    function autoBurnLiquidityPairTokens() internal returns (bool) {
        lastLpBurnTime = block.timestamp;

        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        // calculate amount to burn
        uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div(
            10000
        );

        // pull tokens from uniswap pair and move to dead address permanently
        if (amountToBurn > 0) {
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }

        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit AutoNukeLP();
        return true;
    }

    function manualBurnLiquidityPairTokens(uint256 amount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            block.timestamp > lastManualLpBurnTime + manualBurnFrequency,
            "Must wait for cooldown to finish"
        );
        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        require(amount <= liquidityPairBalance * manualLpBurnPercent / 10000, "Burn amount exceeded!");
        lastManualLpBurnTime = block.timestamp;

        // pull tokens from pancakePair liquidity and move to dead address permanently
        super._transfer(uniswapV2Pair, address(0xdead), amount);

        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit ManualNukeLP();
        return true;
    }
}

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

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":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"botCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bots","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualLpBurnPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"updateManualLpBurnPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600e8054600160ff199182168117909255614650600f8190556011556014805462ffffff1916831790556016805490911690911790553480156200004757600080fd5b506040518060400160405280600a8152602001694c656f2041696f6c696160b01b815250604051806040016040528060038152602001624c454160e81b81525081600390805190602001906200009f92919062000710565b508051620000b590600490602084019062000710565b505050620000d2620000cc6200045d60201b60201c565b62000461565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000f4816001620004b3565b600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b1580156200014957600080fd5b505afa1580156200015e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001849190620007b6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001cd57600080fd5b505afa158015620001e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002089190620007b6565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200025157600080fd5b505af115801562000266573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028c9190620007b6565b600780546001600160a01b0319166001600160a01b03929092169182179055620002b8906001620004b3565b600754620002d1906001600160a01b031660016200052d565b6a084595161401484a000000600a556a108b2a2c28029094000000600c55600460006002600782826b033b2e3c9fd0803ce80000006127106200031682600562000826565b62000322919062000803565b600b55601b879055601c869055601d85905584620003418789620007e8565b6200034d9190620007e8565b601a55601f84905560208390556021829055816200036c8486620007e8565b620003789190620007e8565b601e556019600d819055601355600880546001600160a01b0319908116735d76f310cc28374d567228884153a1e8dcd3aee0179091556009805490911673c549732d7de1b375cab91cf44683bbafe3bf968f179055620003ec620003e46005546001600160a01b031690565b600162000581565b620003f930600162000581565b6200040861dead600162000581565b620004276200041f6005546001600160a01b031690565b6001620004b3565b62000434306001620004b3565b6200044361dead6001620004b3565b6200044f33826200062b565b50505050505050506200089b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620005025760405162461bcd60e51b8152602060048201819052602482015260008051602062003a7583398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602660205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005cc5760405162461bcd60e51b8152602060048201819052602482015260008051602062003a758339815191526044820152606401620004f9565b6001600160a01b038216600081815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004f9565b8060026000828254620006979190620007e8565b90915550506001600160a01b03821660009081526020819052604081208054839290620006c6908490620007e8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200071e9062000848565b90600052602060002090601f0160209004810192826200074257600085556200078d565b82601f106200075d57805160ff19168380011785556200078d565b828001600101855582156200078d579182015b828111156200078d57825182559160200191906001019062000770565b506200079b9291506200079f565b5090565b5b808211156200079b5760008155600101620007a0565b600060208284031215620007c957600080fd5b81516001600160a01b0381168114620007e157600080fd5b9392505050565b60008219821115620007fe57620007fe62000885565b500190565b6000826200082157634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161562000843576200084362000885565b500290565b600181811c908216806200085d57607f821691505b602082108114156200087f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6131ca80620008ab6000396000f3fe6080604052600436106103e75760003560e01c80638a8c523c11610208578063bfd7928411610118578063db20e129116100ab578063f11a24d31161007a578063f11a24d314610b5e578063f2fde38b14610b74578063f637434214610b94578063f8b45b0514610baa578063fe72b27a14610bc057600080fd5b8063db20e12914610acd578063dd62ed3e14610aed578063e2f4560514610b33578063e884f26014610b4957600080fd5b8063c876d0b9116100e7578063c876d0b914610a67578063c8c8ebe414610a81578063d257b34f14610a97578063d85ba06314610ab757600080fd5b8063bfd79284146109d7578063c024666814610a07578063c17b5b8c14610a27578063c18bc19514610a4757600080fd5b80639ec22c0e1161019b578063a4c82a001161016a578063a4c82a0014610932578063a9059cbb14610948578063aacebbe314610968578063b62496f514610988578063bbc0c742146109b857600080fd5b80639ec22c0e146108d05780639fccce32146108e6578063a0d82dc5146108fc578063a457c2d71461091257600080fd5b8063924de9b7116101d7578063924de9b71461086557806395d89b41146108855780639a7a23d61461089a5780639c3b4fdc146108ba57600080fd5b80638a8c523c146107fc5780638da5cb5b146108115780638ea5220f1461082f578063921369131461084f57600080fd5b80632e82f1a0116103035780636ddd171311610296578063751039fc11610265578063751039fc146107715780637571336a1461078657806375f0a874146107a65780637bce5a04146107c65780638095d564146107dc57600080fd5b80636ddd1713146106e657806370a0823114610706578063715018a61461073c578063730c18881461075157600080fd5b806349bd5a5e116102d257806349bd5a5e1461065d5780634a62bb651461067d5780634fbee193146106975780636a486a8e146106d057600080fd5b80632e82f1a0146105f1578063313ce5671461060b5780633950935114610627578063428b86171461064757600080fd5b8063199ffc721161037b57806323b872dd1161034a57806323b872dd14610585578063273123b7146105a557806327c8f835146105c55780632c3e486c146105db57600080fd5b8063199ffc72146105235780631a8145bb146105395780631f3fed8f1461054f578063203e727e1461056557600080fd5b80631694505e116103b75780631694505e1461049e57806318160ddd146104d65780631816467f146104eb578063184c16c51461050d57600080fd5b8062e4dc05146103f357806306fdde031461041c578063095ea7b31461043e57806310d5de531461046e57600080fd5b366103ee57005b600080fd5b3480156103ff57600080fd5b5061040960135481565b6040519081526020015b60405180910390f35b34801561042857600080fd5b50610431610be0565b6040516104139190612ef3565b34801561044a57600080fd5b5061045e610459366004612deb565b610c72565b6040519015158152602001610413565b34801561047a57600080fd5b5061045e610489366004612d02565b60266020526000908152604090205460ff1681565b3480156104aa57600080fd5b506006546104be906001600160a01b031681565b6040516001600160a01b039091168152602001610413565b3480156104e257600080fd5b50600254610409565b3480156104f757600080fd5b5061050b610506366004612d02565b610c88565b005b34801561051957600080fd5b5061040960115481565b34801561052f57600080fd5b50610409600d5481565b34801561054557600080fd5b5061040960235481565b34801561055b57600080fd5b5061040960225481565b34801561057157600080fd5b5061050b610580366004612e32565b610d18565b34801561059157600080fd5b5061045e6105a0366004612d75565b610df5565b3480156105b157600080fd5b5061050b6105c0366004612d02565b610e9f565b3480156105d157600080fd5b506104be61dead81565b3480156105e757600080fd5b50610409600f5481565b3480156105fd57600080fd5b50600e5461045e9060ff1681565b34801561061757600080fd5b5060405160128152602001610413565b34801561063357600080fd5b5061045e610642366004612deb565b610f0a565b34801561065357600080fd5b5061040960185481565b34801561066957600080fd5b506007546104be906001600160a01b031681565b34801561068957600080fd5b5060145461045e9060ff1681565b3480156106a357600080fd5b5061045e6106b2366004612d02565b6001600160a01b031660009081526025602052604090205460ff1690565b3480156106dc57600080fd5b50610409601e5481565b3480156106f257600080fd5b5060145461045e9062010000900460ff1681565b34801561071257600080fd5b50610409610721366004612d02565b6001600160a01b031660009081526020819052604090205490565b34801561074857600080fd5b5061050b610f46565b34801561075d57600080fd5b5061050b61076c366004612e64565b610f7c565b34801561077d57600080fd5b5061045e61102e565b34801561079257600080fd5b5061050b6107a1366004612db6565b61106b565b3480156107b257600080fd5b506008546104be906001600160a01b031681565b3480156107d257600080fd5b50610409601b5481565b3480156107e857600080fd5b5061050b6107f7366004612e99565b6110c0565b34801561080857600080fd5b5061050b611168565b34801561081d57600080fd5b506005546001600160a01b03166104be565b34801561083b57600080fd5b506009546104be906001600160a01b031681565b34801561085b57600080fd5b50610409601f5481565b34801561087157600080fd5b5061050b610880366004612e17565b6111ae565b34801561089157600080fd5b506104316111f4565b3480156108a657600080fd5b5061050b6108b5366004612db6565b611203565b3480156108c657600080fd5b50610409601d5481565b3480156108dc57600080fd5b5061040960125481565b3480156108f257600080fd5b5061040960245481565b34801561090857600080fd5b5061040960215481565b34801561091e57600080fd5b5061045e61092d366004612deb565b6112bf565b34801561093e57600080fd5b5061040960105481565b34801561095457600080fd5b5061045e610963366004612deb565b611358565b34801561097457600080fd5b5061050b610983366004612d02565b611365565b34801561099457600080fd5b5061045e6109a3366004612d02565b60276020526000908152604090205460ff1681565b3480156109c457600080fd5b5060145461045e90610100900460ff1681565b3480156109e357600080fd5b5061045e6109f2366004612d02565b60176020526000908152604090205460ff1681565b348015610a1357600080fd5b5061050b610a22366004612db6565b6113ec565b348015610a3357600080fd5b5061050b610a42366004612e99565b611475565b348015610a5357600080fd5b5061050b610a62366004612e32565b611518565b348015610a7357600080fd5b5060165461045e9060ff1681565b348015610a8d57600080fd5b50610409600a5481565b348015610aa357600080fd5b5061045e610ab2366004612e32565b6115e9565b348015610ac357600080fd5b50610409601a5481565b348015610ad957600080fd5b5061050b610ae8366004612e32565b611740565b348015610af957600080fd5b50610409610b08366004612d3c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b3f57600080fd5b50610409600b5481565b348015610b5557600080fd5b5061045e6117d4565b348015610b6a57600080fd5b50610409601c5481565b348015610b8057600080fd5b5061050b610b8f366004612d02565b611811565b348015610ba057600080fd5b5061040960205481565b348015610bb657600080fd5b50610409600c5481565b348015610bcc57600080fd5b5061045e610bdb366004612e32565b6118a9565b606060038054610bef906130fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b906130fd565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b5050505050905090565b6000610c7f338484611ac8565b50600192915050565b6005546001600160a01b03163314610cbb5760405162461bcd60e51b8152600401610cb290612f8b565b60405180910390fd5b6009546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d425760405162461bcd60e51b8152600401610cb290612f8b565b670de0b6b3a76400006103e8610d5760025490565b610d629060016130b0565b610d6c919061308e565b610d76919061308e565b811015610ddd5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610cb2565b610def81670de0b6b3a76400006130b0565b600a5550565b6000610e02848484611bec565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610e875760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610cb2565b610e948533858403611ac8565b506001949350505050565b6005546001600160a01b03163314610ec95760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b0381166000908152601760205260409020805460ff1916905560185415610f075760188054906000610f01836130e6565b91905055505b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c7f918590610f41908690613076565b611ac8565b6005546001600160a01b03163314610f705760405162461bcd60e51b8152600401610cb290612f8b565b610f7a6000612516565b565b6005546001600160a01b03163314610fa65760405162461bcd60e51b8152600401610cb290612f8b565b603c8310156110125760405162461bcd60e51b815260206004820152603260248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015271616e2065766572792031206d696e7574657360701b6064820152608401610cb2565b600f92909255600d55600e805460ff1916911515919091179055565b6005546000906001600160a01b0316331461105b5760405162461bcd60e51b8152600401610cb290612f8b565b506014805460ff19169055600190565b6005546001600160a01b031633146110955760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b03919091166000908152602660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110ea5760405162461bcd60e51b8152600401610cb290612f8b565b601b839055601c829055601d819055806111048385613076565b61110e9190613076565b601a819055601410156111635760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610cb2565b505050565b6005546001600160a01b031633146111925760405162461bcd60e51b8152600401610cb290612f8b565b6014805462ffff00191662010100179055426010819055601955565b6005546001600160a01b031633146111d85760405162461bcd60e51b8152600401610cb290612f8b565b60148054911515620100000262ff000019909216919091179055565b606060048054610bef906130fd565b6005546001600160a01b0316331461122d5760405162461bcd60e51b8152600401610cb290612f8b565b6007546001600160a01b03838116911614156112b15760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610cb2565b6112bb8282612568565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cb2565b61134e3385858403611ac8565b5060019392505050565b6000610c7f338484611bec565b6005546001600160a01b0316331461138f5760405162461bcd60e51b8152600401610cb290612f8b565b6008546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146114165760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b038216600081815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461149f5760405162461bcd60e51b8152600401610cb290612f8b565b601f83905560208290556021819055806114b98385613076565b6114c39190613076565b601e819055601910156111635760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610cb2565b6005546001600160a01b031633146115425760405162461bcd60e51b8152600401610cb290612f8b565b670de0b6b3a76400006103e861155760025490565b6115629060056130b0565b61156c919061308e565b611576919061308e565b8110156115d15760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610cb2565b6115e381670de0b6b3a76400006130b0565b600c5550565b6005546000906001600160a01b031633146116165760405162461bcd60e51b8152600401610cb290612f8b565b620186a061162360025490565b61162e9060016130b0565b611638919061308e565b8210156116a55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610cb2565b6103e86116b160025490565b6116bc9060056130b0565b6116c6919061308e565b8211156117325760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610cb2565b50600b81905560015b919050565b6005546001600160a01b0316331461176a5760405162461bcd60e51b8152600401610cb290612f8b565b6103e88111156117cf5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610cb2565b601355565b6005546000906001600160a01b031633146118015760405162461bcd60e51b8152600401610cb290612f8b565b506016805460ff19169055600190565b6005546001600160a01b0316331461183b5760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b0381166118a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb2565b610f0781612516565b6005546000906001600160a01b031633146118d65760405162461bcd60e51b8152600401610cb290612f8b565b6011546012546118e69190613076565b42116119345760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610cb2565b6007546040516370a0823160e01b81526001600160a01b03909116600482015260009030906370a082319060240160206040518083038186803b15801561197a57600080fd5b505afa15801561198e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b29190612e4b565b9050612710601354826119c591906130b0565b6119cf919061308e565b831115611a165760405162461bcd60e51b81526020600482015260156024820152744275726e20616d6f756e742065786365656465642160581b6044820152606401610cb2565b42601255600754611a33906001600160a01b031661dead856125bc565b6007546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b158015611a7d57600080fd5b505af1158015611a91573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a15060019392505050565b6001600160a01b038316611b2a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cb2565b6001600160a01b038216611b8b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cb2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526017602052604090205460ff16158015611c2e57506001600160a01b03821660009081526017602052604090205460ff16155b611c635760405162461bcd60e51b8152602060048201526006602482015265189bdd1d195960d21b6044820152606401610cb2565b6001600160a01b038316611c895760405162461bcd60e51b8152600401610cb290612fc0565b6001600160a01b038216611caf5760405162461bcd60e51b8152600401610cb290612f48565b80611cc057611163838360006125bc565b60145460ff1615612174576005546001600160a01b03848116911614801590611cf757506005546001600160a01b03838116911614155b8015611d1157506006546001600160a01b03838116911614155b8015611d2557506001600160a01b03821615155b8015611d3c57506001600160a01b03821661dead14155b8015611d525750600754600160a01b900460ff16155b1561217457601454610100900460ff16158015611d8757506001600160a01b03831660009081526027602052604090205460ff165b15611dc3576001600160a01b0382166000908152601760205260408120805460ff191660011790556018805491611dbd83613138565b91905055505b601954611dd190603c613076565b421015611e0f576001600160a01b0382166000908152601760205260408120805460ff191660011790556018805491611e0983613138565b91905055505b60165460ff1615611f0e576005546001600160a01b03838116911614801590611e4657506006546001600160a01b03838116911614155b8015611e6057506007546001600160a01b03838116911614155b15611f0e57326000908152601560205260409020544311611efb5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610cb2565b3260009081526015602052604090204390555b6001600160a01b03831660009081526027602052604090205460ff168015611f4f57506001600160a01b03821660009081526026602052604090205460ff16155b1561203357600a54811115611fc45760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610cb2565b600c546001600160a01b038316600090815260208190526040902054611fea9083613076565b111561202e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb2565b612174565b6001600160a01b03821660009081526027602052604090205460ff16801561207457506001600160a01b03831660009081526026602052604090205460ff16155b156120ea57600a5481111561202e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610cb2565b6001600160a01b03821660009081526026602052604090205460ff1661217457600c546001600160a01b0383166000908152602081905260409020546121309083613076565b11156121745760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb2565b600754600160a01b900460ff161580156121a657506001600160a01b03821660009081526027602052604090205460ff165b80156121b45750600e5460ff165b80156121cf5750600f546010546121cb9190613076565b4210155b80156121f457506001600160a01b03831660009081526025602052604090205460ff16155b1561220357612201612711565b505b60145462010000900460ff1680156122255750600754600160a01b900460ff16155b801561224a57506001600160a01b03831660009081526027602052604090205460ff16155b801561226f57506001600160a01b03831660009081526025602052604090205460ff16155b801561229457506001600160a01b03821660009081526025602052604090205460ff16155b156122c2576007805460ff60a01b1916600160a01b1790556122b461286a565b6007805460ff60a01b191690555b6007546001600160a01b03841660009081526025602052604090205460ff600160a01b90920482161591168061231057506001600160a01b03831660009081526025602052604090205460ff165b15612319575060005b60008115612504576001600160a01b03841660009081526027602052604090205460ff16801561234b57506000601e54115b1561240957612370606461236a601e5486612aa490919063ffffffff16565b90612ab7565b9050601e546020548261238391906130b0565b61238d919061308e565b6023600082825461239e9190613076565b9091555050601e546021546123b390836130b0565b6123bd919061308e565b602460008282546123ce9190613076565b9091555050601e54601f546123e390836130b0565b6123ed919061308e565b602260008282546123fe9190613076565b909155506124e69050565b6001600160a01b03851660009081526027602052604090205460ff16801561243357506000601a54115b156124e657612452606461236a601a5486612aa490919063ffffffff16565b9050601a54601c548261246591906130b0565b61246f919061308e565b602360008282546124809190613076565b9091555050601a54601d5461249590836130b0565b61249f919061308e565b602460008282546124b09190613076565b9091555050601a54601b546124c590836130b0565b6124cf919061308e565b602260008282546124e09190613076565b90915550505b80156124f7576124f78530836125bc565b61250181846130cf565b92505b61250f8585856125bc565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125e25760405162461bcd60e51b8152600401610cb290612fc0565b6001600160a01b0382166126085760405162461bcd60e51b8152600401610cb290612f48565b6001600160a01b038316600090815260208190526040902054818110156126805760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cb2565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906126b7908490613076565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161270391815260200190565b60405180910390a350505050565b426010556007546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a082319060240160206040518083038186803b15801561275d57600080fd5b505afa158015612771573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127959190612e4b565b905060006127b461271061236a600d5485612aa490919063ffffffff16565b905080156127d5576007546127d5906001600160a01b031661dead836125bc565b6007546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561281f57600080fd5b505af1158015612833573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b30600090815260208190526040812054905060006024546022546023546128919190613076565b61289b9190613076565b905060008215806128aa575081155b156128b457505050565b600b546128c29060066130b0565b8311156128da57600b546128d79060066130b0565b92505b6000600283602354866128ed91906130b0565b6128f7919061308e565b612901919061308e565b9050600061290f8583612ac3565b90504761291b82612acf565b60006129274783612ac3565b905060006129448761236a60225485612aa490919063ffffffff16565b905060006129618861236a60245486612aa490919063ffffffff16565b905060008161297084866130cf565b61297a91906130cf565b60006023819055602281905560248190556009546040519293506001600160a01b031691849181818185875af1925050503d80600081146129d7576040519150601f19603f3d011682016040523d82523d6000602084013e6129dc565b606091505b509098505086158015906129f05750600081115b15612a43576129ff8782612c38565b602354604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a90576040519150601f19603f3d011682016040523d82523d6000602084013e612a95565b606091505b50505050505050505050505050565b6000612ab082846130b0565b9392505050565b6000612ab0828461308e565b6000612ab082846130cf565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612b0457612b04613169565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b5857600080fd5b505afa158015612b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b909190612d1f565b81600181518110612ba357612ba3613169565b6001600160a01b039283166020918202929092010152600654612bc99130911684611ac8565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612c02908590600090869030904290600401613005565b600060405180830381600087803b158015612c1c57600080fd5b505af1158015612c30573d6000803e3d6000fd5b505050505050565b600654612c509030906001600160a01b031684611ac8565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b158015612cb957600080fd5b505af1158015612ccd573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061250f9190612ec5565b8035801515811461173b57600080fd5b600060208284031215612d1457600080fd5b8135612ab08161317f565b600060208284031215612d3157600080fd5b8151612ab08161317f565b60008060408385031215612d4f57600080fd5b8235612d5a8161317f565b91506020830135612d6a8161317f565b809150509250929050565b600080600060608486031215612d8a57600080fd5b8335612d958161317f565b92506020840135612da58161317f565b929592945050506040919091013590565b60008060408385031215612dc957600080fd5b8235612dd48161317f565b9150612de260208401612cf2565b90509250929050565b60008060408385031215612dfe57600080fd5b8235612e098161317f565b946020939093013593505050565b600060208284031215612e2957600080fd5b612ab082612cf2565b600060208284031215612e4457600080fd5b5035919050565b600060208284031215612e5d57600080fd5b5051919050565b600080600060608486031215612e7957600080fd5b8335925060208401359150612e9060408501612cf2565b90509250925092565b600080600060608486031215612eae57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612eda57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015612f2057858101830151858201604001528201612f04565b81811115612f32576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130555784516001600160a01b031683529383019391830191600101613030565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561308957613089613153565b500190565b6000826130ab57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156130ca576130ca613153565b500290565b6000828210156130e1576130e1613153565b500390565b6000816130f5576130f5613153565b506000190190565b600181811c9082168061311157607f821691505b6020821081141561313257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561314c5761314c613153565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610f0757600080fdfea264697066735822122025a21c919b9e4cbd723ee1ff49eed8d26fb50143dbcd903ad4909e294916a2f864736f6c634300080700334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106103e75760003560e01c80638a8c523c11610208578063bfd7928411610118578063db20e129116100ab578063f11a24d31161007a578063f11a24d314610b5e578063f2fde38b14610b74578063f637434214610b94578063f8b45b0514610baa578063fe72b27a14610bc057600080fd5b8063db20e12914610acd578063dd62ed3e14610aed578063e2f4560514610b33578063e884f26014610b4957600080fd5b8063c876d0b9116100e7578063c876d0b914610a67578063c8c8ebe414610a81578063d257b34f14610a97578063d85ba06314610ab757600080fd5b8063bfd79284146109d7578063c024666814610a07578063c17b5b8c14610a27578063c18bc19514610a4757600080fd5b80639ec22c0e1161019b578063a4c82a001161016a578063a4c82a0014610932578063a9059cbb14610948578063aacebbe314610968578063b62496f514610988578063bbc0c742146109b857600080fd5b80639ec22c0e146108d05780639fccce32146108e6578063a0d82dc5146108fc578063a457c2d71461091257600080fd5b8063924de9b7116101d7578063924de9b71461086557806395d89b41146108855780639a7a23d61461089a5780639c3b4fdc146108ba57600080fd5b80638a8c523c146107fc5780638da5cb5b146108115780638ea5220f1461082f578063921369131461084f57600080fd5b80632e82f1a0116103035780636ddd171311610296578063751039fc11610265578063751039fc146107715780637571336a1461078657806375f0a874146107a65780637bce5a04146107c65780638095d564146107dc57600080fd5b80636ddd1713146106e657806370a0823114610706578063715018a61461073c578063730c18881461075157600080fd5b806349bd5a5e116102d257806349bd5a5e1461065d5780634a62bb651461067d5780634fbee193146106975780636a486a8e146106d057600080fd5b80632e82f1a0146105f1578063313ce5671461060b5780633950935114610627578063428b86171461064757600080fd5b8063199ffc721161037b57806323b872dd1161034a57806323b872dd14610585578063273123b7146105a557806327c8f835146105c55780632c3e486c146105db57600080fd5b8063199ffc72146105235780631a8145bb146105395780631f3fed8f1461054f578063203e727e1461056557600080fd5b80631694505e116103b75780631694505e1461049e57806318160ddd146104d65780631816467f146104eb578063184c16c51461050d57600080fd5b8062e4dc05146103f357806306fdde031461041c578063095ea7b31461043e57806310d5de531461046e57600080fd5b366103ee57005b600080fd5b3480156103ff57600080fd5b5061040960135481565b6040519081526020015b60405180910390f35b34801561042857600080fd5b50610431610be0565b6040516104139190612ef3565b34801561044a57600080fd5b5061045e610459366004612deb565b610c72565b6040519015158152602001610413565b34801561047a57600080fd5b5061045e610489366004612d02565b60266020526000908152604090205460ff1681565b3480156104aa57600080fd5b506006546104be906001600160a01b031681565b6040516001600160a01b039091168152602001610413565b3480156104e257600080fd5b50600254610409565b3480156104f757600080fd5b5061050b610506366004612d02565b610c88565b005b34801561051957600080fd5b5061040960115481565b34801561052f57600080fd5b50610409600d5481565b34801561054557600080fd5b5061040960235481565b34801561055b57600080fd5b5061040960225481565b34801561057157600080fd5b5061050b610580366004612e32565b610d18565b34801561059157600080fd5b5061045e6105a0366004612d75565b610df5565b3480156105b157600080fd5b5061050b6105c0366004612d02565b610e9f565b3480156105d157600080fd5b506104be61dead81565b3480156105e757600080fd5b50610409600f5481565b3480156105fd57600080fd5b50600e5461045e9060ff1681565b34801561061757600080fd5b5060405160128152602001610413565b34801561063357600080fd5b5061045e610642366004612deb565b610f0a565b34801561065357600080fd5b5061040960185481565b34801561066957600080fd5b506007546104be906001600160a01b031681565b34801561068957600080fd5b5060145461045e9060ff1681565b3480156106a357600080fd5b5061045e6106b2366004612d02565b6001600160a01b031660009081526025602052604090205460ff1690565b3480156106dc57600080fd5b50610409601e5481565b3480156106f257600080fd5b5060145461045e9062010000900460ff1681565b34801561071257600080fd5b50610409610721366004612d02565b6001600160a01b031660009081526020819052604090205490565b34801561074857600080fd5b5061050b610f46565b34801561075d57600080fd5b5061050b61076c366004612e64565b610f7c565b34801561077d57600080fd5b5061045e61102e565b34801561079257600080fd5b5061050b6107a1366004612db6565b61106b565b3480156107b257600080fd5b506008546104be906001600160a01b031681565b3480156107d257600080fd5b50610409601b5481565b3480156107e857600080fd5b5061050b6107f7366004612e99565b6110c0565b34801561080857600080fd5b5061050b611168565b34801561081d57600080fd5b506005546001600160a01b03166104be565b34801561083b57600080fd5b506009546104be906001600160a01b031681565b34801561085b57600080fd5b50610409601f5481565b34801561087157600080fd5b5061050b610880366004612e17565b6111ae565b34801561089157600080fd5b506104316111f4565b3480156108a657600080fd5b5061050b6108b5366004612db6565b611203565b3480156108c657600080fd5b50610409601d5481565b3480156108dc57600080fd5b5061040960125481565b3480156108f257600080fd5b5061040960245481565b34801561090857600080fd5b5061040960215481565b34801561091e57600080fd5b5061045e61092d366004612deb565b6112bf565b34801561093e57600080fd5b5061040960105481565b34801561095457600080fd5b5061045e610963366004612deb565b611358565b34801561097457600080fd5b5061050b610983366004612d02565b611365565b34801561099457600080fd5b5061045e6109a3366004612d02565b60276020526000908152604090205460ff1681565b3480156109c457600080fd5b5060145461045e90610100900460ff1681565b3480156109e357600080fd5b5061045e6109f2366004612d02565b60176020526000908152604090205460ff1681565b348015610a1357600080fd5b5061050b610a22366004612db6565b6113ec565b348015610a3357600080fd5b5061050b610a42366004612e99565b611475565b348015610a5357600080fd5b5061050b610a62366004612e32565b611518565b348015610a7357600080fd5b5060165461045e9060ff1681565b348015610a8d57600080fd5b50610409600a5481565b348015610aa357600080fd5b5061045e610ab2366004612e32565b6115e9565b348015610ac357600080fd5b50610409601a5481565b348015610ad957600080fd5b5061050b610ae8366004612e32565b611740565b348015610af957600080fd5b50610409610b08366004612d3c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b3f57600080fd5b50610409600b5481565b348015610b5557600080fd5b5061045e6117d4565b348015610b6a57600080fd5b50610409601c5481565b348015610b8057600080fd5b5061050b610b8f366004612d02565b611811565b348015610ba057600080fd5b5061040960205481565b348015610bb657600080fd5b50610409600c5481565b348015610bcc57600080fd5b5061045e610bdb366004612e32565b6118a9565b606060038054610bef906130fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b906130fd565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b5050505050905090565b6000610c7f338484611ac8565b50600192915050565b6005546001600160a01b03163314610cbb5760405162461bcd60e51b8152600401610cb290612f8b565b60405180910390fd5b6009546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d425760405162461bcd60e51b8152600401610cb290612f8b565b670de0b6b3a76400006103e8610d5760025490565b610d629060016130b0565b610d6c919061308e565b610d76919061308e565b811015610ddd5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610cb2565b610def81670de0b6b3a76400006130b0565b600a5550565b6000610e02848484611bec565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610e875760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610cb2565b610e948533858403611ac8565b506001949350505050565b6005546001600160a01b03163314610ec95760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b0381166000908152601760205260409020805460ff1916905560185415610f075760188054906000610f01836130e6565b91905055505b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c7f918590610f41908690613076565b611ac8565b6005546001600160a01b03163314610f705760405162461bcd60e51b8152600401610cb290612f8b565b610f7a6000612516565b565b6005546001600160a01b03163314610fa65760405162461bcd60e51b8152600401610cb290612f8b565b603c8310156110125760405162461bcd60e51b815260206004820152603260248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015271616e2065766572792031206d696e7574657360701b6064820152608401610cb2565b600f92909255600d55600e805460ff1916911515919091179055565b6005546000906001600160a01b0316331461105b5760405162461bcd60e51b8152600401610cb290612f8b565b506014805460ff19169055600190565b6005546001600160a01b031633146110955760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b03919091166000908152602660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110ea5760405162461bcd60e51b8152600401610cb290612f8b565b601b839055601c829055601d819055806111048385613076565b61110e9190613076565b601a819055601410156111635760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610cb2565b505050565b6005546001600160a01b031633146111925760405162461bcd60e51b8152600401610cb290612f8b565b6014805462ffff00191662010100179055426010819055601955565b6005546001600160a01b031633146111d85760405162461bcd60e51b8152600401610cb290612f8b565b60148054911515620100000262ff000019909216919091179055565b606060048054610bef906130fd565b6005546001600160a01b0316331461122d5760405162461bcd60e51b8152600401610cb290612f8b565b6007546001600160a01b03838116911614156112b15760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610cb2565b6112bb8282612568565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cb2565b61134e3385858403611ac8565b5060019392505050565b6000610c7f338484611bec565b6005546001600160a01b0316331461138f5760405162461bcd60e51b8152600401610cb290612f8b565b6008546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146114165760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b038216600081815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461149f5760405162461bcd60e51b8152600401610cb290612f8b565b601f83905560208290556021819055806114b98385613076565b6114c39190613076565b601e819055601910156111635760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323525206f72206c6573730000006044820152606401610cb2565b6005546001600160a01b031633146115425760405162461bcd60e51b8152600401610cb290612f8b565b670de0b6b3a76400006103e861155760025490565b6115629060056130b0565b61156c919061308e565b611576919061308e565b8110156115d15760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610cb2565b6115e381670de0b6b3a76400006130b0565b600c5550565b6005546000906001600160a01b031633146116165760405162461bcd60e51b8152600401610cb290612f8b565b620186a061162360025490565b61162e9060016130b0565b611638919061308e565b8210156116a55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610cb2565b6103e86116b160025490565b6116bc9060056130b0565b6116c6919061308e565b8211156117325760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610cb2565b50600b81905560015b919050565b6005546001600160a01b0316331461176a5760405162461bcd60e51b8152600401610cb290612f8b565b6103e88111156117cf5760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610cb2565b601355565b6005546000906001600160a01b031633146118015760405162461bcd60e51b8152600401610cb290612f8b565b506016805460ff19169055600190565b6005546001600160a01b0316331461183b5760405162461bcd60e51b8152600401610cb290612f8b565b6001600160a01b0381166118a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb2565b610f0781612516565b6005546000906001600160a01b031633146118d65760405162461bcd60e51b8152600401610cb290612f8b565b6011546012546118e69190613076565b42116119345760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610cb2565b6007546040516370a0823160e01b81526001600160a01b03909116600482015260009030906370a082319060240160206040518083038186803b15801561197a57600080fd5b505afa15801561198e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b29190612e4b565b9050612710601354826119c591906130b0565b6119cf919061308e565b831115611a165760405162461bcd60e51b81526020600482015260156024820152744275726e20616d6f756e742065786365656465642160581b6044820152606401610cb2565b42601255600754611a33906001600160a01b031661dead856125bc565b6007546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b158015611a7d57600080fd5b505af1158015611a91573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a15060019392505050565b6001600160a01b038316611b2a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cb2565b6001600160a01b038216611b8b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cb2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526017602052604090205460ff16158015611c2e57506001600160a01b03821660009081526017602052604090205460ff16155b611c635760405162461bcd60e51b8152602060048201526006602482015265189bdd1d195960d21b6044820152606401610cb2565b6001600160a01b038316611c895760405162461bcd60e51b8152600401610cb290612fc0565b6001600160a01b038216611caf5760405162461bcd60e51b8152600401610cb290612f48565b80611cc057611163838360006125bc565b60145460ff1615612174576005546001600160a01b03848116911614801590611cf757506005546001600160a01b03838116911614155b8015611d1157506006546001600160a01b03838116911614155b8015611d2557506001600160a01b03821615155b8015611d3c57506001600160a01b03821661dead14155b8015611d525750600754600160a01b900460ff16155b1561217457601454610100900460ff16158015611d8757506001600160a01b03831660009081526027602052604090205460ff165b15611dc3576001600160a01b0382166000908152601760205260408120805460ff191660011790556018805491611dbd83613138565b91905055505b601954611dd190603c613076565b421015611e0f576001600160a01b0382166000908152601760205260408120805460ff191660011790556018805491611e0983613138565b91905055505b60165460ff1615611f0e576005546001600160a01b03838116911614801590611e4657506006546001600160a01b03838116911614155b8015611e6057506007546001600160a01b03838116911614155b15611f0e57326000908152601560205260409020544311611efb5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610cb2565b3260009081526015602052604090204390555b6001600160a01b03831660009081526027602052604090205460ff168015611f4f57506001600160a01b03821660009081526026602052604090205460ff16155b1561203357600a54811115611fc45760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610cb2565b600c546001600160a01b038316600090815260208190526040902054611fea9083613076565b111561202e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb2565b612174565b6001600160a01b03821660009081526027602052604090205460ff16801561207457506001600160a01b03831660009081526026602052604090205460ff16155b156120ea57600a5481111561202e5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610cb2565b6001600160a01b03821660009081526026602052604090205460ff1661217457600c546001600160a01b0383166000908152602081905260409020546121309083613076565b11156121745760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb2565b600754600160a01b900460ff161580156121a657506001600160a01b03821660009081526027602052604090205460ff165b80156121b45750600e5460ff165b80156121cf5750600f546010546121cb9190613076565b4210155b80156121f457506001600160a01b03831660009081526025602052604090205460ff16155b1561220357612201612711565b505b60145462010000900460ff1680156122255750600754600160a01b900460ff16155b801561224a57506001600160a01b03831660009081526027602052604090205460ff16155b801561226f57506001600160a01b03831660009081526025602052604090205460ff16155b801561229457506001600160a01b03821660009081526025602052604090205460ff16155b156122c2576007805460ff60a01b1916600160a01b1790556122b461286a565b6007805460ff60a01b191690555b6007546001600160a01b03841660009081526025602052604090205460ff600160a01b90920482161591168061231057506001600160a01b03831660009081526025602052604090205460ff165b15612319575060005b60008115612504576001600160a01b03841660009081526027602052604090205460ff16801561234b57506000601e54115b1561240957612370606461236a601e5486612aa490919063ffffffff16565b90612ab7565b9050601e546020548261238391906130b0565b61238d919061308e565b6023600082825461239e9190613076565b9091555050601e546021546123b390836130b0565b6123bd919061308e565b602460008282546123ce9190613076565b9091555050601e54601f546123e390836130b0565b6123ed919061308e565b602260008282546123fe9190613076565b909155506124e69050565b6001600160a01b03851660009081526027602052604090205460ff16801561243357506000601a54115b156124e657612452606461236a601a5486612aa490919063ffffffff16565b9050601a54601c548261246591906130b0565b61246f919061308e565b602360008282546124809190613076565b9091555050601a54601d5461249590836130b0565b61249f919061308e565b602460008282546124b09190613076565b9091555050601a54601b546124c590836130b0565b6124cf919061308e565b602260008282546124e09190613076565b90915550505b80156124f7576124f78530836125bc565b61250181846130cf565b92505b61250f8585856125bc565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125e25760405162461bcd60e51b8152600401610cb290612fc0565b6001600160a01b0382166126085760405162461bcd60e51b8152600401610cb290612f48565b6001600160a01b038316600090815260208190526040902054818110156126805760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cb2565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906126b7908490613076565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161270391815260200190565b60405180910390a350505050565b426010556007546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a082319060240160206040518083038186803b15801561275d57600080fd5b505afa158015612771573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127959190612e4b565b905060006127b461271061236a600d5485612aa490919063ffffffff16565b905080156127d5576007546127d5906001600160a01b031661dead836125bc565b6007546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561281f57600080fd5b505af1158015612833573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b30600090815260208190526040812054905060006024546022546023546128919190613076565b61289b9190613076565b905060008215806128aa575081155b156128b457505050565b600b546128c29060066130b0565b8311156128da57600b546128d79060066130b0565b92505b6000600283602354866128ed91906130b0565b6128f7919061308e565b612901919061308e565b9050600061290f8583612ac3565b90504761291b82612acf565b60006129274783612ac3565b905060006129448761236a60225485612aa490919063ffffffff16565b905060006129618861236a60245486612aa490919063ffffffff16565b905060008161297084866130cf565b61297a91906130cf565b60006023819055602281905560248190556009546040519293506001600160a01b031691849181818185875af1925050503d80600081146129d7576040519150601f19603f3d011682016040523d82523d6000602084013e6129dc565b606091505b509098505086158015906129f05750600081115b15612a43576129ff8782612c38565b602354604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a90576040519150601f19603f3d011682016040523d82523d6000602084013e612a95565b606091505b50505050505050505050505050565b6000612ab082846130b0565b9392505050565b6000612ab0828461308e565b6000612ab082846130cf565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612b0457612b04613169565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b5857600080fd5b505afa158015612b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b909190612d1f565b81600181518110612ba357612ba3613169565b6001600160a01b039283166020918202929092010152600654612bc99130911684611ac8565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790612c02908590600090869030904290600401613005565b600060405180830381600087803b158015612c1c57600080fd5b505af1158015612c30573d6000803e3d6000fd5b505050505050565b600654612c509030906001600160a01b031684611ac8565b60065460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b158015612cb957600080fd5b505af1158015612ccd573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061250f9190612ec5565b8035801515811461173b57600080fd5b600060208284031215612d1457600080fd5b8135612ab08161317f565b600060208284031215612d3157600080fd5b8151612ab08161317f565b60008060408385031215612d4f57600080fd5b8235612d5a8161317f565b91506020830135612d6a8161317f565b809150509250929050565b600080600060608486031215612d8a57600080fd5b8335612d958161317f565b92506020840135612da58161317f565b929592945050506040919091013590565b60008060408385031215612dc957600080fd5b8235612dd48161317f565b9150612de260208401612cf2565b90509250929050565b60008060408385031215612dfe57600080fd5b8235612e098161317f565b946020939093013593505050565b600060208284031215612e2957600080fd5b612ab082612cf2565b600060208284031215612e4457600080fd5b5035919050565b600060208284031215612e5d57600080fd5b5051919050565b600080600060608486031215612e7957600080fd5b8335925060208401359150612e9060408501612cf2565b90509250925092565b600080600060608486031215612eae57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612eda57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015612f2057858101830151858201604001528201612f04565b81811115612f32576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130555784516001600160a01b031683529383019391830191600101613030565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561308957613089613153565b500190565b6000826130ab57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156130ca576130ca613153565b500290565b6000828210156130e1576130e1613153565b500390565b6000816130f5576130f5613153565b506000190190565b600181811c9082168061311157607f821691505b6020821081141561313257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561314c5761314c613153565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610f0757600080fdfea264697066735822122025a21c919b9e4cbd723ee1ff49eed8d26fb50143dbcd903ad4909e294916a2f864736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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