ETH Price: $3,873.93 (+0.13%)

Contract

0xc30a798dbDb64cDDd70934001C004A2966F72359
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214056332024-12-15 4:48:237 hrs ago1734238103IN
0xc30a798d...966F72359
0 ETH0.000200577.63100913
Approve214056292024-12-15 4:47:357 hrs ago1734238055IN
0xc30a798d...966F72359
0 ETH0.000191557.88799329
Approve191684412024-02-06 9:54:23313 days ago1707213263IN
0xc30a798d...966F72359
0 ETH0.0006834628.14466585
Approve184699962023-10-31 12:05:35411 days ago1698753935IN
0xc30a798d...966F72359
0 ETH0.0011505824.70762717
Approve181967492023-09-23 6:31:35449 days ago1695450695IN
0xc30a798d...966F72359
0 ETH0.000373118.0122699
Approve178549712023-08-06 9:17:47497 days ago1691313467IN
0xc30a798d...966F72359
0 ETH0.0006808914.62147918
Approve177373012023-07-20 22:17:47513 days ago1689891467IN
0xc30a798d...966F72359
0 ETH0.0006540826.93463088
Approve177313312023-07-20 2:14:35514 days ago1689819275IN
0xc30a798d...966F72359
0 ETH0.0006660714.30335827
Approve176904972023-07-14 8:24:47520 days ago1689323087IN
0xc30a798d...966F72359
0 ETH0.0007497816.19686737
Transfer176904402023-07-14 8:13:11520 days ago1689322391IN
0xc30a798d...966F72359
0 ETH0.0011536415.88193284
Approve176892322023-07-14 4:08:23520 days ago1689307703IN
0xc30a798d...966F72359
0 ETH0.0004928320.2946137
Approve176482482023-07-08 9:47:11526 days ago1688809631IN
0xc30a798d...966F72359
0 ETH0.0008557318.35234234
Approve176482142023-07-08 9:40:11526 days ago1688809211IN
0xc30a798d...966F72359
0 ETH0.0004608917.24404119
Approve176482132023-07-08 9:39:59526 days ago1688809199IN
0xc30a798d...966F72359
0 ETH0.0008283417.76504854
Approve176481952023-07-08 9:36:23526 days ago1688808983IN
0xc30a798d...966F72359
0 ETH0.00100421.53222617
Approve176481712023-07-08 9:31:35526 days ago1688808695IN
0xc30a798d...966F72359
0 ETH0.0010156221.80955405
Approve176471022023-07-08 5:54:47526 days ago1688795687IN
0xc30a798d...966F72359
0 ETH0.0007571116.25836762
Approve175382602023-06-22 22:55:35541 days ago1687474535IN
0xc30a798d...966F72359
0 ETH0.0007786516.69935614
Approve175382462023-06-22 22:52:35541 days ago1687474355IN
0xc30a798d...966F72359
0 ETH0.0008893119.09715266
Approve175382202023-06-22 22:47:23541 days ago1687474043IN
0xc30a798d...966F72359
0 ETH0.0011576624.82759958
Approve175309512023-06-21 22:16:47542 days ago1687385807IN
0xc30a798d...966F72359
0 ETH0.0005980222.42485035
Approve175309492023-06-21 22:16:23542 days ago1687385783IN
0xc30a798d...966F72359
0 ETH0.0010172421.84419999
Approve175205402023-06-20 11:13:47544 days ago1687259627IN
0xc30a798d...966F72359
0 ETH0.0006783214.54755407
Approve175151622023-06-19 17:05:35544 days ago1687194335IN
0xc30a798d...966F72359
0 ETH0.0012137926.03144438
Approve175090012023-06-18 20:20:35545 days ago1687119635IN
0xc30a798d...966F72359
0 ETH0.0007011815.13922667
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
172406492023-05-12 0:39:47583 days ago1683851987
0xc30a798d...966F72359
0.00787189 ETH
172406492023-05-12 0:39:47583 days ago1683851987
0xc30a798d...966F72359
0.00787189 ETH
171925802023-05-05 6:14:23590 days ago1683267263
0xc30a798d...966F72359
0.01929637 ETH
171925802023-05-05 6:14:23590 days ago1683267263
0xc30a798d...966F72359
0.01929637 ETH
171231352023-04-25 12:00:23600 days ago1682424023
0xc30a798d...966F72359
0.01488851 ETH
171231352023-04-25 12:00:23600 days ago1682424023
0xc30a798d...966F72359
0.01488851 ETH
171110222023-04-23 19:14:35601 days ago1682277275
0xc30a798d...966F72359
0.00910349 ETH
171110222023-04-23 19:14:35601 days ago1682277275
0xc30a798d...966F72359
0.00910349 ETH
170937452023-04-21 9:01:11604 days ago1682067671
0xc30a798d...966F72359
0.01011432 ETH
170937452023-04-21 9:01:11604 days ago1682067671
0xc30a798d...966F72359
0.01011432 ETH
170846312023-04-20 1:58:47605 days ago1681955927
0xc30a798d...966F72359
0.01589075 ETH
170846312023-04-20 1:58:47605 days ago1681955927
0xc30a798d...966F72359
0.01589075 ETH
170665612023-04-17 12:41:47607 days ago1681735307
0xc30a798d...966F72359
0.01242552 ETH
170665612023-04-17 12:41:47607 days ago1681735307
0xc30a798d...966F72359
0.01242552 ETH
170314272023-04-12 10:46:35613 days ago1681296395
0xc30a798d...966F72359
0.03222678 ETH
170314272023-04-12 10:46:35613 days ago1681296395
0xc30a798d...966F72359
0.03222678 ETH
170044762023-04-08 15:10:47616 days ago1680966647
0xc30a798d...966F72359
0.01423288 ETH
170044762023-04-08 15:10:47616 days ago1680966647
0xc30a798d...966F72359
0.01423288 ETH
169720052023-04-04 0:23:23621 days ago1680567803
0xc30a798d...966F72359
0.02161791 ETH
169720052023-04-04 0:23:23621 days ago1680567803
0xc30a798d...966F72359
0.02161791 ETH
169665302023-04-03 5:46:47622 days ago1680500807
0xc30a798d...966F72359
0.01741638 ETH
169665302023-04-03 5:46:47622 days ago1680500807
0xc30a798d...966F72359
0.01741638 ETH
169641572023-04-02 21:47:23622 days ago1680472043
0xc30a798d...966F72359
0.02916895 ETH
169641572023-04-02 21:47:23622 days ago1680472043
0xc30a798d...966F72359
0.02916895 ETH
169638152023-04-02 20:38:11622 days ago1680467891
0xc30a798d...966F72359
0.03341974 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DOGSofCRYPTO

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-18
*/

// SPDX-License-Identifier: MIT                                                                         
pragma solidity 0.8.9;
 
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
 
    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
 
interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
 
    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
 
    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
 
    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);
 
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
 
    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);
 
    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);
 
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;
 
    function initialize(address, address) external;
}
 
interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
 
    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
 
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);
 
    function createPair(address tokenA, address tokenB) external returns (address pair);
 
    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
 
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);
 
    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);
 
    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);
 
    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);
 
    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);
 
    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);
 
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);
 
    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
 
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);
 
    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);
 
    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
 
 
contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;
 
    mapping(address => uint256) private _balances;
 
    mapping(address => mapping(address => uint256)) private _allowances;
 
    uint256 private _totalSupply;
 
    string private _name;
    string private _symbol;
 
    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }
 
    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }
 
    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
 
    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }
 
    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
 
    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }
 
    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
 
    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }
 
    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
 
    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
 
    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }
 
    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }
 
    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
 
        _beforeTokenTransfer(sender, recipient, amount);
 
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }
 
    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
 
        _beforeTokenTransfer(address(0), account, amount);
 
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }
 
    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
 
        _beforeTokenTransfer(account, address(0), amount);
 
        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }
 
    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
 
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
 
    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
 
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
 
        return c;
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
 
        return c;
    }
 
    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }
 
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
 
        return c;
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
 
        return c;
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
 
contract Ownable is Context {
    address private _owner;
 
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
 
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
 
    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }
 
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
 
    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
 
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
 
 
 
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);
 
    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;
 
        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }
 
    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);
 
        // Solidity already throws when dividing by 0.
        return a / b;
    }
 
    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }
 
    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }
 
    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
 
 
    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}
 
