ETH Price: $2,525.17 (-4.99%)

Contract

0xDa6807679f07cc7e57A729ce963554828B4e3E33
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve210893332024-11-01 0:52:594 mins ago1730422379IN
0xDa680767...28B4e3E33
0 ETH0.0005442711.67154959
Approve210893092024-11-01 0:48:119 mins ago1730422091IN
0xDa680767...28B4e3E33
0 ETH0.000283456.0846661
Approve210892972024-11-01 0:45:4712 mins ago1730421947IN
0xDa680767...28B4e3E33
0 ETH0.000322386.95256923
Approve210892902024-11-01 0:44:2313 mins ago1730421863IN
0xDa680767...28B4e3E33
0 ETH0.0004791110.27422153
Approve210892862024-11-01 0:43:3514 mins ago1730421815IN
0xDa680767...28B4e3E33
0 ETH0.000342147.33517596
Approve210892762024-11-01 0:41:3516 mins ago1730421695IN
0xDa680767...28B4e3E33
0 ETH0.0005272111.31725625
Approve210892662024-11-01 0:39:3518 mins ago1730421575IN
0xDa680767...28B4e3E33
0 ETH0.000290786.27593848
Approve210892662024-11-01 0:39:3518 mins ago1730421575IN
0xDa680767...28B4e3E33
0 ETH0.00039018.36326548
Approve210891902024-11-01 0:24:2333 mins ago1730420663IN
0xDa680767...28B4e3E33
0 ETH0.000349497.49270032
Approve210891752024-11-01 0:21:2336 mins ago1730420483IN
0xDa680767...28B4e3E33
0 ETH0.000142565.85198833
Approve210891672024-11-01 0:19:4738 mins ago1730420387IN
0xDa680767...28B4e3E33
0 ETH0.000307956.60202021
Approve210890552024-10-31 23:57:231 hr ago1730419043IN
0xDa680767...28B4e3E33
0 ETH0.000382418.24503069
Approve210890422024-10-31 23:54:471 hr ago1730418887IN
0xDa680767...28B4e3E33
0 ETH0.000374658.03209986
Approve210890142024-10-31 23:49:111 hr ago1730418551IN
0xDa680767...28B4e3E33
0 ETH0.000344087.3860972
Approve210889792024-10-31 23:42:111 hr ago1730418131IN
0xDa680767...28B4e3E33
0 ETH0.0005113610.9628384
Approve210888942024-10-31 23:25:111 hr ago1730417111IN
0xDa680767...28B4e3E33
0 ETH0.0004876210.45655709
Approve210888892024-10-31 23:24:111 hr ago1730417051IN
0xDa680767...28B4e3E33
0 ETH0.000332417.1264671
Approve210888892024-10-31 23:24:111 hr ago1730417051IN
0xDa680767...28B4e3E33
0 ETH0.0004898510.50169307
Approve210888702024-10-31 23:20:231 hr ago1730416823IN
0xDa680767...28B4e3E33
0 ETH0.0004845910.38890618
Approve210888252024-10-31 23:11:231 hr ago1730416283IN
0xDa680767...28B4e3E33
0 ETH0.000304966.53808958
Approve210887932024-10-31 23:04:591 hr ago1730415899IN
0xDa680767...28B4e3E33
0 ETH0.0005057710.84307713
Approve210887902024-10-31 23:04:231 hr ago1730415863IN
0xDa680767...28B4e3E33
0 ETH0.000366827.87425782
Transfer210887492024-10-31 22:55:592 hrs ago1730415359IN
0xDa680767...28B4e3E33
0 ETH0.000451876.70475345
Approve210887252024-10-31 22:50:592 hrs ago1730415059IN
0xDa680767...28B4e3E33
0 ETH0.0005047510.82117414
Approve210886342024-10-31 22:32:472 hrs ago1730413967IN
0xDa680767...28B4e3E33
0 ETH0.000406318.71074752
View all transactions

Latest 16 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
210869432024-10-31 16:53:478 hrs ago1730393627
0xDa680767...28B4e3E33
0.23190627 ETH
210869432024-10-31 16:53:478 hrs ago1730393627
0xDa680767...28B4e3E33
0.23190627 ETH
210869372024-10-31 16:52:358 hrs ago1730393555
0xDa680767...28B4e3E33
0.11730896 ETH
210869372024-10-31 16:52:358 hrs ago1730393555
0xDa680767...28B4e3E33
0.11730896 ETH
210869352024-10-31 16:52:118 hrs ago1730393531
0xDa680767...28B4e3E33
0.01054971 ETH
210869352024-10-31 16:52:118 hrs ago1730393531
0xDa680767...28B4e3E33
0.01054971 ETH
210869352024-10-31 16:52:118 hrs ago1730393531
0xDa680767...28B4e3E33
1.84400312 ETH
210869352024-10-31 16:52:118 hrs ago1730393531
0xDa680767...28B4e3E33
1.84400312 ETH
210869272024-10-31 16:50:358 hrs ago1730393435
0xDa680767...28B4e3E33
0.07656617 ETH
210869272024-10-31 16:50:358 hrs ago1730393435
0xDa680767...28B4e3E33
0.07656617 ETH
210869252024-10-31 16:50:118 hrs ago1730393411
0xDa680767...28B4e3E33
0.26377706 ETH
210869252024-10-31 16:50:118 hrs ago1730393411
0xDa680767...28B4e3E33
0.26377706 ETH
210869222024-10-31 16:49:358 hrs ago1730393375
0xDa680767...28B4e3E33
0.0000143 ETH
210869222024-10-31 16:49:358 hrs ago1730393375
0xDa680767...28B4e3E33
0.0000143 ETH
210869222024-10-31 16:49:358 hrs ago1730393375
0xDa680767...28B4e3E33
0.29744472 ETH
210869222024-10-31 16:49:358 hrs ago1730393375
0xDa680767...28B4e3E33
0.29744472 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Contract

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-31
*/

// SPDX-License-Identifier: MIT

/*
t.me/CopiumETHTOKEN

https://x.com/elonmusk/status/1852029654636351704
*/


