ETH Price: $3,468.56 (+2.97%)

Contract

0x70919C8018f7d052668B2Cc8C9a1B2d09D0A288a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve197567552024-04-28 22:20:23240 days ago1714342823IN
0x70919C80...09D0A288a
0 ETH0.0005831312.50713215
Update Buy Fees197567482024-04-28 22:18:59240 days ago1714342739IN
0x70919C80...09D0A288a
0 ETH0.000163985.30972608
Approve197567452024-04-28 22:18:23240 days ago1714342703IN
0x70919C80...09D0A288a
0 ETH0.000263875.66701761
Approve197567432024-04-28 22:17:59240 days ago1714342679IN
0x70919C80...09D0A288a
0 ETH0.00040898.77027898
Approve197567412024-04-28 22:17:35240 days ago1714342655IN
0x70919C80...09D0A288a
0 ETH0.0005985212.83733643
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.000272485.84432185
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.00027715.94332185
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.00027715.94332185
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.00027715.94332185
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.000412318.84332185
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.0005448711.68664371
Approve197567392024-04-28 22:17:11240 days ago1714342631IN
0x70919C80...09D0A288a
0 ETH0.0006920514.84332185
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000411058.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000411058.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000411058.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000411058.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
Approve197567382024-04-28 22:16:59240 days ago1714342619IN
0x70919C80...09D0A288a
0 ETH0.000504310.81639365
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00276567 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00276567 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00276465 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00276465 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00257591 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.00257591 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.01217456 ETH
197567672024-04-28 22:22:47240 days ago1714342967
0x70919C80...09D0A288a
0.01217456 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01625515 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01625515 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01692204 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01692204 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01763086 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01763086 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01838518 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01838518 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01918901 ETH
197567582024-04-28 22:20:59240 days ago1714342859
0x70919C80...09D0A288a
0.01918901 ETH
197567502024-04-28 22:19:23240 days ago1714342763
0x70919C80...09D0A288a
0.02004675 ETH
197567502024-04-28 22:19:23240 days ago1714342763
0x70919C80...09D0A288a
0.02004675 ETH
197567472024-04-28 22:18:47240 days ago1714342727
0x70919C80...09D0A288a
0.02081964 ETH
197567472024-04-28 22:18:47240 days ago1714342727
0x70919C80...09D0A288a
0.02081964 ETH
197567462024-04-28 22:18:35240 days ago1714342715
0x70919C80...09D0A288a
0.02179042 ETH
197567462024-04-28 22:18:35240 days ago1714342715
0x70919C80...09D0A288a
0.02179042 ETH
197567462024-04-28 22:18:35240 days ago1714342715
0x70919C80...09D0A288a
0.02215463 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Dawg

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Dawg.sol
/*

*/
//
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.17;

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

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

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;

    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);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        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].add(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) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 to 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 {}
}

library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

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

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

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

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

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

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

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

    bool private swapping;

    bool public checkTime;

    address public marketingWallet;
    address public devWallet;

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

    uint256 public percentForLPBurn = 25; // 25 = .25%
    bool public lpBurnEnabled = false;
    uint256 public lpBurnFrequency = 7200 seconds;
    uint256 public lastLpBurnTime;

    uint256 public feeCoefficientCalc;
    uint256 public manualBurnFrequency = 30 minutes;
    uint256 public lastManualLpBurnTime;

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

    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch

    // Seller Map
    mapping(address => uint256) private _holderFirstBuyTimestamp;

    // Blacklist Map
    mapping(address => bool) private _blacklist;
    bool public transferDelayEnabled = true;

    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 earlySellLiquidityFee;
    uint256 public earlySellMarketingFee;

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

    // block number of opened trading
    uint256 launchedAt;

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

    // exclude 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("Dawg", "DAWG") {
        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 = 25;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyDevFee = 0;

        uint256 _sellMarketingFee = 25;
        uint256 _sellLiquidityFee = 0;
        uint256 _sellDevFee = 0;

        uint256 _earlySellLiquidityFee = 0;
        uint256 _earlySellMarketingFee = 0;

        uint256 totalSupply = 1 * 1e9 * 1e18;

        maxTransactionAmount = (totalSupply * 10) / 1000; // 1% maxtxn
        maxWallet = (totalSupply * 20) / 1000; // 2% maxw
        swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swapw

        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
        feeCoefficientCalc = 100 - buyTotalFees;

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

        earlySellLiquidityFee = _earlySellLiquidityFee;
        earlySellMarketingFee = _earlySellMarketingFee;

        marketingWallet = address(0xFD932B4064080d82BB29cb83d1536f8D84Af0A24); // set as marketing wallet
        devWallet = address(0xFD932B4064080d82BB29cb83d1536f8D84Af0A24); // 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;
        launchedAt = block.number;
    }

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

    function setEarlySellTax(bool onoff) external onlyOwner {
        enableEarlySellTax = onoff;
    }

    // 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() * 5) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.5%"
        );
        maxTransactionAmount = newNum * (10 ** 18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 15) / 1000) / 1e18,
            "Cannot set maxWallet lower than 1.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 getFeeCoefficientCalc() public view returns (uint256) {
        if (feeCoefficientCalc == 0) {
            return 1;
        } else {
            return feeCoefficientCalc;
        }
    }

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

    function setFeeCoefficientCalc(
        uint256 _feeCoefficientCalc
    ) external onlyOwner {
        if (_feeCoefficientCalc == 0) {
            feeCoefficientCalc = 1;
        } else {
            feeCoefficientCalc = _feeCoefficientCalc;
        }
    }

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

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

    function updateCheckTime(bool _checkTime) external onlyOwner {
        checkTime = _checkTime;
    }

    function blacklistAccount(
        address account,
        bool isBlacklisted
    ) public onlyOwner {
        _blacklist[account] = isBlacklisted;
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

    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 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(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            !_blacklist[to] && !_blacklist[from],
            "You have been blacklisted from transfering tokens"
        );
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

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

        // anti bot logic
        if (
            block.number <= (launchedAt + 0) &&
            to != uniswapV2Pair &&
            to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)
        ) {
            _blacklist[to] = false;
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

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

        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 {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

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

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        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 * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        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 >= 600,
            "cannot set buyback more often than every 10 minutes"
        );
        require(
            _percent <= 1000 && _percent >= 0,
            "Must set auto LP burn percent between 0% and 10%"
        );
        lpBurnFrequency = _frequencyInSeconds;
        percentForLPBurn = _percent;
        lpBurnEnabled = _Enabled;
    }

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

        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div(
            10000
        );

        if (amountToBurn > 0) {
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }

        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit AutoNukeLP();
        return true;
    }

    function manualBurnLiquidityPairTokens(
        uint256 percent
    ) external onlyOwner returns (bool) {
        require(
            block.timestamp > lastManualLpBurnTime + manualBurnFrequency,
            "Must wait for cooldown to finish"
        );
        require(percent <= 1000, "May not nuke more than 10% of tokens in LP");
        lastManualLpBurnTime = block.timestamp;

        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000);

        if (amountToBurn > 0) {
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }

        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"
      ]
    }
  }
}

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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"blacklistAccount","outputs":[],"stateMutability":"nonpayable","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":"checkTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earlySellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlySellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableEarlySellTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeCoefficientCalc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeCoefficientCalc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setEarlySellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeCoefficientCalc","type":"uint256"}],"name":"setFeeCoefficientCalc","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":"bool","name":"_checkTime","type":"bool"}],"name":"updateCheckTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","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"},{"internalType":"uint256","name":"_earlySellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_earlySellMarketingFee","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"}]

