ETH Price: $3,405.36 (+1.41%)
Gas: 8 Gwei

Token

ProofOfAlien.Life (LIFE)
 

Overview

Max Total Supply

11,000,000,000 LIFE

Holders

391

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
583,661.521946468822231168 LIFE

Value
$0.00
0x18cc535992dcc8f098b0a06beeb129cd7b773cef
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Developing evidence gathering tools like the worlds first UFO hunting camera to collect extensive reliable data and cultivating the world's leading UAP fact finding community... all seeking the answer to the humanities greatest question.... ARE. WE. ALONE?

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LIFE

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Life.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

pragma solidity >=0.5.0;

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

pragma solidity >=0.6.2;

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

pragma solidity >=0.6.2;

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 LIFE is ERC20, Ownable {
    using SafeMath for uint256;

    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool private swapping;

    uint256 public swapTokensAtAmount;
    uint256 public maxWalletAmount;
    
    uint256 public buyTotalFees;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;

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

    uint256 constant FEE_DIVISOR = 10000;

    uint256 private tokensForDev;
    uint256 private tokensForLiquidity;

    address payable private devAddress = payable(0x7CE540dd1e91AcE7414f638CFe6a8f2ccD3A61bd);
    address payable private liquidityReceiver = payable(0x00A4778E0c59563C2C79732bA27189825D9bFcBc);
    address public immutable uniswapV2Pair;

    IUniswapV2Router02 public immutable uniswapV2Router;

    
    mapping (address => bool) private _isExcludedFromFees;

    mapping (address => bool) public automatedMarketMakerPairs;

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event EnabledTrading();
    event SwapEnabled(bool isEnabled);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event UpdatedBuyFee(uint256 newAmount);
    event UpdatedSellFee(uint256 newAmount);
    event UpdatedDevAddress(address indexed newWallet);
    event UpdatedLiquidityReceiver(address indexed newWallet);

    constructor(address addy1, address addy2, address addy3, address addy4) ERC20("ProofOfAlien.Life", "LIFE") {
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Uniswap V2
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

        setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 totalSupply = 11e9 * (10**18);

        maxWalletAmount = totalSupply * 12 / 1000; // 1.2%
        swapTokensAtAmount = totalSupply * 2 / 10000; // 0.02%

        buyLiquidityFee = 100;
        buyDevFee = 300;
        buyTotalFees = buyLiquidityFee + buyDevFee;

        sellLiquidityFee = 100;
        sellDevFee = 300;
        sellTotalFees = sellLiquidityFee + sellDevFee;

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(address(devAddress), true);
        excludeFromFees(address(liquidityReceiver), true);
        excludeFromFees(address(uniswapV2Router), true);

        _mint(owner(), totalSupply);

        super._transfer(_msgSender(), addy1, totalSupply.mul(2).div(100));
        super._transfer(_msgSender(), addy2, totalSupply.mul(2).div(100));
        super._transfer(_msgSender(), addy3, totalSupply.mul(2).div(100));
        super._transfer(_msgSender(), addy4, totalSupply.mul(2).div(100));
    }

    receive() external payable {}
    fallback() external payable {}

    function enableTrading() external onlyOwner {
        require(!tradingActive, "Trading active");
        tradingActive = true;
        swapEnabled = true;
        emit EnabledTrading();
    }

    function setSwapEnabled(bool isEnabled) external onlyOwner {
        swapEnabled = isEnabled;
        emit SwapEnabled(isEnabled);
    }
    
    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
  	    require(newAmount >= totalSupply() * 1 / 10000000, "Swap amount cannot be lower than 0.00001% total supply.");
  	    require(newAmount <= totalSupply() * 1 / 1000, "Swap amount cannot be higher than 0.1% total supply.");
  	    swapTokensAtAmount = newAmount;
  	}
    
    function updateMaxWalletAmount(uint256 newAmount) external onlyOwner {
  	    require(newAmount >= totalSupply() * 1 / 100, "Max wallet amount cannot be lower than 1% total supply.");
  	    maxWalletAmount = newAmount;
  	}

    function setDevAddress(address _devAddress) external onlyOwner {
        require(_devAddress != address(0), "address cannot be 0");
        devAddress = payable(_devAddress);
        excludeFromFees(devAddress, true);
        emit UpdatedDevAddress(_devAddress);
    }

    function setLiquidityReceiver(address _liquidityReceiver) external onlyOwner {
        require(_liquidityReceiver != address(0), "address cannot be 0");
        liquidityReceiver = payable(_liquidityReceiver);
        excludeFromFees(liquidityReceiver, true);
        emit UpdatedLiquidityReceiver(_liquidityReceiver);
    }

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair || value, "Cannot be remove from automatedMarketMakerPairs");
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateBuyFees(uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        require(buyTotalFees <= 1000, "Fee too high");
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyTotalFees = buyLiquidityFee + buyDevFee;
        emit UpdatedBuyFee(buyTotalFees);
    }

    function updateSellFees(uint256 _liquidityFee, uint256 _devFee) external onlyOwner {
        require(sellTotalFees <= 1000, "Fee too high");
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellTotalFees = sellLiquidityFee + sellDevFee;
        emit UpdatedSellFee(sellTotalFees);
    }

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

    function unstuckETH() public onlyOwner {
        bool success;
        (success,) = address(_msgSender()).call{value: address(this).balance}("");
    }

    function unstuckForeignTokens(address tokenAddress) public onlyOwner {
        require(tokenAddress != address(this), "Cannot withdraw this token");
        require(IERC20(tokenAddress).balanceOf(address(this)) > 0, "No tokens");
        uint amount = IERC20(tokenAddress).balanceOf(address(this));
        IERC20(tokenAddress).transfer(_msgSender(), amount);
    }

    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(amount > 0, "ERC20: Transfer amount must be greater than zero");
        
        if(!tradingActive) {
            require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
        }

        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            super._transfer(from, to, amount);
            return;
        }

        uint256 fees = 0;

        if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { // sell
            fees = amount * sellTotalFees / FEE_DIVISOR;
            tokensForLiquidity = fees * sellLiquidityFee / sellTotalFees;
            tokensForDev += fees * sellDevFee / sellTotalFees;
        } else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { // buy
            require((balanceOf(to) + amount) <= maxWalletAmount);

        	fees = amount * buyTotalFees / FEE_DIVISOR;
        	tokensForLiquidity = fees * buyLiquidityFee / buyTotalFees;
            tokensForDev += fees * buyDevFee / buyTotalFees;
        }

        uint256 contractBalance = balanceOf(address(this));
        bool canSwap = contractBalance >= swapTokensAtAmount;

        if(canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to]) {
            swapping = true;
            _swapBackETH(contractBalance);
            swapping = false;
        }

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

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

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

    function _swapBackETH(uint256 contractBalance) internal {
        bool success;
        uint256 totalTokensToSwap = tokensForLiquidity.add(tokensForDev);
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

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

        uint256 liquidityTokens = contractBalance.mul(tokensForLiquidity).div(totalTokensToSwap).div(2);
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);
        
        uint256 initialETHBalance = address(this).balance;
    
        _swapTokensForETH(amountToSwapForETH);
        
        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);
        uint256 ethForLiquidity = ethBalance.sub(ethForDev);

        tokensForDev = 0;
        tokensForLiquidity = 0;
        
        if(liquidityTokens > 0 && ethForLiquidity > 0) _addLiquidity(liquidityTokens, ethForLiquidity);

        if(ethForDev > 0) {
            (success, ) = devAddress.call{value: address(this).balance}("");
        }
    }

    function _swapTokensForETH(uint256 tokenAmount) internal {
        // 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) internal {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            liquidityReceiver,
            block.timestamp
        );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"addy1","type":"address"},{"internalType":"address","name":"addy2","type":"address"},{"internalType":"address","name":"addy3","type":"address"},{"internalType":"address","name":"addy4","type":"address"}],"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":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"bool","name":"isEnabled","type":"bool"}],"name":"SwapEnabled","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":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedBuyFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedLiquidityReceiver","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedSellFee","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"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":"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":"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":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityReceiver","type":"address"}],"name":"setLiquidityReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setSwapEnabled","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":"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":[],"name":"unstuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"unstuckForeignTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526005805461ffff60a01b19169055601080546001600160a01b0319908116737ce540dd1e91ace7414f638cfe6a8f2ccd3a61bd179091556011805490911672a4778e0c59563c2c79732ba27189825d9bfcbc1790553480156200006657600080fd5b5060405162002e8838038062002e88833981016040819052620000899162000913565b6040518060400160405280601181526020017050726f6f664f66416c69656e2e4c69666560781b815250604051806040016040528060048152602001634c49464560e01b8152508160039081620000e1919062000a14565b506004620000f0828262000a14565b5050506200010d620001076200047a60201b60201c565b6200047e565b737a250d5630b4cf539739df2c5dacb4c659f2488d60a08190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000163573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000189919062000ae0565b6001600160a01b031663c9c653963060a0516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ff919062000ae0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200024d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000273919062000ae0565b6001600160a01b031660808190526200028e906001620004d0565b6b238afc9addf5829df80000006103e8620002ab82600c62000b14565b620002b7919062000b2e565b600755612710620002ca82600262000b14565b620002d6919062000b2e565b6006556064600981905561012c600a819055620002f39162000b51565b6008556064600c81905561012c600d819055620003109162000b51565b600b55620003326200032a6005546001600160a01b031690565b6001620005b9565b6200033f306001620005b9565b6200034e61dead6001620005b9565b60105462000367906001600160a01b03166001620005b9565b60115462000380906001600160a01b03166001620005b9565b60a05162000390906001620005b9565b620003ae620003a76005546001600160a01b031690565b8262000622565b620003fa3386620003e96064620003d5600287620006d460201b6200129f1790919060201c565b620006eb60201b620012b21790919060201c565b620006f960201b620012be1760201c565b620004213385620003e96064620003d5600287620006d460201b6200129f1790919060201c565b620004483384620003e96064620003d5600287620006d460201b6200129f1790919060201c565b6200046f3383620003e96064620003d5600287620006d460201b6200129f1790919060201c565b505050505062000b67565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004da62000893565b6080516001600160a01b0316826001600160a01b0316141580620004fb5750805b620005655760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f742062652072656d6f76652066726f6d206175746f6d617465644d60448201526e61726b65744d616b6572506169727360881b60648201526084015b60405180910390fd5b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b620005c362000893565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200067a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200055c565b80600260008282546200068e919062000b51565b90915550506001600160a01b0382166000818152602081815260408083208054860190555184815260008051602062002e68833981519152910160405180910390a35050565b6000620006e2828462000b14565b90505b92915050565b6000620006e2828462000b2e565b6001600160a01b0383166200075f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016200055c565b6001600160a01b038216620007c35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016200055c565b6001600160a01b038316600090815260208190526040902054818110156200083d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016200055c565b6001600160a01b038481166000818152602081815260408083208787039055938716808352918490208054870190559251858152909260008051602062002e68833981519152910160405180910390a350505050565b6005546001600160a01b03163314620008ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200055c565b565b505050565b80516001600160a01b03811681146200090e57600080fd5b919050565b600080600080608085870312156200092a57600080fd5b6200093585620008f6565b93506200094560208601620008f6565b92506200095560408601620008f6565b91506200096560608601620008f6565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200099b57607f821691505b602082108103620009bc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008f157600081815260208120601f850160051c81016020861015620009eb5750805b601f850160051c820191505b8181101562000a0c57828155600101620009f7565b505050505050565b81516001600160401b0381111562000a305762000a3062000970565b62000a488162000a41845462000986565b84620009c2565b602080601f83116001811462000a80576000841562000a675750858301515b600019600386901b1c1916600185901b17855562000a0c565b600085815260208120601f198616915b8281101562000ab15788860151825594840194600190910190840162000a90565b508582101562000ad05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000af357600080fd5b620006e282620008f6565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006e557620006e562000afe565b60008262000b4c57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620006e557620006e562000afe565b60805160a0516122b162000bb7600039600081816102bd01528181611cc301528181611d7c01528181611db801528181611e2a0152611e920152600081816103a40152610c7c01526122b16000f3fe6080604052600436106102275760003560e01c80639a7a23d611610122578063c18bc195116100a5578063e01af92c1161006c578063e01af92c146106c7578063e2f45605146106e7578063f11a24d3146106fd578063f2fde38b14610713578063f63743421461073357005b8063c18bc19514610631578063d0d41fe114610651578063d257b34f14610671578063d85ba06314610691578063dd62ed3e146106a757005b8063aa4bde28116100e9578063aa4bde281461058a578063b57e3682146105a0578063b62496f5146105c0578063bbc0c742146105f0578063c02466681461061157005b80639a7a23d6146104fe5780639c3b4fdc1461051e578063a0d82dc514610534578063a457c2d71461054a578063a9059cbb1461056a57005b80634fbee193116101aa578063715018a611610171578063715018a61461048c57806382bcedb5146104a15780638a8c523c146104b65780638da5cb5b146104cb57806395d89b41146104e957005b80634fbee193146103c657806366ca9b83146103ff5780636a486a8e1461041f5780636ddd17131461043557806370a082311461045657005b806323b872dd116101ee57806323b872dd146103165780632b7db9aa14610336578063313ce56714610356578063395093511461037257806349bd5a5e1461039257005b806302dbd8f81461023057806306fdde0314610250578063095ea7b31461027b5780631694505e146102ab57806318160ddd146102f757005b3661022e57005b005b34801561023c57600080fd5b5061022e61024b366004611f0a565b610749565b34801561025c57600080fd5b506102656107ea565b6040516102729190611f2c565b60405180910390f35b34801561028757600080fd5b5061029b610296366004611f8f565b61087c565b6040519015158152602001610272565b3480156102b757600080fd5b506102df7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610272565b34801561030357600080fd5b506002545b604051908152602001610272565b34801561032257600080fd5b5061029b610331366004611fbb565b610896565b34801561034257600080fd5b5061022e610351366004611ffc565b6108ba565b34801561036257600080fd5b5060405160128152602001610272565b34801561037e57600080fd5b5061029b61038d366004611f8f565b610ab1565b34801561039e57600080fd5b506102df7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d257600080fd5b5061029b6103e1366004611ffc565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561040b57600080fd5b5061022e61041a366004611f0a565b610ad3565b34801561042b57600080fd5b50610308600b5481565b34801561044157600080fd5b5060055461029b90600160a81b900460ff1681565b34801561046257600080fd5b50610308610471366004611ffc565b6001600160a01b031660009081526020819052604090205490565b34801561049857600080fd5b5061022e610b67565b3480156104ad57600080fd5b5061022e610b7b565b3480156104c257600080fd5b5061022e610bd0565b3480156104d757600080fd5b506005546001600160a01b03166102df565b3480156104f557600080fd5b50610265610c63565b34801561050a57600080fd5b5061022e610519366004612027565b610c72565b34801561052a57600080fd5b50610308600a5481565b34801561054057600080fd5b50610308600d5481565b34801561055657600080fd5b5061029b610565366004611f8f565b610d70565b34801561057657600080fd5b5061029b610585366004611f8f565b610deb565b34801561059657600080fd5b5061030860075481565b3480156105ac57600080fd5b5061022e6105bb366004611ffc565b610df9565b3480156105cc57600080fd5b5061029b6105db366004611ffc565b60136020526000908152604090205460ff1681565b3480156105fc57600080fd5b5060055461029b90600160a01b900460ff1681565b34801561061d57600080fd5b5061022e61062c366004612027565b610ead565b34801561063d57600080fd5b5061022e61064c366004612060565b610f14565b34801561065d57600080fd5b5061022e61066c366004611ffc565b610fb6565b34801561067d57600080fd5b5061022e61068c366004612060565b61106a565b34801561069d57600080fd5b5061030860085481565b3480156106b357600080fd5b506103086106c2366004612079565b61119b565b3480156106d357600080fd5b5061022e6106e23660046120a7565b6111c6565b3480156106f357600080fd5b5061030860065481565b34801561070957600080fd5b5061030860095481565b34801561071f57600080fd5b5061022e61072e366004611ffc565b611226565b34801561073f57600080fd5b50610308600c5481565b610751611463565b6103e8600b5411156107995760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b60448201526064015b60405180910390fd5b600c829055600d8190556107ad81836120da565b600b8190556040519081527f274faecd49018fb411281f27986b6b4acc86e5db4100735531acd18b7b6d5f93906020015b60405180910390a15050565b6060600380546107f9906120ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906120ed565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b60003361088a8185856114bd565b60019150505b92915050565b6000336108a48582856115e1565b6108af858585611655565b506001949350505050565b6108c2611463565b306001600160a01b0382160361091a5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e0000000000006044820152606401610790565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612127565b116109be5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610790565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190612127565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac9190612140565b505050565b60003361088a818585610ac4838361119b565b610ace91906120da565b6114bd565b610adb611463565b6103e86008541115610b1e5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610790565b6009829055600a819055610b3281836120da565b60088190556040519081527f03cd3090e7c409e4a7ffd2d90ff610979f4a94a87a512188b7b615671bfb772f906020016107de565b610b6f611463565b610b796000611aa1565b565b610b83611463565b604051600090339047908381818185875af1925050503d8060008114610bc5576040519150601f19603f3d011682016040523d82523d6000602084013e610bca565b606091505b50505050565b610bd8611463565b600554600160a01b900460ff1615610c235760405162461bcd60e51b815260206004820152600e60248201526d54726164696e672061637469766560901b6044820152606401610790565b6005805461ffff60a01b191661010160a01b1790556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b6060600480546107f9906120ed565b610c7a611463565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141580610cb85750805b610d1c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f742062652072656d6f76652066726f6d206175746f6d617465644d60448201526e61726b65744d616b6572506169727360881b6064820152608401610790565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60003381610d7e828661119b565b905083811015610dde5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610790565b6108af82868684036114bd565b60003361088a818585611655565b610e01611463565b6001600160a01b038116610e4d5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610790565b601180546001600160a01b0319166001600160a01b038316908117909155610e76906001610ead565b6040516001600160a01b038216907f8708b6c896e0e8fdadebdeb76665b7338f8b1a66f0d3630cef6de8593236c81390600090a250565b610eb5611463565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f1c611463565b6064610f2760025490565b610f3290600161215d565b610f3c9190612174565b811015610fb15760405162461bcd60e51b815260206004820152603760248201527f4d61782077616c6c657420616d6f756e742063616e6e6f74206265206c6f776560448201527f72207468616e20312520746f74616c20737570706c792e0000000000000000006064820152608401610790565b600755565b610fbe611463565b6001600160a01b03811661100a5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610790565b601080546001600160a01b0319166001600160a01b038316908117909155611033906001610ead565b6040516001600160a01b038216907f804ec39c1aea0b9f2615a34c3fa437b6ddda2c72e6848abf0f23955589a7ad5490600090a250565b611072611463565b6298968061107f60025490565b61108a90600161215d565b6110949190612174565b8110156111095760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401610790565b6103e861111560025490565b61112090600161215d565b61112a9190612174565b8111156111965760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610790565b600655565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111ce611463565b60058054821515600160a81b0260ff60a81b199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061121b90831515815260200190565b60405180910390a150565b61122e611463565b6001600160a01b0381166112935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610790565b61129c81611aa1565b50565b60006112ab828461215d565b9392505050565b60006112ab8284612174565b6001600160a01b0383166113225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610790565b6001600160a01b0382166113845760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610790565b6001600160a01b038316600090815260208190526040902054818110156113fc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610790565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6005546001600160a01b03163314610b795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610790565b6001600160a01b03831661151f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610790565b6001600160a01b0382166115805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610790565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006115ed848461119b565b90506000198114610bca57818110156116485760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610790565b610bca84848484036114bd565b6001600160a01b0383166116b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610790565b6001600160a01b03821661171b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610790565b600081116117845760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610790565b600554600160a01b900460ff16611819576001600160a01b03831660009081526012602052604090205460ff16806117d457506001600160a01b03821660009081526012602052604090205460ff165b6118195760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610790565b6001600160a01b03831660009081526012602052604090205460ff168061185857506001600160a01b03821660009081526012602052604090205460ff165b1561186857610aac8383836112be565b6001600160a01b03821660009081526013602052604081205460ff16801561189257506000600b54115b1561190857612710600b54836118a8919061215d565b6118b29190612174565b9050600b54600c54826118c5919061215d565b6118cf9190612174565b600f55600b54600d546118e2908361215d565b6118ec9190612174565b600e60008282546118fd91906120da565b909155506119db9050565b6001600160a01b03841660009081526013602052604090205460ff16801561193257506000600854115b156119db576007548261195a856001600160a01b031660009081526020819052604090205490565b61196491906120da565b111561196f57600080fd5b61271060085483611980919061215d565b61198a9190612174565b90506008546009548261199d919061215d565b6119a79190612174565b600f55600854600a546119ba908361215d565b6119c49190612174565b600e60008282546119d591906120da565b90915550505b3060009081526020819052604090205460065481108015908190611a085750600554600160a81b900460ff165b8015611a1e5750600554600160b01b900460ff16155b8015611a4257506001600160a01b03851660009081526013602052604090205460ff165b15611a71576005805460ff60b01b1916600160b01b179055611a6382611af3565b6005805460ff60b01b191690555b8215611a8257611a828630856112be565b611a8c8385612196565b9350611a998686866112be565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611b0d600e54600f54611c5490919063ffffffff16565b9050821580611b1a575080155b15611b2457505050565b600654611b3290600561215d565b831115611b4a57600654611b4790600561215d565b92505b6000611b706002611b6a84611b6a600f548961129f90919063ffffffff16565b906112b2565b90506000611b7e8583611c60565b905047611b8a82611c6c565b6000611b964783611c60565b90506000611bb386611b6a600e548561129f90919063ffffffff16565b90506000611bc18383611c60565b6000600e819055600f5590508515801590611bdc5750600081115b15611beb57611beb8682611e24565b8115611c49576010546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611c3e576040519150601f19603f3d011682016040523d82523d6000602084013e611c43565b606091505b50909850505b505050505050505050565b60006112ab82846120da565b60006112ab8284612196565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611ca157611ca16121a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4391906121bf565b81600181518110611d5657611d566121a9565b60200260200101906001600160a01b031690816001600160a01b031681525050611da1307f0000000000000000000000000000000000000000000000000000000000000000846114bd565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611df69085906000908690309042906004016121dc565b600060405180830381600087803b158015611e1057600080fd5b505af1158015611a99573d6000803e3d6000fd5b611e4f307f0000000000000000000000000000000000000000000000000000000000000000846114bd565b60115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015611ede573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f03919061224d565b5050505050565b60008060408385031215611f1d57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611f5957858101830151858201604001528201611f3d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461129c57600080fd5b60008060408385031215611fa257600080fd5b8235611fad81611f7a565b946020939093013593505050565b600080600060608486031215611fd057600080fd5b8335611fdb81611f7a565b92506020840135611feb81611f7a565b929592945050506040919091013590565b60006020828403121561200e57600080fd5b81356112ab81611f7a565b801515811461129c57600080fd5b6000806040838503121561203a57600080fd5b823561204581611f7a565b9150602083013561205581612019565b809150509250929050565b60006020828403121561207257600080fd5b5035919050565b6000806040838503121561208c57600080fd5b823561209781611f7a565b9150602083013561205581611f7a565b6000602082840312156120b957600080fd5b81356112ab81612019565b634e487b7160e01b600052601160045260246000fd5b80820180821115610890576108906120c4565b600181811c9082168061210157607f821691505b60208210810361212157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561213957600080fd5b5051919050565b60006020828403121561215257600080fd5b81516112ab81612019565b8082028115828204841417610890576108906120c4565b60008261219157634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610890576108906120c4565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121d157600080fd5b81516112ab81611f7a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561222c5784516001600160a01b031683529383019391830191600101612207565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561226257600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212208dd41ca1986d329b32655fae204600e837a8ceca445a645d9e5a28364f6d272364736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000d59f0e70b5214a2d3ff864546fba1187a8b554de000000000000000000000000524374da7cb9230b67915423ae9afedb9f400d2600000000000000000000000078fc6345a4aabdcf7675f6084a79c99d12e00d0e000000000000000000000000d195fa55f0450b778c998ee6cc7ec686fcca5930