pragma solidity 0.8.27;

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,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);

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

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

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

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(
        uint256 amountIn,
        address[] calldata path
    ) external view returns (uint256[] memory amounts);

    function getAmountsIn(
        uint256 amountOut,
        address[] calldata path
    ) external view returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

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

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

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

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

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

    bool private swapping;

    address public marketingWallet;
    address public devWallet;
    address public buyBackWallet;

    uint256 public maxTransactionAmount;
    uint256 public maxWallet;
    uint8 private _decimals;

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

    uint256 public tradingActiveBlock;

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

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

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

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

    mapping(address => bool) private _blacklist;

    // 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 buyBackWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

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

    event BuyBackTriggered(uint256 amount);

    event OwnerForcedSwapBack(uint256 timestamp);

    event BuyFeesUpdated(
        uint256 marketingFee,
        uint256 liquidityFee,
        uint256 devFee,
        uint256 buyBackFee
    );

    event SellFeesUpdated(
        uint256 marketingFee,
        uint256 liquidityFee,
        uint256 devFee,
        uint256 buyBackFee
    );

    constructor() ERC20(unicode"Copium", unicode"COPIUM") {
        address _owner = _msgSender();

        _decimals = 18;

        uint256 totalSupply = 1 * (10 ** 9) * (10 ** _decimals);

        maxTransactionAmount = (totalSupply * 2) / 100; // maxTransactionAmountTxn
        maxWallet = (totalSupply * 2) / 100; // maxWallet

        buyMarketingFee = 30;
        buyLiquidityFee = 0;
        buyDevFee = 0;
        buyBuyBackFee = 0;
        buyTotalFees =
            buyMarketingFee +
            buyLiquidityFee +
            buyDevFee +
            buyBuyBackFee;

        sellMarketingFee = 30;
        sellLiquidityFee = 0;
        sellDevFee = 0;
        sellBuyBackFee = 0;
        sellTotalFees =
            sellMarketingFee +
            sellLiquidityFee +
            sellDevFee +
            sellBuyBackFee;

        marketingWallet = address(_owner); // set as marketing wallet
        devWallet = address(_owner); // set as dev wallet
        buyBackWallet = address(_owner); // set as buyBackWallet

        address currentRouter;

        //Adding Variables for all the routers for easier deployment for our customers.
        if (block.chainid == 56) {
            currentRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // PCS Router
        } else if (block.chainid == 8453) {
            currentRouter = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24; // Base
        } else if (block.chainid == 43114) {
            currentRouter = 0x60aE616a2155Ee3d9A68541Ba4544862310933d4; //Avax Mainnet
        } else if (block.chainid == 137) {
            currentRouter = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff; //Polygon Ropsten
        } else if (block.chainid == 250) {
            currentRouter = 0xF491e7B69E4244ad4002BC14e878a34207E38c29; //SpookySwap FTM
        } else if (block.chainid == 11155111) {
            currentRouter = 0xC532a74256D3Db42D0Bf7a0400fEFDbad7694008; //Sepolia
        } else if (block.chainid == 1 || block.chainid == 4) {
            currentRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; //Mainnet
        } else {
            revert();
        }

        //End of Router Variables.

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(currentRouter);

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

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

        // 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(address(this), totalSupply);
        tradingActiveBlock = block.number;

        _transfer(address(this), msg.sender, (totalSupply * 90) / 100);

        transferOwnership(_owner);
    }

    receive() external payable {}

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

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

    function airdropToWallets(
        address[] memory airdropWallets,
        uint256[] memory amounts
    ) external onlyOwner returns (bool) {
        require(
            !tradingActive,
            "Trading is already active, cannot airdrop after launch."
        );
        require(
            airdropWallets.length == amounts.length,
            "arrays must be the same length"
        );
        require(
            airdropWallets.length < 200,
            "Can only airdrop 200 wallets per txn due to gas limits"
        ); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input.
        for (uint256 i = 0; i < airdropWallets.length; i++) {
            address wallet = airdropWallets[i];
            uint256 amount = amounts[i];
            _transfer(msg.sender, wallet, amount);
        }
        return true;
    }

    function updateMaxAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 100) / (10 ** _decimals),
            "Cannot set maxTransactionAmount lower than 1%"
        );
        maxTransactionAmount = newNum * (10 ** _decimals);
    }

    function updateMaxWallet(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 100) / (10 ** _decimals),
            "Cannot set maxTransactionAmount lower than 1%"
        );
        maxWallet = newNum * (10 ** _decimals);
    }

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

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

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

    // only use this to disable swapback and send tax in form of tokens
    function updateRescueSwap(bool enabled) external onlyOwner {
        rescueSwap = enabled;
    }

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

    function isBlacklisted(address account) public view returns (bool) {
        return _blacklist[account];
    }

    function blacklistAccounts(
        address[] memory accounts,
        bool isBlacklistedAccount
    ) public onlyOwner {
        require(accounts.length > 0, "Accounts list cannot be empty.");
        for (uint256 i = 0; i < accounts.length; i++) {
            _blacklist[accounts[i]] = isBlacklistedAccount;
        }
    }

    function setAutomatedMarketMakerPair(
        address pair,
        bool value
    ) external 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 updateBuyBackWallet(address newWallet) external onlyOwner {
        emit buyBackWalletUpdated(newWallet, buyBackWallet);
        buyBackWallet = newWallet;
    }

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

    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 (!tradingActive) {
            require(
                _isExcludedFromFees[from] || _isExcludedFromFees[to],
                "Trading is not active."
            );
        }
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !(_isExcludedFromFees[from] || _isExcludedFromFees[to]) &&
                !swapping
            ) {
                //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 {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance > 0;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

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

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

            amount -= fees;
        }

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

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

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

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

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

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

    function resetTaxAmount() public onlyOwner {
        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDev = 0;
        tokensForBuyBack = 0;
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));

        if (rescueSwap) {
            if (contractBalance > 0) {
                super._transfer(
                    address(this),
                    marketingWallet,
                    contractBalance
                );
            }
            return;
        }

        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForMarketing +
            tokensForDev +
            tokensForBuyBack;
        bool success;

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

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

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

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

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

        uint256 ethForLiquidity = ethBalance -
            ethForMarketing -
            ethForDev -
            ethForBuyBack;

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

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

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

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

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee,
        uint256 _buyBackFee
    ) external onlyOwner {
        uint256 totalFees = _marketingFee +
            _liquidityFee +
            _devFee +
            _buyBackFee;
        require(totalFees <= 50, "Total buy fees cannot exceed 50%");

        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyBuyBackFee = _buyBackFee;
        buyTotalFees = totalFees;

        emit BuyFeesUpdated(_marketingFee, _liquidityFee, _devFee, _buyBackFee);
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee,
        uint256 _buyBackFee
    ) external onlyOwner {
        uint256 totalFees = _marketingFee +
            _liquidityFee +
            _devFee +
            _buyBackFee;
        require(totalFees <= 50, "Total sell fees cannot exceed 50%");

        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellBuyBackFee = _buyBackFee;
        sellTotalFees = totalFees;

        emit SellFeesUpdated(
            _marketingFee,
            _liquidityFee,
            _devFee,
            _buyBackFee
        );
    }

    function manualSwapBack() external onlyOwner {
        require(swapEnabled, "Swap is not enabled");
        require(!swapping, "Swap is already in progress");

        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForMarketing +
            tokensForDev;

        require(contractBalance > 0, "No tokens in contract to swap");
        require(totalTokensToSwap > 0, "No tokens allocated for swapping");

        swapping = true;
        swapBack();
        swapping = false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyBackTriggered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"devFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyBackFee","type":"uint256"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"devFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyBackFee","type":"uint256"}],"name":"SellFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"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":"buyBackWalletUpdated","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":"airdropWallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropToWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"accounts","type":"address[]"},{"internalType":"bool","name":"isBlacklistedAccount","type":"bool"}],"name":"blacklistAccounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBuyBackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwapBack","outputs":[],"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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"resetTaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBuyBackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBuyBack","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateBuyBackWallet","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":"_buyBackFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateRescueSwap","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":"_buyBackFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600b805464ffffffff0019166301010100179055348015610023575f5ffd5b5060405180604001604052806006815260200165436f7069756d60d01b81525060405180604001604052806006815260200165434f5049554d60d01b81525081600390816100719190611a27565b50600461007e8282611a27565b5050505f6100906104e760201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f905f5160206152225f395f51905f52908290a350600b805460ff1916601290811790915533905f906100e990600a611bd8565b6100f790633b9aca00611be6565b90506064610106826002611be6565b6101109190611bfd565b6009556064610120826002611be6565b61012a9190611bfd565b600a55601e600e8190555f600f81905560108190556011819055908190610152908290611c1c565b61015c9190611c1c565b6101669190611c1c565b600d55601e60138190555f60148190556015819055601681905590819061018e908290611c1c565b6101989190611c1c565b6101a29190611c1c565b601255600680546001600160a01b0384166001600160a01b03199182168117909255600780548216831790556008805490911690911790555f466038036101fe57507310ed43c718714eb63d5aa57b78b54704e256024e6102e4565b46612105036102225750734752ba5dbc23f44d87826276bf6fd6b1c372ad246102e4565b4661a86a0361024657507360ae616a2155ee3d9a68541ba4544862310933d46102e4565b46608903610269575073a5e0829caced8ffdd4de3c43696c57f7d7a678ff6102e4565b4660fa0361028c575073f491e7b69e4244ad4002bc14e878a34207e38c296102e4565b4662aa36a7036102b1575073c532a74256d3db42d0bf7a0400fefdbad76940086102e4565b46600114806102c05750466004145b156102e05750737a250d5630b4cf539739df2c5dacb4c659f2488d6102e4565b5f5ffd5b806102f08160016104eb565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610338573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035c9190611c2f565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103a7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103cb9190611c2f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610415573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104399190611c2f565b6001600160a01b031660a08190526104529060016104eb565b60a051610460906001610561565b61046b8460016105b4565b6104763060016105b4565b61048361dead60016105b4565b61048e8460016104eb565b6104993060016104eb565b6104a661dead60016104eb565b6104b03084610659565b43600c556104d5303360646104c687605a611be6565b6104d09190611bfd565b610722565b6104de84610f9a565b50505050611d4c565b3390565b6005546001600160a01b031633146105375760405162461bcd60e51b815260206004820181905260248201525f5160206152025f395f51905f5260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146105fb5760405162461bcd60e51b815260206004820181905260248201525f5160206152025f395f51905f52604482015260640161052e565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166106af5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161052e565b6002546106bc908261108e565b6002556001600160a01b0382165f908152602081905260409020546106e1908261108e565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290915f5160206152425f395f51905f52910160405180910390a35050565b6001600160a01b0383166107735760405162461bcd60e51b815260206004820152602560248201525f5160206151e25f395f51905f52604482015264647265737360d81b606482015260840161052e565b6001600160a01b0382166107c25760405162461bcd60e51b815260206004820152602360248201525f51602061519c5f395f51905f5260448201526265737360e81b606482015260840161052e565b6001600160a01b0382165f908152601b602052604090205460ff1615801561080257506001600160a01b0383165f908152601b602052604090205460ff16155b6108685760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b606482015260840161052e565b600b5462010000900460ff16610901576001600160a01b0383165f908152601c602052604090205460ff16806108b557506001600160a01b0382165f908152601c602052604090205460ff165b6109015760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e00000000000000000000604482015260640161052e565b805f036109185761091383835f6110f5565b505050565b600b54610100900460ff1615610c2f576005546001600160a01b0384811691161480159061095457506005546001600160a01b03838116911614155b801561096857506001600160a01b03821615155b801561097f57506001600160a01b03821661dead14155b80156109c557506001600160a01b0383165f908152601c602052604090205460ff16806109c357506001600160a01b0382165f908152601c602052604090205460ff165b155b80156109db5750600554600160a01b900460ff16155b15610c2f576001600160a01b0383165f908152601e602052604090205460ff168015610a1f57506001600160a01b0382165f908152601d602052604090205460ff16155b15610b0a57600954811115610a9c5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000606482015260840161052e565b600a546001600160a01b0383165f90815260208190526040902054610ac19083611c1c565b1115610b055760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161052e565b610c2f565b6001600160a01b0382165f908152601e602052604090205460ff168015610b4957506001600160a01b0383165f908152601d602052604090205460ff16155b15610bc657600954811115610b055760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000606482015260840161052e565b600a546001600160a01b0383165f90815260208190526040902054610beb9083611c1c565b1115610c2f5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161052e565b305f9081526020819052604090205480158015908190610c585750600b546301000000900460ff165b8015610c6e5750600554600160a01b900460ff16155b8015610c9257506001600160a01b0385165f908152601e602052604090205460ff16155b8015610cb657506001600160a01b0385165f908152601c602052604090205460ff16155b8015610cda57506001600160a01b0384165f908152601c602052604090205460ff16155b15610d08576005805460ff60a01b1916600160a01b179055610cfa611245565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601c602052604090205460ff600160a01b909204821615911680610d5457506001600160a01b0385165f908152601c602052604090205460ff165b15610d5c57505f5b5f8115610f86576001600160a01b0386165f908152601e602052604090205460ff1615610e6b5760125415610e6657601254610da690606490610da0908890611507565b90611585565b905060125460145482610db99190611be6565b610dc39190611bfd565b60185f828254610dd39190611c1c565b9091555050601254601554610de89083611be6565b610df29190611bfd565b60195f828254610e029190611c1c565b9091555050601254601354610e179083611be6565b610e219190611bfd565b60175f828254610e319190611c1c565b9091555050601254601654610e469083611be6565b610e509190611bfd565b601a5f828254610e609190611c1c565b90915550505b610f68565b6001600160a01b0387165f908152601e602052604090205460ff1615610f6857600d5415610f6857600d54610ea890606490610da0908890611507565b9050600d54600f5482610ebb9190611be6565b610ec59190611bfd565b60185f828254610ed59190611c1c565b9091555050600d54601054610eea9083611be6565b610ef49190611bfd565b60195f828254610f049190611c1c565b9091555050600d54600e54610f199083611be6565b610f239190611bfd565b60175f828254610f339190611c1c565b9091555050600d54601154610f489083611be6565b610f529190611bfd565b601a5f828254610f629190611c1c565b90915550505b8015610f7957610f798730836110f5565b610f838186611c55565b94505b610f918787876110f5565b50505050505050565b6005546001600160a01b03163314610fe15760405162461bcd60e51b815260206004820181905260248201525f5160206152025f395f51905f52604482015260640161052e565b6001600160a01b0381166110465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161052e565b6005546040516001600160a01b038084169216905f5160206152225f395f51905f52905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8061109a8385611c1c565b9050838110156110ec5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161052e565b90505b92915050565b6001600160a01b0383166111465760405162461bcd60e51b815260206004820152602560248201525f5160206151e25f395f51905f52604482015264647265737360d81b606482015260840161052e565b6001600160a01b0382166111955760405162461bcd60e51b815260206004820152602360248201525f51602061519c5f395f51905f5260448201526265737360e81b606482015260840161052e565b6111d1816040518060600160405280602681526020016151bc602691396001600160a01b0386165f9081526020819052604090205491906115cc565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546111ff908261108e565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616915f5160206152425f395f51905f5291015b60405180910390a3505050565b305f90815260208190526040902054600b54640100000000900460ff1615611288578015611285576006546112859030906001600160a01b0316836110f5565b50565b5f601a5460195460175460185461129f9190611c1c565b6112a99190611c1c565b6112b39190611c1c565b90505f8215806112c1575081155b156112cb57505050565b5f600283601854866112dd9190611be6565b6112e79190611bfd565b6112f19190611bfd565b90505f6112fe8583611604565b90504761130a8261164b565b5f6113154783611604565b90505f61133187610da06017548561150760201b90919060201c565b90505f61134d88610da06019548661150760201b90919060201c565b90505f61136989610da0601a548761150760201b90919060201c565b90505f81836113788688611c55565b6113829190611c55565b61138c9190611c55565b5f601881905560178190556019819055601a8190556007546040519293506001600160a01b031691859181818185875af1925050503d805f81146113eb576040519150601f19603f3d011682016040523d82523d5f602084013e6113f0565b606091505b5050600854604051919a506001600160a01b03169083905f81818185875af1925050503d805f811461143d576040519150601f19603f3d011682016040523d82523d5f602084013e611442565b606091505b5090995050871580159061145557505f81115b156114a85761146488826117a6565b601854604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f81146114f2576040519150601f19603f3d011682016040523d82523d5f602084013e6114f7565b606091505b5050505050505050505050505050565b5f825f0361151657505f6110ef565b5f6115218385611be6565b90508261152e8583611bfd565b146110ec5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161052e565b5f6110ec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061185060201b60201c565b5f81848411156115ef5760405162461bcd60e51b815260040161052e9190611c68565b505f6115fb8486611c55565b95945050505050565b5f6110ec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115cc60201b60201c565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061167e5761167e611c9d565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117009190611c2f565b8160018151811061171357611713611c9d565b60200260200101906001600160a01b031690816001600160a01b031681525050611746306080518461187c60201b60201c565b6080516001600160a01b031663791ac947835f8430426040518663ffffffff1660e01b815260040161177c959493929190611cb1565b5f604051808303815f87803b158015611793575f5ffd5b505af192505050801561091357505b5050565b6117b9306080518461187c60201b60201c565b60805160405163f305d71960e01b8152306004820152602481018490525f60448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af193505050508015611843575060408051601f3d908101601f1916820190925261184091810190611d21565b60015b156117a2575b5050505050565b5f81836118705760405162461bcd60e51b815260040161052e9190611c68565b505f6115fb8486611bfd565b6001600160a01b0383166118de5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161052e565b6001600160a01b03821661193f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161052e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101611238565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806119bf57607f821691505b6020821081036119dd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561091357805f5260205f20601f840160051c81016020851015611a085750805b601f840160051c820191505b81811015611849575f8155600101611a14565b81516001600160401b03811115611a4057611a40611997565b611a5481611a4e84546119ab565b846119e3565b6020601f821160018114611a86575f8315611a6f5750848201515b5f19600385901b1c1916600184901b178455611849565b5f84815260208120601f198516915b82811015611ab55787850151825560209485019460019092019101611a95565b5084821015611ad257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b6001841115611b3057808504811115611b1457611b14611ae1565b6001841615611b2257908102905b60019390931c928002611af9565b935093915050565b5f82611b46575060016110ef565b81611b5257505f6110ef565b8160018114611b685760028114611b7257611b8e565b60019150506110ef565b60ff841115611b8357611b83611ae1565b50506001821b6110ef565b5060208310610133831016604e8410600b8410161715611bb1575081810a6110ef565b611bbd5f198484611af5565b805f1904821115611bd057611bd0611ae1565b029392505050565b5f6110ec60ff841683611b38565b80820281158282048414176110ef576110ef611ae1565b5f82611c1757634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156110ef576110ef611ae1565b5f60208284031215611c3f575f5ffd5b81516001600160a01b03811681146110ec575f5ffd5b818103818111156110ef576110ef611ae1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611d015783516001600160a01b0316835260209384019390920191600101611cda565b50506001600160a01b039590951660608401525050608001529392505050565b5f5f5f60608486031215611d33575f5ffd5b5050815160208301516040909301519094929350919050565b60805160a051613405611d975f395f818161067301526115da01525f81816104b101528181612a0101528181612ab801528181612af401528181612b680152612bc401526134055ff3fe6080604052600436106103ab575f3560e01c80637571336a116101e9578063a457c2d711610108578063dd62ed3e1161009d578063f2fde38b1161006d578063f2fde38b14610acb578063f637434214610aea578063f8b45b0514610aff578063fe575a8714610b14575f5ffd5b8063dd62ed3e14610a3e578063e7ad9fcd14610a82578063ee40166e14610aa1578063f11a24d314610ab6575f5ffd5b8063bbc0c742116100d8578063bbc0c742146109d6578063c0246668146109f5578063c8c8ebe414610a14578063d85ba06314610a29575f5ffd5b8063a457c2d71461094b578063a9059cbb1461096a578063aacebbe314610989578063b62496f5146109a8575f5ffd5b8063924de9b71161017e5780639c3b4fdc1161014e5780639c3b4fdc146108ed5780639ccf6e21146109025780639fccce3214610921578063a0d82dc514610936575f5ffd5b8063924de9b71461087c578063955b225b1461089b57806395d89b41146108ba5780639a7a23d6146108ce575f5ffd5b80638a8c523c116101b95780638a8c523c146108175780638da5cb5b1461082b5780638ea5220f146108485780639213691314610867575f5ffd5b80637571336a146107b057806375f0a874146107cf5780637bce5a04146107ee5780637dd72e8d14610803575f5ffd5b80632307b441116102d55780634c24c51d1161026a5780636ddd17131161023a5780636ddd17131461073457806370a0823114610754578063715018a614610788578063751039fc1461079c575f5ffd5b80634c24c51d146106b35780634fbee193146106d457806366eb37851461070b5780636a486a8e1461071f575f5ffd5b8063313ce567116102a5578063313ce56714610622578063395093511461064357806349bd5a5e146106625780634a62bb6514610695575f5ffd5b80632307b441146105b057806323b872dd146105cf57806327c8f835146105ee5780632e6ed7ef14610603575f5ffd5b806318160ddd1161034b5780631c499ab01161031b5780631c499ab0146105485780631cd348c0146105675780631f3fed8f146105865780631fe70a981461059b575f5ffd5b806318160ddd146104eb5780631816467f146104ff5780631a221dbb1461051e5780631a8145bb14610533575f5ffd5b80630b166d50116103865780630b166d5014610430578063106b5da11461045357806310d5de53146104725780631694505e146104a0575f5ffd5b806306e7b14d146103b657806306fdde03146103d7578063095ea7b314610401575f5ffd5b366103b257005b5f5ffd5b3480156103c1575f5ffd5b506103d56103d0366004612c7f565b610b4b565b005b3480156103e2575f5ffd5b506103eb610bda565b6040516103f89190612c9a565b60405180910390f35b34801561040c575f5ffd5b5061042061041b366004612ccf565b610c6a565b60405190151581526020016103f8565b34801561043b575f5ffd5b50610445601a5481565b6040519081526020016103f8565b34801561045e575f5ffd5b506103d561046d366004612cf9565b610c80565b34801561047d575f5ffd5b5061042061048c366004612c7f565b601d6020525f908152604090205460ff1681565b3480156104ab575f5ffd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103f8565b3480156104f6575f5ffd5b50600254610445565b34801561050a575f5ffd5b506103d5610519366004612c7f565b610d25565b348015610529575f5ffd5b5061044560165481565b34801561053e575f5ffd5b5061044560185481565b348015610553575f5ffd5b506103d5610562366004612cf9565b610dab565b348015610572575f5ffd5b506008546104d3906001600160a01b031681565b348015610591575f5ffd5b5061044560175481565b3480156105a6575f5ffd5b5061044560115481565b3480156105bb575f5ffd5b506104206105ca366004612deb565b610e50565b3480156105da575f5ffd5b506104206105e9366004612ea9565b611020565b3480156105f9575f5ffd5b506104d361dead81565b34801561060e575f5ffd5b506103d561061d366004612ee7565b61107d565b34801561062d575f5ffd5b50600b5460405160ff90911681526020016103f8565b34801561064e575f5ffd5b5061042061065d366004612ccf565b611184565b34801561066d575f5ffd5b506104d37f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a0575f5ffd5b50600b5461042090610100900460ff1681565b3480156106be575f5ffd5b50600b5461042090640100000000900460ff1681565b3480156106df575f5ffd5b506104206106ee366004612c7f565b6001600160a01b03165f908152601c602052604090205460ff1690565b348015610716575f5ffd5b506103d56111b9565b34801561072a575f5ffd5b5061044560125481565b34801561073f575f5ffd5b50600b54610420906301000000900460ff1681565b34801561075f575f5ffd5b5061044561076e366004612c7f565b6001600160a01b03165f9081526020819052604090205490565b348015610793575f5ffd5b506103d5611387565b3480156107a7575f5ffd5b506104206113fa565b3480156107bb575f5ffd5b506103d56107ca366004612f2a565b611437565b3480156107da575f5ffd5b506006546104d3906001600160a01b031681565b3480156107f9575f5ffd5b50610445600e5481565b34801561080e575f5ffd5b506103d561148b565b348015610822575f5ffd5b506103d56114ca565b348015610836575f5ffd5b506005546001600160a01b03166104d3565b348015610853575f5ffd5b506007546104d3906001600160a01b031681565b348015610872575f5ffd5b5061044560135481565b348015610887575f5ffd5b506103d5610896366004612f5d565b61150d565b3480156108a6575f5ffd5b506103d56108b5366004612f5d565b611555565b3480156108c5575f5ffd5b506103eb61159f565b3480156108d9575f5ffd5b506103d56108e8366004612f2a565b6115ae565b3480156108f8575f5ffd5b5061044560105481565b34801561090d575f5ffd5b506103d561091c366004612f76565b61168d565b34801561092c575f5ffd5b5061044560195481565b348015610941575f5ffd5b5061044560155481565b348015610956575f5ffd5b50610420610965366004612ccf565b611766565b348015610975575f5ffd5b50610420610984366004612ccf565b6117b3565b348015610994575f5ffd5b506103d56109a3366004612c7f565b6117bf565b3480156109b3575f5ffd5b506104206109c2366004612c7f565b601e6020525f908152604090205460ff1681565b3480156109e1575f5ffd5b50600b546104209062010000900460ff1681565b348015610a00575f5ffd5b506103d5610a0f366004612f2a565b611845565b348015610a1f575f5ffd5b5061044560095481565b348015610a34575f5ffd5b50610445600d5481565b348015610a49575f5ffd5b50610445610a58366004612fb8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a8d575f5ffd5b506103d5610a9c366004612ee7565b6118cd565b348015610aac575f5ffd5b50610445600c5481565b348015610ac1575f5ffd5b50610445600f5481565b348015610ad6575f5ffd5b506103d5610ae5366004612c7f565b6119d3565b348015610af5575f5ffd5b5061044560145481565b348015610b0a575f5ffd5b50610445600a5481565b348015610b1f575f5ffd5b50610420610b2e366004612c7f565b6001600160a01b03165f908152601b602052604090205460ff1690565b6005546001600160a01b03163314610b7e5760405162461bcd60e51b8152600401610b7590612fef565b60405180910390fd5b6008546040516001600160a01b03918216918316907f15e571905a1c816ac9ad091c2b82079da1ad3668d345e3894c424c5e5b47d97b905f90a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060038054610be990613024565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590613024565b8015610c605780601f10610c3757610100808354040283529160200191610c60565b820191905f5260205f20905b815481529060010190602001808311610c4357829003601f168201915b5050505050905090565b5f610c76338484611abd565b5060015b92915050565b6005546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610b7590612fef565b600b54610cbb9060ff16600a613153565b6064610cc660025490565b610cd1906001613161565b610cdb9190613178565b610ce59190613178565b811015610d045760405162461bcd60e51b8152600401610b7590613197565b600b54610d159060ff16600a613153565b610d1f9082613161565b60095550565b6005546001600160a01b03163314610d4f5760405162461bcd60e51b8152600401610b7590612fef565b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dd55760405162461bcd60e51b8152600401610b7590612fef565b600b54610de69060ff16600a613153565b6064610df160025490565b610dfc906001613161565b610e069190613178565b610e109190613178565b811015610e2f5760405162461bcd60e51b8152600401610b7590613197565b600b54610e409060ff16600a613153565b610e4a9082613161565b600a5550565b6005545f906001600160a01b03163314610e7c5760405162461bcd60e51b8152600401610b7590612fef565b600b5462010000900460ff1615610efb5760405162461bcd60e51b815260206004820152603760248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742061697264726f70206166746572206c61756e63682e0000000000000000006064820152608401610b75565b8151835114610f4c5760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610b75565b60c8835110610fbc5760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610b75565b5f5b8351811015611016575f848281518110610fda57610fda6131e4565b602002602001015190505f848381518110610ff757610ff76131e4565b6020026020010151905061100c338383611be1565b5050600101610fbe565b5060019392505050565b5f61102c848484611be1565b611016843361107885604051806060016040528060288152602001613383602891396001600160a01b038a165f90815260016020908152604080832033845290915290205491906123f4565b611abd565b6005546001600160a01b031633146110a75760405162461bcd60e51b8152600401610b7590612fef565b5f81836110b486886131f8565b6110be91906131f8565b6110c891906131f8565b9050603281111561111b5760405162461bcd60e51b815260206004820181905260248201527f546f74616c2062757920666565732063616e6e6f7420657863656564203530256044820152606401610b75565b600e859055600f84905560108390556011829055600d8190556040805186815260208101869052908101849052606081018390527f892b2caa2d791bf7b8d9a49c4db7a4513ff1ae2e0e068ed217f9d5ab4c1a28f0906080015b60405180910390a15050505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610c76918590611078908661242c565b6005546001600160a01b031633146111e35760405162461bcd60e51b8152600401610b7590612fef565b600b546301000000900460ff166112325760405162461bcd60e51b815260206004820152601360248201527214ddd85c081a5cc81b9bdd08195b98589b1959606a1b6044820152606401610b75565b600554600160a01b900460ff161561128c5760405162461bcd60e51b815260206004820152601b60248201527f5377617020697320616c726561647920696e2070726f677265737300000000006044820152606401610b75565b305f9081526020819052604081205490505f6019546017546018546112b191906131f8565b6112bb91906131f8565b90505f821161130c5760405162461bcd60e51b815260206004820152601d60248201527f4e6f20746f6b656e7320696e20636f6e747261637420746f20737761700000006044820152606401610b75565b5f811161135b5760405162461bcd60e51b815260206004820181905260248201527f4e6f20746f6b656e7320616c6c6f636174656420666f72207377617070696e676044820152606401610b75565b6005805460ff60a01b1916600160a01b179055611376612491565b50506005805460ff60a01b19169055565b6005546001600160a01b031633146113b15760405162461bcd60e51b8152600401610b7590612fef565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b031633146114265760405162461bcd60e51b8152600401610b7590612fef565b50600b805461ff0019169055600190565b6005546001600160a01b031633146114615760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146114b55760405162461bcd60e51b8152600401610b7590612fef565b5f601881905560178190556019819055601a55565b6005546001600160a01b031633146114f45760405162461bcd60e51b8152600401610b7590612fef565b600b805463ffff00001916630101000017905543600c55565b6005546001600160a01b031633146115375760405162461bcd60e51b8152600401610b7590612fef565b600b805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b0316331461157f5760405162461bcd60e51b8152600401610b7590612fef565b600b80549115156401000000000264ff0000000019909216919091179055565b606060048054610be990613024565b6005546001600160a01b031633146115d85760405162461bcd60e51b8152600401610b7590612fef565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361167f5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b75565b6116898282612753565b5050565b6005546001600160a01b031633146116b75760405162461bcd60e51b8152600401610b7590612fef565b5f8251116117075760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7473206c6973742063616e6e6f7420626520656d7074792e00006044820152606401610b75565b5f5b82518110156117615781601b5f858481518110611728576117286131e4565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101611709565b505050565b5f610c763384611078856040518060600160405280602581526020016133ab60259139335f9081526001602090815260408083206001600160a01b038d16845290915290205491906123f4565b5f610c76338484611be1565b6005546001600160a01b031633146117e95760405162461bcd60e51b8152600401610b7590612fef565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461186f5760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146118f75760405162461bcd60e51b8152600401610b7590612fef565b5f818361190486886131f8565b61190e91906131f8565b61191891906131f8565b905060328111156119755760405162461bcd60e51b815260206004820152602160248201527f546f74616c2073656c6c20666565732063616e6e6f74206578636565642035306044820152602560f81b6064820152608401610b75565b601385905560148490556015839055601682905560128190556040805186815260208101869052908101849052606081018390527f439932620c72dddea29980c098bca1a482729646d1216b226d723c6d278a30d190608001611175565b6005546001600160a01b031633146119fd5760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b038116611a625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b75565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611b1f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b75565b6001600160a01b038216611b805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b75565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611c075760405162461bcd60e51b8152600401610b759061320b565b6001600160a01b038216611c2d5760405162461bcd60e51b8152600401610b7590613250565b6001600160a01b0382165f908152601b602052604090205460ff16158015611c6d57506001600160a01b0383165f908152601b602052604090205460ff16155b611cd35760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b75565b600b5462010000900460ff16611d65576001600160a01b0383165f908152601c602052604090205460ff1680611d2057506001600160a01b0382165f908152601c602052604090205460ff165b611d655760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b75565b805f03611d775761176183835f6127a6565b600b54610100900460ff161561207f576005546001600160a01b03848116911614801590611db357506005546001600160a01b03838116911614155b8015611dc757506001600160a01b03821615155b8015611dde57506001600160a01b03821661dead14155b8015611e2457506001600160a01b0383165f908152601c602052604090205460ff1680611e2257506001600160a01b0382165f908152601c602052604090205460ff165b155b8015611e3a5750600554600160a01b900460ff16155b1561207f576001600160a01b0383165f908152601e602052604090205460ff168015611e7e57506001600160a01b0382165f908152601d602052604090205460ff16155b15611f6157600954811115611ef35760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b75565b600a546001600160a01b0383165f90815260208190526040902054611f1890836131f8565b1115611f5c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b75565b61207f565b6001600160a01b0382165f908152601e602052604090205460ff168015611fa057506001600160a01b0383165f908152601d602052604090205460ff16155b1561201657600954811115611f5c5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b75565b600a546001600160a01b0383165f9081526020819052604090205461203b90836131f8565b111561207f5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b75565b305f90815260208190526040902054801580159081906120a85750600b546301000000900460ff165b80156120be5750600554600160a01b900460ff16155b80156120e257506001600160a01b0385165f908152601e602052604090205460ff16155b801561210657506001600160a01b0385165f908152601c602052604090205460ff16155b801561212a57506001600160a01b0384165f908152601c602052604090205460ff16155b15612158576005805460ff60a01b1916600160a01b17905561214a612491565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601c602052604090205460ff600160a01b9092048216159116806121a457506001600160a01b0385165f908152601c602052604090205460ff165b156121ac57505f5b5f81156123e0576001600160a01b0386165f908152601e602052604090205460ff16156122c057601254156122bb576121fb60646121f5601254886128ac90919063ffffffff16565b9061292a565b90506012546014548261220e9190613161565b6122189190613178565b60185f82825461222891906131f8565b909155505060125460155461223d9083613161565b6122479190613178565b60195f82825461225791906131f8565b909155505060125460135461226c9083613161565b6122769190613178565b60175f82825461228691906131f8565b909155505060125460165461229b9083613161565b6122a59190613178565b601a5f8282546122b591906131f8565b90915550505b6123c2565b6001600160a01b0387165f908152601e602052604090205460ff16156123c257600d54156123c25761230260646121f5600d54886128ac90919063ffffffff16565b9050600d54600f54826123159190613161565b61231f9190613178565b60185f82825461232f91906131f8565b9091555050600d546010546123449083613161565b61234e9190613178565b60195f82825461235e91906131f8565b9091555050600d54600e546123739083613161565b61237d9190613178565b60175f82825461238d91906131f8565b9091555050600d546011546123a29083613161565b6123ac9190613178565b601a5f8282546123bc91906131f8565b90915550505b80156123d3576123d38730836127a6565b6123dd8186613293565b94505b6123eb8787876127a6565b50505050505050565b5f81848411156124175760405162461bcd60e51b8152600401610b759190612c9a565b505f6124238486613293565b95945050505050565b5f8061243883856131f8565b90508381101561248a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b75565b9392505050565b305f90815260208190526040902054600b54640100000000900460ff16156124d45780156124d1576006546124d19030906001600160a01b0316836127a6565b50565b5f601a546019546017546018546124eb91906131f8565b6124f591906131f8565b6124ff91906131f8565b90505f82158061250d575081155b1561251757505050565b5f600283601854866125299190613161565b6125339190613178565b61253d9190613178565b90505f61254a858361296b565b905047612556826129ac565b5f612561478361296b565b90505f61257d876121f5601754856128ac90919063ffffffff16565b90505f612599886121f5601954866128ac90919063ffffffff16565b90505f6125b5896121f5601a54876128ac90919063ffffffff16565b90505f81836125c48688613293565b6125ce9190613293565b6125d89190613293565b5f601881905560178190556019819055601a8190556007546040519293506001600160a01b031691859181818185875af1925050503d805f8114612637576040519150601f19603f3d011682016040523d82523d5f602084013e61263c565b606091505b5050600854604051919a506001600160a01b03169083905f81818185875af1925050503d805f8114612689576040519150601f19603f3d011682016040523d82523d5f602084013e61268e565b606091505b509099505087158015906126a157505f81115b156126f4576126b08882612b62565b601854604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f811461273e576040519150601f19603f3d011682016040523d82523d5f602084013e612743565b606091505b5050505050505050505050505050565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166127cc5760405162461bcd60e51b8152600401610b759061320b565b6001600160a01b0382166127f25760405162461bcd60e51b8152600401610b7590613250565b61282e8160405180606001604052806026815260200161335d602691396001600160a01b0386165f9081526020819052604090205491906123f4565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461285c908261242c565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611bd4565b5f825f036128bb57505f610c7a565b5f6128c68385613161565b9050826128d38583613178565b1461248a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b75565b5f61248a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c3f565b5f61248a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506123f4565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106129df576129df6131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a5b573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a7f91906132a6565b81600181518110612a9257612a926131e4565b60200260200101906001600160a01b031690816001600160a01b031681525050612add307f000000000000000000000000000000000000000000000000000000000000000084611abd565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612b319085905f908690309042906004016132c1565b5f604051808303815f87803b158015612b48575f5ffd5b505af1925050508015612b59575060015b15611689575050565b612b8d307f000000000000000000000000000000000000000000000000000000000000000084611abd565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af193505050508015612c33575060408051601f3d908101601f19168201909252612c3091810190613331565b60015b15611689575050505050565b5f8183612c5f5760405162461bcd60e51b8152600401610b759190612c9a565b505f6124238486613178565b6001600160a01b03811681146124d1575f5ffd5b5f60208284031215612c8f575f5ffd5b813561248a81612c6b565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f60408385031215612ce0575f5ffd5b8235612ceb81612c6b565b946020939093013593505050565b5f60208284031215612d09575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4d57612d4d612d10565b604052919050565b5f67ffffffffffffffff821115612d6e57612d6e612d10565b5060051b60200190565b5f82601f830112612d87575f5ffd5b8135612d9a612d9582612d55565b612d24565b8082825260208201915060208360051b860101925085831115612dbb575f5ffd5b602085015b83811015612de1578035612dd381612c6b565b835260209283019201612dc0565b5095945050505050565b5f5f60408385031215612dfc575f5ffd5b823567ffffffffffffffff811115612e12575f5ffd5b612e1e85828601612d78565b925050602083013567ffffffffffffffff811115612e3a575f5ffd5b8301601f81018513612e4a575f5ffd5b8035612e58612d9582612d55565b8082825260208201915060208360051b850101925087831115612e79575f5ffd5b6020840193505b82841015612e9b578335825260209384019390910190612e80565b809450505050509250929050565b5f5f5f60608486031215612ebb575f5ffd5b8335612ec681612c6b565b92506020840135612ed681612c6b565b929592945050506040919091013590565b5f5f5f5f60808587031215612efa575f5ffd5b5050823594602084013594506040840135936060013592509050565b80358015158114612f25575f5ffd5b919050565b5f5f60408385031215612f3b575f5ffd5b8235612f4681612c6b565b9150612f5460208401612f16565b90509250929050565b5f60208284031215612f6d575f5ffd5b61248a82612f16565b5f5f60408385031215612f87575f5ffd5b823567ffffffffffffffff811115612f9d575f5ffd5b612fa985828601612d78565b925050612f5460208401612f16565b5f5f60408385031215612fc9575f5ffd5b8235612fd481612c6b565b91506020830135612fe481612c6b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061303857607f821691505b60208210810361305657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156130ab5780850481111561308f5761308f61305c565b600184161561309d57908102905b60019390931c928002613074565b935093915050565b5f826130c157506001610c7a565b816130cd57505f610c7a565b81600181146130e357600281146130ed57613109565b6001915050610c7a565b60ff8411156130fe576130fe61305c565b50506001821b610c7a565b5060208310610133831016604e8410600b841016171561312c575081810a610c7a565b6131385f198484613070565b805f190482111561314b5761314b61305c565b029392505050565b5f61248a60ff8416836130b3565b8082028115828204841417610c7a57610c7a61305c565b5f8261319257634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602d908201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060408201526c6c6f776572207468616e20312560981b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610c7a57610c7a61305c565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610c7a57610c7a61305c565b5f602082840312156132b6575f5ffd5b815161248a81612c6b565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156133115783516001600160a01b03168352602093840193909201916001016132ea565b50506001600160a01b039590951660608401525050608001529392505050565b5f5f5f60608486031215613343575f5ffd5b505081516020830151604090930151909492935091905056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207be2b8f72e3966ff53ca4b7a9e9109a367d1aa87969c93934bff813b66e6262064736f6c634300081b003345524332303a207472616e7366657220746f20746865207a65726f206164647245524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e736665722066726f6d20746865207a65726f2061644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106103ab575f3560e01c80637571336a116101e9578063a457c2d711610108578063dd62ed3e1161009d578063f2fde38b1161006d578063f2fde38b14610acb578063f637434214610aea578063f8b45b0514610aff578063fe575a8714610b14575f5ffd5b8063dd62ed3e14610a3e578063e7ad9fcd14610a82578063ee40166e14610aa1578063f11a24d314610ab6575f5ffd5b8063bbc0c742116100d8578063bbc0c742146109d6578063c0246668146109f5578063c8c8ebe414610a14578063d85ba06314610a29575f5ffd5b8063a457c2d71461094b578063a9059cbb1461096a578063aacebbe314610989578063b62496f5146109a8575f5ffd5b8063924de9b71161017e5780639c3b4fdc1161014e5780639c3b4fdc146108ed5780639ccf6e21146109025780639fccce3214610921578063a0d82dc514610936575f5ffd5b8063924de9b71461087c578063955b225b1461089b57806395d89b41146108ba5780639a7a23d6146108ce575f5ffd5b80638a8c523c116101b95780638a8c523c146108175780638da5cb5b1461082b5780638ea5220f146108485780639213691314610867575f5ffd5b80637571336a146107b057806375f0a874146107cf5780637bce5a04146107ee5780637dd72e8d14610803575f5ffd5b80632307b441116102d55780634c24c51d1161026a5780636ddd17131161023a5780636ddd17131461073457806370a0823114610754578063715018a614610788578063751039fc1461079c575f5ffd5b80634c24c51d146106b35780634fbee193146106d457806366eb37851461070b5780636a486a8e1461071f575f5ffd5b8063313ce567116102a5578063313ce56714610622578063395093511461064357806349bd5a5e146106625780634a62bb6514610695575f5ffd5b80632307b441146105b057806323b872dd146105cf57806327c8f835146105ee5780632e6ed7ef14610603575f5ffd5b806318160ddd1161034b5780631c499ab01161031b5780631c499ab0146105485780631cd348c0146105675780631f3fed8f146105865780631fe70a981461059b575f5ffd5b806318160ddd146104eb5780631816467f146104ff5780631a221dbb1461051e5780631a8145bb14610533575f5ffd5b80630b166d50116103865780630b166d5014610430578063106b5da11461045357806310d5de53146104725780631694505e146104a0575f5ffd5b806306e7b14d146103b657806306fdde03146103d7578063095ea7b314610401575f5ffd5b366103b257005b5f5ffd5b3480156103c1575f5ffd5b506103d56103d0366004612c7f565b610b4b565b005b3480156103e2575f5ffd5b506103eb610bda565b6040516103f89190612c9a565b60405180910390f35b34801561040c575f5ffd5b5061042061041b366004612ccf565b610c6a565b60405190151581526020016103f8565b34801561043b575f5ffd5b50610445601a5481565b6040519081526020016103f8565b34801561045e575f5ffd5b506103d561046d366004612cf9565b610c80565b34801561047d575f5ffd5b5061042061048c366004612c7f565b601d6020525f908152604090205460ff1681565b3480156104ab575f5ffd5b506104d37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103f8565b3480156104f6575f5ffd5b50600254610445565b34801561050a575f5ffd5b506103d5610519366004612c7f565b610d25565b348015610529575f5ffd5b5061044560165481565b34801561053e575f5ffd5b5061044560185481565b348015610553575f5ffd5b506103d5610562366004612cf9565b610dab565b348015610572575f5ffd5b506008546104d3906001600160a01b031681565b348015610591575f5ffd5b5061044560175481565b3480156105a6575f5ffd5b5061044560115481565b3480156105bb575f5ffd5b506104206105ca366004612deb565b610e50565b3480156105da575f5ffd5b506104206105e9366004612ea9565b611020565b3480156105f9575f5ffd5b506104d361dead81565b34801561060e575f5ffd5b506103d561061d366004612ee7565b61107d565b34801561062d575f5ffd5b50600b5460405160ff90911681526020016103f8565b34801561064e575f5ffd5b5061042061065d366004612ccf565b611184565b34801561066d575f5ffd5b506104d37f000000000000000000000000c83dce18160eb917a2fce2f1238d099818e1ccb881565b3480156106a0575f5ffd5b50600b5461042090610100900460ff1681565b3480156106be575f5ffd5b50600b5461042090640100000000900460ff1681565b3480156106df575f5ffd5b506104206106ee366004612c7f565b6001600160a01b03165f908152601c602052604090205460ff1690565b348015610716575f5ffd5b506103d56111b9565b34801561072a575f5ffd5b5061044560125481565b34801561073f575f5ffd5b50600b54610420906301000000900460ff1681565b34801561075f575f5ffd5b5061044561076e366004612c7f565b6001600160a01b03165f9081526020819052604090205490565b348015610793575f5ffd5b506103d5611387565b3480156107a7575f5ffd5b506104206113fa565b3480156107bb575f5ffd5b506103d56107ca366004612f2a565b611437565b3480156107da575f5ffd5b506006546104d3906001600160a01b031681565b3480156107f9575f5ffd5b50610445600e5481565b34801561080e575f5ffd5b506103d561148b565b348015610822575f5ffd5b506103d56114ca565b348015610836575f5ffd5b506005546001600160a01b03166104d3565b348015610853575f5ffd5b506007546104d3906001600160a01b031681565b348015610872575f5ffd5b5061044560135481565b348015610887575f5ffd5b506103d5610896366004612f5d565b61150d565b3480156108a6575f5ffd5b506103d56108b5366004612f5d565b611555565b3480156108c5575f5ffd5b506103eb61159f565b3480156108d9575f5ffd5b506103d56108e8366004612f2a565b6115ae565b3480156108f8575f5ffd5b5061044560105481565b34801561090d575f5ffd5b506103d561091c366004612f76565b61168d565b34801561092c575f5ffd5b5061044560195481565b348015610941575f5ffd5b5061044560155481565b348015610956575f5ffd5b50610420610965366004612ccf565b611766565b348015610975575f5ffd5b50610420610984366004612ccf565b6117b3565b348015610994575f5ffd5b506103d56109a3366004612c7f565b6117bf565b3480156109b3575f5ffd5b506104206109c2366004612c7f565b601e6020525f908152604090205460ff1681565b3480156109e1575f5ffd5b50600b546104209062010000900460ff1681565b348015610a00575f5ffd5b506103d5610a0f366004612f2a565b611845565b348015610a1f575f5ffd5b5061044560095481565b348015610a34575f5ffd5b50610445600d5481565b348015610a49575f5ffd5b50610445610a58366004612fb8565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610a8d575f5ffd5b506103d5610a9c366004612ee7565b6118cd565b348015610aac575f5ffd5b50610445600c5481565b348015610ac1575f5ffd5b50610445600f5481565b348015610ad6575f5ffd5b506103d5610ae5366004612c7f565b6119d3565b348015610af5575f5ffd5b5061044560145481565b348015610b0a575f5ffd5b50610445600a5481565b348015610b1f575f5ffd5b50610420610b2e366004612c7f565b6001600160a01b03165f908152601b602052604090205460ff1690565b6005546001600160a01b03163314610b7e5760405162461bcd60e51b8152600401610b7590612fef565b60405180910390fd5b6008546040516001600160a01b03918216918316907f15e571905a1c816ac9ad091c2b82079da1ad3668d345e3894c424c5e5b47d97b905f90a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060038054610be990613024565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590613024565b8015610c605780601f10610c3757610100808354040283529160200191610c60565b820191905f5260205f20905b815481529060010190602001808311610c4357829003601f168201915b5050505050905090565b5f610c76338484611abd565b5060015b92915050565b6005546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610b7590612fef565b600b54610cbb9060ff16600a613153565b6064610cc660025490565b610cd1906001613161565b610cdb9190613178565b610ce59190613178565b811015610d045760405162461bcd60e51b8152600401610b7590613197565b600b54610d159060ff16600a613153565b610d1f9082613161565b60095550565b6005546001600160a01b03163314610d4f5760405162461bcd60e51b8152600401610b7590612fef565b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e743905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dd55760405162461bcd60e51b8152600401610b7590612fef565b600b54610de69060ff16600a613153565b6064610df160025490565b610dfc906001613161565b610e069190613178565b610e109190613178565b811015610e2f5760405162461bcd60e51b8152600401610b7590613197565b600b54610e409060ff16600a613153565b610e4a9082613161565b600a5550565b6005545f906001600160a01b03163314610e7c5760405162461bcd60e51b8152600401610b7590612fef565b600b5462010000900460ff1615610efb5760405162461bcd60e51b815260206004820152603760248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742061697264726f70206166746572206c61756e63682e0000000000000000006064820152608401610b75565b8151835114610f4c5760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610b75565b60c8835110610fbc5760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610b75565b5f5b8351811015611016575f848281518110610fda57610fda6131e4565b602002602001015190505f848381518110610ff757610ff76131e4565b6020026020010151905061100c338383611be1565b5050600101610fbe565b5060019392505050565b5f61102c848484611be1565b611016843361107885604051806060016040528060288152602001613383602891396001600160a01b038a165f90815260016020908152604080832033845290915290205491906123f4565b611abd565b6005546001600160a01b031633146110a75760405162461bcd60e51b8152600401610b7590612fef565b5f81836110b486886131f8565b6110be91906131f8565b6110c891906131f8565b9050603281111561111b5760405162461bcd60e51b815260206004820181905260248201527f546f74616c2062757920666565732063616e6e6f7420657863656564203530256044820152606401610b75565b600e859055600f84905560108390556011829055600d8190556040805186815260208101869052908101849052606081018390527f892b2caa2d791bf7b8d9a49c4db7a4513ff1ae2e0e068ed217f9d5ab4c1a28f0906080015b60405180910390a15050505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610c76918590611078908661242c565b6005546001600160a01b031633146111e35760405162461bcd60e51b8152600401610b7590612fef565b600b546301000000900460ff166112325760405162461bcd60e51b815260206004820152601360248201527214ddd85c081a5cc81b9bdd08195b98589b1959606a1b6044820152606401610b75565b600554600160a01b900460ff161561128c5760405162461bcd60e51b815260206004820152601b60248201527f5377617020697320616c726561647920696e2070726f677265737300000000006044820152606401610b75565b305f9081526020819052604081205490505f6019546017546018546112b191906131f8565b6112bb91906131f8565b90505f821161130c5760405162461bcd60e51b815260206004820152601d60248201527f4e6f20746f6b656e7320696e20636f6e747261637420746f20737761700000006044820152606401610b75565b5f811161135b5760405162461bcd60e51b815260206004820181905260248201527f4e6f20746f6b656e7320616c6c6f636174656420666f72207377617070696e676044820152606401610b75565b6005805460ff60a01b1916600160a01b179055611376612491565b50506005805460ff60a01b19169055565b6005546001600160a01b031633146113b15760405162461bcd60e51b8152600401610b7590612fef565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b031633146114265760405162461bcd60e51b8152600401610b7590612fef565b50600b805461ff0019169055600190565b6005546001600160a01b031633146114615760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b03919091165f908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146114b55760405162461bcd60e51b8152600401610b7590612fef565b5f601881905560178190556019819055601a55565b6005546001600160a01b031633146114f45760405162461bcd60e51b8152600401610b7590612fef565b600b805463ffff00001916630101000017905543600c55565b6005546001600160a01b031633146115375760405162461bcd60e51b8152600401610b7590612fef565b600b805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b0316331461157f5760405162461bcd60e51b8152600401610b7590612fef565b600b80549115156401000000000264ff0000000019909216919091179055565b606060048054610be990613024565b6005546001600160a01b031633146115d85760405162461bcd60e51b8152600401610b7590612fef565b7f000000000000000000000000c83dce18160eb917a2fce2f1238d099818e1ccb86001600160a01b0316826001600160a01b03160361167f5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b75565b6116898282612753565b5050565b6005546001600160a01b031633146116b75760405162461bcd60e51b8152600401610b7590612fef565b5f8251116117075760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7473206c6973742063616e6e6f7420626520656d7074792e00006044820152606401610b75565b5f5b82518110156117615781601b5f858481518110611728576117286131e4565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101611709565b505050565b5f610c763384611078856040518060600160405280602581526020016133ab60259139335f9081526001602090815260408083206001600160a01b038d16845290915290205491906123f4565b5f610c76338484611be1565b6005546001600160a01b031633146117e95760405162461bcd60e51b8152600401610b7590612fef565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461186f5760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146118f75760405162461bcd60e51b8152600401610b7590612fef565b5f818361190486886131f8565b61190e91906131f8565b61191891906131f8565b905060328111156119755760405162461bcd60e51b815260206004820152602160248201527f546f74616c2073656c6c20666565732063616e6e6f74206578636565642035306044820152602560f81b6064820152608401610b75565b601385905560148490556015839055601682905560128190556040805186815260208101869052908101849052606081018390527f439932620c72dddea29980c098bca1a482729646d1216b226d723c6d278a30d190608001611175565b6005546001600160a01b031633146119fd5760405162461bcd60e51b8152600401610b7590612fef565b6001600160a01b038116611a625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b75565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611b1f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b75565b6001600160a01b038216611b805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b75565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611c075760405162461bcd60e51b8152600401610b759061320b565b6001600160a01b038216611c2d5760405162461bcd60e51b8152600401610b7590613250565b6001600160a01b0382165f908152601b602052604090205460ff16158015611c6d57506001600160a01b0383165f908152601b602052604090205460ff16155b611cd35760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b75565b600b5462010000900460ff16611d65576001600160a01b0383165f908152601c602052604090205460ff1680611d2057506001600160a01b0382165f908152601c602052604090205460ff165b611d655760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b75565b805f03611d775761176183835f6127a6565b600b54610100900460ff161561207f576005546001600160a01b03848116911614801590611db357506005546001600160a01b03838116911614155b8015611dc757506001600160a01b03821615155b8015611dde57506001600160a01b03821661dead14155b8015611e2457506001600160a01b0383165f908152601c602052604090205460ff1680611e2257506001600160a01b0382165f908152601c602052604090205460ff165b155b8015611e3a5750600554600160a01b900460ff16155b1561207f576001600160a01b0383165f908152601e602052604090205460ff168015611e7e57506001600160a01b0382165f908152601d602052604090205460ff16155b15611f6157600954811115611ef35760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b75565b600a546001600160a01b0383165f90815260208190526040902054611f1890836131f8565b1115611f5c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b75565b61207f565b6001600160a01b0382165f908152601e602052604090205460ff168015611fa057506001600160a01b0383165f908152601d602052604090205460ff16155b1561201657600954811115611f5c5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b75565b600a546001600160a01b0383165f9081526020819052604090205461203b90836131f8565b111561207f5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b75565b305f90815260208190526040902054801580159081906120a85750600b546301000000900460ff165b80156120be5750600554600160a01b900460ff16155b80156120e257506001600160a01b0385165f908152601e602052604090205460ff16155b801561210657506001600160a01b0385165f908152601c602052604090205460ff16155b801561212a57506001600160a01b0384165f908152601c602052604090205460ff16155b15612158576005805460ff60a01b1916600160a01b17905561214a612491565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601c602052604090205460ff600160a01b9092048216159116806121a457506001600160a01b0385165f908152601c602052604090205460ff165b156121ac57505f5b5f81156123e0576001600160a01b0386165f908152601e602052604090205460ff16156122c057601254156122bb576121fb60646121f5601254886128ac90919063ffffffff16565b9061292a565b90506012546014548261220e9190613161565b6122189190613178565b60185f82825461222891906131f8565b909155505060125460155461223d9083613161565b6122479190613178565b60195f82825461225791906131f8565b909155505060125460135461226c9083613161565b6122769190613178565b60175f82825461228691906131f8565b909155505060125460165461229b9083613161565b6122a59190613178565b601a5f8282546122b591906131f8565b90915550505b6123c2565b6001600160a01b0387165f908152601e602052604090205460ff16156123c257600d54156123c25761230260646121f5600d54886128ac90919063ffffffff16565b9050600d54600f54826123159190613161565b61231f9190613178565b60185f82825461232f91906131f8565b9091555050600d546010546123449083613161565b61234e9190613178565b60195f82825461235e91906131f8565b9091555050600d54600e546123739083613161565b61237d9190613178565b60175f82825461238d91906131f8565b9091555050600d546011546123a29083613161565b6123ac9190613178565b601a5f8282546123bc91906131f8565b90915550505b80156123d3576123d38730836127a6565b6123dd8186613293565b94505b6123eb8787876127a6565b50505050505050565b5f81848411156124175760405162461bcd60e51b8152600401610b759190612c9a565b505f6124238486613293565b95945050505050565b5f8061243883856131f8565b90508381101561248a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610b75565b9392505050565b305f90815260208190526040902054600b54640100000000900460ff16156124d45780156124d1576006546124d19030906001600160a01b0316836127a6565b50565b5f601a546019546017546018546124eb91906131f8565b6124f591906131f8565b6124ff91906131f8565b90505f82158061250d575081155b1561251757505050565b5f600283601854866125299190613161565b6125339190613178565b61253d9190613178565b90505f61254a858361296b565b905047612556826129ac565b5f612561478361296b565b90505f61257d876121f5601754856128ac90919063ffffffff16565b90505f612599886121f5601954866128ac90919063ffffffff16565b90505f6125b5896121f5601a54876128ac90919063ffffffff16565b90505f81836125c48688613293565b6125ce9190613293565b6125d89190613293565b5f601881905560178190556019819055601a8190556007546040519293506001600160a01b031691859181818185875af1925050503d805f8114612637576040519150601f19603f3d011682016040523d82523d5f602084013e61263c565b606091505b5050600854604051919a506001600160a01b03169083905f81818185875af1925050503d805f8114612689576040519150601f19603f3d011682016040523d82523d5f602084013e61268e565b606091505b509099505087158015906126a157505f81115b156126f4576126b08882612b62565b601854604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f811461273e576040519150601f19603f3d011682016040523d82523d5f602084013e612743565b606091505b5050505050505050505050505050565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166127cc5760405162461bcd60e51b8152600401610b759061320b565b6001600160a01b0382166127f25760405162461bcd60e51b8152600401610b7590613250565b61282e8160405180606001604052806026815260200161335d602691396001600160a01b0386165f9081526020819052604090205491906123f4565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461285c908261242c565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611bd4565b5f825f036128bb57505f610c7a565b5f6128c68385613161565b9050826128d38583613178565b1461248a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b75565b5f61248a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c3f565b5f61248a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506123f4565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106129df576129df6131e4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a5b573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a7f91906132a6565b81600181518110612a9257612a926131e4565b60200260200101906001600160a01b031690816001600160a01b031681525050612add307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611abd565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612b319085905f908690309042906004016132c1565b5f604051808303815f87803b158015612b48575f5ffd5b505af1925050508015612b59575060015b15611689575050565b612b8d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611abd565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af193505050508015612c33575060408051601f3d908101601f19168201909252612c3091810190613331565b60015b15611689575050505050565b5f8183612c5f5760405162461bcd60e51b8152600401610b759190612c9a565b505f6124238486613178565b6001600160a01b03811681146124d1575f5ffd5b5f60208284031215612c8f575f5ffd5b813561248a81612c6b565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f60408385031215612ce0575f5ffd5b8235612ceb81612c6b565b946020939093013593505050565b5f60208284031215612d09575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4d57612d4d612d10565b604052919050565b5f67ffffffffffffffff821115612d6e57612d6e612d10565b5060051b60200190565b5f82601f830112612d87575f5ffd5b8135612d9a612d9582612d55565b612d24565b8082825260208201915060208360051b860101925085831115612dbb575f5ffd5b602085015b83811015612de1578035612dd381612c6b565b835260209283019201612dc0565b5095945050505050565b5f5f60408385031215612dfc575f5ffd5b823567ffffffffffffffff811115612e12575f5ffd5b612e1e85828601612d78565b925050602083013567ffffffffffffffff811115612e3a575f5ffd5b8301601f81018513612e4a575f5ffd5b8035612e58612d9582612d55565b8082825260208201915060208360051b850101925087831115612e79575f5ffd5b6020840193505b82841015612e9b578335825260209384019390910190612e80565b809450505050509250929050565b5f5f5f60608486031215612ebb575f5ffd5b8335612ec681612c6b565b92506020840135612ed681612c6b565b929592945050506040919091013590565b5f5f5f5f60808587031215612efa575f5ffd5b5050823594602084013594506040840135936060013592509050565b80358015158114612f25575f5ffd5b919050565b5f5f60408385031215612f3b575f5ffd5b8235612f4681612c6b565b9150612f5460208401612f16565b90509250929050565b5f60208284031215612f6d575f5ffd5b61248a82612f16565b5f5f60408385031215612f87575f5ffd5b823567ffffffffffffffff811115612f9d575f5ffd5b612fa985828601612d78565b925050612f5460208401612f16565b5f5f60408385031215612fc9575f5ffd5b8235612fd481612c6b565b91506020830135612fe481612c6b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061303857607f821691505b60208210810361305657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156130ab5780850481111561308f5761308f61305c565b600184161561309d57908102905b60019390931c928002613074565b935093915050565b5f826130c157506001610c7a565b816130cd57505f610c7a565b81600181146130e357600281146130ed57613109565b6001915050610c7a565b60ff8411156130fe576130fe61305c565b50506001821b610c7a565b5060208310610133831016604e8410600b841016171561312c575081810a610c7a565b6131385f198484613070565b805f190482111561314b5761314b61305c565b029392505050565b5f61248a60ff8416836130b3565b8082028115828204841417610c7a57610c7a61305c565b5f8261319257634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602d908201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060408201526c6c6f776572207468616e20312560981b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610c7a57610c7a61305c565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610c7a57610c7a61305c565b5f602082840312156132b6575f5ffd5b815161248a81612c6b565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156133115783516001600160a01b03168352602093840193909201916001016132ea565b50506001600160a01b039590951660608401525050608001529392505050565b5f5f5f60608486031215613343575f5ffd5b505081516020830151604090930151909492935091905056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207be2b8f72e3966ff53ca4b7a9e9109a367d1aa87969c93934bff813b66e6262064736f6c634300081b0033

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.