60c06040526019600b55600c805460ff19908116909155611c20600d556107086010556012805463ffffffff191663010000011790556016805490911660011790553480156200004d575f80fd5b50604051806040016040528060048152602001634461776760e01b815250604051806040016040528060048152602001634441574760e01b8152508160039081620000999190620007ca565b506004620000a88282620007ca565b5050505f620000bc6200046260201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d6200012b81600162000466565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000174573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200019a919062000892565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200020c919062000892565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000257573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200027d919062000892565b6001600160a01b031660a08190526200029890600162000466565b60a051620002a8906001620004de565b60195f8082818080806b033b2e3c9fd0803ce80000006103e8620002ce82600a620008ce565b620002da9190620008e8565b6008556103e8620002ed826014620008ce565b620002f99190620008e8565b600a556127106200030c826005620008ce565b620003189190620008e8565b60095560188990556019889055601a8790558662000337898b62000908565b62000343919062000908565b6017819055620003559060646200091e565b600f55601c869055601d859055601e8490558362000374868862000908565b62000380919062000908565b601b556005805460ff60a81b19169055601f83905560208290556006805473fd932b4064080d82bb29cb83d1536f8d84af0a246001600160a01b03199182168117909255600780549091169091179055620003ef620003e76005546001600160a01b031690565b600162000531565b620003fc30600162000531565b6200040b61dead600162000531565b6200042a620004226005546001600160a01b031690565b600162000466565b6200043730600162000466565b6200044661dead600162000466565b620004523382620005d9565b5050505050505050505062000934565b3390565b6005546001600160a01b03163314620004b45760405162461bcd60e51b815260206004820181905260248201525f8051602062003fb483398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152602660205260409020805460ff1916911515919091179055565b6001600160a01b0382165f81815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146200057b5760405162461bcd60e51b815260206004820181905260248201525f8051602062003fb48339815191526044820152606401620004ab565b6001600160a01b0382165f81815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ab565b600254620006409082620006c0565b6002556001600160a01b0382165f90815260208190526040902054620006679082620006c0565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b5f80620006ce838562000908565b905083811015620007225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620004ab565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200075457607f821691505b6020821081036200077357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620006bb575f81815260208120601f850160051c81016020861015620007a15750805b601f850160051c820191505b81811015620007c257828155600101620007ad565b505050505050565b81516001600160401b03811115620007e657620007e66200072b565b620007fe81620007f784546200073f565b8462000779565b602080601f83116001811462000834575f84156200081c5750858301515b5f19600386901b1c1916600185901b178555620007c2565b5f85815260208120601f198616915b82811015620008645788860151825594840194600190910190840162000843565b50858210156200088257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215620008a3575f80fd5b81516001600160a01b038116811462000722575f80fd5b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620007255762000725620008ba565b5f826200090357634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620007255762000725620008ba565b81810381811115620007255762000725620008ba565b60805160a0516135f5620009bf5f395f81816106b20152818161134201528181611a5401528181611aeb01528181611b16015281816120060152818161235f01528181612c8601528181612d240152612d4f01525f81816104b101528181611fc801528181612eb201528181612f6901528181612fa501528181613019015261307501526135f55ff3fe60806040526004361061040e575f3560e01c80638da5cb5b11610215578063c02466681161011e578063e2f45605116100a8578063f2fde38b11610078578063f2fde38b14610bd7578063f637434214610bf6578063f8b45b0514610c0b578063fe72b27a14610c20578063ff935af614610c3f575f80fd5b8063e2f4560514610b85578063e884f26014610b9a578063ee2bf81c14610bae578063f11a24d314610bc2575f80fd5b8063cb0145e1116100ee578063cb0145e114610ace578063d257b34f14610aed578063d85ba06314610b0c578063dd62ed3e14610b21578063e0c6190d14610b65575f80fd5b8063c024666814610a62578063c18bc19514610a81578063c876d0b914610aa0578063c8c8ebe414610ab9575f80fd5b8063a0d82dc51161019f578063a4d15b641161016f578063a4d15b64146109b8578063a9059cbb146109d8578063aacebbe3146109f7578063b62496f514610a16578063bbc0c74214610a44575f80fd5b8063a0d82dc514610950578063a265777814610965578063a457c2d714610984578063a4c82a00146109a3575f80fd5b806395d89b41116101e557806395d89b41146108de5780639a7a23d6146108f25780639c3b4fdc146109115780639ec22c0e146109265780639fccce321461093b575f80fd5b80638da5cb5b1461086e5780638ea5220f1461088b57806392136913146108aa578063924de9b7146108bf575f80fd5b8063395093511161031757806370a08231116102a15780637571336a116102715780637571336a146107e857806375f0a874146108075780637bce5a04146108265780638095d5641461083b5780638a8c523c1461085a575f80fd5b806370a082311461076d578063715018a6146107a1578063730c1888146107b5578063751039fc146107d4575f80fd5b80634a62bb65116102e75780634a62bb65146106d45780634fbee193146106ed578063541a43cf146107245780636a486a8e146107395780636ddd17131461074e575f80fd5b8063395093511461064e5780633d2ec9e21461066d578063425561ac1461068c57806349bd5a5e146106a1575f80fd5b80631f3fed8f116103985780632bf3d42d116103685780632bf3d42d146105d15780632c3e486c146105e65780632d5a5d34146105fb5780632e82f1a01461061a578063313ce56714610633575f80fd5b80631f3fed8f14610569578063203e727e1461057e57806323b872dd1461059d57806327c8f835146105bc575f80fd5b806318160ddd116103de57806318160ddd146104eb5780631816467f14610509578063184c16c51461052a578063199ffc721461053f5780631a8145bb14610554575f80fd5b806306fdde0314610419578063095ea7b31461044357806310d5de53146104725780631694505e146104a0575f80fd5b3661041557005b5f80fd5b348015610424575f80fd5b5061042d610c5e565b60405161043a91906130ea565b60405180910390f35b34801561044e575f80fd5b5061046261045d366004613149565b610cee565b604051901515815260200161043a565b34801561047d575f80fd5b5061046261048c366004613173565b60266020525f908152604090205460ff1681565b3480156104ab575f80fd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161043a565b3480156104f6575f80fd5b506002545b60405190815260200161043a565b348015610514575f80fd5b50610528610523366004613173565b610d04565b005b348015610535575f80fd5b506104fb60105481565b34801561054a575f80fd5b506104fb600b5481565b34801561055f575f80fd5b506104fb60225481565b348015610574575f80fd5b506104fb60215481565b348015610589575f80fd5b5061052861059836600461318e565b610d93565b3480156105a8575f80fd5b506104626105b73660046131a5565b610e70565b3480156105c7575f80fd5b506104d361dead81565b3480156105dc575f80fd5b506104fb60205481565b3480156105f1575f80fd5b506104fb600d5481565b348015610606575f80fd5b506105286106153660046131f2565b610ed7565b348015610625575f80fd5b50600c546104629060ff1681565b34801561063e575f80fd5b506040516012815260200161043a565b348015610659575f80fd5b50610462610668366004613149565b610f2b565b348015610678575f80fd5b50610528610687366004613225565b610f60565b348015610697575f80fd5b506104fb600f5481565b3480156106ac575f80fd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b3480156106df575f80fd5b506012546104629060ff1681565b3480156106f8575f80fd5b50610462610707366004613173565b6001600160a01b03165f9081526025602052604090205460ff1690565b34801561072f575f80fd5b506104fb601f5481565b348015610744575f80fd5b506104fb601b5481565b348015610759575f80fd5b506012546104629062010000900460ff1681565b348015610778575f80fd5b506104fb610787366004613173565b6001600160a01b03165f9081526020819052604090205490565b3480156107ac575f80fd5b50610528610fa8565b3480156107c0575f80fd5b506105286107cf36600461323e565b61101b565b3480156107df575f80fd5b50610462611144565b3480156107f3575f80fd5b506105286108023660046131f2565b611180565b348015610812575f80fd5b506006546104d3906001600160a01b031681565b348015610831575f80fd5b506104fb60185481565b348015610846575f80fd5b50610528610855366004613270565b6111d4565b348015610865575f80fd5b5061052861127c565b348015610879575f80fd5b506005546001600160a01b03166104d3565b348015610896575f80fd5b506007546104d3906001600160a01b031681565b3480156108b5575f80fd5b506104fb601c5481565b3480156108ca575f80fd5b506105286108d9366004613225565b6112c1565b3480156108e9575f80fd5b5061042d611307565b3480156108fd575f80fd5b5061052861090c3660046131f2565b611316565b34801561091c575f80fd5b506104fb601a5481565b348015610931575f80fd5b506104fb60115481565b348015610946575f80fd5b506104fb60235481565b34801561095b575f80fd5b506104fb601e5481565b348015610970575f80fd5b5061052861097f366004613225565b6113f5565b34801561098f575f80fd5b5061046261099e366004613149565b61143d565b3480156109ae575f80fd5b506104fb600e5481565b3480156109c3575f80fd5b50601254610462906301000000900460ff1681565b3480156109e3575f80fd5b506104626109f2366004613149565b61148a565b348015610a02575f80fd5b50610528610a11366004613173565b611496565b348015610a21575f80fd5b50610462610a30366004613173565b60276020525f908152604090205460ff1681565b348015610a4f575f80fd5b5060125461046290610100900460ff1681565b348015610a6d575f80fd5b50610528610a7c3660046131f2565b61151c565b348015610a8c575f80fd5b50610528610a9b36600461318e565b6115a4565b348015610aab575f80fd5b506016546104629060ff1681565b348015610ac4575f80fd5b506104fb60085481565b348015610ad9575f80fd5b50610528610ae836600461318e565b611675565b348015610af8575f80fd5b50610462610b0736600461318e565b6116b7565b348015610b17575f80fd5b506104fb60175481565b348015610b2c575f80fd5b506104fb610b3b366004613299565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610b70575f80fd5b5060055461046290600160a81b900460ff1681565b348015610b90575f80fd5b506104fb60095481565b348015610ba5575f80fd5b5061046261180d565b348015610bb9575f80fd5b506104fb611849565b348015610bcd575f80fd5b506104fb60195481565b348015610be2575f80fd5b50610528610bf1366004613173565b611860565b348015610c01575f80fd5b506104fb601d5481565b348015610c16575f80fd5b506104fb600a5481565b348015610c2b575f80fd5b50610462610c3a36600461318e565b61194a565b348015610c4a575f80fd5b50610528610c593660046132d0565b611bb8565b606060038054610c6d90613307565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9990613307565b8015610ce45780601f10610cbb57610100808354040283529160200191610ce4565b820191905f5260205f20905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b5f610cfa338484611c6c565b5060015b92915050565b6005546001600160a01b03163314610d375760405162461bcd60e51b8152600401610d2e9061333f565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dbd5760405162461bcd60e51b8152600401610d2e9061333f565b670de0b6b3a76400006103e8610dd260025490565b610ddd906005613388565b610de7919061339f565b610df1919061339f565b811015610e585760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610d2e565b610e6a81670de0b6b3a7640000613388565b60085550565b5f610e7c848484611d90565b610ecd8433610ec885604051806060016040528060288152602001613573602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061278c565b611c6c565b5060019392505050565b6005546001600160a01b03163314610f015760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b03919091165f908152601560205260409020805460ff1916911515919091179055565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610cfa918590610ec890866127c4565b6005546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610d2e9061333f565b60058054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610fd25760405162461bcd60e51b8152600401610d2e9061333f565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110455760405162461bcd60e51b8152600401610d2e9061333f565b6102588310156110b35760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610d2e565b6103e882111580156110c3575060015b6111285760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610d2e565b600d92909255600b55600c805460ff1916911515919091179055565b6005545f906001600160a01b031633146111705760405162461bcd60e51b8152600401610d2e9061333f565b506012805460ff19169055600190565b6005546001600160a01b031633146111aa5760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b03919091165f908152602660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111fe5760405162461bcd60e51b8152600401610d2e9061333f565b60188390556019829055601a8190558061121883856133be565b61122291906133be565b6017819055603210156112775760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353025206f72206c6573730000006044820152606401610d2e565b505050565b6005546001600160a01b031633146112a65760405162461bcd60e51b8152600401610d2e9061333f565b6012805462ffff0019166201010017905542600e5543602455565b6005546001600160a01b031633146112eb5760405162461bcd60e51b8152600401610d2e9061333f565b60128054911515620100000262ff000019909216919091179055565b606060048054610c6d90613307565b6005546001600160a01b031633146113405760405162461bcd60e51b8152600401610d2e9061333f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036113e75760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610d2e565b6113f18282612829565b5050565b6005546001600160a01b0316331461141f5760405162461bcd60e51b8152600401610d2e9061333f565b6012805491151563010000000263ff00000019909216919091179055565b5f610cfa3384610ec88560405180606001604052806025815260200161359b60259139335f9081526001602090815260408083206001600160a01b038d168452909152902054919061278c565b5f610cfa338484611d90565b6005546001600160a01b031633146114c05760405162461bcd60e51b8152600401610d2e9061333f565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115465760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b0382165f81815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146115ce5760405162461bcd60e51b8152600401610d2e9061333f565b670de0b6b3a76400006103e86115e360025490565b6115ee90600f613388565b6115f8919061339f565b611602919061339f565b81101561165d5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e352560e01b6064820152608401610d2e565b61166f81670de0b6b3a7640000613388565b600a5550565b6005546001600160a01b0316331461169f5760405162461bcd60e51b8152600401610d2e9061333f565b805f036116ae576001600f5550565b600f8190555b50565b6005545f906001600160a01b031633146116e35760405162461bcd60e51b8152600401610d2e9061333f565b620186a06116f060025490565b6116fb906001613388565b611705919061339f565b8210156117725760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610d2e565b6103e861177e60025490565b611789906005613388565b611793919061339f565b8211156117ff5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610d2e565b50600981905560015b919050565b6005545f906001600160a01b031633146118395760405162461bcd60e51b8152600401610d2e9061333f565b506016805460ff19169055600190565b5f600f545f036118595750600190565b50600f5490565b6005546001600160a01b0316331461188a5760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b0381166118ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d2e565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005545f906001600160a01b031633146119765760405162461bcd60e51b8152600401610d2e9061333f565b60105460115461198691906133be565b42116119d45760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610d2e565b6103e8821115611a395760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610d2e565b426011556040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660048201525f9030906370a0823190602401602060405180830381865afa158015611aa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac591906133d1565b90505f611ade612710611ad8848761287c565b906128fa565b90508015611b1357611b137f000000000000000000000000000000000000000000000000000000000000000061dead8361293b565b5f7f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611b6f575f80fd5b505af1158015611b81573d5f803e3d5ffd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb92505f9150a1506001949350505050565b6005546001600160a01b03163314611be25760405162461bcd60e51b8152600401610d2e9061333f565b601c859055601d849055601e839055601f829055602081905582611c0685876133be565b611c1091906133be565b601b81905560631015611c655760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d2e565b5050505050565b6001600160a01b038316611cce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d2e565b6001600160a01b038216611d2f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d2e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611db65760405162461bcd60e51b8152600401610d2e906133e8565b6001600160a01b038216611ddc5760405162461bcd60e51b8152600401610d2e9061342d565b6001600160a01b0382165f9081526015602052604090205460ff16158015611e1c57506001600160a01b0383165f9081526015602052604090205460ff16155b611e825760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610d2e565b805f03611e945761127783835f61293b565b60125460ff1615612346576005546001600160a01b03848116911614801590611ecb57506005546001600160a01b03838116911614155b8015611edf57506001600160a01b03821615155b8015611ef657506001600160a01b03821661dead14155b8015611f0c5750600554600160a01b900460ff16155b1561234657601254610100900460ff16611fa2576001600160a01b0383165f9081526025602052604090205460ff1680611f5d57506001600160a01b0382165f9081526025602052604090205460ff165b611fa25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610d2e565b60165460ff16156120e7576005546001600160a01b03838116911614801590611ffd57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561203b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156120e757325f9081526013602052604090205443116120d55760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610d2e565b325f9081526013602052604090204390555b6001600160a01b0383165f9081526027602052604090205460ff16801561212657506001600160a01b0382165f9081526026602052604090205460ff16155b156122095760085481111561219b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610d2e565b600a546001600160a01b0383165f908152602081905260409020546121c090836133be565b11156122045760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d2e565b612346565b6001600160a01b0382165f9081526027602052604090205460ff16801561224857506001600160a01b0383165f9081526026602052604090205460ff16155b156122be576008548111156122045760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610d2e565b6001600160a01b0382165f9081526026602052604090205460ff1661234657600a546001600160a01b0383165f9081526020819052604090205461230290836133be565b11156123465760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d2e565b602454612353905f6133be565b431115801561239457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b80156123bd57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b156123e2576001600160a01b0382165f908152601560205260409020805460ff191690555b305f908152602081905260409020546009548110801590819061240d575060125462010000900460ff165b80156124235750600554600160a01b900460ff16155b801561244757506001600160a01b0385165f9081526027602052604090205460ff16155b801561246b57506001600160a01b0385165f9081526025602052604090205460ff16155b801561248f57506001600160a01b0384165f9081526025602052604090205460ff16155b156124bd576005805460ff60a01b1916600160a01b1790556124af612a41565b6005805460ff60a01b191690555b600554600160a01b900460ff161580156124ee57506001600160a01b0384165f9081526027602052604090205460ff165b80156124fc5750600c5460ff165b80156125175750600d54600e5461251391906133be565b4210155b801561253b57506001600160a01b0385165f9081526025602052604090205460ff16155b1561254a57612548612c6b565b505b6005546001600160a01b0386165f9081526025602052604090205460ff600160a01b90920482161591168061259657506001600160a01b0385165f9081526025602052604090205460ff165b1561259e57505f5b5f8115612778576001600160a01b0386165f9081526027602052604090205460ff1680156125cd57505f601b54115b15612682576125ec6064611ad8601b548861287c90919063ffffffff16565b9050601b54601d54826125ff9190613388565b612609919061339f565b60225f82825461261991906133be565b9091555050601b54601e5461262e9083613388565b612638919061339f565b60235f82825461264891906133be565b9091555050601b54601c5461265d9083613388565b612667919061339f565b60215f82825461267791906133be565b9091555061275a9050565b6001600160a01b0387165f9081526027602052604090205460ff1680156126aa57505f601754115b1561275a576126c96064611ad86017548861287c90919063ffffffff16565b9050601754601954826126dc9190613388565b6126e6919061339f565b60225f8282546126f691906133be565b9091555050601754601a5461270b9083613388565b612715919061339f565b60235f82825461272591906133be565b909155505060175460185461273a9083613388565b612744919061339f565b60215f82825461275491906133be565b90915550505b801561276b5761276b87308361293b565b6127758186613470565b94505b61278387878761293b565b50505050505050565b5f81848411156127af5760405162461bcd60e51b8152600401610d2e91906130ea565b505f6127bb8486613470565b95945050505050565b5f806127d083856133be565b9050838110156128225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d2e565b9392505050565b6001600160a01b0382165f81815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f825f0361288b57505f610cfe565b5f6128968385613388565b9050826128a3858361339f565b146128225760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d2e565b5f61282283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612df0565b6001600160a01b0383166129615760405162461bcd60e51b8152600401610d2e906133e8565b6001600160a01b0382166129875760405162461bcd60e51b8152600401610d2e9061342d565b6129c38160405180606001604052806026815260200161354d602691396001600160a01b0386165f90815260208190526040902054919061278c565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546129f190826127c4565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d83565b305f9081526020819052604081205490505f602354602154602254612a6691906133be565b612a7091906133be565b90505f821580612a7e575081155b15612a8857505050565b600954612a96906014613388565b831115612aae57600954612aab906014613388565b92505b5f60028360225486612ac09190613388565b612aca919061339f565b612ad4919061339f565b90505f612ae18583612e1c565b905047612aed82612e5d565b5f612af84783612e1c565b90505f612b1487611ad86021548561287c90919063ffffffff16565b90505f612b3088611ad86023548661287c90919063ffffffff16565b90505f81612b3e8486613470565b612b489190613470565b5f6022819055602181905560238190556007546040519293506001600160a01b031691849181818185875af1925050503d805f8114612ba2576040519150601f19603f3d011682016040523d82523d5f602084013e612ba7565b606091505b50909850508615801590612bba57505f81115b15612c0d57612bc98782613013565b602254604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f8114612c57576040519150601f19603f3d011682016040523d82523d5f602084013e612c5c565b606091505b50505050505050505050505050565b42600e556040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660048201525f90819030906370a0823190602401602060405180830381865afa158015612cd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cf991906133d1565b90505f612d17612710611ad8600b548561287c90919063ffffffff16565b90508015612d4c57612d4c7f000000000000000000000000000000000000000000000000000000000000000061dead8361293b565b5f7f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612da8575f80fd5b505af1158015612dba573d5f803e3d5ffd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d92505f9150a16001935050505090565b5f8183612e105760405162461bcd60e51b8152600401610d2e91906130ea565b505f6127bb848661339f565b5f61282283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061278c565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612e9057612e90613483565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f309190613497565b81600181518110612f4357612f43613483565b60200260200101906001600160a01b031690816001600160a01b031681525050612f8e307f000000000000000000000000000000000000000000000000000000000000000084611c6c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612fe29085905f908690309042906004016134b2565b5f604051808303815f87803b158015612ff9575f80fd5b505af115801561300b573d5f803e3d5ffd5b505050505050565b61303e307f000000000000000000000000000000000000000000000000000000000000000084611c6c565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156130c5573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611c659190613521565b5f6020808352835180828501525f5b81811015613115578581018301518582016040015282016130f9565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116b4575f80fd5b5f806040838503121561315a575f80fd5b823561316581613135565b946020939093013593505050565b5f60208284031215613183575f80fd5b813561282281613135565b5f6020828403121561319e575f80fd5b5035919050565b5f805f606084860312156131b7575f80fd5b83356131c281613135565b925060208401356131d281613135565b929592945050506040919091013590565b80358015158114611808575f80fd5b5f8060408385031215613203575f80fd5b823561320e81613135565b915061321c602084016131e3565b90509250929050565b5f60208284031215613235575f80fd5b612822826131e3565b5f805f60608486031215613250575f80fd5b8335925060208401359150613267604085016131e3565b90509250925092565b5f805f60608486031215613282575f80fd5b505081359360208301359350604090920135919050565b5f80604083850312156132aa575f80fd5b82356132b581613135565b915060208301356132c581613135565b809150509250929050565b5f805f805f60a086880312156132e4575f80fd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c9082168061331b57607f821691505b60208210810361333957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610cfe57610cfe613374565b5f826133b957634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610cfe57610cfe613374565b5f602082840312156133e1575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610cfe57610cfe613374565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156134a7575f80fd5b815161282281613135565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156135005784516001600160a01b0316835293830193918301916001016134db565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215613533575f80fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f1fe74a98338a7ca69407bca5f3e5b87eced79d5b8e2f9ed8402f87cd121165d64736f6c634300081400334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x60806040526004361061040e575f3560e01c80638da5cb5b11610215578063c02466681161011e578063e2f45605116100a8578063f2fde38b11610078578063f2fde38b14610bd7578063f637434214610bf6578063f8b45b0514610c0b578063fe72b27a14610c20578063ff935af614610c3f575f80fd5b8063e2f4560514610b85578063e884f26014610b9a578063ee2bf81c14610bae578063f11a24d314610bc2575f80fd5b8063cb0145e1116100ee578063cb0145e114610ace578063d257b34f14610aed578063d85ba06314610b0c578063dd62ed3e14610b21578063e0c6190d14610b65575f80fd5b8063c024666814610a62578063c18bc19514610a81578063c876d0b914610aa0578063c8c8ebe414610ab9575f80fd5b8063a0d82dc51161019f578063a4d15b641161016f578063a4d15b64146109b8578063a9059cbb146109d8578063aacebbe3146109f7578063b62496f514610a16578063bbc0c74214610a44575f80fd5b8063a0d82dc514610950578063a265777814610965578063a457c2d714610984578063a4c82a00146109a3575f80fd5b806395d89b41116101e557806395d89b41146108de5780639a7a23d6146108f25780639c3b4fdc146109115780639ec22c0e146109265780639fccce321461093b575f80fd5b80638da5cb5b1461086e5780638ea5220f1461088b57806392136913146108aa578063924de9b7146108bf575f80fd5b8063395093511161031757806370a08231116102a15780637571336a116102715780637571336a146107e857806375f0a874146108075780637bce5a04146108265780638095d5641461083b5780638a8c523c1461085a575f80fd5b806370a082311461076d578063715018a6146107a1578063730c1888146107b5578063751039fc146107d4575f80fd5b80634a62bb65116102e75780634a62bb65146106d45780634fbee193146106ed578063541a43cf146107245780636a486a8e146107395780636ddd17131461074e575f80fd5b8063395093511461064e5780633d2ec9e21461066d578063425561ac1461068c57806349bd5a5e146106a1575f80fd5b80631f3fed8f116103985780632bf3d42d116103685780632bf3d42d146105d15780632c3e486c146105e65780632d5a5d34146105fb5780632e82f1a01461061a578063313ce56714610633575f80fd5b80631f3fed8f14610569578063203e727e1461057e57806323b872dd1461059d57806327c8f835146105bc575f80fd5b806318160ddd116103de57806318160ddd146104eb5780631816467f14610509578063184c16c51461052a578063199ffc721461053f5780631a8145bb14610554575f80fd5b806306fdde0314610419578063095ea7b31461044357806310d5de53146104725780631694505e146104a0575f80fd5b3661041557005b5f80fd5b348015610424575f80fd5b5061042d610c5e565b60405161043a91906130ea565b60405180910390f35b34801561044e575f80fd5b5061046261045d366004613149565b610cee565b604051901515815260200161043a565b34801561047d575f80fd5b5061046261048c366004613173565b60266020525f908152604090205460ff1681565b3480156104ab575f80fd5b506104d37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161043a565b3480156104f6575f80fd5b506002545b60405190815260200161043a565b348015610514575f80fd5b50610528610523366004613173565b610d04565b005b348015610535575f80fd5b506104fb60105481565b34801561054a575f80fd5b506104fb600b5481565b34801561055f575f80fd5b506104fb60225481565b348015610574575f80fd5b506104fb60215481565b348015610589575f80fd5b5061052861059836600461318e565b610d93565b3480156105a8575f80fd5b506104626105b73660046131a5565b610e70565b3480156105c7575f80fd5b506104d361dead81565b3480156105dc575f80fd5b506104fb60205481565b3480156105f1575f80fd5b506104fb600d5481565b348015610606575f80fd5b506105286106153660046131f2565b610ed7565b348015610625575f80fd5b50600c546104629060ff1681565b34801561063e575f80fd5b506040516012815260200161043a565b348015610659575f80fd5b50610462610668366004613149565b610f2b565b348015610678575f80fd5b50610528610687366004613225565b610f60565b348015610697575f80fd5b506104fb600f5481565b3480156106ac575f80fd5b506104d37f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc781565b3480156106df575f80fd5b506012546104629060ff1681565b3480156106f8575f80fd5b50610462610707366004613173565b6001600160a01b03165f9081526025602052604090205460ff1690565b34801561072f575f80fd5b506104fb601f5481565b348015610744575f80fd5b506104fb601b5481565b348015610759575f80fd5b506012546104629062010000900460ff1681565b348015610778575f80fd5b506104fb610787366004613173565b6001600160a01b03165f9081526020819052604090205490565b3480156107ac575f80fd5b50610528610fa8565b3480156107c0575f80fd5b506105286107cf36600461323e565b61101b565b3480156107df575f80fd5b50610462611144565b3480156107f3575f80fd5b506105286108023660046131f2565b611180565b348015610812575f80fd5b506006546104d3906001600160a01b031681565b348015610831575f80fd5b506104fb60185481565b348015610846575f80fd5b50610528610855366004613270565b6111d4565b348015610865575f80fd5b5061052861127c565b348015610879575f80fd5b506005546001600160a01b03166104d3565b348015610896575f80fd5b506007546104d3906001600160a01b031681565b3480156108b5575f80fd5b506104fb601c5481565b3480156108ca575f80fd5b506105286108d9366004613225565b6112c1565b3480156108e9575f80fd5b5061042d611307565b3480156108fd575f80fd5b5061052861090c3660046131f2565b611316565b34801561091c575f80fd5b506104fb601a5481565b348015610931575f80fd5b506104fb60115481565b348015610946575f80fd5b506104fb60235481565b34801561095b575f80fd5b506104fb601e5481565b348015610970575f80fd5b5061052861097f366004613225565b6113f5565b34801561098f575f80fd5b5061046261099e366004613149565b61143d565b3480156109ae575f80fd5b506104fb600e5481565b3480156109c3575f80fd5b50601254610462906301000000900460ff1681565b3480156109e3575f80fd5b506104626109f2366004613149565b61148a565b348015610a02575f80fd5b50610528610a11366004613173565b611496565b348015610a21575f80fd5b50610462610a30366004613173565b60276020525f908152604090205460ff1681565b348015610a4f575f80fd5b5060125461046290610100900460ff1681565b348015610a6d575f80fd5b50610528610a7c3660046131f2565b61151c565b348015610a8c575f80fd5b50610528610a9b36600461318e565b6115a4565b348015610aab575f80fd5b506016546104629060ff1681565b348015610ac4575f80fd5b506104fb60085481565b348015610ad9575f80fd5b50610528610ae836600461318e565b611675565b348015610af8575f80fd5b50610462610b0736600461318e565b6116b7565b348015610b17575f80fd5b506104fb60175481565b348015610b2c575f80fd5b506104fb610b3b366004613299565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610b70575f80fd5b5060055461046290600160a81b900460ff1681565b348015610b90575f80fd5b506104fb60095481565b348015610ba5575f80fd5b5061046261180d565b348015610bb9575f80fd5b506104fb611849565b348015610bcd575f80fd5b506104fb60195481565b348015610be2575f80fd5b50610528610bf1366004613173565b611860565b348015610c01575f80fd5b506104fb601d5481565b348015610c16575f80fd5b506104fb600a5481565b348015610c2b575f80fd5b50610462610c3a36600461318e565b61194a565b348015610c4a575f80fd5b50610528610c593660046132d0565b611bb8565b606060038054610c6d90613307565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9990613307565b8015610ce45780601f10610cbb57610100808354040283529160200191610ce4565b820191905f5260205f20905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b5f610cfa338484611c6c565b5060015b92915050565b6005546001600160a01b03163314610d375760405162461bcd60e51b8152600401610d2e9061333f565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dbd5760405162461bcd60e51b8152600401610d2e9061333f565b670de0b6b3a76400006103e8610dd260025490565b610ddd906005613388565b610de7919061339f565b610df1919061339f565b811015610e585760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610d2e565b610e6a81670de0b6b3a7640000613388565b60085550565b5f610e7c848484611d90565b610ecd8433610ec885604051806060016040528060288152602001613573602891396001600160a01b038a165f908152600160209081526040808320338452909152902054919061278c565b611c6c565b5060019392505050565b6005546001600160a01b03163314610f015760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b03919091165f908152601560205260409020805460ff1916911515919091179055565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610cfa918590610ec890866127c4565b6005546001600160a01b03163314610f8a5760405162461bcd60e51b8152600401610d2e9061333f565b60058054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610fd25760405162461bcd60e51b8152600401610d2e9061333f565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110455760405162461bcd60e51b8152600401610d2e9061333f565b6102588310156110b35760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610d2e565b6103e882111580156110c3575060015b6111285760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610d2e565b600d92909255600b55600c805460ff1916911515919091179055565b6005545f906001600160a01b031633146111705760405162461bcd60e51b8152600401610d2e9061333f565b506012805460ff19169055600190565b6005546001600160a01b031633146111aa5760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b03919091165f908152602660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111fe5760405162461bcd60e51b8152600401610d2e9061333f565b60188390556019829055601a8190558061121883856133be565b61122291906133be565b6017819055603210156112775760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353025206f72206c6573730000006044820152606401610d2e565b505050565b6005546001600160a01b031633146112a65760405162461bcd60e51b8152600401610d2e9061333f565b6012805462ffff0019166201010017905542600e5543602455565b6005546001600160a01b031633146112eb5760405162461bcd60e51b8152600401610d2e9061333f565b60128054911515620100000262ff000019909216919091179055565b606060048054610c6d90613307565b6005546001600160a01b031633146113405760405162461bcd60e51b8152600401610d2e9061333f565b7f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc76001600160a01b0316826001600160a01b0316036113e75760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610d2e565b6113f18282612829565b5050565b6005546001600160a01b0316331461141f5760405162461bcd60e51b8152600401610d2e9061333f565b6012805491151563010000000263ff00000019909216919091179055565b5f610cfa3384610ec88560405180606001604052806025815260200161359b60259139335f9081526001602090815260408083206001600160a01b038d168452909152902054919061278c565b5f610cfa338484611d90565b6005546001600160a01b031633146114c05760405162461bcd60e51b8152600401610d2e9061333f565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115465760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b0382165f81815260256020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146115ce5760405162461bcd60e51b8152600401610d2e9061333f565b670de0b6b3a76400006103e86115e360025490565b6115ee90600f613388565b6115f8919061339f565b611602919061339f565b81101561165d5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e352560e01b6064820152608401610d2e565b61166f81670de0b6b3a7640000613388565b600a5550565b6005546001600160a01b0316331461169f5760405162461bcd60e51b8152600401610d2e9061333f565b805f036116ae576001600f5550565b600f8190555b50565b6005545f906001600160a01b031633146116e35760405162461bcd60e51b8152600401610d2e9061333f565b620186a06116f060025490565b6116fb906001613388565b611705919061339f565b8210156117725760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610d2e565b6103e861177e60025490565b611789906005613388565b611793919061339f565b8211156117ff5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610d2e565b50600981905560015b919050565b6005545f906001600160a01b031633146118395760405162461bcd60e51b8152600401610d2e9061333f565b506016805460ff19169055600190565b5f600f545f036118595750600190565b50600f5490565b6005546001600160a01b0316331461188a5760405162461bcd60e51b8152600401610d2e9061333f565b6001600160a01b0381166118ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d2e565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005545f906001600160a01b031633146119765760405162461bcd60e51b8152600401610d2e9061333f565b60105460115461198691906133be565b42116119d45760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610d2e565b6103e8821115611a395760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610d2e565b426011556040516370a0823160e01b81526001600160a01b037f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc71660048201525f9030906370a0823190602401602060405180830381865afa158015611aa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac591906133d1565b90505f611ade612710611ad8848761287c565b906128fa565b90508015611b1357611b137f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc761dead8361293b565b5f7f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc79050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611b6f575f80fd5b505af1158015611b81573d5f803e3d5ffd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb92505f9150a1506001949350505050565b6005546001600160a01b03163314611be25760405162461bcd60e51b8152600401610d2e9061333f565b601c859055601d849055601e839055601f829055602081905582611c0685876133be565b611c1091906133be565b601b81905560631015611c655760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d2e565b5050505050565b6001600160a01b038316611cce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d2e565b6001600160a01b038216611d2f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d2e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611db65760405162461bcd60e51b8152600401610d2e906133e8565b6001600160a01b038216611ddc5760405162461bcd60e51b8152600401610d2e9061342d565b6001600160a01b0382165f9081526015602052604090205460ff16158015611e1c57506001600160a01b0383165f9081526015602052604090205460ff16155b611e825760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610d2e565b805f03611e945761127783835f61293b565b60125460ff1615612346576005546001600160a01b03848116911614801590611ecb57506005546001600160a01b03838116911614155b8015611edf57506001600160a01b03821615155b8015611ef657506001600160a01b03821661dead14155b8015611f0c5750600554600160a01b900460ff16155b1561234657601254610100900460ff16611fa2576001600160a01b0383165f9081526025602052604090205460ff1680611f5d57506001600160a01b0382165f9081526025602052604090205460ff165b611fa25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610d2e565b60165460ff16156120e7576005546001600160a01b03838116911614801590611ffd57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561203b57507f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc76001600160a01b0316826001600160a01b031614155b156120e757325f9081526013602052604090205443116120d55760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610d2e565b325f9081526013602052604090204390555b6001600160a01b0383165f9081526027602052604090205460ff16801561212657506001600160a01b0382165f9081526026602052604090205460ff16155b156122095760085481111561219b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610d2e565b600a546001600160a01b0383165f908152602081905260409020546121c090836133be565b11156122045760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d2e565b612346565b6001600160a01b0382165f9081526027602052604090205460ff16801561224857506001600160a01b0383165f9081526026602052604090205460ff16155b156122be576008548111156122045760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610d2e565b6001600160a01b0382165f9081526026602052604090205460ff1661234657600a546001600160a01b0383165f9081526020819052604090205461230290836133be565b11156123465760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d2e565b602454612353905f6133be565b431115801561239457507f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc76001600160a01b0316826001600160a01b031614155b80156123bd57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b156123e2576001600160a01b0382165f908152601560205260409020805460ff191690555b305f908152602081905260409020546009548110801590819061240d575060125462010000900460ff165b80156124235750600554600160a01b900460ff16155b801561244757506001600160a01b0385165f9081526027602052604090205460ff16155b801561246b57506001600160a01b0385165f9081526025602052604090205460ff16155b801561248f57506001600160a01b0384165f9081526025602052604090205460ff16155b156124bd576005805460ff60a01b1916600160a01b1790556124af612a41565b6005805460ff60a01b191690555b600554600160a01b900460ff161580156124ee57506001600160a01b0384165f9081526027602052604090205460ff165b80156124fc5750600c5460ff165b80156125175750600d54600e5461251391906133be565b4210155b801561253b57506001600160a01b0385165f9081526025602052604090205460ff16155b1561254a57612548612c6b565b505b6005546001600160a01b0386165f9081526025602052604090205460ff600160a01b90920482161591168061259657506001600160a01b0385165f9081526025602052604090205460ff165b1561259e57505f5b5f8115612778576001600160a01b0386165f9081526027602052604090205460ff1680156125cd57505f601b54115b15612682576125ec6064611ad8601b548861287c90919063ffffffff16565b9050601b54601d54826125ff9190613388565b612609919061339f565b60225f82825461261991906133be565b9091555050601b54601e5461262e9083613388565b612638919061339f565b60235f82825461264891906133be565b9091555050601b54601c5461265d9083613388565b612667919061339f565b60215f82825461267791906133be565b9091555061275a9050565b6001600160a01b0387165f9081526027602052604090205460ff1680156126aa57505f601754115b1561275a576126c96064611ad86017548861287c90919063ffffffff16565b9050601754601954826126dc9190613388565b6126e6919061339f565b60225f8282546126f691906133be565b9091555050601754601a5461270b9083613388565b612715919061339f565b60235f82825461272591906133be565b909155505060175460185461273a9083613388565b612744919061339f565b60215f82825461275491906133be565b90915550505b801561276b5761276b87308361293b565b6127758186613470565b94505b61278387878761293b565b50505050505050565b5f81848411156127af5760405162461bcd60e51b8152600401610d2e91906130ea565b505f6127bb8486613470565b95945050505050565b5f806127d083856133be565b9050838110156128225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d2e565b9392505050565b6001600160a01b0382165f81815260276020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b5f825f0361288b57505f610cfe565b5f6128968385613388565b9050826128a3858361339f565b146128225760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d2e565b5f61282283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612df0565b6001600160a01b0383166129615760405162461bcd60e51b8152600401610d2e906133e8565b6001600160a01b0382166129875760405162461bcd60e51b8152600401610d2e9061342d565b6129c38160405180606001604052806026815260200161354d602691396001600160a01b0386165f90815260208190526040902054919061278c565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546129f190826127c4565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d83565b305f9081526020819052604081205490505f602354602154602254612a6691906133be565b612a7091906133be565b90505f821580612a7e575081155b15612a8857505050565b600954612a96906014613388565b831115612aae57600954612aab906014613388565b92505b5f60028360225486612ac09190613388565b612aca919061339f565b612ad4919061339f565b90505f612ae18583612e1c565b905047612aed82612e5d565b5f612af84783612e1c565b90505f612b1487611ad86021548561287c90919063ffffffff16565b90505f612b3088611ad86023548661287c90919063ffffffff16565b90505f81612b3e8486613470565b612b489190613470565b5f6022819055602181905560238190556007546040519293506001600160a01b031691849181818185875af1925050503d805f8114612ba2576040519150601f19603f3d011682016040523d82523d5f602084013e612ba7565b606091505b50909850508615801590612bba57505f81115b15612c0d57612bc98782613013565b602254604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f8114612c57576040519150601f19603f3d011682016040523d82523d5f602084013e612c5c565b606091505b50505050505050505050505050565b42600e556040516370a0823160e01b81526001600160a01b037f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc71660048201525f90819030906370a0823190602401602060405180830381865afa158015612cd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cf991906133d1565b90505f612d17612710611ad8600b548561287c90919063ffffffff16565b90508015612d4c57612d4c7f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc761dead8361293b565b5f7f0000000000000000000000002e2046c8dd533b8005dbdf7fb4da55f7a928bdc79050806001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612da8575f80fd5b505af1158015612dba573d5f803e3d5ffd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d92505f9150a16001935050505090565b5f8183612e105760405162461bcd60e51b8152600401610d2e91906130ea565b505f6127bb848661339f565b5f61282283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061278c565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612e9057612e90613483565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f309190613497565b81600181518110612f4357612f43613483565b60200260200101906001600160a01b031690816001600160a01b031681525050612f8e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611c6c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612fe29085905f908690309042906004016134b2565b5f604051808303815f87803b158015612ff9575f80fd5b505af115801561300b573d5f803e3d5ffd5b505050505050565b61303e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611c6c565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156130c5573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611c659190613521565b5f6020808352835180828501525f5b81811015613115578581018301518582016040015282016130f9565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116b4575f80fd5b5f806040838503121561315a575f80fd5b823561316581613135565b946020939093013593505050565b5f60208284031215613183575f80fd5b813561282281613135565b5f6020828403121561319e575f80fd5b5035919050565b5f805f606084860312156131b7575f80fd5b83356131c281613135565b925060208401356131d281613135565b929592945050506040919091013590565b80358015158114611808575f80fd5b5f8060408385031215613203575f80fd5b823561320e81613135565b915061321c602084016131e3565b90509250929050565b5f60208284031215613235575f80fd5b612822826131e3565b5f805f60608486031215613250575f80fd5b8335925060208401359150613267604085016131e3565b90509250925092565b5f805f60608486031215613282575f80fd5b505081359360208301359350604090920135919050565b5f80604083850312156132aa575f80fd5b82356132b581613135565b915060208301356132c581613135565b809150509250929050565b5f805f805f60a086880312156132e4575f80fd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c9082168061331b57607f821691505b60208210810361333957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610cfe57610cfe613374565b5f826133b957634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610cfe57610cfe613374565b5f602082840312156133e1575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610cfe57610cfe613374565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156134a7575f80fd5b815161282281613135565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156135005784516001600160a01b0316835293830193918301916001016134db565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215613533575f80fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f1fe74a98338a7ca69407bca5f3e5b87eced79d5b8e2f9ed8402f87cd121165d64736f6c63430008140033

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.