Deployed Bytecode

0x6080604052600436106102275760003560e01c80639a7a23d611610122578063c18bc195116100a5578063e01af92c1161006c578063e01af92c146106c7578063e2f45605146106e7578063f11a24d3146106fd578063f2fde38b14610713578063f63743421461073357005b8063c18bc19514610631578063d0d41fe114610651578063d257b34f14610671578063d85ba06314610691578063dd62ed3e146106a757005b8063aa4bde28116100e9578063aa4bde281461058a578063b57e3682146105a0578063b62496f5146105c0578063bbc0c742146105f0578063c02466681461061157005b80639a7a23d6146104fe5780639c3b4fdc1461051e578063a0d82dc514610534578063a457c2d71461054a578063a9059cbb1461056a57005b80634fbee193116101aa578063715018a611610171578063715018a61461048c57806382bcedb5146104a15780638a8c523c146104b65780638da5cb5b146104cb57806395d89b41146104e957005b80634fbee193146103c657806366ca9b83146103ff5780636a486a8e1461041f5780636ddd17131461043557806370a082311461045657005b806323b872dd116101ee57806323b872dd146103165780632b7db9aa14610336578063313ce56714610356578063395093511461037257806349bd5a5e1461039257005b806302dbd8f81461023057806306fdde0314610250578063095ea7b31461027b5780631694505e146102ab57806318160ddd146102f757005b3661022e57005b005b34801561023c57600080fd5b5061022e61024b366004611f0a565b610749565b34801561025c57600080fd5b506102656107ea565b6040516102729190611f2c565b60405180910390f35b34801561028757600080fd5b5061029b610296366004611f8f565b61087c565b6040519015158152602001610272565b3480156102b757600080fd5b506102df7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610272565b34801561030357600080fd5b506002545b604051908152602001610272565b34801561032257600080fd5b5061029b610331366004611fbb565b610896565b34801561034257600080fd5b5061022e610351366004611ffc565b6108ba565b34801561036257600080fd5b5060405160128152602001610272565b34801561037e57600080fd5b5061029b61038d366004611f8f565b610ab1565b34801561039e57600080fd5b506102df7f00000000000000000000000072fd6a5fe94447a6819313c4ba5458ae827605d881565b3480156103d257600080fd5b5061029b6103e1366004611ffc565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561040b57600080fd5b5061022e61041a366004611f0a565b610ad3565b34801561042b57600080fd5b50610308600b5481565b34801561044157600080fd5b5060055461029b90600160a81b900460ff1681565b34801561046257600080fd5b50610308610471366004611ffc565b6001600160a01b031660009081526020819052604090205490565b34801561049857600080fd5b5061022e610b67565b3480156104ad57600080fd5b5061022e610b7b565b3480156104c257600080fd5b5061022e610bd0565b3480156104d757600080fd5b506005546001600160a01b03166102df565b3480156104f557600080fd5b50610265610c63565b34801561050a57600080fd5b5061022e610519366004612027565b610c72565b34801561052a57600080fd5b50610308600a5481565b34801561054057600080fd5b50610308600d5481565b34801561055657600080fd5b5061029b610565366004611f8f565b610d70565b34801561057657600080fd5b5061029b610585366004611f8f565b610deb565b34801561059657600080fd5b5061030860075481565b3480156105ac57600080fd5b5061022e6105bb366004611ffc565b610df9565b3480156105cc57600080fd5b5061029b6105db366004611ffc565b60136020526000908152604090205460ff1681565b3480156105fc57600080fd5b5060055461029b90600160a01b900460ff1681565b34801561061d57600080fd5b5061022e61062c366004612027565b610ead565b34801561063d57600080fd5b5061022e61064c366004612060565b610f14565b34801561065d57600080fd5b5061022e61066c366004611ffc565b610fb6565b34801561067d57600080fd5b5061022e61068c366004612060565b61106a565b34801561069d57600080fd5b5061030860085481565b3480156106b357600080fd5b506103086106c2366004612079565b61119b565b3480156106d357600080fd5b5061022e6106e23660046120a7565b6111c6565b3480156106f357600080fd5b5061030860065481565b34801561070957600080fd5b5061030860095481565b34801561071f57600080fd5b5061022e61072e366004611ffc565b611226565b34801561073f57600080fd5b50610308600c5481565b610751611463565b6103e8600b5411156107995760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b60448201526064015b60405180910390fd5b600c829055600d8190556107ad81836120da565b600b8190556040519081527f274faecd49018fb411281f27986b6b4acc86e5db4100735531acd18b7b6d5f93906020015b60405180910390a15050565b6060600380546107f9906120ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610825906120ed565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b60003361088a8185856114bd565b60019150505b92915050565b6000336108a48582856115e1565b6108af858585611655565b506001949350505050565b6108c2611463565b306001600160a01b0382160361091a5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e0000000000006044820152606401610790565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612127565b116109be5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610790565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190612127565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac9190612140565b505050565b60003361088a818585610ac4838361119b565b610ace91906120da565b6114bd565b610adb611463565b6103e86008541115610b1e5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610790565b6009829055600a819055610b3281836120da565b60088190556040519081527f03cd3090e7c409e4a7ffd2d90ff610979f4a94a87a512188b7b615671bfb772f906020016107de565b610b6f611463565b610b796000611aa1565b565b610b83611463565b604051600090339047908381818185875af1925050503d8060008114610bc5576040519150601f19603f3d011682016040523d82523d6000602084013e610bca565b606091505b50505050565b610bd8611463565b600554600160a01b900460ff1615610c235760405162461bcd60e51b815260206004820152600e60248201526d54726164696e672061637469766560901b6044820152606401610790565b6005805461ffff60a01b191661010160a01b1790556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b6060600480546107f9906120ed565b610c7a611463565b7f00000000000000000000000072fd6a5fe94447a6819313c4ba5458ae827605d86001600160a01b0316826001600160a01b0316141580610cb85750805b610d1c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f742062652072656d6f76652066726f6d206175746f6d617465644d60448201526e61726b65744d616b6572506169727360881b6064820152608401610790565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60003381610d7e828661119b565b905083811015610dde5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610790565b6108af82868684036114bd565b60003361088a818585611655565b610e01611463565b6001600160a01b038116610e4d5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610790565b601180546001600160a01b0319166001600160a01b038316908117909155610e76906001610ead565b6040516001600160a01b038216907f8708b6c896e0e8fdadebdeb76665b7338f8b1a66f0d3630cef6de8593236c81390600090a250565b610eb5611463565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f1c611463565b6064610f2760025490565b610f3290600161215d565b610f3c9190612174565b811015610fb15760405162461bcd60e51b815260206004820152603760248201527f4d61782077616c6c657420616d6f756e742063616e6e6f74206265206c6f776560448201527f72207468616e20312520746f74616c20737570706c792e0000000000000000006064820152608401610790565b600755565b610fbe611463565b6001600160a01b03811661100a5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610790565b601080546001600160a01b0319166001600160a01b038316908117909155611033906001610ead565b6040516001600160a01b038216907f804ec39c1aea0b9f2615a34c3fa437b6ddda2c72e6848abf0f23955589a7ad5490600090a250565b611072611463565b6298968061107f60025490565b61108a90600161215d565b6110949190612174565b8110156111095760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401610790565b6103e861111560025490565b61112090600161215d565b61112a9190612174565b8111156111965760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610790565b600655565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111ce611463565b60058054821515600160a81b0260ff60a81b199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061121b90831515815260200190565b60405180910390a150565b61122e611463565b6001600160a01b0381166112935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610790565b61129c81611aa1565b50565b60006112ab828461215d565b9392505050565b60006112ab8284612174565b6001600160a01b0383166113225760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610790565b6001600160a01b0382166113845760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610790565b6001600160a01b038316600090815260208190526040902054818110156113fc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610790565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6005546001600160a01b03163314610b795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610790565b6001600160a01b03831661151f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610790565b6001600160a01b0382166115805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610790565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006115ed848461119b565b90506000198114610bca57818110156116485760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610790565b610bca84848484036114bd565b6001600160a01b0383166116b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610790565b6001600160a01b03821661171b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610790565b600081116117845760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610790565b600554600160a01b900460ff16611819576001600160a01b03831660009081526012602052604090205460ff16806117d457506001600160a01b03821660009081526012602052604090205460ff165b6118195760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610790565b6001600160a01b03831660009081526012602052604090205460ff168061185857506001600160a01b03821660009081526012602052604090205460ff165b1561186857610aac8383836112be565b6001600160a01b03821660009081526013602052604081205460ff16801561189257506000600b54115b1561190857612710600b54836118a8919061215d565b6118b29190612174565b9050600b54600c54826118c5919061215d565b6118cf9190612174565b600f55600b54600d546118e2908361215d565b6118ec9190612174565b600e60008282546118fd91906120da565b909155506119db9050565b6001600160a01b03841660009081526013602052604090205460ff16801561193257506000600854115b156119db576007548261195a856001600160a01b031660009081526020819052604090205490565b61196491906120da565b111561196f57600080fd5b61271060085483611980919061215d565b61198a9190612174565b90506008546009548261199d919061215d565b6119a79190612174565b600f55600854600a546119ba908361215d565b6119c49190612174565b600e60008282546119d591906120da565b90915550505b3060009081526020819052604090205460065481108015908190611a085750600554600160a81b900460ff165b8015611a1e5750600554600160b01b900460ff16155b8015611a4257506001600160a01b03851660009081526013602052604090205460ff165b15611a71576005805460ff60b01b1916600160b01b179055611a6382611af3565b6005805460ff60b01b191690555b8215611a8257611a828630856112be565b611a8c8385612196565b9350611a998686866112be565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080611b0d600e54600f54611c5490919063ffffffff16565b9050821580611b1a575080155b15611b2457505050565b600654611b3290600561215d565b831115611b4a57600654611b4790600561215d565b92505b6000611b706002611b6a84611b6a600f548961129f90919063ffffffff16565b906112b2565b90506000611b7e8583611c60565b905047611b8a82611c6c565b6000611b964783611c60565b90506000611bb386611b6a600e548561129f90919063ffffffff16565b90506000611bc18383611c60565b6000600e819055600f5590508515801590611bdc5750600081115b15611beb57611beb8682611e24565b8115611c49576010546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611c3e576040519150601f19603f3d011682016040523d82523d6000602084013e611c43565b606091505b50909850505b505050505050505050565b60006112ab82846120da565b60006112ab8284612196565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611ca157611ca16121a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4391906121bf565b81600181518110611d5657611d566121a9565b60200260200101906001600160a01b031690816001600160a01b031681525050611da1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846114bd565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611df69085906000908690309042906004016121dc565b600060405180830381600087803b158015611e1057600080fd5b505af1158015611a99573d6000803e3d6000fd5b611e4f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846114bd565b60115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015611ede573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f03919061224d565b5050505050565b60008060408385031215611f1d57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611f5957858101830151858201604001528201611f3d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461129c57600080fd5b60008060408385031215611fa257600080fd5b8235611fad81611f7a565b946020939093013593505050565b600080600060608486031215611fd057600080fd5b8335611fdb81611f7a565b92506020840135611feb81611f7a565b929592945050506040919091013590565b60006020828403121561200e57600080fd5b81356112ab81611f7a565b801515811461129c57600080fd5b6000806040838503121561203a57600080fd5b823561204581611f7a565b9150602083013561205581612019565b809150509250929050565b60006020828403121561207257600080fd5b5035919050565b6000806040838503121561208c57600080fd5b823561209781611f7a565b9150602083013561205581611f7a565b6000602082840312156120b957600080fd5b81356112ab81612019565b634e487b7160e01b600052601160045260246000fd5b80820180821115610890576108906120c4565b600181811c9082168061210157607f821691505b60208210810361212157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561213957600080fd5b5051919050565b60006020828403121561215257600080fd5b81516112ab81612019565b8082028115828204841417610890576108906120c4565b60008261219157634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610890576108906120c4565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121d157600080fd5b81516112ab81611f7a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561222c5784516001600160a01b031683529383019391830191600101612207565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561226257600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212208dd41ca1986d329b32655fae204600e837a8ceca445a645d9e5a28364f6d272364736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000d59f0e70b5214a2d3ff864546fba1187a8b554de000000000000000000000000524374da7cb9230b67915423ae9afedb9f400d2600000000000000000000000078fc6345a4aabdcf7675f6084a79c99d12e00d0e000000000000000000000000d195fa55f0450b778c998ee6cc7ec686fcca5930

-----Decoded View---------------
Arg [0] : addy1 (address): 0xD59F0E70B5214A2d3Ff864546fba1187a8B554de
Arg [1] : addy2 (address): 0x524374Da7CB9230b67915423aE9AFEdb9F400d26
Arg [2] : addy3 (address): 0x78Fc6345A4aAbDCf7675f6084a79C99d12E00D0E
Arg [3] : addy4 (address): 0xD195fa55F0450b778c998EE6CC7eC686fcCa5930

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000d59f0e70b5214a2d3ff864546fba1187a8b554de
Arg [1] : 000000000000000000000000524374da7cb9230b67915423ae9afedb9f400d26
Arg [2] : 00000000000000000000000078fc6345a4aabdcf7675f6084a79c99d12e00d0e
Arg [3] : 000000000000000000000000d195fa55f0450b778c998ee6cc7ec686fcca5930


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.