ETH Price: $3,431.96 (+5.42%)
Gas: 8 Gwei

Contract

0x4D47E959b2Bda037CC72a90a3fF2f030A2C3eDE9
 

Overview

ETH Balance

0.049122013709070931 ETH

Eth Value

$168.58 (@ $3,431.96/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve195444222024-03-30 4:32:23107 days ago1711773143IN
0x4D47E959...0A2C3eDE9
0 ETH0.0006697127.51384379
Approve193999772024-03-09 20:38:11128 days ago1710016691IN
0x4D47E959...0A2C3eDE9
0 ETH0.0015107662.06663986
Approve191818772024-02-08 7:11:59158 days ago1707376319IN
0x4D47E959...0A2C3eDE9
0 ETH0.0007234229.72032717
Approve189850092024-01-11 16:56:35186 days ago1704992195IN
0x4D47E959...0A2C3eDE9
0 ETH0.0010135638.47878979
Approve189850092024-01-11 16:56:35186 days ago1704992195IN
0x4D47E959...0A2C3eDE9
0 ETH0.0009366138.47878979
Approve188852372023-12-28 16:16:23200 days ago1703780183IN
0x4D47E959...0A2C3eDE9
0 ETH0.0009906440.69864234
Approve187895852023-12-15 5:58:59213 days ago1702619939IN
0x4D47E959...0A2C3eDE9
0 ETH0.000763531.36717176
Approve173767992023-05-31 5:32:23411 days ago1685511143IN
0x4D47E959...0A2C3eDE9
0 ETH0.0006407726.32472904
Approve171058012023-04-23 1:39:23449 days ago1682213963IN
0x4D47E959...0A2C3eDE9
0 ETH0.0007966232.72772947
Approve165698082023-02-06 12:40:47525 days ago1675687247IN
0x4D47E959...0A2C3eDE9
0 ETH0.0007017328.82947936
Approve165652872023-02-05 21:31:59526 days ago1675632719IN
0x4D47E959...0A2C3eDE9
0 ETH0.000650226.71253049
Approve163809122023-01-11 3:34:35551 days ago1673408075IN
0x4D47E959...0A2C3eDE9
0 ETH0.0004967620.40860657
Approve161586422022-12-11 2:59:59582 days ago1670727599IN
0x4D47E959...0A2C3eDE9
0 ETH0.0006342313.60287264
Approve159203812022-11-07 19:57:35616 days ago1667851055IN
0x4D47E959...0A2C3eDE9
0 ETH0.0004753219.52764609
Approve158363382022-10-27 2:11:11627 days ago1666836671IN
0x4D47E959...0A2C3eDE9
0 ETH0.0004835910.3720154
Approve158212152022-10-24 23:29:23629 days ago1666654163IN
0x4D47E959...0A2C3eDE9
0 ETH0.000557811.96356407
Transfer From156978042022-10-07 17:49:59647 days ago1665164999IN
0x4D47E959...0A2C3eDE9
0 ETH0.0017065723.17675238
Approve155264592022-09-13 10:37:50671 days ago1663065470IN
0x4D47E959...0A2C3eDE9
0 ETH0.00025775.52710411
Approve154811792022-09-06 1:27:09678 days ago1662427629IN
0x4D47E959...0A2C3eDE9
0 ETH0.00043019.2248769
Transfer154811732022-09-06 1:26:02678 days ago1662427562IN
0x4D47E959...0A2C3eDE9
0 ETH0.0006688911.06783369
Approve154257712022-08-28 4:40:40687 days ago1661661640IN
0x4D47E959...0A2C3eDE9
0 ETH0.000179627.37965635
Approve153652672022-08-18 13:28:57697 days ago1660829337IN
0x4D47E959...0A2C3eDE9
0 ETH0.0003844914.38698643
Approve153652182022-08-18 13:16:17697 days ago1660828577IN
0x4D47E959...0A2C3eDE9
0 ETH0.0005156711.05999283
Approve153463892022-08-15 13:53:59700 days ago1660571639IN
0x4D47E959...0A2C3eDE9
0 ETH0.0005835712.51629986
Transfer152592182022-08-01 22:01:47713 days ago1659391307IN
0x4D47E959...0A2C3eDE9
0 ETH0.0011372929.58622607
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
197991782024-05-04 20:38:4772 days ago1714855127
0x4D47E959...0A2C3eDE9
0.005 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ApeCoinBurn

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-26
*/

// SPDX-License-Identifier: Unlicensed

pragma solidity 0.8.13;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


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

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

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

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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SignedSafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SignedSafeMath {
    /**
     * @dev Returns the multiplication of two signed integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        return a * b;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

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

    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private inSwapAndLiquify;

    bool public swapAndLiquifyEnabled = true;

    uint256 public maxSellTransactionAmount = 1000000000 * (10**12);
    uint256 public maxBuyTransactionAmount = 1000000000 * (10**12);
    uint256 public swapTokensAtAmount = 500000 * (10**12);

    uint256 public liquidityBuyFee = 3;
    uint256 public teamBuyFee = 3;
    uint256 public apeBurnBuyFee = 3;
    uint256 public totalBuyFees = liquidityBuyFee.add(teamBuyFee).add(apeBurnBuyFee);

    uint256 public liquiditySellFee = 3;
    uint256 public teamSellFee = 0;
    uint256 public apeBurnSellFee = 3;
    uint256 public totalSellFees = liquiditySellFee.add(teamSellFee).add(apeBurnSellFee);

    address public immutable ApeCoin = address(0x4d224452801ACEd8B2F0aebE155379bb5D594381); //ApeCoin contract address
    address payable public teamWallet = payable(0xEe4528F54878e0A1E9c55338eC2300BaB8f0196b);
    address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD;
    
    // exlcude from fees and max transaction amount
    mapping (address => bool) private _isExcludedFromFees;

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

    uint256 private buyBackUpperLimit = 50000000000000000; // 0.05 Ether
    uint256 public _buybackDivisor = 10;
    
    bool public buyBackEnabled = true;

    event BuyBackEnabledUpdated(bool enabled);

    event SwapETHForTokens(uint256 amountIn, address[] path);

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

    event ExcludeFromFees(address indexed account, bool isExcluded);

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

    event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue);

    event SwapAndLiquifyEnabledUpdated(bool enabled);

    event SwapAndLiquify(
        uint256 tokensIntoLiqudity,
        uint256 ethReceived
    );

    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() ERC20("ApeCoinBurn", "$ACB") {

    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // uniswap v2 router address
         // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(teamWallet, true);
        excludeFromFees(address(this), true);
        
        /*
            an internal function that is only called here,
            and CANNOT be called ever again
        */
        _createInitialSupply(owner(), 1000000000 * (10**12));
    }

    receive() external payable {

  	}

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(newAddress != address(uniswapV2Router), "ApeCoinBurn: The router already has that address");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(_isExcludedFromFees[account] != excluded, "ApeCoinBurn: Account is already the value of 'excluded'");
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }
   
    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "ApeCoinBurn: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs");

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "ApeCoinBurn: Automated market maker pair is already set to that value");
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }
    
    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }
   
    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

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

        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
        
        if(automatedMarketMakerPairs[from] && (!_isExcludedFromFees[from]) && (!_isExcludedFromFees[to])){
            require(amount <= maxBuyTransactionAmount, "amount exceeds the maxBuyTransactionAmount.");
        }

        if(automatedMarketMakerPairs[to] && (!_isExcludedFromFees[from]) && (!_isExcludedFromFees[to])){
            require(amount <= maxSellTransactionAmount, "amount exceeds the maxSellTransactionAmount.");
        }
        
    	uint256 contractTokenBalance = balanceOf(address(this));
        
        bool overMinTokenBalance = contractTokenBalance >= swapTokensAtAmount;
       
        if(!inSwapAndLiquify && automatedMarketMakerPairs[to] && swapAndLiquifyEnabled) {
            if(overMinTokenBalance) {
                contractTokenBalance = swapTokensAtAmount;
                swapAndLiquify(contractTokenBalance);

            }
            
            uint256 balance = address(this).balance;
            if (buyBackEnabled && balance > uint256(buyBackUpperLimit)) {
                
                if (balance > buyBackUpperLimit)
                    balance = buyBackUpperLimit;
                
                buyBackTokens(balance.div(_buybackDivisor));
            }

        }

         // if any account belongs to _isExcludedFromFee account then remove the fee
        if(!_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) {
            uint256 fees;
            if(automatedMarketMakerPairs[from]) {
              fees  = amount.mul(totalBuyFees).div(100);
            }

            if(automatedMarketMakerPairs[to]) {
              fees  = amount.mul(totalSellFees).div(100);
            }
        	 
        	amount = amount.sub(fees);
            super._transfer(from, address(this), fees); 
            
        }

        super._transfer(from, to, amount);

    }

     function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        uint256 tokensForLiquidity = contractTokenBalance.mul(liquidityBuyFee).div(totalBuyFees);
        // split the Liquidity token balance into halves
        uint256 half = tokensForLiquidity.div(2);
        uint256 otherHalf = tokensForLiquidity.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);

        // swap and Send eth to team wallet
        uint256 balanceBeforeSwap = address(this).balance;
        swapTokensForEth(contractTokenBalance.sub(tokensForLiquidity));
         uint256 balanceAfterSwap = address(this).balance.sub(balanceBeforeSwap);
        teamWallet.transfer(balanceAfterSwap.mul(teamBuyFee).div(teamBuyFee.add(apeBurnBuyFee)));
        
        emit SwapAndLiquify(half, newBalance); 
    }

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

        if(allowance(address(this), address(uniswapV2Router)) < tokenAmount) {
          _approve(address(this), address(uniswapV2Router), ~uint256(0));
        }

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

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

    function buyBackTokens(uint256 amount) private lockTheSwap {
    	if (amount > 0) {
    	    swapETHForTokens(amount);
	    }
    }

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

      // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            deadAddress, // burn address
            block.timestamp.add(300)
        );
        
        emit SwapETHForTokens(amount, path);
    }

    function swapTokensForApeCoin(uint256 tokenAmount) private {

        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        path[2] = ApeCoin;

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

        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function setMaxSellTransaction(uint256 _maxSellTxAmount) public onlyOwner {
        maxSellTransactionAmount = _maxSellTxAmount;
        require(maxSellTransactionAmount >= totalSupply().div(300), "value is too low");
    }
    
    function setMaxBuyTransaction(uint256 _maxBuyTxAmount) public onlyOwner {
        maxBuyTransactionAmount = _maxBuyTxAmount;
        require(maxBuyTransactionAmount >= totalSupply().div(300), "value is too low");
    }

    function setSwapTokensAtAmouunt(uint256 _newAmount) public onlyOwner {
        swapTokensAtAmount = _newAmount;
    }

    function setBuybackDivisor(uint256 divisor) external onlyOwner{
       _buybackDivisor = divisor;
    }

    function setBuybackUpperLimit(uint256 newLimit) external onlyOwner{
       buyBackUpperLimit = newLimit;
    }

    function buyBackUpperLimitAmount() public view returns (uint256) {
        return buyBackUpperLimit;
    }

    function setBuyBackEnabled(bool _enabled) public onlyOwner {
        buyBackEnabled = _enabled;
        emit BuyBackEnabledUpdated(_enabled);
    }

  
}

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":"bool","name":"enabled","type":"bool"}],"name":"BuyBackEnabledUpdated","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":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","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"},{"inputs":[],"name":"ApeCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buybackDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apeBurnBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apeBurnSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquiditySellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTransactionAmount","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBuyBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"setBuybackDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyTxAmount","type":"uint256"}],"name":"setMaxBuyTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSellTxAmount","type":"uint256"}],"name":"setMaxSellTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setSwapTokensAtAmouunt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405260068054600160a81b60ff60a81b19909116179055683635c9adc5dea0000060078190556008556706f05b59d3b200006009556003600a819055600b819055600c8190556200007990620000658180620003b4602090811b6200112e17901c565b620003b460201b6200112e1790919060201c565b600d556003600e556000600f556003601055620000b060105462000065600f54600e54620003b460201b6200112e1790919060201c565b601155734d224452801aced8b2f0aebe155379bb5d59438160a052601280546001600160a01b03191673ee4528f54878e0a1e9c55338ec2300bab8f0196b17905561dead60c05266b1a2bc2ec50000601555600a6016556017805460ff191660011790553480156200012157600080fd5b50604080518082018252600b81526a20b832a1b7b4b7213ab93760a91b6020808301918252835180850190945260048452631220a1a160e11b908401528151919291620001719160039162000755565b5080516200018790600490602084019062000755565b505050620001a46200019e620003c960201b60201c565b620003cd565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002249190620007fb565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000272573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002989190620007fb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030c9190620007fb565b600680546001600160a01b0319166001600160a01b038581169190911790915581166080529050620003408160016200041f565b6200035f620003576005546001600160a01b031690565b60016200051d565b60125462000378906001600160a01b031660016200051d565b620003853060016200051d565b620003ac6200039c6005546001600160a01b031690565b683635c9adc5dea0000062000670565b505062000889565b6000620003c2828462000826565b9392505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526014602052604090205481151560ff909116151503620004c95760405162461bcd60e51b815260206004820152604560248201527f417065436f696e4275726e3a204175746f6d61746564206d61726b6574206d6160448201527f6b6572207061697220697320616c72656164792073657420746f20746861742060648201526476616c756560d81b608482015260a4015b60405180910390fd5b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004c0565b6001600160a01b03821660009081526013602052604090205481151560ff909116151503620006115760405162461bcd60e51b815260206004820152603760248201527f417065436f696e4275726e3a204163636f756e7420697320616c72656164792060448201527f7468652076616c7565206f6620276578636c75646564270000000000000000006064820152608401620004c0565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006c85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004c0565b8060026000828254620006dc919062000826565b90915550506001600160a01b038216600090815260208190526040812080548392906200070b90849062000826565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000763906200084d565b90600052602060002090601f016020900481019282620007875760008555620007d2565b82601f10620007a257805160ff1916838001178555620007d2565b82800160010185558215620007d2579182015b82811115620007d2578251825591602001919060010190620007b5565b50620007e0929150620007e4565b5090565b5b80821115620007e05760008155600101620007e5565b6000602082840312156200080e57600080fd5b81516001600160a01b0381168114620003c257600080fd5b600082198211156200084857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200086257607f821691505b6020821081036200088357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516122f4620008ce600039600081816103c90152611da60152600081816107e00152611d4f0152600081816104910152610d0a01526122f46000f3fe6080604052600436106102815760003560e01c806370a082311161014f578063b3b5e043116100c1578063ccb613581161007a578063ccb61358146107a2578063d0a39814146107b8578063d9671ba0146107ce578063dd62ed3e14610802578063e2f4560514610848578063f2fde38b1461085e57600080fd5b8063b3b5e043146106e7578063b62496f514610707578063b9e9370014610737578063bdc653ef1461074d578063c024666814610762578063c49b9a801461078257600080fd5b80639303e1ce116101135780639303e1ce1461064657806395d89b411461065c5780639a7a23d614610671578063a1e2745f14610691578063a457c2d7146106a7578063a9059cbb146106c757600080fd5b806370a082311461059d578063715018a6146105d3578063750c11b6146105e857806382d2a4bb146106085780638da5cb5b1461062857600080fd5b80632a6986b8116101f35780634fbee193116101ac5780634fbee193146104d4578063599270441461050d5780635aa821a91461052d5780635c38ffe2146105435780636053a0e31461056357806365b8dbc01461057d57600080fd5b80632a6986b81461040d578063313ce56714610423578063395093511461043f5780634198d1bb1461045f57806349bd5a5e1461047f5780634a74bb02146104b357600080fd5b806318160ddd1161024557806318160ddd1461035657806319998bbb1461036b5780631d38ff961461038157806323b872dd1461039757806327c8f835146103b757806329370cc6146103eb57600080fd5b806302259e9e1461028d57806306fdde03146102b6578063095ea7b3146102d8578063099d0d30146103085780631694505e1461031e57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a360075481565b6040519081526020015b60405180910390f35b3480156102c257600080fd5b506102cb61087e565b6040516102ad9190611e5f565b3480156102e457600080fd5b506102f86102f3366004611ec9565b610910565b60405190151581526020016102ad565b34801561031457600080fd5b506102a3600e5481565b34801561032a57600080fd5b5060065461033e906001600160a01b031681565b6040516001600160a01b0390911681526020016102ad565b34801561036257600080fd5b506002546102a3565b34801561037757600080fd5b506102a3600f5481565b34801561038d57600080fd5b506102a3600b5481565b3480156103a357600080fd5b506102f86103b2366004611ef5565b610926565b3480156103c357600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103f757600080fd5b5061040b610406366004611f4b565b6109d5565b005b34801561041957600080fd5b506102a360105481565b34801561042f57600080fd5b50604051600c81526020016102ad565b34801561044b57600080fd5b506102f861045a366004611ec9565b610a47565b34801561046b57600080fd5b5061040b61047a366004611f66565b610a83565b34801561048b57600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bf57600080fd5b506006546102f890600160a81b900460ff1681565b3480156104e057600080fd5b506102f86104ef366004611f7f565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561051957600080fd5b5060125461033e906001600160a01b031681565b34801561053957600080fd5b506102a360085481565b34801561054f57600080fd5b5061040b61055e366004611f66565b610ab2565b34801561056f57600080fd5b506017546102f89060ff1681565b34801561058957600080fd5b5061040b610598366004611f7f565b610b3d565b3480156105a957600080fd5b506102a36105b8366004611f7f565b6001600160a01b031660009081526020819052604090205490565b3480156105df57600080fd5b5061040b610c3b565b3480156105f457600080fd5b5061040b610603366004611f66565b610c71565b34801561061457600080fd5b5061040b610623366004611f66565b610ca0565b34801561063457600080fd5b506005546001600160a01b031661033e565b34801561065257600080fd5b506102a360165481565b34801561066857600080fd5b506102cb610ccf565b34801561067d57600080fd5b5061040b61068c366004611f9c565b610cde565b34801561069d57600080fd5b506102a3600c5481565b3480156106b357600080fd5b506102f86106c2366004611ec9565b610dd8565b3480156106d357600080fd5b506102f86106e2366004611ec9565b610e71565b3480156106f357600080fd5b5061040b610702366004611f66565b610e7e565b34801561071357600080fd5b506102f8610722366004611f7f565b60146020526000908152604090205460ff1681565b34801561074357600080fd5b506102a3600d5481565b34801561075957600080fd5b506015546102a3565b34801561076e57600080fd5b5061040b61077d366004611f9c565b610f00565b34801561078e57600080fd5b5061040b61079d366004611f4b565b61101f565b3480156107ae57600080fd5b506102a3600a5481565b3480156107c457600080fd5b506102a360115481565b3480156107da57600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561080e57600080fd5b506102a361081d366004611fd1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085457600080fd5b506102a360095481565b34801561086a57600080fd5b5061040b610879366004611f7f565b611096565b60606003805461088d9061200a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b99061200a565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b5050505050905090565b600061091d338484611141565b50600192915050565b6000610933848484611265565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109bd5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109ca8533858403611141565b506001949350505050565b6005546001600160a01b031633146109ff5760405162461bcd60e51b81526004016109b490612044565b6017805460ff19168215159081179091556040519081527f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c0906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161091d918590610a7e90869061208f565b611141565b6005546001600160a01b03163314610aad5760405162461bcd60e51b81526004016109b490612044565b601655565b6005546001600160a01b03163314610adc5760405162461bcd60e51b81526004016109b490612044565b6007819055610af661012c610af060025490565b9061161b565b6007541015610b3a5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b60448201526064016109b4565b50565b6005546001600160a01b03163314610b675760405162461bcd60e51b81526004016109b490612044565b6006546001600160a01b0390811690821603610bde5760405162461bcd60e51b815260206004820152603060248201527f417065436f696e4275726e3a2054686520726f7574657220616c72656164792060448201526f6861732074686174206164647265737360801b60648201526084016109b4565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c655760405162461bcd60e51b81526004016109b490612044565b610c6f6000611627565b565b6005546001600160a01b03163314610c9b5760405162461bcd60e51b81526004016109b490612044565b600955565b6005546001600160a01b03163314610cca5760405162461bcd60e51b81526004016109b490612044565b601555565b60606004805461088d9061200a565b6005546001600160a01b03163314610d085760405162461bcd60e51b81526004016109b490612044565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610dca5760405162461bcd60e51b815260206004820152605260248201527f417065436f696e4275726e3a205468652050616e63616b65537761702070616960448201527f722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617460648201527165644d61726b65744d616b6572506169727360701b608482015260a4016109b4565b610dd48282611679565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e5a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b4565b610e673385858403611141565b5060019392505050565b600061091d338484611265565b6005546001600160a01b03163314610ea85760405162461bcd60e51b81526004016109b490612044565b6008819055610ebc61012c610af060025490565b6008541015610b3a5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b60448201526064016109b4565b6005546001600160a01b03163314610f2a5760405162461bcd60e51b81526004016109b490612044565b6001600160a01b03821660009081526013602052604090205481151560ff909116151503610fc05760405162461bcd60e51b815260206004820152603760248201527f417065436f696e4275726e3a204163636f756e7420697320616c72656164792060448201527f7468652076616c7565206f6620276578636c756465642700000000000000000060648201526084016109b4565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110495760405162461bcd60e51b81526004016109b490612044565b60068054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a3c90831515815260200190565b6005546001600160a01b031633146110c05760405162461bcd60e51b81526004016109b490612044565b6001600160a01b0381166111255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b4565b610b3a81611627565b600061113a828461208f565b9392505050565b6001600160a01b0383166111a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b4565b6001600160a01b0382166112045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661128b5760405162461bcd60e51b81526004016109b4906120a7565b6001600160a01b0382166112b15760405162461bcd60e51b81526004016109b4906120ec565b806000036112ca576112c583836000611771565b505050565b6001600160a01b03831660009081526014602052604090205460ff16801561130b57506001600160a01b03831660009081526013602052604090205460ff16155b801561133057506001600160a01b03821660009081526013602052604090205460ff16155b1561139b5760085481111561139b5760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e74206578636565647320746865206d61784275795472616e73616360448201526a3a34b7b720b6b7bab73a1760a91b60648201526084016109b4565b6001600160a01b03821660009081526014602052604090205460ff1680156113dc57506001600160a01b03831660009081526013602052604090205460ff16155b801561140157506001600160a01b03821660009081526013602052604090205460ff16155b1561146d5760075481111561146d5760405162461bcd60e51b815260206004820152602c60248201527f616d6f756e74206578636565647320746865206d617853656c6c5472616e736160448201526b31ba34b7b720b6b7bab73a1760a11b60648201526084016109b4565b306000908152602081905260409020546009546006549082101590600160a01b900460ff161580156114b757506001600160a01b03841660009081526014602052604090205460ff165b80156114cc5750600654600160a81b900460ff165b1561152d5780156114e55760095491506114e5826118c6565b601754479060ff1680156114fa575060155481115b1561152b5760155481111561150e57506015545b61152b6115266016548361161b90919063ffffffff16565b611a01565b505b6001600160a01b03851660009081526013602052604090205460ff1615801561156f57506001600160a01b03841660009081526013602052604090205460ff16155b15611609576001600160a01b03851660009081526014602052604081205460ff16156115b2576115af6064610af0600d5487611a3390919063ffffffff16565b90505b6001600160a01b03851660009081526014602052604090205460ff16156115f0576115ed6064610af060115487611a3390919063ffffffff16565b90505b6115fa8482611a3f565b9350611607863083611771565b505b611614858585611771565b5050505050565b600061113a828461212f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526014602052604090205481151560ff90911615150361171d5760405162461bcd60e51b815260206004820152604560248201527f417065436f696e4275726e3a204175746f6d61746564206d61726b6574206d6160448201527f6b6572207061697220697320616c72656164792073657420746f20746861742060648201526476616c756560d81b608482015260a4016109b4565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117975760405162461bcd60e51b81526004016109b4906120a7565b6001600160a01b0382166117bd5760405162461bcd60e51b81526004016109b4906120ec565b6001600160a01b038316600090815260208190526040902054818110156118355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b4565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061186c90849061208f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118b891815260200190565b60405180910390a350505050565b6006805460ff60a01b1916600160a01b179055600d54600a546000916118f191610af0908590611a33565b9050600061190082600261161b565b9050600061190e8383611a3f565b90504761191a83611a4b565b60006119264783611a3f565b90506119328382611bd6565b476119456119408888611a3f565b611a4b565b60006119514783611a3f565b601254600c54600b549293506001600160a01b03909116916108fc916119889161197a9161112e565b600b54610af0908690611a33565b6040518115909202916000818181858888f193505050501580156119b0573d6000803e3d6000fd5b5060408051878152602081018590527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a150506006805460ff60a01b19169055505050505050565b6006805460ff60a01b1916600160a01b1790558015611a2357611a2381611c8c565b506006805460ff60a01b19169055565b600061113a8284612151565b600061113a8284612170565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a8057611a80612187565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd919061219d565b81600181518110611b1057611b10612187565b6001600160a01b0392831660209182029290920181019190915260065430600090815260018352604080822092909416815291522054821115611b6757600654611b679030906001600160a01b0316600019611141565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ba09085906000908690309042906004016121fe565b600060405180830381600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b505050505050565b6006546001600160a01b031663f305d719823085600080611bff6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611c67573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611614919061223a565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1a919061219d565b81600081518110611d2d57611d2d612187565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110611d8157611d81612187565b6001600160a01b0392831660209182029290920101526006541663b6f9de95836000847f0000000000000000000000000000000000000000000000000000000000000000611dd14261012c61112e565b6040518663ffffffff1660e01b8152600401611df09493929190612268565b6000604051808303818588803b158015611e0957600080fd5b505af1158015611e1d573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a96248282604051611e5392919061229d565b60405180910390a15050565b600060208083528351808285015260005b81811015611e8c57858101830151858201604001528201611e70565b81811115611e9e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610b3a57600080fd5b60008060408385031215611edc57600080fd5b8235611ee781611eb4565b946020939093013593505050565b600080600060608486031215611f0a57600080fd5b8335611f1581611eb4565b92506020840135611f2581611eb4565b929592945050506040919091013590565b80358015158114611f4657600080fd5b919050565b600060208284031215611f5d57600080fd5b61113a82611f36565b600060208284031215611f7857600080fd5b5035919050565b600060208284031215611f9157600080fd5b813561113a81611eb4565b60008060408385031215611faf57600080fd5b8235611fba81611eb4565b9150611fc860208401611f36565b90509250929050565b60008060408385031215611fe457600080fd5b8235611fef81611eb4565b91506020830135611fff81611eb4565b809150509250929050565b600181811c9082168061201e57607f821691505b60208210810361203e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120a2576120a2612079565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261214c57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561216b5761216b612079565b500290565b60008282101561218257612182612079565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121af57600080fd5b815161113a81611eb4565b600081518084526020808501945080840160005b838110156121f35781516001600160a01b0316875295820195908201906001016121ce565b509495945050505050565b85815284602082015260a06040820152600061221d60a08301866121ba565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561224f57600080fd5b8351925060208401519150604084015190509250925092565b84815260806020820152600061228160808301866121ba565b6001600160a01b03949094166040830152506060015292915050565b8281526040602082015260006122b660408301846121ba565b94935050505056fea26469706673582212207f43d03fa8bc61389c8790306619b3248e6ac05f1c6fcdd5fb6f1c7c4276f43864736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102815760003560e01c806370a082311161014f578063b3b5e043116100c1578063ccb613581161007a578063ccb61358146107a2578063d0a39814146107b8578063d9671ba0146107ce578063dd62ed3e14610802578063e2f4560514610848578063f2fde38b1461085e57600080fd5b8063b3b5e043146106e7578063b62496f514610707578063b9e9370014610737578063bdc653ef1461074d578063c024666814610762578063c49b9a801461078257600080fd5b80639303e1ce116101135780639303e1ce1461064657806395d89b411461065c5780639a7a23d614610671578063a1e2745f14610691578063a457c2d7146106a7578063a9059cbb146106c757600080fd5b806370a082311461059d578063715018a6146105d3578063750c11b6146105e857806382d2a4bb146106085780638da5cb5b1461062857600080fd5b80632a6986b8116101f35780634fbee193116101ac5780634fbee193146104d4578063599270441461050d5780635aa821a91461052d5780635c38ffe2146105435780636053a0e31461056357806365b8dbc01461057d57600080fd5b80632a6986b81461040d578063313ce56714610423578063395093511461043f5780634198d1bb1461045f57806349bd5a5e1461047f5780634a74bb02146104b357600080fd5b806318160ddd1161024557806318160ddd1461035657806319998bbb1461036b5780631d38ff961461038157806323b872dd1461039757806327c8f835146103b757806329370cc6146103eb57600080fd5b806302259e9e1461028d57806306fdde03146102b6578063095ea7b3146102d8578063099d0d30146103085780631694505e1461031e57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a360075481565b6040519081526020015b60405180910390f35b3480156102c257600080fd5b506102cb61087e565b6040516102ad9190611e5f565b3480156102e457600080fd5b506102f86102f3366004611ec9565b610910565b60405190151581526020016102ad565b34801561031457600080fd5b506102a3600e5481565b34801561032a57600080fd5b5060065461033e906001600160a01b031681565b6040516001600160a01b0390911681526020016102ad565b34801561036257600080fd5b506002546102a3565b34801561037757600080fd5b506102a3600f5481565b34801561038d57600080fd5b506102a3600b5481565b3480156103a357600080fd5b506102f86103b2366004611ef5565b610926565b3480156103c357600080fd5b5061033e7f000000000000000000000000000000000000000000000000000000000000dead81565b3480156103f757600080fd5b5061040b610406366004611f4b565b6109d5565b005b34801561041957600080fd5b506102a360105481565b34801561042f57600080fd5b50604051600c81526020016102ad565b34801561044b57600080fd5b506102f861045a366004611ec9565b610a47565b34801561046b57600080fd5b5061040b61047a366004611f66565b610a83565b34801561048b57600080fd5b5061033e7f00000000000000000000000024b875e2fba7d8bb37776a77298f36f9e04b7b4f81565b3480156104bf57600080fd5b506006546102f890600160a81b900460ff1681565b3480156104e057600080fd5b506102f86104ef366004611f7f565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561051957600080fd5b5060125461033e906001600160a01b031681565b34801561053957600080fd5b506102a360085481565b34801561054f57600080fd5b5061040b61055e366004611f66565b610ab2565b34801561056f57600080fd5b506017546102f89060ff1681565b34801561058957600080fd5b5061040b610598366004611f7f565b610b3d565b3480156105a957600080fd5b506102a36105b8366004611f7f565b6001600160a01b031660009081526020819052604090205490565b3480156105df57600080fd5b5061040b610c3b565b3480156105f457600080fd5b5061040b610603366004611f66565b610c71565b34801561061457600080fd5b5061040b610623366004611f66565b610ca0565b34801561063457600080fd5b506005546001600160a01b031661033e565b34801561065257600080fd5b506102a360165481565b34801561066857600080fd5b506102cb610ccf565b34801561067d57600080fd5b5061040b61068c366004611f9c565b610cde565b34801561069d57600080fd5b506102a3600c5481565b3480156106b357600080fd5b506102f86106c2366004611ec9565b610dd8565b3480156106d357600080fd5b506102f86106e2366004611ec9565b610e71565b3480156106f357600080fd5b5061040b610702366004611f66565b610e7e565b34801561071357600080fd5b506102f8610722366004611f7f565b60146020526000908152604090205460ff1681565b34801561074357600080fd5b506102a3600d5481565b34801561075957600080fd5b506015546102a3565b34801561076e57600080fd5b5061040b61077d366004611f9c565b610f00565b34801561078e57600080fd5b5061040b61079d366004611f4b565b61101f565b3480156107ae57600080fd5b506102a3600a5481565b3480156107c457600080fd5b506102a360115481565b3480156107da57600080fd5b5061033e7f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438181565b34801561080e57600080fd5b506102a361081d366004611fd1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561085457600080fd5b506102a360095481565b34801561086a57600080fd5b5061040b610879366004611f7f565b611096565b60606003805461088d9061200a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b99061200a565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b5050505050905090565b600061091d338484611141565b50600192915050565b6000610933848484611265565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109bd5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109ca8533858403611141565b506001949350505050565b6005546001600160a01b031633146109ff5760405162461bcd60e51b81526004016109b490612044565b6017805460ff19168215159081179091556040519081527f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c0906020015b60405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161091d918590610a7e90869061208f565b611141565b6005546001600160a01b03163314610aad5760405162461bcd60e51b81526004016109b490612044565b601655565b6005546001600160a01b03163314610adc5760405162461bcd60e51b81526004016109b490612044565b6007819055610af661012c610af060025490565b9061161b565b6007541015610b3a5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b60448201526064016109b4565b50565b6005546001600160a01b03163314610b675760405162461bcd60e51b81526004016109b490612044565b6006546001600160a01b0390811690821603610bde5760405162461bcd60e51b815260206004820152603060248201527f417065436f696e4275726e3a2054686520726f7574657220616c72656164792060448201526f6861732074686174206164647265737360801b60648201526084016109b4565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610c655760405162461bcd60e51b81526004016109b490612044565b610c6f6000611627565b565b6005546001600160a01b03163314610c9b5760405162461bcd60e51b81526004016109b490612044565b600955565b6005546001600160a01b03163314610cca5760405162461bcd60e51b81526004016109b490612044565b601555565b60606004805461088d9061200a565b6005546001600160a01b03163314610d085760405162461bcd60e51b81526004016109b490612044565b7f00000000000000000000000024b875e2fba7d8bb37776a77298f36f9e04b7b4f6001600160a01b0316826001600160a01b031603610dca5760405162461bcd60e51b815260206004820152605260248201527f417065436f696e4275726e3a205468652050616e63616b65537761702070616960448201527f722063616e6e6f742062652072656d6f7665642066726f6d206175746f6d617460648201527165644d61726b65744d616b6572506169727360701b608482015260a4016109b4565b610dd48282611679565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e5a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b4565b610e673385858403611141565b5060019392505050565b600061091d338484611265565b6005546001600160a01b03163314610ea85760405162461bcd60e51b81526004016109b490612044565b6008819055610ebc61012c610af060025490565b6008541015610b3a5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b60448201526064016109b4565b6005546001600160a01b03163314610f2a5760405162461bcd60e51b81526004016109b490612044565b6001600160a01b03821660009081526013602052604090205481151560ff909116151503610fc05760405162461bcd60e51b815260206004820152603760248201527f417065436f696e4275726e3a204163636f756e7420697320616c72656164792060448201527f7468652076616c7565206f6620276578636c756465642700000000000000000060648201526084016109b4565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110495760405162461bcd60e51b81526004016109b490612044565b60068054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a3c90831515815260200190565b6005546001600160a01b031633146110c05760405162461bcd60e51b81526004016109b490612044565b6001600160a01b0381166111255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b4565b610b3a81611627565b600061113a828461208f565b9392505050565b6001600160a01b0383166111a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b4565b6001600160a01b0382166112045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661128b5760405162461bcd60e51b81526004016109b4906120a7565b6001600160a01b0382166112b15760405162461bcd60e51b81526004016109b4906120ec565b806000036112ca576112c583836000611771565b505050565b6001600160a01b03831660009081526014602052604090205460ff16801561130b57506001600160a01b03831660009081526013602052604090205460ff16155b801561133057506001600160a01b03821660009081526013602052604090205460ff16155b1561139b5760085481111561139b5760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e74206578636565647320746865206d61784275795472616e73616360448201526a3a34b7b720b6b7bab73a1760a91b60648201526084016109b4565b6001600160a01b03821660009081526014602052604090205460ff1680156113dc57506001600160a01b03831660009081526013602052604090205460ff16155b801561140157506001600160a01b03821660009081526013602052604090205460ff16155b1561146d5760075481111561146d5760405162461bcd60e51b815260206004820152602c60248201527f616d6f756e74206578636565647320746865206d617853656c6c5472616e736160448201526b31ba34b7b720b6b7bab73a1760a11b60648201526084016109b4565b306000908152602081905260409020546009546006549082101590600160a01b900460ff161580156114b757506001600160a01b03841660009081526014602052604090205460ff165b80156114cc5750600654600160a81b900460ff165b1561152d5780156114e55760095491506114e5826118c6565b601754479060ff1680156114fa575060155481115b1561152b5760155481111561150e57506015545b61152b6115266016548361161b90919063ffffffff16565b611a01565b505b6001600160a01b03851660009081526013602052604090205460ff1615801561156f57506001600160a01b03841660009081526013602052604090205460ff16155b15611609576001600160a01b03851660009081526014602052604081205460ff16156115b2576115af6064610af0600d5487611a3390919063ffffffff16565b90505b6001600160a01b03851660009081526014602052604090205460ff16156115f0576115ed6064610af060115487611a3390919063ffffffff16565b90505b6115fa8482611a3f565b9350611607863083611771565b505b611614858585611771565b5050505050565b600061113a828461212f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526014602052604090205481151560ff90911615150361171d5760405162461bcd60e51b815260206004820152604560248201527f417065436f696e4275726e3a204175746f6d61746564206d61726b6574206d6160448201527f6b6572207061697220697320616c72656164792073657420746f20746861742060648201526476616c756560d81b608482015260a4016109b4565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117975760405162461bcd60e51b81526004016109b4906120a7565b6001600160a01b0382166117bd5760405162461bcd60e51b81526004016109b4906120ec565b6001600160a01b038316600090815260208190526040902054818110156118355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b4565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061186c90849061208f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118b891815260200190565b60405180910390a350505050565b6006805460ff60a01b1916600160a01b179055600d54600a546000916118f191610af0908590611a33565b9050600061190082600261161b565b9050600061190e8383611a3f565b90504761191a83611a4b565b60006119264783611a3f565b90506119328382611bd6565b476119456119408888611a3f565b611a4b565b60006119514783611a3f565b601254600c54600b549293506001600160a01b03909116916108fc916119889161197a9161112e565b600b54610af0908690611a33565b6040518115909202916000818181858888f193505050501580156119b0573d6000803e3d6000fd5b5060408051878152602081018590527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a150506006805460ff60a01b19169055505050505050565b6006805460ff60a01b1916600160a01b1790558015611a2357611a2381611c8c565b506006805460ff60a01b19169055565b600061113a8284612151565b600061113a8284612170565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a8057611a80612187565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd919061219d565b81600181518110611b1057611b10612187565b6001600160a01b0392831660209182029290920181019190915260065430600090815260018352604080822092909416815291522054821115611b6757600654611b679030906001600160a01b0316600019611141565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ba09085906000908690309042906004016121fe565b600060405180830381600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b505050505050565b6006546001600160a01b031663f305d719823085600080611bff6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611c67573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611614919061223a565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1a919061219d565b81600081518110611d2d57611d2d612187565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000004d224452801aced8b2f0aebe155379bb5d59438181600181518110611d8157611d81612187565b6001600160a01b0392831660209182029290920101526006541663b6f9de95836000847f000000000000000000000000000000000000000000000000000000000000dead611dd14261012c61112e565b6040518663ffffffff1660e01b8152600401611df09493929190612268565b6000604051808303818588803b158015611e0957600080fd5b505af1158015611e1d573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a96248282604051611e5392919061229d565b60405180910390a15050565b600060208083528351808285015260005b81811015611e8c57858101830151858201604001528201611e70565b81811115611e9e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610b3a57600080fd5b60008060408385031215611edc57600080fd5b8235611ee781611eb4565b946020939093013593505050565b600080600060608486031215611f0a57600080fd5b8335611f1581611eb4565b92506020840135611f2581611eb4565b929592945050506040919091013590565b80358015158114611f4657600080fd5b919050565b600060208284031215611f5d57600080fd5b61113a82611f36565b600060208284031215611f7857600080fd5b5035919050565b600060208284031215611f9157600080fd5b813561113a81611eb4565b60008060408385031215611faf57600080fd5b8235611fba81611eb4565b9150611fc860208401611f36565b90509250929050565b60008060408385031215611fe457600080fd5b8235611fef81611eb4565b91506020830135611fff81611eb4565b809150509250929050565b600181811c9082168061201e57607f821691505b60208210810361203e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120a2576120a2612079565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261214c57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561216b5761216b612079565b500290565b60008282101561218257612182612079565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121af57600080fd5b815161113a81611eb4565b600081518084526020808501945080840160005b838110156121f35781516001600160a01b0316875295820195908201906001016121ce565b509495945050505050565b85815284602082015260a06040820152600061221d60a08301866121ba565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561224f57600080fd5b8351925060208401519150604084015190509250925092565b84815260806020820152600061228160808301866121ba565b6001600160a01b03949094166040830152506060015292915050565b8281526040602082015260006122b660408301846121ba565b94935050505056fea26469706673582212207f43d03fa8bc61389c8790306619b3248e6ac05f1c6fcdd5fb6f1c7c4276f43864736f6c634300080d0033

Deployed Bytecode Sourcemap

39725:12164:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39988:63;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;39988:63:0;;;;;;;;5581:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7748:169::-;;;;;;;;;;-1:-1:-1;7748:169:0;;;;;:::i;:::-;;:::i;:::-;;;1419:14:1;;1412:22;1394:41;;1382:2;1367:18;7748:169:0;1254:187:1;40394:35:0;;;;;;;;;;;;;;;;39806:41;;;;;;;;;;-1:-1:-1;39806:41:0;;;;-1:-1:-1;;;;;39806:41:0;;;;;;-1:-1:-1;;;;;1637:32:1;;;1619:51;;1607:2;1592:18;39806:41:0;1446:230:1;6701:108:0;;;;;;;;;;-1:-1:-1;6789:12:0;;6701:108;;40436:30;;;;;;;;;;;;;;;;40230:29;;;;;;;;;;;;;;;;8399:492;;;;;;;;;;-1:-1:-1;8399:492:0;;;;;:::i;:::-;;:::i;40820:81::-;;;;;;;;;;;;;;;51730:150;;;;;;;;;;-1:-1:-1;51730:150:0;;;;;:::i;:::-;;:::i;:::-;;40473:33;;;;;;;;;;;;;;;;6543:93;;;;;;;;;;-1:-1:-1;6543:93:0;;6626:2;2842:36:1;;2830:2;2815:18;6543:93:0;2700:184:1;9300:215:0;;;;;;;;;;-1:-1:-1;9300:215:0;;;;;:::i;:::-;;:::i;51381:105::-;;;;;;;;;;-1:-1:-1;51381:105:0;;;;;:::i;:::-;;:::i;39854:38::-;;;;;;;;;;;;;;;39939:40;;;;;;;;;;-1:-1:-1;39939:40:0;;;;-1:-1:-1;;;39939:40:0;;;;;;44391:125;;;;;;;;;;-1:-1:-1;44391:125:0;;;;;:::i;:::-;-1:-1:-1;;;;;44480:28:0;44456:4;44480:28;;;:19;:28;;;;;;;;;44391:125;40726:87;;;;;;;;;;-1:-1:-1;40726:87:0;;;;-1:-1:-1;;;;;40726:87:0;;;40058:62;;;;;;;;;;;;;;;;50787:226;;;;;;;;;;-1:-1:-1;50787:226:0;;;;;:::i;:::-;;:::i;41367:33::-;;;;;;;;;;-1:-1:-1;41367:33:0;;;;;;;;43139:320;;;;;;;;;;-1:-1:-1;43139:320:0;;;;;:::i;:::-;;:::i;6872:127::-;;;;;;;;;;-1:-1:-1;6872:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;6973:18:0;6946:7;6973:18;;;;;;;;;;;;6872:127;17118:94;;;;;;;;;;;;;:::i;51254:119::-;;;;;;;;;;-1:-1:-1;51254:119:0;;;;;:::i;:::-;;:::i;51494:112::-;;;;;;;;;;-1:-1:-1;51494:112:0;;;;;:::i;:::-;;:::i;16467:87::-;;;;;;;;;;-1:-1:-1;16540:6:0;;-1:-1:-1;;;;;16540:6:0;16467:87;;41319:35;;;;;;;;;;;;;;;;5800:104;;;;;;;;;;;;;:::i;43781:269::-;;;;;;;;;;-1:-1:-1;43781:269:0;;;;;:::i;:::-;;:::i;40266:32::-;;;;;;;;;;;;;;;;10018:413;;;;;;;;;;-1:-1:-1;10018:413:0;;;;;:::i;:::-;;:::i;7212:175::-;;;;;;;;;;-1:-1:-1;7212:175:0;;;;;:::i;:::-;;:::i;51025:221::-;;;;;;;;;;-1:-1:-1;51025:221:0;;;;;:::i;:::-;;:::i;41178:58::-;;;;;;;;;;-1:-1:-1;41178:58:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;40305:80;;;;;;;;;;;;;;;;51614:108;;;;;;;;;;-1:-1:-1;51697:17:0;;51614:108;;43467:303;;;;;;;;;;-1:-1:-1;43467:303:0;;;;;:::i;:::-;;:::i;44527:171::-;;;;;;;;;;-1:-1:-1;44527:171:0;;;;;:::i;:::-;;:::i;40189:34::-;;;;;;;;;;;;;;;;40513:84;;;;;;;;;;;;;;;;40606:86;;;;;;;;;;;;;;;7450:151;;;;;;;;;;-1:-1:-1;7450:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;7566:18:0;;;7539:7;7566:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7450:151;40127:53;;;;;;;;;;;;;;;;17367:192;;;;;;;;;;-1:-1:-1;17367:192:0;;;;;:::i;:::-;;:::i;5581:100::-;5635:13;5668:5;5661:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:100;:::o;7748:169::-;7831:4;7848:39;182:10;7871:7;7880:6;7848:8;:39::i;:::-;-1:-1:-1;7905:4:0;7748:169;;;;:::o;8399:492::-;8539:4;8556:36;8566:6;8574:9;8585:6;8556:9;:36::i;:::-;-1:-1:-1;;;;;8632:19:0;;8605:24;8632:19;;;:11;:19;;;;;;;;182:10;8632:33;;;;;;;;8684:26;;;;8676:79;;;;-1:-1:-1;;;8676:79:0;;4850:2:1;8676:79:0;;;4832:21:1;4889:2;4869:18;;;4862:30;4928:34;4908:18;;;4901:62;-1:-1:-1;;;4979:18:1;;;4972:38;5027:19;;8676:79:0;;;;;;;;;8791:57;8800:6;182:10;8841:6;8822:16;:25;8791:8;:57::i;:::-;-1:-1:-1;8879:4:0;;8399:492;-1:-1:-1;;;;8399:492:0:o;51730:150::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;51800:14:::1;:25:::0;;-1:-1:-1;;51800:25:0::1;::::0;::::1;;::::0;;::::1;::::0;;;51841:31:::1;::::0;1394:41:1;;;51841:31:0::1;::::0;1382:2:1;1367:18;51841:31:0::1;;;;;;;;51730:150:::0;:::o;9300:215::-;182:10;9388:4;9437:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;9437:34:0;;;;;;;;;;9388:4;;9405:80;;9428:7;;9437:47;;9474:10;;9437:47;:::i;:::-;9405:8;:80::i;51381:105::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;51453:15:::1;:25:::0;51381:105::o;50787:226::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;50872:24:::1;:43:::0;;;50962:22:::1;50980:3;50962:13;6789:12:::0;;;6701:108;50962:13:::1;:17:::0;::::1;:22::i;:::-;50934:24;;:50;;50926:79;;;::::0;-1:-1:-1;;;50926:79:0;;5885:2:1;50926:79:0::1;::::0;::::1;5867:21:1::0;5924:2;5904:18;;;5897:30;-1:-1:-1;;;5943:18:1;;;5936:46;5999:18;;50926:79:0::1;5683:340:1::0;50926:79:0::1;50787:226:::0;:::o;43139:320::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;43248:15:::1;::::0;-1:-1:-1;;;;;43248:15:0;;::::1;43226:38:::0;;::::1;::::0;43218:99:::1;;;::::0;-1:-1:-1;;;43218:99:0;;6230:2:1;43218:99:0::1;::::0;::::1;6212:21:1::0;6269:2;6249:18;;;6242:30;6308:34;6288:18;;;6281:62;-1:-1:-1;;;6359:18:1;;;6352:46;6415:19;;43218:99:0::1;6028:412:1::0;43218:99:0::1;43375:15;::::0;43333:59:::1;::::0;-1:-1:-1;;;;;43375:15:0;;::::1;::::0;43333:59;::::1;::::0;::::1;::::0;43375:15:::1;::::0;43333:59:::1;43403:15;:48:::0;;-1:-1:-1;;;;;;43403:48:0::1;-1:-1:-1::0;;;;;43403:48:0;;;::::1;::::0;;;::::1;::::0;;43139:320::o;17118:94::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;17183:21:::1;17201:1;17183:9;:21::i;:::-;17118:94::o:0;51254:119::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;51334:18:::1;:31:::0;51254:119::o;51494:112::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;51570:17:::1;:28:::0;51494:112::o;5800:104::-;5856:13;5889:7;5882:14;;;;;:::i;43781:269::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;43888:13:::1;-1:-1:-1::0;;;;;43880:21:0::1;:4;-1:-1:-1::0;;;;;43880:21:0::1;::::0;43872:116:::1;;;::::0;-1:-1:-1;;;43872:116:0;;6647:2:1;43872:116:0::1;::::0;::::1;6629:21:1::0;6686:2;6666:18;;;6659:30;6725:34;6705:18;;;6698:62;6796:34;6776:18;;;6769:62;-1:-1:-1;;;6847:19:1;;;6840:49;6906:19;;43872:116:0::1;6445:486:1::0;43872:116:0::1;44001:41;44030:4;44036:5;44001:28;:41::i;:::-;43781:269:::0;;:::o;10018:413::-;182:10;10111:4;10155:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10155:34:0;;;;;;;;;;10208:35;;;;10200:85;;;;-1:-1:-1;;;10200:85:0;;7138:2:1;10200:85:0;;;7120:21:1;7177:2;7157:18;;;7150:30;7216:34;7196:18;;;7189:62;-1:-1:-1;;;7267:18:1;;;7260:35;7312:19;;10200:85:0;6936:401:1;10200:85:0;10321:67;182:10;10344:7;10372:15;10353:16;:34;10321:8;:67::i;:::-;-1:-1:-1;10419:4:0;;10018:413;-1:-1:-1;;;10018:413:0:o;7212:175::-;7298:4;7315:42;182:10;7339:9;7350:6;7315:9;:42::i;51025:221::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;51108:23:::1;:41:::0;;;51195:22:::1;51213:3;51195:13;6789:12:::0;;;6701:108;51195:22:::1;51168:23;;:49;;51160:78;;;::::0;-1:-1:-1;;;51160:78:0;;5885:2:1;51160:78:0::1;::::0;::::1;5867:21:1::0;5924:2;5904:18;;;5897:30;-1:-1:-1;;;5943:18:1;;;5936:46;5999:18;;51160:78:0::1;5683:340:1::0;43467:303:0;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43560:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;:40;::::1;;:28;::::0;;::::1;:40;;::::0;43552:108:::1;;;::::0;-1:-1:-1;;;43552:108:0;;7544:2:1;43552:108:0::1;::::0;::::1;7526:21:1::0;7583:2;7563:18;;;7556:30;7622:34;7602:18;;;7595:62;7693:25;7673:18;;;7666:53;7736:19;;43552:108:0::1;7342:419:1::0;43552:108:0::1;-1:-1:-1::0;;;;;43671:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;43671:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;43728:34;;1394:41:1;;;43728:34:0::1;::::0;1367:18:1;43728:34:0::1;;;;;;;43467:303:::0;;:::o;44527:171::-;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;44604:21:::1;:32:::0;;;::::1;;-1:-1:-1::0;;;44604:32:0::1;-1:-1:-1::0;;;;44604:32:0;;::::1;;::::0;;44652:38:::1;::::0;::::1;::::0;::::1;::::0;44628:8;1419:14:1;1412:22;1394:41;;1382:2;1367:18;;1254:187;17367:192:0;16540:6;;-1:-1:-1;;;;;16540:6:0;182:10;16687:23;16679:68;;;;-1:-1:-1;;;16679:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17456:22:0;::::1;17448:73;;;::::0;-1:-1:-1;;;17448:73:0;;7968:2:1;17448:73:0::1;::::0;::::1;7950:21:1::0;8007:2;7987:18;;;7980:30;8046:34;8026:18;;;8019:62;-1:-1:-1;;;8097:18:1;;;8090:36;8143:19;;17448:73:0::1;7766:402:1::0;17448:73:0::1;17532:19;17542:8;17532:9;:19::i;27621:98::-:0;27679:7;27706:5;27710:1;27706;:5;:::i;:::-;27699:12;27621:98;-1:-1:-1;;;27621:98:0:o;13717:380::-;-1:-1:-1;;;;;13853:19:0;;13845:68;;;;-1:-1:-1;;;13845:68:0;;8375:2:1;13845:68:0;;;8357:21:1;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;-1:-1:-1;;;8504:18:1;;;8497:34;8548:19;;13845:68:0;8173:400:1;13845:68:0;-1:-1:-1;;;;;13932:21:0;;13924:68;;;;-1:-1:-1;;;13924:68:0;;8780:2:1;13924:68:0;;;8762:21:1;8819:2;8799:18;;;8792:30;8858:34;8838:18;;;8831:62;-1:-1:-1;;;8909:18:1;;;8902:32;8951:19;;13924:68:0;8578:398:1;13924:68:0;-1:-1:-1;;;;;14005:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14057:32;;160:25:1;;;14057:32:0;;133:18:1;14057:32:0;;;;;;;13717:380;;;:::o;44706:2255::-;-1:-1:-1;;;;;44838:18:0;;44830:68;;;;-1:-1:-1;;;44830:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44917:16:0;;44909:64;;;;-1:-1:-1;;;44909:64:0;;;;;;;:::i;:::-;44989:6;44999:1;44989:11;44986:92;;45017:28;45033:4;45039:2;45043:1;45017:15;:28::i;:::-;44706:2255;;;:::o;44986:92::-;-1:-1:-1;;;;;45101:31:0;;;;;;:25;:31;;;;;;;;:63;;;;-1:-1:-1;;;;;;45138:25:0;;;;;;:19;:25;;;;;;;;45137:26;45101:63;:93;;;;-1:-1:-1;;;;;;45170:23:0;;;;;;:19;:23;;;;;;;;45169:24;45101:93;45098:213;;;45228:23;;45218:6;:33;;45210:89;;;;-1:-1:-1;;;45210:89:0;;9993:2:1;45210:89:0;;;9975:21:1;10032:2;10012:18;;;10005:30;10071:34;10051:18;;;10044:62;-1:-1:-1;;;10122:18:1;;;10115:41;10173:19;;45210:89:0;9791:407:1;45210:89:0;-1:-1:-1;;;;;45326:29:0;;;;;;:25;:29;;;;;;;;:61;;;;-1:-1:-1;;;;;;45361:25:0;;;;;;:19;:25;;;;;;;;45360:26;45326:61;:91;;;;-1:-1:-1;;;;;;45393:23:0;;;;;;:19;:23;;;;;;;;45392:24;45326:91;45323:213;;;45451:24;;45441:6;:34;;45433:91;;;;-1:-1:-1;;;45433:91:0;;10405:2:1;45433:91:0;;;10387:21:1;10444:2;10424:18;;;10417:30;10483:34;10463:18;;;10456:62;-1:-1:-1;;;10534:18:1;;;10527:42;10586:19;;45433:91:0;10203:408:1;45433:91:0;45602:4;45553:28;6973:18;;;;;;;;;;;45680;;45722:16;;45656:42;;;;;-1:-1:-1;;;45722:16:0;;;;45721:17;:50;;;;-1:-1:-1;;;;;;45742:29:0;;;;;;:25;:29;;;;;;;;45721:50;:75;;;;-1:-1:-1;45775:21:0;;-1:-1:-1;;;45775:21:0;;;;45721:75;45718:621;;;45816:19;45813:157;;;45879:18;;45856:41;;45916:36;45931:20;45916:14;:36::i;:::-;46056:14;;46016:21;;46056:14;;:54;;;;;46092:17;;46074:7;:36;46056:54;46052:274;;;46163:17;;46153:7;:27;46149:81;;;-1:-1:-1;46213:17:0;;46149:81;46267:43;46281:28;46293:15;;46281:7;:11;;:28;;;;:::i;:::-;46267:13;:43::i;:::-;45798:541;45718:621;-1:-1:-1;;;;;46441:25:0;;;;;;:19;:25;;;;;;;;46440:26;:54;;;;-1:-1:-1;;;;;;46471:23:0;;;;;;:19;:23;;;;;;;;46470:24;46440:54;46437:469;;;-1:-1:-1;;;;;46542:31:0;;46512:12;46542:31;;;:25;:31;;;;;;;;46539:110;;;46600:33;46629:3;46600:24;46611:12;;46600:6;:10;;:24;;;;:::i;:33::-;46592:41;;46539:110;-1:-1:-1;;;;;46668:29:0;;;;;;:25;:29;;;;;;;;46665:109;;;46724:34;46754:3;46724:25;46735:13;;46724:6;:10;;:25;;;;:::i;:34::-;46716:42;;46665:109;46806:16;:6;46817:4;46806:10;:16::i;:::-;46797:25;;46837:42;46853:4;46867;46874;46837:15;:42::i;:::-;46497:409;46437:469;46918:33;46934:4;46940:2;46944:6;46918:15;:33::i;:::-;44819:2142;;44706:2255;;;:::o;28758:98::-;28816:7;28843:5;28847:1;28843;:5;:::i;17567:173::-;17642:6;;;-1:-1:-1;;;;;17659:17:0;;;-1:-1:-1;;;;;;17659:17:0;;;;;;;17692:40;;17642:6;;;17659:17;17642:6;;17692:40;;17623:16;;17692:40;17612:128;17567:173;:::o;44058:321::-;-1:-1:-1;;;;;44149:31:0;;;;;;:25;:31;;;;;;:40;;;:31;;;;:40;;;44141:122;;;;-1:-1:-1;;;44141:122:0;;11040:2:1;44141:122:0;;;11022:21:1;11079:2;11059:18;;;11052:30;11118:34;11098:18;;;11091:62;11189:34;11169:18;;;11162:62;-1:-1:-1;;;11240:19:1;;;11233:36;11286:19;;44141:122:0;10838:473:1;44141:122:0;-1:-1:-1;;;;;44274:31:0;;;;;;:25;:31;;;;;;:39;;-1:-1:-1;;44274:39:0;;;;;;;;;;44331:40;;44274:39;;:31;44331:40;;;44058:321;;:::o;10921:733::-;-1:-1:-1;;;;;11061:20:0;;11053:70;;;;-1:-1:-1;;;11053:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11142:23:0;;11134:71;;;;-1:-1:-1;;;11134:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11302:17:0;;11278:21;11302:17;;;;;;;;;;;11338:23;;;;11330:74;;;;-1:-1:-1;;;11330:74:0;;11518:2:1;11330:74:0;;;11500:21:1;11557:2;11537:18;;;11530:30;11596:34;11576:18;;;11569:62;-1:-1:-1;;;11647:18:1;;;11640:36;11693:19;;11330:74:0;11316:402:1;11330:74:0;-1:-1:-1;;;;;11440:17:0;;;:9;:17;;;;;;;;;;;11460:22;;;11440:42;;11504:20;;;;;;;;:30;;11476:6;;11440:9;11504:30;;11476:6;;11504:30;:::i;:::-;;;;;;;;11569:9;-1:-1:-1;;;;;11552:35:0;11561:6;-1:-1:-1;;;;;11552:35:0;;11580:6;11552:35;;;;160:25:1;;148:2;133:18;;14:177;11552:35:0;;;;;;;;11042:612;10921:733;;;:::o;46970:1439::-;42054:16;:23;;-1:-1:-1;;;;42054:23:0;-1:-1:-1;;;42054:23:0;;;47130:12:::1;::::0;47109:15:::1;::::0;42054:23;;47084:59:::1;::::0;:41:::1;::::0;:20;;:24:::1;:41::i;:59::-;47055:88:::0;-1:-1:-1;47212:12:0::1;47227:25;47055:88:::0;47250:1:::1;47227:22;:25::i;:::-;47212:40:::0;-1:-1:-1;47263:17:0::1;47283:28;:18:::0;47212:40;47283:22:::1;:28::i;:::-;47263:48:::0;-1:-1:-1;47614:21:0::1;47680:22;47697:4:::0;47680:16:::1;:22::i;:::-;47833:18;47854:41;:21;47880:14:::0;47854:25:::1;:41::i;:::-;47833:62;;47945:35;47958:9;47969:10;47945:12;:35::i;:::-;48066:21;48098:62;48115:44;:20:::0;48140:18;48115:24:::1;:44::i;:::-;48098:16;:62::i;:::-;48172:24;48199:44;:21;48225:17:::0;48199:25:::1;:44::i;:::-;48254:10;::::0;48326:13:::1;::::0;48311:10:::1;::::0;48172:71;;-1:-1:-1;;;;;;48254:10:0;;::::1;::::0;:88:::1;::::0;48274:67:::1;::::0;48311:29:::1;::::0;:14:::1;:29::i;:::-;48295:10;::::0;48274:32:::1;::::0;:16;;:20:::1;:32::i;:67::-;48254:88;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;48368:32:0::1;::::0;;11897:25:1;;;11953:2;11938:18;;11931:34;;;48368:32:0::1;::::0;11870:18:1;48368:32:0::1;;;;;;;-1:-1:-1::0;;42100:16:0;:24;;-1:-1:-1;;;;42100:24:0;;;-1:-1:-1;;;;;;46970:1439:0:o;49518:135::-;42054:16;:23;;-1:-1:-1;;;;42054:23:0;-1:-1:-1;;;42054:23:0;;;49589:10;;49585:61:::1;;49613:24;49630:6;49613:16;:24::i;:::-;-1:-1:-1::0;42100:16:0;:24;;-1:-1:-1;;;;42100:24:0;;;49518:135::o;28359:98::-;28417:7;28444:5;28448:1;28444;:5;:::i;28002:98::-;28060:7;28087:5;28091:1;28087;:5;:::i;48417:694::-;48569:16;;;48583:1;48569:16;;;;;;;;48545:21;;48569:16;;;;;;;;;;-1:-1:-1;48569:16:0;48545:40;;48614:4;48596;48601:1;48596:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;48596:23:0;;;:7;;;;;;;;;;:23;;;;48640:15;;:22;;;-1:-1:-1;;;48640:22:0;;;;:15;;;;;:20;;:22;;;;;48596:7;;48640:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48630:4;48635:1;48630:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;48630:32:0;;;:7;;;;;;;;;;:32;;;;48711:15;;48696:4;7539:7;7566:18;;;:11;:18;;;;;;48711:15;;;;7566:27;;;;;;48731:11;-1:-1:-1;48675:156:0;;;48789:15;;48757:62;;48774:4;;-1:-1:-1;;;;;48789:15:0;-1:-1:-1;;48757:8:0;:62::i;:::-;48869:15;;:224;;-1:-1:-1;;;48869:224:0;;-1:-1:-1;;;;;48869:15:0;;;;:66;;:224;;48950:11;;48869:15;;49020:4;;49047;;49067:15;;48869:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48472:639;48417:694;:::o;49119:391::-;49240:15;;-1:-1:-1;;;;;49240:15:0;:31;49279:9;49312:4;49332:11;49240:15;;49444:7;16540:6;;-1:-1:-1;;;;;16540:6:0;;16467:87;49444:7;49240:252;;;;;;-1:-1:-1;;;;;;49240:252:0;;;-1:-1:-1;;;;;14211:15:1;;;49240:252:0;;;14193:34:1;14243:18;;;14236:34;;;;14286:18;;;14279:34;;;;14329:18;;;14322:34;14393:15;;;14372:19;;;14365:44;49466:15:0;14425:19:1;;;14418:35;14127:19;;49240:252:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;49661:572::-;49806:16;;;49820:1;49806:16;;;;;;;;49782:21;;49806:16;;;;;;;;-1:-1:-1;;49843:15:0;;:22;;;-1:-1:-1;;;49843:22:0;;;;49782:40;;-1:-1:-1;;;;;;49843:15:0;;;;:20;;-1:-1:-1;49843:22:0;;;;;;;;;;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49833:4;49838:1;49833:7;;;;;;;;:::i;:::-;;;;;;:32;-1:-1:-1;;;;;49833:32:0;;;-1:-1:-1;;;;;49833:32:0;;;;;49886:7;49876:4;49881:1;49876:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;49876:17:0;;;:7;;;;;;;;;:17;49930:15;;;:66;50004:6;49930:15;50073:4;50092:11;50134:24;:15;50154:3;50134:19;:24::i;:::-;49930:239;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50195:30;50212:6;50220:4;50195:30;;;;;;;:::i;:::-;;;;;;;;49711:522;49661:572;:::o;196:597:1:-;308:4;337:2;366;355:9;348:21;398:6;392:13;441:6;436:2;425:9;421:18;414:34;466:1;476:140;490:6;487:1;484:13;476:140;;;585:14;;;581:23;;575:30;551:17;;;570:2;547:26;540:66;505:10;;476:140;;;634:6;631:1;628:13;625:91;;;704:1;699:2;690:6;679:9;675:22;671:31;664:42;625:91;-1:-1:-1;777:2:1;756:15;-1:-1:-1;;752:29:1;737:45;;;;784:2;733:54;;196:597;-1:-1:-1;;;196:597:1:o;798:131::-;-1:-1:-1;;;;;873:31:1;;863:42;;853:70;;919:1;916;909:12;934:315;1002:6;1010;1063:2;1051:9;1042:7;1038:23;1034:32;1031:52;;;1079:1;1076;1069:12;1031:52;1118:9;1105:23;1137:31;1162:5;1137:31;:::i;:::-;1187:5;1239:2;1224:18;;;;1211:32;;-1:-1:-1;;;934:315:1:o;1681:456::-;1758:6;1766;1774;1827:2;1815:9;1806:7;1802:23;1798:32;1795:52;;;1843:1;1840;1833:12;1795:52;1882:9;1869:23;1901:31;1926:5;1901:31;:::i;:::-;1951:5;-1:-1:-1;2008:2:1;1993:18;;1980:32;2021:33;1980:32;2021:33;:::i;:::-;1681:456;;2073:7;;-1:-1:-1;;;2127:2:1;2112:18;;;;2099:32;;1681:456::o;2350:160::-;2415:20;;2471:13;;2464:21;2454:32;;2444:60;;2500:1;2497;2490:12;2444:60;2350:160;;;:::o;2515:180::-;2571:6;2624:2;2612:9;2603:7;2599:23;2595:32;2592:52;;;2640:1;2637;2630:12;2592:52;2663:26;2679:9;2663:26;:::i;2889:180::-;2948:6;3001:2;2989:9;2980:7;2976:23;2972:32;2969:52;;;3017:1;3014;3007:12;2969:52;-1:-1:-1;3040:23:1;;2889:180;-1:-1:-1;2889:180:1:o;3074:247::-;3133:6;3186:2;3174:9;3165:7;3161:23;3157:32;3154:52;;;3202:1;3199;3192:12;3154:52;3241:9;3228:23;3260:31;3285:5;3260:31;:::i;3550:315::-;3615:6;3623;3676:2;3664:9;3655:7;3651:23;3647:32;3644:52;;;3692:1;3689;3682:12;3644:52;3731:9;3718:23;3750:31;3775:5;3750:31;:::i;:::-;3800:5;-1:-1:-1;3824:35:1;3855:2;3840:18;;3824:35;:::i;:::-;3814:45;;3550:315;;;;;:::o;3870:388::-;3938:6;3946;3999:2;3987:9;3978:7;3974:23;3970:32;3967:52;;;4015:1;4012;4005:12;3967:52;4054:9;4041:23;4073:31;4098:5;4073:31;:::i;:::-;4123:5;-1:-1:-1;4180:2:1;4165:18;;4152:32;4193:33;4152:32;4193:33;:::i;:::-;4245:7;4235:17;;;3870:388;;;;;:::o;4263:380::-;4342:1;4338:12;;;;4385;;;4406:61;;4460:4;4452:6;4448:17;4438:27;;4406:61;4513:2;4505:6;4502:14;4482:18;4479:38;4476:161;;4559:10;4554:3;4550:20;4547:1;4540:31;4594:4;4591:1;4584:15;4622:4;4619:1;4612:15;4476:161;;4263:380;;;:::o;5057:356::-;5259:2;5241:21;;;5278:18;;;5271:30;5337:34;5332:2;5317:18;;5310:62;5404:2;5389:18;;5057:356::o;5418:127::-;5479:10;5474:3;5470:20;5467:1;5460:31;5510:4;5507:1;5500:15;5534:4;5531:1;5524:15;5550:128;5590:3;5621:1;5617:6;5614:1;5611:13;5608:39;;;5627:18;;:::i;:::-;-1:-1:-1;5663:9:1;;5550:128::o;8981:401::-;9183:2;9165:21;;;9222:2;9202:18;;;9195:30;9261:34;9256:2;9241:18;;9234:62;-1:-1:-1;;;9327:2:1;9312:18;;9305:35;9372:3;9357:19;;8981:401::o;9387:399::-;9589:2;9571:21;;;9628:2;9608:18;;;9601:30;9667:34;9662:2;9647:18;;9640:62;-1:-1:-1;;;9733:2:1;9718:18;;9711:33;9776:3;9761:19;;9387:399::o;10616:217::-;10656:1;10682;10672:132;;10726:10;10721:3;10717:20;10714:1;10707:31;10761:4;10758:1;10751:15;10789:4;10786:1;10779:15;10672:132;-1:-1:-1;10818:9:1;;10616:217::o;11976:168::-;12016:7;12082:1;12078;12074:6;12070:14;12067:1;12064:21;12059:1;12052:9;12045:17;12041:45;12038:71;;;12089:18;;:::i;:::-;-1:-1:-1;12129:9:1;;11976:168::o;12149:125::-;12189:4;12217:1;12214;12211:8;12208:34;;;12222:18;;:::i;:::-;-1:-1:-1;12259:9:1;;12149:125::o;12411:127::-;12472:10;12467:3;12463:20;12460:1;12453:31;12503:4;12500:1;12493:15;12527:4;12524:1;12517:15;12543:251;12613:6;12666:2;12654:9;12645:7;12641:23;12637:32;12634:52;;;12682:1;12679;12672:12;12634:52;12714:9;12708:16;12733:31;12758:5;12733:31;:::i;12799:461::-;12852:3;12890:5;12884:12;12917:6;12912:3;12905:19;12943:4;12972:2;12967:3;12963:12;12956:19;;13009:2;13002:5;12998:14;13030:1;13040:195;13054:6;13051:1;13048:13;13040:195;;;13119:13;;-1:-1:-1;;;;;13115:39:1;13103:52;;13175:12;;;;13210:15;;;;13151:1;13069:9;13040:195;;;-1:-1:-1;13251:3:1;;12799:461;-1:-1:-1;;;;;12799:461:1:o;13265:582::-;13564:6;13553:9;13546:25;13607:6;13602:2;13591:9;13587:18;13580:34;13650:3;13645:2;13634:9;13630:18;13623:31;13527:4;13671:57;13723:3;13712:9;13708:19;13700:6;13671:57;:::i;:::-;-1:-1:-1;;;;;13764:32:1;;;;13759:2;13744:18;;13737:60;-1:-1:-1;13828:3:1;13813:19;13806:35;13663:65;13265:582;-1:-1:-1;;;13265:582:1:o;14464:306::-;14552:6;14560;14568;14621:2;14609:9;14600:7;14596:23;14592:32;14589:52;;;14637:1;14634;14627:12;14589:52;14666:9;14660:16;14650:26;;14716:2;14705:9;14701:18;14695:25;14685:35;;14760:2;14749:9;14745:18;14739:25;14729:35;;14464:306;;;;;:::o;14775:510::-;15046:6;15035:9;15028:25;15089:3;15084:2;15073:9;15069:18;15062:31;15009:4;15110:57;15162:3;15151:9;15147:19;15139:6;15110:57;:::i;:::-;-1:-1:-1;;;;;15203:32:1;;;;15198:2;15183:18;;15176:60;-1:-1:-1;15267:2:1;15252:18;15245:34;15102:65;14775:510;-1:-1:-1;;14775:510:1:o;15290:332::-;15497:6;15486:9;15479:25;15540:2;15535;15524:9;15520:18;15513:30;15460:4;15560:56;15612:2;15601:9;15597:18;15589:6;15560:56;:::i;:::-;15552:64;15290:332;-1:-1:-1;;;;15290:332:1:o

Swarm Source

ipfs://7f43d03fa8bc61389c8790306619b3248e6ac05f1c6fcdd5fb6f1c7c4276f438

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.