library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}
 
 
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
 
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
 
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
 
interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);
 
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
 
contract DOGSofCRYPTO is ERC20, Ownable {
    using SafeMath for uint256;
 
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
	// address that will receive the auto added LP tokens
    address private  deadAddress = address(0xC447ae9906275c93350b96cB404AD70d5d978183);
 
    bool private swapping;
 
    address public marketingWallet = address(0x318fA5040f38987078C3c7657da0634e84Ba0bD9);
    address public devWallet = address(0x9fF45f6094D171E7094761d19f09332972F9be44);
    address public boxWallet = address(0x149b615F1FdCc224423E631D066A13bd113c1d38);
 
    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;
 
    uint256 public percentForLPBurn = 25; // 25 = .25%
    bool public lpBurnEnabled = false;
    uint256 public lpBurnFrequency = 7200 seconds;
    uint256 public lastLpBurnTime;
 
    uint256 public manualBurnFrequency = 30 minutes;
    uint256 public lastManualLpBurnTime;
 
    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool public enableEarlySellTax = false;
 
     // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
 
    // Seller Map
    mapping (address => uint256) private _holderFirstBuyTimestamp;
 
    // Blacklist Map
    mapping (address => bool) private _blacklist;
    bool public transferDelayEnabled = true;

    // Box Variable
    bool public boxEnabled = false;
 
    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;
    uint256 public buyBoxFee;
 
    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;
    uint256 public sellBoxFee;
 
    uint256 public earlySellLiquidityFee;
    uint256 public earlySellMarketingFee;
 
    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;
    uint256 public tokensForBox;
 
    // block number of opened trading
    uint256 launchedAt;
 
    /******************/
 
    // exclude from fees and max transaction amount
    mapping (address => bool) private _isExcludedFromFees;
    mapping (address => bool) public _isExcludedMaxTransactionAmount;
 
    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;
 
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
 
    event ExcludeFromFees(address indexed account, bool isExcluded);
 
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
 
    event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet);
 
    event devWalletUpdated(address indexed newWallet, address indexed oldWallet);
 
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
 
    event AutoNukeLP();
 
    event ManualNukeLP();
 
    constructor() ERC20("DOGSofCRYPTO", "DOC") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
 
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
 
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyBoxFee = 0;
        uint256 _sellBoxFee = 0;

        if (boxEnabled) {
             _buyBoxFee = 1;
             _sellBoxFee = 1;
        }
 
        uint256 _buyMarketingFee = 3;
        uint256 _buyLiquidityFee = 1;
        uint256 _buyDevFee = 3;
 
        uint256 _sellMarketingFee = 3;
        uint256 _sellLiquidityFee = 1;
        uint256 _sellDevFee = 3;
 
        uint256 _earlySellLiquidityFee = 1;
        uint256 _earlySellMarketingFee = 11;
 
        uint256 totalSupply = 1 * 1e9 * 1e18;
 
        maxTransactionAmount = totalSupply * 2 / 100; // maxTransactionAmountTxn
        maxWallet = totalSupply * 2 / 100; // maxWallet
        swapTokensAtAmount = totalSupply * 5 / 10000; // swap wallet
 
        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyBoxFee = _buyBoxFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee + buyBoxFee;
 
        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellBoxFee = _sellBoxFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee + sellBoxFee;
 
        earlySellLiquidityFee = _earlySellLiquidityFee;
        earlySellMarketingFee = _earlySellMarketingFee;
 
        marketingWallet = address(0x318fA5040f38987078C3c7657da0634e84Ba0bD9); // set as marketing wallet
        devWallet = address(0x9fF45f6094D171E7094761d19f09332972F9be44); // set as dev wallet
 
        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(devWallet, true);
 
        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(devWallet, true);
 
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }
 
    receive() external payable {
 
    }

    function setBlacklistModifier(address account, bool onOrOff) external onlyOwner {
        _blacklist[account] = onOrOff;
    }
 
    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
        lastLpBurnTime = block.timestamp;
        launchedAt = block.number;
    }
 
    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool){
        limitsInEffect = false;
        return true;
    }

    function setAutoLpReceiver (address receiver) external onlyOwner {
        deadAddress = receiver;
    }
 
    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool){
        transferDelayEnabled = false;
        return true;
    }
 
    function setEarlySellTax(bool onoff) external onlyOwner  {
        enableEarlySellTax = onoff;
    }
 
     // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){
        require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        swapTokensAtAmount = newAmount;
        return true;
    }
 
    function updateMaxTxnAmount(uint256 percentage) external onlyOwner {
        require(percentage < 101, "Max txn can't be more than 100%");
        require(percentage > 0, "Max txn can't be less than 1%");
        maxTransactionAmount = totalSupply() * percentage / 100;
    }
 
    function updateMaxWalletAmount(uint256 percentage) external onlyOwner {
        require(percentage < 101, "Max txn can't be more than 100%");
        require(percentage > 0, "Max txn can't be less than 1%");
        maxWallet = totalSupply() * percentage / 100;
    }
 
    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }
 
    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner(){
        swapEnabled = enabled;
    }
 
    function updateBuyFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee + buyBoxFee;
        require(buyTotalFees <= 99, "Must keep fees at 99% or less");
    }
 
    function updateSellFees(uint256 _marketingFee, uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee + sellBoxFee;
        require(sellTotalFees <= 100, "Must keep fees at 99% or less");
    }
 
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }
 
    function blacklistAccount (address account, bool isBlacklisted) public onlyOwner {
        _blacklist[account] = isBlacklisted;
    }
 
    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
 
        _setAutomatedMarketMakerPair(pair, value);
    }
 
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
 
        emit SetAutomatedMarketMakerPair(pair, value);
    }
 
    function updateMarketingWallet(address newMarketingWallet) external onlyOwner {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }
 
    function updateDevWallet(address newWallet) external onlyOwner {
        emit devWalletUpdated(newWallet, devWallet);
        devWallet = newWallet;
    }
 
 
    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }
 
    event BoughtEarly(address indexed sniper);
 
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!_blacklist[to] && !_blacklist[from], "You have been blacklisted from transfering tokens");
         if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
 
        if(limitsInEffect){
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ){
                if(!tradingActive){
                    require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
                }
 
                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.  
                if (transferDelayEnabled){
                    if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){
                        require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed.");
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }
 
                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                        require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                        require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
 
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                        require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
                }
                else if(!_isExcludedMaxTransactionAmount[to]){
                    require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
                }
            }
        }
 
        // anti bot logic
        if (block.number <= (launchedAt + 1) && 
                to != uniswapV2Pair && 
                to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)
            ) { 
            _blacklist[to] = true;
            emit BoughtEarly(to);
        }
 
        // early sell logic
        bool isBuy = from == uniswapV2Pair;
        if (!isBuy && enableEarlySellTax) {
            if (_holderFirstBuyTimestamp[from] != 0 &&
                (_holderFirstBuyTimestamp[from] + (24 hours) >= block.timestamp))  {
                sellLiquidityFee = earlySellLiquidityFee;
                sellMarketingFee = earlySellMarketingFee;
                sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee + sellBoxFee;
            }
        } else {
            if (_holderFirstBuyTimestamp[to] == 0) {
                _holderFirstBuyTimestamp[to] = block.timestamp;
            }
        }
 
        uint256 contractTokenBalance = balanceOf(address(this));
 
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
 
        if( 
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
 
            swapBack();
 
            swapping = false;
        }
 
        if(!swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && !_isExcludedFromFees[from]){
            autoBurnLiquidityPairTokens();
        }
 
        bool takeFee = !swapping;

        bool walletToWallet = !automatedMarketMakerPairs[to] && !automatedMarketMakerPairs[from];
        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to] || walletToWallet) {
            takeFee = false;
        }
 
        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if(takeFee){
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
                fees = amount.mul(sellTotalFees).div(100);
                tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
                tokensForDev += fees * sellDevFee / sellTotalFees;
                tokensForMarketing += fees * sellMarketingFee / sellTotalFees;
                tokensForBox += fees * sellBoxFee / sellTotalFees;
            }
            // on buy
            else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForDev += fees * buyDevFee / buyTotalFees;
                tokensForMarketing += fees * buyMarketingFee / buyTotalFees;
                tokensForBox += fees * buyBoxFee / buyTotalFees;
            }
 
            if(fees > 0){    
                super._transfer(from, address(this), fees);
            }
 
            amount -= fees;
        }
 
        super._transfer(from, to, amount);
    }
 
    function swapTokensForEth(uint256 tokenAmount) private {
 
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
 
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
 
    }
 
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            deadAddress,
            block.timestamp
        );
    }
 
    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDev;
        bool success;
 
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
 
        if(contractBalance > swapTokensAtAmount * 20){
          contractBalance = swapTokensAtAmount * 20;
        }
 
        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);
 
        uint256 initialETHBalance = address(this).balance;
 
        swapTokensForEth(amountToSwapForETH); 
 
        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
 
        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(totalTokensToSwap);
        uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);
        uint256 ethForBox = ethBalance.mul(tokensForBox).div(totalTokensToSwap);
 
 
        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev - ethForBox;
 
 
        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDev = 0;
        tokensForBox = 0;
 
        (success,) = address(devWallet).call{value: ethForDev}("");
        (success,) = address(boxWallet).call{value: ethForBox}("");
 
        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
        }
 
 
        (success,) = address(marketingWallet).call{value: address(this).balance}("");
    }
 
    function setAutoLPBurnSettings(uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled) external onlyOwner {
        require(_frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes");
        require(_percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%");
        lpBurnFrequency = _frequencyInSeconds;
        percentForLPBurn = _percent;
        lpBurnEnabled = _Enabled;
    }
 
    function autoBurnLiquidityPairTokens() internal returns (bool){
 
        lastLpBurnTime = block.timestamp;
 
        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);
 
        // calculate amount to burn
        uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div(10000);
 
        // pull tokens from pancakePair liquidity and move to dead address permanently
        if (amountToBurn > 0){
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }
 
        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit AutoNukeLP();
        return true;
    }
 
    function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool){
        require(block.timestamp > lastManualLpBurnTime + manualBurnFrequency , "Must wait for cooldown to finish");
        require(percent <= 1000, "May not nuke more than 10% of tokens in LP");
        lastManualLpBurnTime = block.timestamp;
 
        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);
 
        // calculate amount to burn
        uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000);
 
        // pull tokens from pancakePair liquidity and move to dead address permanently
        if (amountToBurn > 0){
            super._transfer(uniswapV2Pair, address(deadAddress), amountToBurn);
        }
 
        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit ManualNukeLP();
        return true;
    }
}

Contract Security Audit

Contract ABI

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

60c0604052600680546001600160a01b031990811673c447ae9906275c93350b96cb404ad70d5d9781831790915560078054821673318fa5040f38987078c3c7657da0634e84ba0bd9179055600880548216739ff45f6094d171e7094761d19f09332972f9be441790556009805490911673149b615f1fdcc224423e631d066a13bd113c1d381790556019600d55600e805460ff19169055611c20600f556107086011556013805463ffffffff191660019081179091556017805461ffff19169091179055348015620000d157600080fd5b506040518060400160405280600c81526020016b444f47536f6643525950544f60a01b81525060405180604001604052806003815260200162444f4360e81b81525081600390805190602001906200012b929190620008b0565b50805162000141906004906020840190620008b0565b505050600062000156620005ce60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d620001c6816001620005d2565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b1580156200020c57600080fd5b505afa15801562000221573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000247919062000956565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200029057600080fd5b505afa158015620002a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cb919062000956565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200031457600080fd5b505af115801562000329573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200034f919062000956565b6001600160a01b031660a08190526200036a906001620005d2565b60a0516200037a9060016200064c565b6017546000908190610100900460ff161562000397575060019050805b600360018180828181600b6b033b2e3c9fd0803ce80000006064620003be82600262000997565b620003ca9190620009b9565b600a556064620003dc82600262000997565b620003e89190620009b9565b600c55612710620003fb82600562000997565b620004079190620009b9565b600b556019899055601a889055601b879055601c8b90558a876200042c8a8c620009dc565b620004389190620009dc565b620004449190620009dc565b601855601e869055601f859055602084905560218a90558984620004698789620009dc565b620004759190620009dc565b620004819190620009dc565b601d5560228390556023829055600780546001600160a01b031990811673318fa5040f38987078c3c7657da0634e84ba0bd91790915560088054909116739ff45f6094d171e7094761d19f09332972f9be44179055620004f5620004ed6005546001600160a01b031690565b6001620006a0565b62000502306001620006a0565b6200051161dead6001620006a0565b6007546200052a906001600160a01b03166001620006a0565b60085462000543906001600160a01b03166001620006a0565b620005626200055a6005546001600160a01b031690565b6001620005d2565b6200056f306001620005d2565b6200057e61dead6001620005d2565b60075462000597906001600160a01b03166001620005d2565b600854620005b0906001600160a01b03166001620005d2565b620005bc33826200074a565b50505050505050505050505062000a34565b3390565b6005546001600160a01b03163314620006215760405162461bcd60e51b815260206004820181905260248201526000805160206200445c83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602a60205260409020805460ff1916911515919091179055565b6001600160a01b0382166000818152602b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620006eb5760405162461bcd60e51b815260206004820181905260248201526000805160206200445c833981519152604482015260640162000618565b6001600160a01b038216600081815260296020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620007a25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000618565b620007be816002546200084660201b62001cf51790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620007f191839062001cf562000846821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080620008558385620009dc565b905083811015620008a95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000618565b9392505050565b828054620008be90620009f7565b90600052602060002090601f016020900481019282620008e257600085556200092d565b82601f10620008fd57805160ff19168380011785556200092d565b828001600101855582156200092d579182015b828111156200092d57825182559160200191906001019062000910565b506200093b9291506200093f565b5090565b5b808211156200093b576000815560010162000940565b6000602082840312156200096957600080fd5b81516001600160a01b0381168114620008a957600080fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620009b457620009b462000981565b500290565b600082620009d757634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620009f257620009f262000981565b500190565b600181811c9082168062000a0c57607f821691505b6020821081141562000a2e57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161399262000aca600039600081816106b00152818161138e01528181611b6c01528181611c1a01528181611c4d015281816120f90152818161245c0152818161250b01528181612fbe0152818161306f015261309b0152600081816104d3015281816120bb01528181613209015281816132d10152818161330d0152818161338701526133ef01526139926000f3fe60806040526004361061042a5760003560e01c80638da5cb5b11610229578063bbc0c7421161012e578063d97e295f116100b6578063f2fde38b1161007a578063f2fde38b14610c3b578063f637434214610c5b578063f8b45b0514610c71578063fcec93bf14610c87578063fe72b27a14610ca757600080fd5b8063d97e295f14610b95578063dd62ed3e14610bb4578063e2f4560514610bfa578063e884f26014610c10578063f11a24d314610c2557600080fd5b8063c876d0b9116100fd578063c876d0b914610b19578063c8c8ebe414610b33578063d257b34f14610b49578063d714541f14610b69578063d85ba06314610b7f57600080fd5b8063bbc0c74214610a9a578063c024666814610ab9578063c17b5b8c14610ad9578063c18bc19514610af957600080fd5b8063a0d82dc5116101b1578063a4c82a0011610180578063a4c82a00146109f3578063a4d15b6414610a09578063a9059cbb14610a2a578063aacebbe314610a4a578063b62496f514610a6a57600080fd5b8063a0d82dc51461097d578063a265777814610993578063a456f9a4146109b3578063a457c2d7146109d357600080fd5b806395d89b41116101f857806395d89b41146109065780639a7a23d61461091b5780639c3b4fdc1461093b5780639ec22c0e146109515780639fccce321461096757600080fd5b80638da5cb5b146108925780638ea5220f146108b057806392136913146108d0578063924de9b7146108e657600080fd5b8063395093511161032f57806370a08231116102b75780637571336a116102865780637571336a1461080757806375f0a874146108275780637bce5a04146108475780638095d5641461085d5780638a8c523c1461087d57600080fd5b806370a0823114610787578063715018a6146107bd578063730c1888146107d2578063751039fc146107f257600080fd5b80634fbee193116102fe5780634fbee19314610702578063541a43cf1461073b5780636a486a8e146107515780636ddd1713146107675780636de906981461061257600080fd5b8063395093511461067e57806349bd5a5e1461069e5780634a62bb65146106d25780634f36b8ea146106ec57600080fd5b80631f3fed8f116103b25780632c3e486c116103815780632c3e486c146105fc5780632d5a5d34146106125780632e82f1a014610632578063313ce5671461064c5780633616bab81461066857600080fd5b80631f3fed8f14610590578063203e727e146105a657806323b872dd146105c65780632bf3d42d146105e657600080fd5b806318160ddd116103f957806318160ddd1461050d5780631816467f1461052c578063184c16c51461054e578063199ffc72146105645780631a8145bb1461057a57600080fd5b806306fdde0314610436578063095ea7b31461046157806310d5de53146104915780631694505e146104c157600080fd5b3661043157005b600080fd5b34801561044257600080fd5b5061044b610cc7565b6040516104589190613476565b60405180910390f35b34801561046d57600080fd5b5061048161047c3660046134e3565b610d59565b6040519015158152602001610458565b34801561049d57600080fd5b506104816104ac36600461350f565b602a6020526000908152604090205460ff1681565b3480156104cd57600080fd5b506104f57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610458565b34801561051957600080fd5b506002545b604051908152602001610458565b34801561053857600080fd5b5061054c61054736600461350f565b610d70565b005b34801561055a57600080fd5b5061051e60115481565b34801561057057600080fd5b5061051e600d5481565b34801561058657600080fd5b5061051e60255481565b34801561059c57600080fd5b5061051e60245481565b3480156105b257600080fd5b5061054c6105c136600461352c565b610e00565b3480156105d257600080fd5b506104816105e1366004613545565b610ef0565b3480156105f257600080fd5b5061051e60235481565b34801561060857600080fd5b5061051e600f5481565b34801561061e57600080fd5b5061054c61062d366004613596565b610f59565b34801561063e57600080fd5b50600e546104819060ff1681565b34801561065857600080fd5b5060405160128152602001610458565b34801561067457600080fd5b5061051e60215481565b34801561068a57600080fd5b506104816106993660046134e3565b610fae565b3480156106aa57600080fd5b506104f57f000000000000000000000000000000000000000000000000000000000000000081565b3480156106de57600080fd5b506013546104819060ff1681565b3480156106f857600080fd5b5061051e601c5481565b34801561070e57600080fd5b5061048161071d36600461350f565b6001600160a01b031660009081526029602052604090205460ff1690565b34801561074757600080fd5b5061051e60225481565b34801561075d57600080fd5b5061051e601d5481565b34801561077357600080fd5b506013546104819062010000900460ff1681565b34801561079357600080fd5b5061051e6107a236600461350f565b6001600160a01b031660009081526020819052604090205490565b3480156107c957600080fd5b5061054c610fe4565b3480156107de57600080fd5b5061054c6107ed3660046135cb565b611058565b3480156107fe57600080fd5b50610481611181565b34801561081357600080fd5b5061054c610822366004613596565b6111be565b34801561083357600080fd5b506007546104f5906001600160a01b031681565b34801561085357600080fd5b5061051e60195481565b34801561086957600080fd5b5061054c610878366004613600565b611213565b34801561088957600080fd5b5061054c6112c8565b34801561089e57600080fd5b506005546001600160a01b03166104f5565b3480156108bc57600080fd5b506008546104f5906001600160a01b031681565b3480156108dc57600080fd5b5061051e601e5481565b3480156108f257600080fd5b5061054c61090136600461362c565b61130d565b34801561091257600080fd5b5061044b611353565b34801561092757600080fd5b5061054c610936366004613596565b611362565b34801561094757600080fd5b5061051e601b5481565b34801561095d57600080fd5b5061051e60125481565b34801561097357600080fd5b5061051e60265481565b34801561098957600080fd5b5061051e60205481565b34801561099f57600080fd5b5061054c6109ae36600461362c565b611442565b3480156109bf57600080fd5b5061054c6109ce36600461350f565b61148a565b3480156109df57600080fd5b506104816109ee3660046134e3565b6114d6565b3480156109ff57600080fd5b5061051e60105481565b348015610a1557600080fd5b50601354610481906301000000900460ff1681565b348015610a3657600080fd5b50610481610a453660046134e3565b611525565b348015610a5657600080fd5b5061054c610a6536600461350f565b611532565b348015610a7657600080fd5b50610481610a8536600461350f565b602b6020526000908152604090205460ff1681565b348015610aa657600080fd5b5060135461048190610100900460ff1681565b348015610ac557600080fd5b5061054c610ad4366004613596565b6115b9565b348015610ae557600080fd5b5061054c610af4366004613600565b611642565b348015610b0557600080fd5b5061054c610b1436600461352c565b6116f2565b348015610b2557600080fd5b506017546104819060ff1681565b348015610b3f57600080fd5b5061051e600a5481565b348015610b5557600080fd5b50610481610b6436600461352c565b6117e2565b348015610b7557600080fd5b5061051e60275481565b348015610b8b57600080fd5b5061051e60185481565b348015610ba157600080fd5b5060175461048190610100900460ff1681565b348015610bc057600080fd5b5061051e610bcf366004613647565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610c0657600080fd5b5061051e600b5481565b348015610c1c57600080fd5b50610481611939565b348015610c3157600080fd5b5061051e601a5481565b348015610c4757600080fd5b5061054c610c5636600461350f565b611976565b348015610c6757600080fd5b5061051e601f5481565b348015610c7d57600080fd5b5061051e600c5481565b348015610c9357600080fd5b506009546104f5906001600160a01b031681565b348015610cb357600080fd5b50610481610cc236600461352c565b611a61565b606060038054610cd690613680565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0290613680565b8015610d4f5780601f10610d2457610100808354040283529160200191610d4f565b820191906000526020600020905b815481529060010190602001808311610d3257829003601f168201915b5050505050905090565b6000610d66338484611d5b565b5060015b92915050565b6005546001600160a01b03163314610da35760405162461bcd60e51b8152600401610d9a906136bb565b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e2a5760405162461bcd60e51b8152600401610d9a906136bb565b60658110610e7a5760405162461bcd60e51b815260206004820152601f60248201527f4d61782074786e2063616e2774206265206d6f7265207468616e2031303025006044820152606401610d9a565b60008111610eca5760405162461bcd60e51b815260206004820152601d60248201527f4d61782074786e2063616e2774206265206c657373207468616e2031250000006044820152606401610d9a565b606481610ed660025490565b610ee09190613706565b610eea9190613725565b600a5550565b6000610efd848484611e80565b610f4f8433610f4a85604051806060016040528060288152602001613910602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612a8e565b611d5b565b5060019392505050565b6005546001600160a01b03163314610f835760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610d66918590610f4a9086611cf5565b6005546001600160a01b0316331461100e5760405162461bcd60e51b8152600401610d9a906136bb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110825760405162461bcd60e51b8152600401610d9a906136bb565b6102588310156110f05760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610d9a565b6103e88211158015611100575060015b6111655760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610d9a565b600f92909255600d55600e805460ff1916911515919091179055565b6005546000906001600160a01b031633146111ae5760405162461bcd60e51b8152600401610d9a906136bb565b506013805460ff19169055600190565b6005546001600160a01b031633146111e85760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b03919091166000908152602a60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461123d5760405162461bcd60e51b8152600401610d9a906136bb565b6019839055601a829055601b819055601c548161125a8486613747565b6112649190613747565b61126e9190613747565b6018819055606310156112c35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d9a565b505050565b6005546001600160a01b031633146112f25760405162461bcd60e51b8152600401610d9a906136bb565b6013805462ffff001916620101001790554260105543602855565b6005546001600160a01b031633146113375760405162461bcd60e51b8152600401610d9a906136bb565b60138054911515620100000262ff000019909216919091179055565b606060048054610cd690613680565b6005546001600160a01b0316331461138c5760405162461bcd60e51b8152600401610d9a906136bb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156114345760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610d9a565b61143e8282612ac8565b5050565b6005546001600160a01b0316331461146c5760405162461bcd60e51b8152600401610d9a906136bb565b6013805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b031633146114b45760405162461bcd60e51b8152600401610d9a906136bb565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610d663384610f4a85604051806060016040528060258152602001613938602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612a8e565b6000610d66338484611e80565b6005546001600160a01b0316331461155c5760405162461bcd60e51b8152600401610d9a906136bb565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115e35760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b038216600081815260296020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461166c5760405162461bcd60e51b8152600401610d9a906136bb565b601e839055601f8290556020819055602154816116898486613747565b6116939190613747565b61169d9190613747565b601d819055606410156112c35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d9a565b6005546001600160a01b0316331461171c5760405162461bcd60e51b8152600401610d9a906136bb565b6065811061176c5760405162461bcd60e51b815260206004820152601f60248201527f4d61782074786e2063616e2774206265206d6f7265207468616e2031303025006044820152606401610d9a565b600081116117bc5760405162461bcd60e51b815260206004820152601d60248201527f4d61782074786e2063616e2774206265206c657373207468616e2031250000006044820152606401610d9a565b6064816117c860025490565b6117d29190613706565b6117dc9190613725565b600c5550565b6005546000906001600160a01b0316331461180f5760405162461bcd60e51b8152600401610d9a906136bb565b620186a061181c60025490565b611827906001613706565b6118319190613725565b82101561189e5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610d9a565b6103e86118aa60025490565b6118b5906005613706565b6118bf9190613725565b82111561192b5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610d9a565b50600b81905560015b919050565b6005546000906001600160a01b031633146119665760405162461bcd60e51b8152600401610d9a906136bb565b506017805460ff19169055600190565b6005546001600160a01b031633146119a05760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b038116611a055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d9a565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314611a8e5760405162461bcd60e51b8152600401610d9a906136bb565b601154601254611a9e9190613747565b4211611aec5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610d9a565b6103e8821115611b515760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610d9a565b426012556040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260009030906370a082319060240160206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef919061375f565b90506000611c09612710611c038487612b1c565b90612b9b565b90508015611c4957600654611c49907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031683612bdd565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ca957600080fd5b505af1158015611cbd573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b600080611d028385613747565b905083811015611d545760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d9a565b9392505050565b6001600160a01b038316611dbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d9a565b6001600160a01b038216611e1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d9a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611ea65760405162461bcd60e51b8152600401610d9a90613778565b6001600160a01b038216611ecc5760405162461bcd60e51b8152600401610d9a906137bd565b6001600160a01b03821660009081526016602052604090205460ff16158015611f0e57506001600160a01b03831660009081526016602052604090205460ff16155b611f745760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610d9a565b80611f85576112c383836000612bdd565b60135460ff1615612442576005546001600160a01b03848116911614801590611fbc57506005546001600160a01b03838116911614155b8015611fd057506001600160a01b03821615155b8015611fe757506001600160a01b03821661dead14155b8015611ffd5750600654600160a01b900460ff16155b1561244257601354610100900460ff16612095576001600160a01b03831660009081526029602052604090205460ff168061205057506001600160a01b03821660009081526029602052604090205460ff165b6120955760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610d9a565b60175460ff16156121dc576005546001600160a01b038381169116148015906120f057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561212e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156121dc573260009081526014602052604090205443116121c95760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610d9a565b3260009081526014602052604090204390555b6001600160a01b0383166000908152602b602052604090205460ff16801561221d57506001600160a01b0382166000908152602a602052604090205460ff16155b1561230157600a548111156122925760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610d9a565b600c546001600160a01b0383166000908152602081905260409020546122b89083613747565b11156122fc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d9a565b612442565b6001600160a01b0382166000908152602b602052604090205460ff16801561234257506001600160a01b0383166000908152602a602052604090205460ff16155b156123b857600a548111156122fc5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610d9a565b6001600160a01b0382166000908152602a602052604090205460ff1661244257600c546001600160a01b0383166000908152602081905260409020546123fe9083613747565b11156124425760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d9a565b602854612450906001613747565b431115801561249157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b80156124ba57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15612509576001600160a01b038216600081815260166020526040808220805460ff19166001179055517fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e29190a25b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169084161480158161254f57506013546301000000900460ff165b156125e7576001600160a01b038416600090815260156020526040902054158015906125a157506001600160a01b038416600090815260156020526040902054429061259e9062015180613747565b10155b156125e257602254601f819055602354601e819055602154602054909290916125ca9190613747565b6125d49190613747565b6125de9190613747565b601d555b612620565b6001600160a01b038316600090815260156020526040902054612620576001600160a01b03831660009081526015602052604090204290555b30600090815260208190526040902054600b548110801590819061264c575060135462010000900460ff165b80156126625750600654600160a01b900460ff16155b801561268757506001600160a01b0386166000908152602b602052604090205460ff16155b80156126ac57506001600160a01b03861660009081526029602052604090205460ff16155b80156126d157506001600160a01b03851660009081526029602052604090205460ff16155b156126ff576006805460ff60a01b1916600160a01b1790556126f1612ce6565b6006805460ff60a01b191690555b600654600160a01b900460ff1615801561273157506001600160a01b0385166000908152602b602052604090205460ff165b801561273f5750600e5460ff165b801561275a5750600f546010546127569190613747565b4210155b801561277f57506001600160a01b03861660009081526029602052604090205460ff16155b1561278e5761278c612fa3565b505b6006546001600160a01b0386166000908152602b602052604081205460ff600160a01b90930483161592161580156127df57506001600160a01b0388166000908152602b602052604090205460ff16155b6001600160a01b03891660009081526029602052604090205490915060ff168061282157506001600160a01b03871660009081526029602052604090205460ff165b806128295750805b1561283357600091505b60008215612a78576001600160a01b0388166000908152602b602052604090205460ff16801561286557506000601d54115b1561294d576128846064611c03601d548a612b1c90919063ffffffff16565b9050601d54601f54826128979190613706565b6128a19190613725565b602560008282546128b29190613747565b9091555050601d546020546128c79083613706565b6128d19190613725565b602660008282546128e29190613747565b9091555050601d54601e546128f79083613706565b6129019190613725565b602460008282546129129190613747565b9091555050601d546021546129279083613706565b6129319190613725565b602760008282546129429190613747565b90915550612a5a9050565b6001600160a01b0389166000908152602b602052604090205460ff16801561297757506000601854115b15612a5a576129966064611c036018548a612b1c90919063ffffffff16565b9050601854601a54826129a99190613706565b6129b39190613725565b602560008282546129c49190613747565b9091555050601854601b546129d99083613706565b6129e39190613725565b602660008282546129f49190613747565b9091555050601854601954612a099083613706565b612a139190613725565b60246000828254612a249190613747565b9091555050601854601c54612a399083613706565b612a439190613725565b60276000828254612a549190613747565b90915550505b8015612a6b57612a6b893083612bdd565b612a758188613800565b96505b612a83898989612bdd565b505050505050505050565b60008184841115612ab25760405162461bcd60e51b8152600401610d9a9190613476565b506000612abf8486613800565b95945050505050565b6001600160a01b0382166000818152602b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600082612b2b57506000610d6a565b6000612b378385613706565b905082612b448583613725565b14611d545760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d9a565b6000611d5483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613142565b6001600160a01b038316612c035760405162461bcd60e51b8152600401610d9a90613778565b6001600160a01b038216612c295760405162461bcd60e51b8152600401610d9a906137bd565b612c66816040518060600160405280602681526020016138ea602691396001600160a01b0386166000908152602081905260409020549190612a8e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612c959082611cf5565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611e73565b3060009081526020819052604081205490506000602654602454602554612d0d9190613747565b612d179190613747565b90506000821580612d26575081155b15612d3057505050565b600b54612d3e906014613706565b831115612d5657600b54612d53906014613706565b92505b600060028360255486612d699190613706565b612d739190613725565b612d7d9190613725565b90506000612d8b8583613170565b905047612d97826131b2565b6000612da34783613170565b90506000612dc087611c0360245485612b1c90919063ffffffff16565b90506000612ddd88611c0360265486612b1c90919063ffffffff16565b90506000612dfa89611c0360275487612b1c90919063ffffffff16565b905060008183612e0a8688613800565b612e149190613800565b612e1e9190613800565b600060258190556024819055602681905560278190556008546040519293506001600160a01b031691859181818185875af1925050503d8060008114612e80576040519150601f19603f3d011682016040523d82523d6000602084013e612e85565b606091505b5050600954604051919a506001600160a01b0316908390600081818185875af1925050503d8060008114612ed5576040519150601f19603f3d011682016040523d82523d6000602084013e612eda565b606091505b50909950508715801590612eee5750600081115b15612f4157612efd8882613381565b602554604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612f8e576040519150601f19603f3d011682016040523d82523d6000602084013e612f93565b606091505b5050505050505050505050505050565b426010556040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819030906370a082319060240160206040518083038186803b15801561300b57600080fd5b505afa15801561301f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613043919061375f565b90506000613062612710611c03600d5485612b1c90919063ffffffff16565b90508015613097576130977f000000000000000000000000000000000000000000000000000000000000000061dead83612bdd565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156130f757600080fd5b505af115801561310b573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b600081836131635760405162461bcd60e51b8152600401610d9a9190613476565b506000612abf8486613725565b6000611d5483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a8e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106131e7576131e7613817565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561326057600080fd5b505afa158015613274573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613298919061382d565b816001815181106132ab576132ab613817565b60200260200101906001600160a01b031690816001600160a01b0316815250506132f6307f000000000000000000000000000000000000000000000000000000000000000084611d5b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061334b90859060009086903090429060040161384a565b600060405180830381600087803b15801561336557600080fd5b505af1158015613379573d6000803e3d6000fd5b505050505050565b6133ac307f000000000000000000000000000000000000000000000000000000000000000084611d5b565b60065460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c4016060604051808303818588803b15801561343657600080fd5b505af115801561344a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061346f91906138bb565b5050505050565b600060208083528351808285015260005b818110156134a357858101830151858201604001528201613487565b818111156134b5576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146134e057600080fd5b50565b600080604083850312156134f657600080fd5b8235613501816134cb565b946020939093013593505050565b60006020828403121561352157600080fd5b8135611d54816134cb565b60006020828403121561353e57600080fd5b5035919050565b60008060006060848603121561355a57600080fd5b8335613565816134cb565b92506020840135613575816134cb565b929592945050506040919091013590565b8035801515811461193457600080fd5b600080604083850312156135a957600080fd5b82356135b4816134cb565b91506135c260208401613586565b90509250929050565b6000806000606084860312156135e057600080fd5b83359250602084013591506135f760408501613586565b90509250925092565b60008060006060848603121561361557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561363e57600080fd5b611d5482613586565b6000806040838503121561365a57600080fd5b8235613665816134cb565b91506020830135613675816134cb565b809150509250929050565b600181811c9082168061369457607f821691505b602082108114156136b557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613720576137206136f0565b500290565b60008261374257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561375a5761375a6136f0565b500190565b60006020828403121561377157600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613812576138126136f0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561383f57600080fd5b8151611d54816134cb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561389a5784516001600160a01b031683529383019391830191600101613875565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156138d057600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220eda6b7bd4f4b671e7a8346d090b779e06db68371eef8c82546e9f1ddc79b0a7f64736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x60806040526004361061042a5760003560e01c80638da5cb5b11610229578063bbc0c7421161012e578063d97e295f116100b6578063f2fde38b1161007a578063f2fde38b14610c3b578063f637434214610c5b578063f8b45b0514610c71578063fcec93bf14610c87578063fe72b27a14610ca757600080fd5b8063d97e295f14610b95578063dd62ed3e14610bb4578063e2f4560514610bfa578063e884f26014610c10578063f11a24d314610c2557600080fd5b8063c876d0b9116100fd578063c876d0b914610b19578063c8c8ebe414610b33578063d257b34f14610b49578063d714541f14610b69578063d85ba06314610b7f57600080fd5b8063bbc0c74214610a9a578063c024666814610ab9578063c17b5b8c14610ad9578063c18bc19514610af957600080fd5b8063a0d82dc5116101b1578063a4c82a0011610180578063a4c82a00146109f3578063a4d15b6414610a09578063a9059cbb14610a2a578063aacebbe314610a4a578063b62496f514610a6a57600080fd5b8063a0d82dc51461097d578063a265777814610993578063a456f9a4146109b3578063a457c2d7146109d357600080fd5b806395d89b41116101f857806395d89b41146109065780639a7a23d61461091b5780639c3b4fdc1461093b5780639ec22c0e146109515780639fccce321461096757600080fd5b80638da5cb5b146108925780638ea5220f146108b057806392136913146108d0578063924de9b7146108e657600080fd5b8063395093511161032f57806370a08231116102b75780637571336a116102865780637571336a1461080757806375f0a874146108275780637bce5a04146108475780638095d5641461085d5780638a8c523c1461087d57600080fd5b806370a0823114610787578063715018a6146107bd578063730c1888146107d2578063751039fc146107f257600080fd5b80634fbee193116102fe5780634fbee19314610702578063541a43cf1461073b5780636a486a8e146107515780636ddd1713146107675780636de906981461061257600080fd5b8063395093511461067e57806349bd5a5e1461069e5780634a62bb65146106d25780634f36b8ea146106ec57600080fd5b80631f3fed8f116103b25780632c3e486c116103815780632c3e486c146105fc5780632d5a5d34146106125780632e82f1a014610632578063313ce5671461064c5780633616bab81461066857600080fd5b80631f3fed8f14610590578063203e727e146105a657806323b872dd146105c65780632bf3d42d146105e657600080fd5b806318160ddd116103f957806318160ddd1461050d5780631816467f1461052c578063184c16c51461054e578063199ffc72146105645780631a8145bb1461057a57600080fd5b806306fdde0314610436578063095ea7b31461046157806310d5de53146104915780631694505e146104c157600080fd5b3661043157005b600080fd5b34801561044257600080fd5b5061044b610cc7565b6040516104589190613476565b60405180910390f35b34801561046d57600080fd5b5061048161047c3660046134e3565b610d59565b6040519015158152602001610458565b34801561049d57600080fd5b506104816104ac36600461350f565b602a6020526000908152604090205460ff1681565b3480156104cd57600080fd5b506104f57f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610458565b34801561051957600080fd5b506002545b604051908152602001610458565b34801561053857600080fd5b5061054c61054736600461350f565b610d70565b005b34801561055a57600080fd5b5061051e60115481565b34801561057057600080fd5b5061051e600d5481565b34801561058657600080fd5b5061051e60255481565b34801561059c57600080fd5b5061051e60245481565b3480156105b257600080fd5b5061054c6105c136600461352c565b610e00565b3480156105d257600080fd5b506104816105e1366004613545565b610ef0565b3480156105f257600080fd5b5061051e60235481565b34801561060857600080fd5b5061051e600f5481565b34801561061e57600080fd5b5061054c61062d366004613596565b610f59565b34801561063e57600080fd5b50600e546104819060ff1681565b34801561065857600080fd5b5060405160128152602001610458565b34801561067457600080fd5b5061051e60215481565b34801561068a57600080fd5b506104816106993660046134e3565b610fae565b3480156106aa57600080fd5b506104f57f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd81565b3480156106de57600080fd5b506013546104819060ff1681565b3480156106f857600080fd5b5061051e601c5481565b34801561070e57600080fd5b5061048161071d36600461350f565b6001600160a01b031660009081526029602052604090205460ff1690565b34801561074757600080fd5b5061051e60225481565b34801561075d57600080fd5b5061051e601d5481565b34801561077357600080fd5b506013546104819062010000900460ff1681565b34801561079357600080fd5b5061051e6107a236600461350f565b6001600160a01b031660009081526020819052604090205490565b3480156107c957600080fd5b5061054c610fe4565b3480156107de57600080fd5b5061054c6107ed3660046135cb565b611058565b3480156107fe57600080fd5b50610481611181565b34801561081357600080fd5b5061054c610822366004613596565b6111be565b34801561083357600080fd5b506007546104f5906001600160a01b031681565b34801561085357600080fd5b5061051e60195481565b34801561086957600080fd5b5061054c610878366004613600565b611213565b34801561088957600080fd5b5061054c6112c8565b34801561089e57600080fd5b506005546001600160a01b03166104f5565b3480156108bc57600080fd5b506008546104f5906001600160a01b031681565b3480156108dc57600080fd5b5061051e601e5481565b3480156108f257600080fd5b5061054c61090136600461362c565b61130d565b34801561091257600080fd5b5061044b611353565b34801561092757600080fd5b5061054c610936366004613596565b611362565b34801561094757600080fd5b5061051e601b5481565b34801561095d57600080fd5b5061051e60125481565b34801561097357600080fd5b5061051e60265481565b34801561098957600080fd5b5061051e60205481565b34801561099f57600080fd5b5061054c6109ae36600461362c565b611442565b3480156109bf57600080fd5b5061054c6109ce36600461350f565b61148a565b3480156109df57600080fd5b506104816109ee3660046134e3565b6114d6565b3480156109ff57600080fd5b5061051e60105481565b348015610a1557600080fd5b50601354610481906301000000900460ff1681565b348015610a3657600080fd5b50610481610a453660046134e3565b611525565b348015610a5657600080fd5b5061054c610a6536600461350f565b611532565b348015610a7657600080fd5b50610481610a8536600461350f565b602b6020526000908152604090205460ff1681565b348015610aa657600080fd5b5060135461048190610100900460ff1681565b348015610ac557600080fd5b5061054c610ad4366004613596565b6115b9565b348015610ae557600080fd5b5061054c610af4366004613600565b611642565b348015610b0557600080fd5b5061054c610b1436600461352c565b6116f2565b348015610b2557600080fd5b506017546104819060ff1681565b348015610b3f57600080fd5b5061051e600a5481565b348015610b5557600080fd5b50610481610b6436600461352c565b6117e2565b348015610b7557600080fd5b5061051e60275481565b348015610b8b57600080fd5b5061051e60185481565b348015610ba157600080fd5b5060175461048190610100900460ff1681565b348015610bc057600080fd5b5061051e610bcf366004613647565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610c0657600080fd5b5061051e600b5481565b348015610c1c57600080fd5b50610481611939565b348015610c3157600080fd5b5061051e601a5481565b348015610c4757600080fd5b5061054c610c5636600461350f565b611976565b348015610c6757600080fd5b5061051e601f5481565b348015610c7d57600080fd5b5061051e600c5481565b348015610c9357600080fd5b506009546104f5906001600160a01b031681565b348015610cb357600080fd5b50610481610cc236600461352c565b611a61565b606060038054610cd690613680565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0290613680565b8015610d4f5780601f10610d2457610100808354040283529160200191610d4f565b820191906000526020600020905b815481529060010190602001808311610d3257829003601f168201915b5050505050905090565b6000610d66338484611d5b565b5060015b92915050565b6005546001600160a01b03163314610da35760405162461bcd60e51b8152600401610d9a906136bb565b60405180910390fd5b6008546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e2a5760405162461bcd60e51b8152600401610d9a906136bb565b60658110610e7a5760405162461bcd60e51b815260206004820152601f60248201527f4d61782074786e2063616e2774206265206d6f7265207468616e2031303025006044820152606401610d9a565b60008111610eca5760405162461bcd60e51b815260206004820152601d60248201527f4d61782074786e2063616e2774206265206c657373207468616e2031250000006044820152606401610d9a565b606481610ed660025490565b610ee09190613706565b610eea9190613725565b600a5550565b6000610efd848484611e80565b610f4f8433610f4a85604051806060016040528060288152602001613910602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612a8e565b611d5b565b5060019392505050565b6005546001600160a01b03163314610f835760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610d66918590610f4a9086611cf5565b6005546001600160a01b0316331461100e5760405162461bcd60e51b8152600401610d9a906136bb565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146110825760405162461bcd60e51b8152600401610d9a906136bb565b6102588310156110f05760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610d9a565b6103e88211158015611100575060015b6111655760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610d9a565b600f92909255600d55600e805460ff1916911515919091179055565b6005546000906001600160a01b031633146111ae5760405162461bcd60e51b8152600401610d9a906136bb565b506013805460ff19169055600190565b6005546001600160a01b031633146111e85760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b03919091166000908152602a60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461123d5760405162461bcd60e51b8152600401610d9a906136bb565b6019839055601a829055601b819055601c548161125a8486613747565b6112649190613747565b61126e9190613747565b6018819055606310156112c35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d9a565b505050565b6005546001600160a01b031633146112f25760405162461bcd60e51b8152600401610d9a906136bb565b6013805462ffff001916620101001790554260105543602855565b6005546001600160a01b031633146113375760405162461bcd60e51b8152600401610d9a906136bb565b60138054911515620100000262ff000019909216919091179055565b606060048054610cd690613680565b6005546001600160a01b0316331461138c5760405162461bcd60e51b8152600401610d9a906136bb565b7f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd6001600160a01b0316826001600160a01b031614156114345760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610d9a565b61143e8282612ac8565b5050565b6005546001600160a01b0316331461146c5760405162461bcd60e51b8152600401610d9a906136bb565b6013805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b031633146114b45760405162461bcd60e51b8152600401610d9a906136bb565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610d663384610f4a85604051806060016040528060258152602001613938602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612a8e565b6000610d66338484611e80565b6005546001600160a01b0316331461155c5760405162461bcd60e51b8152600401610d9a906136bb565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115e35760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b038216600081815260296020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461166c5760405162461bcd60e51b8152600401610d9a906136bb565b601e839055601f8290556020819055602154816116898486613747565b6116939190613747565b61169d9190613747565b601d819055606410156112c35760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610d9a565b6005546001600160a01b0316331461171c5760405162461bcd60e51b8152600401610d9a906136bb565b6065811061176c5760405162461bcd60e51b815260206004820152601f60248201527f4d61782074786e2063616e2774206265206d6f7265207468616e2031303025006044820152606401610d9a565b600081116117bc5760405162461bcd60e51b815260206004820152601d60248201527f4d61782074786e2063616e2774206265206c657373207468616e2031250000006044820152606401610d9a565b6064816117c860025490565b6117d29190613706565b6117dc9190613725565b600c5550565b6005546000906001600160a01b0316331461180f5760405162461bcd60e51b8152600401610d9a906136bb565b620186a061181c60025490565b611827906001613706565b6118319190613725565b82101561189e5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610d9a565b6103e86118aa60025490565b6118b5906005613706565b6118bf9190613725565b82111561192b5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610d9a565b50600b81905560015b919050565b6005546000906001600160a01b031633146119665760405162461bcd60e51b8152600401610d9a906136bb565b506017805460ff19169055600190565b6005546001600160a01b031633146119a05760405162461bcd60e51b8152600401610d9a906136bb565b6001600160a01b038116611a055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d9a565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546000906001600160a01b03163314611a8e5760405162461bcd60e51b8152600401610d9a906136bb565b601154601254611a9e9190613747565b4211611aec5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610d9a565b6103e8821115611b515760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610d9a565b426012556040516370a0823160e01b81526001600160a01b037f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd16600482015260009030906370a082319060240160206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef919061375f565b90506000611c09612710611c038487612b1c565b90612b9b565b90508015611c4957600654611c49907f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd906001600160a01b031683612bdd565b60007f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd9050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ca957600080fd5b505af1158015611cbd573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1506001949350505050565b600080611d028385613747565b905083811015611d545760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d9a565b9392505050565b6001600160a01b038316611dbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d9a565b6001600160a01b038216611e1e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d9a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611ea65760405162461bcd60e51b8152600401610d9a90613778565b6001600160a01b038216611ecc5760405162461bcd60e51b8152600401610d9a906137bd565b6001600160a01b03821660009081526016602052604090205460ff16158015611f0e57506001600160a01b03831660009081526016602052604090205460ff16155b611f745760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610d9a565b80611f85576112c383836000612bdd565b60135460ff1615612442576005546001600160a01b03848116911614801590611fbc57506005546001600160a01b03838116911614155b8015611fd057506001600160a01b03821615155b8015611fe757506001600160a01b03821661dead14155b8015611ffd5750600654600160a01b900460ff16155b1561244257601354610100900460ff16612095576001600160a01b03831660009081526029602052604090205460ff168061205057506001600160a01b03821660009081526029602052604090205460ff165b6120955760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610d9a565b60175460ff16156121dc576005546001600160a01b038381169116148015906120f057507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561212e57507f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd6001600160a01b0316826001600160a01b031614155b156121dc573260009081526014602052604090205443116121c95760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610d9a565b3260009081526014602052604090204390555b6001600160a01b0383166000908152602b602052604090205460ff16801561221d57506001600160a01b0382166000908152602a602052604090205460ff16155b1561230157600a548111156122925760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610d9a565b600c546001600160a01b0383166000908152602081905260409020546122b89083613747565b11156122fc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d9a565b612442565b6001600160a01b0382166000908152602b602052604090205460ff16801561234257506001600160a01b0383166000908152602a602052604090205460ff16155b156123b857600a548111156122fc5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610d9a565b6001600160a01b0382166000908152602a602052604090205460ff1661244257600c546001600160a01b0383166000908152602081905260409020546123fe9083613747565b11156124425760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610d9a565b602854612450906001613747565b431115801561249157507f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd6001600160a01b0316826001600160a01b031614155b80156124ba57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15612509576001600160a01b038216600081815260166020526040808220805460ff19166001179055517fb90badc1cf1c52268f4fa9afb5276aebf640bcca3300cdfc9cf37db17daa13e29190a25b7f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd6001600160a01b039081169084161480158161254f57506013546301000000900460ff165b156125e7576001600160a01b038416600090815260156020526040902054158015906125a157506001600160a01b038416600090815260156020526040902054429061259e9062015180613747565b10155b156125e257602254601f819055602354601e819055602154602054909290916125ca9190613747565b6125d49190613747565b6125de9190613747565b601d555b612620565b6001600160a01b038316600090815260156020526040902054612620576001600160a01b03831660009081526015602052604090204290555b30600090815260208190526040902054600b548110801590819061264c575060135462010000900460ff165b80156126625750600654600160a01b900460ff16155b801561268757506001600160a01b0386166000908152602b602052604090205460ff16155b80156126ac57506001600160a01b03861660009081526029602052604090205460ff16155b80156126d157506001600160a01b03851660009081526029602052604090205460ff16155b156126ff576006805460ff60a01b1916600160a01b1790556126f1612ce6565b6006805460ff60a01b191690555b600654600160a01b900460ff1615801561273157506001600160a01b0385166000908152602b602052604090205460ff165b801561273f5750600e5460ff165b801561275a5750600f546010546127569190613747565b4210155b801561277f57506001600160a01b03861660009081526029602052604090205460ff16155b1561278e5761278c612fa3565b505b6006546001600160a01b0386166000908152602b602052604081205460ff600160a01b90930483161592161580156127df57506001600160a01b0388166000908152602b602052604090205460ff16155b6001600160a01b03891660009081526029602052604090205490915060ff168061282157506001600160a01b03871660009081526029602052604090205460ff165b806128295750805b1561283357600091505b60008215612a78576001600160a01b0388166000908152602b602052604090205460ff16801561286557506000601d54115b1561294d576128846064611c03601d548a612b1c90919063ffffffff16565b9050601d54601f54826128979190613706565b6128a19190613725565b602560008282546128b29190613747565b9091555050601d546020546128c79083613706565b6128d19190613725565b602660008282546128e29190613747565b9091555050601d54601e546128f79083613706565b6129019190613725565b602460008282546129129190613747565b9091555050601d546021546129279083613706565b6129319190613725565b602760008282546129429190613747565b90915550612a5a9050565b6001600160a01b0389166000908152602b602052604090205460ff16801561297757506000601854115b15612a5a576129966064611c036018548a612b1c90919063ffffffff16565b9050601854601a54826129a99190613706565b6129b39190613725565b602560008282546129c49190613747565b9091555050601854601b546129d99083613706565b6129e39190613725565b602660008282546129f49190613747565b9091555050601854601954612a099083613706565b612a139190613725565b60246000828254612a249190613747565b9091555050601854601c54612a399083613706565b612a439190613725565b60276000828254612a549190613747565b90915550505b8015612a6b57612a6b893083612bdd565b612a758188613800565b96505b612a83898989612bdd565b505050505050505050565b60008184841115612ab25760405162461bcd60e51b8152600401610d9a9190613476565b506000612abf8486613800565b95945050505050565b6001600160a01b0382166000818152602b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600082612b2b57506000610d6a565b6000612b378385613706565b905082612b448583613725565b14611d545760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d9a565b6000611d5483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613142565b6001600160a01b038316612c035760405162461bcd60e51b8152600401610d9a90613778565b6001600160a01b038216612c295760405162461bcd60e51b8152600401610d9a906137bd565b612c66816040518060600160405280602681526020016138ea602691396001600160a01b0386166000908152602081905260409020549190612a8e565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612c959082611cf5565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611e73565b3060009081526020819052604081205490506000602654602454602554612d0d9190613747565b612d179190613747565b90506000821580612d26575081155b15612d3057505050565b600b54612d3e906014613706565b831115612d5657600b54612d53906014613706565b92505b600060028360255486612d699190613706565b612d739190613725565b612d7d9190613725565b90506000612d8b8583613170565b905047612d97826131b2565b6000612da34783613170565b90506000612dc087611c0360245485612b1c90919063ffffffff16565b90506000612ddd88611c0360265486612b1c90919063ffffffff16565b90506000612dfa89611c0360275487612b1c90919063ffffffff16565b905060008183612e0a8688613800565b612e149190613800565b612e1e9190613800565b600060258190556024819055602681905560278190556008546040519293506001600160a01b031691859181818185875af1925050503d8060008114612e80576040519150601f19603f3d011682016040523d82523d6000602084013e612e85565b606091505b5050600954604051919a506001600160a01b0316908390600081818185875af1925050503d8060008114612ed5576040519150601f19603f3d011682016040523d82523d6000602084013e612eda565b606091505b50909950508715801590612eee5750600081115b15612f4157612efd8882613381565b602554604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612f8e576040519150601f19603f3d011682016040523d82523d6000602084013e612f93565b606091505b5050505050505050505050505050565b426010556040516370a0823160e01b81526001600160a01b037f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd166004820152600090819030906370a082319060240160206040518083038186803b15801561300b57600080fd5b505afa15801561301f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613043919061375f565b90506000613062612710611c03600d5485612b1c90919063ffffffff16565b90508015613097576130977f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd61dead83612bdd565b60007f00000000000000000000000020c97ce51768d80ed560998b787b4c10916f52cd9050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156130f757600080fd5b505af115801561310b573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b600081836131635760405162461bcd60e51b8152600401610d9a9190613476565b506000612abf8486613725565b6000611d5483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a8e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106131e7576131e7613817565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561326057600080fd5b505afa158015613274573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613298919061382d565b816001815181106132ab576132ab613817565b60200260200101906001600160a01b031690816001600160a01b0316815250506132f6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611d5b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061334b90859060009086903090429060040161384a565b600060405180830381600087803b15801561336557600080fd5b505af1158015613379573d6000803e3d6000fd5b505050505050565b6133ac307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611d5b565b60065460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c4016060604051808303818588803b15801561343657600080fd5b505af115801561344a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061346f91906138bb565b5050505050565b600060208083528351808285015260005b818110156134a357858101830151858201604001528201613487565b818111156134b5576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146134e057600080fd5b50565b600080604083850312156134f657600080fd5b8235613501816134cb565b946020939093013593505050565b60006020828403121561352157600080fd5b8135611d54816134cb565b60006020828403121561353e57600080fd5b5035919050565b60008060006060848603121561355a57600080fd5b8335613565816134cb565b92506020840135613575816134cb565b929592945050506040919091013590565b8035801515811461193457600080fd5b600080604083850312156135a957600080fd5b82356135b4816134cb565b91506135c260208401613586565b90509250929050565b6000806000606084860312156135e057600080fd5b83359250602084013591506135f760408501613586565b90509250925092565b60008060006060848603121561361557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561363e57600080fd5b611d5482613586565b6000806040838503121561365a57600080fd5b8235613665816134cb565b91506020830135613675816134cb565b809150509250929050565b600181811c9082168061369457607f821691505b602082108114156136b557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613720576137206136f0565b500290565b60008261374257634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561375a5761375a6136f0565b500190565b60006020828403121561377157600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613812576138126136f0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561383f57600080fd5b8151611d54816134cb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561389a5784516001600160a01b031683529383019391830191600101613875565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156138d057600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220eda6b7bd4f4b671e7a8346d090b779e06db68371eef8c82546e9f1ddc79b0a7f64736f6c63430008090033

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.