ETH Price: $2,631.26 (+5.96%)
Gas: 5 Gwei

Token

FriendTech 500 Token (FTD)
 

Overview

Max Total Supply

100,000,000 FTD

Holders

180

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
dogemeal.eth
Balance
10,911.524154228467939817 FTD

Value
$0.00
0x98d0e673ac757c9f87c2e842cd474bcdd185d310
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FT500Token

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

File 2 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 3 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/extensions/IERC20Metadata.sol";

File 4 of 14 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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 {}
}

File 5 of 14 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 6 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

File 7 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// 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;
    }
}

File 9 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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;
        }
    }
}

File 10 of 14 : IUniswapV2Factory.sol
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;
}

File 11 of 14 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 12 of 14 : IUniswapV2Router01.sol
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);
}

File 13 of 14 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

File 14 of 14 : FT500Token.sol
/**
 /**
     FT500Token
    telegram: https://t.me/friendtech500
    Twitter: https://x.com/friendtech500?s=21
**/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;
pragma experimental ABIEncoderV2;

// ================
//     IMPORTS
// ================
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/interfaces/IERC20Metadata.sol";
import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Pair} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

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

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

    bool private swapping;

    address public teamWallet;
    address public operationalWallet;

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

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

    bool public blacklistRenounced = false;
    
    mapping(address => bool) public isPresaleWallet;
    uint256 public presaleEndTime;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => bool) blacklisted;

    uint256 public buyTotalFees;
    uint256 public buyTeamFee;
    uint256 public buyLiquidityFee;
    uint256 public buyOperationalFee;

    uint256 public sellTotalFees;
    uint256 public sellTeamFee;
    uint256 public sellLiquidityFee;
    uint256 public sellOperationalFee;

    uint256 public sellPresaleTotalFee;
    uint256 public sellPresaleTeamFee;
    uint256 public sellPresaleLiquidityFee;
    uint256 public sellPresaleOperationalFee;

    uint256 public tokensForTeam;
    uint256 public tokensForLiquidity;
    uint256 public tokensForOperations;

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

    // exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

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

    event ExcludeFromFees(address indexed account, bool isExcluded);

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

    event teamWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event operationalWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

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

    constructor(address _teamWallet, address _v2Router) ERC20("FriendTech 500 Token", "FTD") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            _v2Router
        );

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

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

        uint256 _buyTeamFee = 30; //3%
        uint256 _buyLiquidityFee = 10; //1%
        uint256 _buyOperationalFee = 10; //1%

        uint256 _sellTeamFee = 50; //5%
        uint256 _sellLiquidityFee = 25; //2.5%
        uint256 _sellOperationalFee= 25; //2.5%
        
        uint256 _sellPresaleTeamFee = 150; //15%
        uint256 _sellPresaleLiquidityFee = 100; //10%
        uint256 _sellPresaleOperationalFee = 50; //5%


        uint256 totalSupply =  100_000_000 * 1e18; //100 million

        maxTransactionAmount = (totalSupply / 100) * 1e18; // 1%
        maxWallet = (totalSupply / 100) * 1e18; // 1%
        swapTokensAtAmount = (totalSupply * 5) / 100_000; // 0.005%

        //set buy fees
        buyTeamFee = _buyTeamFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyOperationalFee = _buyOperationalFee;
        buyTotalFees = buyTeamFee + buyLiquidityFee + buyOperationalFee;

        //set sell fees
        sellTeamFee = _sellTeamFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellOperationalFee = _sellOperationalFee;
        sellTotalFees = sellTeamFee + sellLiquidityFee + sellOperationalFee;

        //set presale fees
        sellPresaleTeamFee = _sellPresaleTeamFee;
        sellPresaleLiquidityFee = _sellPresaleLiquidityFee;
        sellPresaleOperationalFee = _sellPresaleOperationalFee;
        sellPresaleTotalFee = sellPresaleTeamFee + sellPresaleLiquidityFee + sellPresaleOperationalFee;

        presaleEndTime = block.timestamp + (30 * 1 days); //30 days
        
        teamWallet = _teamWallet; 
        operationalWallet = 0x5d15E3d9b8F5dBBd079d1a140F18c83d5fC14dB6;

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

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

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(
        uint256 newAmount
    ) external onlyOwner returns (bool) {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.5%"
        );
        maxTransactionAmount = newNum * (10 ** 18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 10) / 1000) / 1e18,
            "Cannot set maxWallet lower than 1.0%"
        );
        maxWallet = newNum * (10 ** 18);
    }

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

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

    function updateBuyFees(
        uint256 _buyTeamFee,
        uint256 _buyLiquidityFee,
        uint256 _buyOperationalFee
    ) external onlyOwner {
        buyTeamFee = _buyTeamFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyOperationalFee = _buyOperationalFee;
        buyTotalFees = buyTeamFee + buyLiquidityFee + buyOperationalFee;
        require(buyTotalFees <= 50, "Buy fees must be <= 5%");
    }

    function updateSellFees(
        uint256 _sellTeamFee,
        uint256 _sellLiquidityFee,
        uint256 _sellOperationalFee
    ) external onlyOwner {
        sellTeamFee = _sellTeamFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellOperationalFee = _sellOperationalFee;
        sellTotalFees = sellTeamFee + sellLiquidityFee + sellOperationalFee;
        require(sellTotalFees <= 100, "Sell fees must be <= 10%");
    }

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

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

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateTeamWallet(
        address newTeamWallet
    ) external onlyOwner {
        emit teamWalletUpdated(newTeamWallet, teamWallet);
        teamWallet = newTeamWallet;
    }

    function updateOperationalWallet(address newWallet) external onlyOwner {
        emit operationalWalletUpdated(newWallet, operationalWallet);
        operationalWallet = newWallet;
    }

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

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!blacklisted[from], "Sender blacklisted");
        require(!blacklisted[to], "Receiver blacklisted");


        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

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

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                if(shouldTakePresaleTax(from)){
                    fees = amount.mul(sellPresaleTotalFee).div(1000);
                    tokensForLiquidity += ((fees * (sellPresaleLiquidityFee)) / sellPresaleTotalFee);
                    tokensForOperations += (fees * sellPresaleOperationalFee) / sellPresaleTotalFee;
                    tokensForTeam += (fees * sellPresaleTeamFee) / sellPresaleTotalFee;
                }else{
                    fees = amount.mul(sellTotalFees).div(1000);
                    tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                    tokensForOperations += (fees * sellOperationalFee) / sellTotalFees;
                    tokensForTeam += (fees * sellTeamFee) / sellTotalFees;
                }
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(1000);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForOperations += (fees * buyOperationalFee) / buyTotalFees;
                tokensForTeam += (fees * buyTeamFee) / buyTotalFees;
            }
            //presale marked wallet to wallet transfer
            else if(isPresaleWallet[from] && !automatedMarketMakerPairs[to] ){
                 if(shouldTakePresaleTax(from)){
                    fees = amount.mul(sellPresaleTotalFee).div(1000);
                    tokensForLiquidity += (fees * sellPresaleLiquidityFee) / sellPresaleTotalFee;
                    tokensForOperations += (fees * sellPresaleOperationalFee) / sellPresaleTotalFee;
                    tokensForTeam += (fees * sellPresaleTeamFee) / sellPresaleTotalFee;
                }
            }

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

            amount -= fees;
        }

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

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

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

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

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

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

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForTeam +
            tokensForOperations;
        bool success;

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

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

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

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

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

        uint256 ethForTeam = ethBalance.mul(tokensForTeam).div(
            totalTokensToSwap - (tokensForLiquidity / 2)
        );

        uint256 ethForOperations = ethBalance.mul(tokensForOperations).div(
            totalTokensToSwap - (tokensForLiquidity / 2)
        );

        uint256 ethForLiquidity = ethBalance - ethForTeam - ethForOperations;


        tokensForLiquidity = 0;
        tokensForTeam = 0;
        tokensForOperations = 0;

        (success, ) = address(operationalWallet).call{value: ethForOperations}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }
        (success, ) = address(teamWallet).call{
            value: address(this).balance
        }("");

        
    }

    function withdrawStuckFT500() external onlyOwner {
        uint256 balance = IERC20(address(this)).balanceOf(address(this));
        IERC20(address(this)).transfer(msg.sender, balance);
        payable(msg.sender).transfer(address(this).balance);
    }

    function withdrawStuckToken(
        address _token,
        address _to
    ) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    function withdrawStuckEth(address toAddr) external onlyOwner {
        (bool success, ) = toAddr.call{value: address(this).balance}("");
        require(success);
    }

    // @dev team renounce blacklist commands
    function renounceBlacklist() public onlyOwner {
        blacklistRenounced = true;
    }

    function blacklist(address _addr) public onlyOwner {
        require(!blacklistRenounced, "Team has revoked blacklist rights");
        require(
            _addr != address(uniswapV2Pair) &&
                _addr != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D),
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[_addr] = true;
    }

    // @dev blacklist v3 pools; can unblacklist() down the road to suit project and community
    function blacklistLiquidityPool(address lpAddress) public onlyOwner {
        require(!blacklistRenounced, "Team has revoked blacklist rights");
        require(
            lpAddress != address(uniswapV2Pair) &&
                lpAddress !=
                address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D),
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[lpAddress] = true;
    }

    // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road
    function unblacklist(address _addr) public onlyOwner {
        blacklisted[_addr] = false;
    }

    function addPresaleWallets(address[] memory _addrs) public onlyOwner {
        for (uint256 i = 0; i<_addrs.length; i++) {
            isPresaleWallet[_addrs[i]] = true;
        }
    }

    function removePresaleWallets(address[] memory _addrs) public onlyOwner {
         for (uint256 i = 0; i<_addrs.length; i++) {
            isPresaleWallet[_addrs[i]] = false;
        }
    }

    function shouldTakePresaleTax(address _addr) private view returns (bool){
        bool isStillInPresalePeriod = block.timestamp < presaleEndTime;

        if(isStillInPresalePeriod && isPresaleWallet[_addr]){
            return true;
        }

        return false;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_teamWallet","type":"address"},{"internalType":"address","name":"_v2Router","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":[{"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":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"operationalWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"}],"name":"addPresaleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lpAddress","type":"address"}],"name":"blacklistLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTeamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTrading","outputs":[],"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":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPresaleWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationalWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"}],"name":"removePresaleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPresaleLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPresaleOperationalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPresaleTeamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPresaleTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTeamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTeamFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_buyOperationalFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateOperationalWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTeamFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellOperationalFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTeamWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckFT500","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600b805463ffffffff19166201010117905534801562000022575f80fd5b5060405162003a1438038062003a148339810160408190526200004591620006cd565b6040518060400160405280601481526020017f467269656e64546563682035303020546f6b656e0000000000000000000000008152506040518060400160405280600381526020016211951160ea1b8152508160039081620000a89190620007a2565b506004620000b78282620007a2565b505050620000d4620000ce6200044660201b60201c565b6200044a565b80620000e28160016200049b565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200012b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200015191906200086a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001c391906200086a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200020e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200023491906200086a565b6001600160a01b031660a08190526200024f9060016200049b565b60a0516200025f906001620004cf565b601e600a80603260198060966064846a52b7d2dcc80cd2e4000000620002868382620008a1565b6200029a90670de0b6b3a7640000620008c1565b600855620002aa606482620008a1565b620002be90670de0b6b3a7640000620008c1565b600a55620186a0620002d2826005620008c1565b620002de9190620008a1565b60095560108a90556011899055601288905587620002fd8a8c620008e1565b620003099190620008e1565b600f5560148790556015869055601685905584620003288789620008e1565b620003349190620008e1565b60135560188490556019839055601a82905581620003538486620008e1565b6200035f9190620008e1565b601755620003714262278d00620008e1565b600d55600680546001600160a01b038f166001600160a01b03199182161790915560078054909116735d15e3d9b8f5dbbd079d1a140f18c83d5fc14db6179055620003d0620003c86005546001600160a01b031690565b600162000521565b620003dd30600162000521565b620003ec61dead600162000521565b6200040b620004036005546001600160a01b031690565b60016200049b565b620004183060016200049b565b6200042761dead60016200049b565b62000433338262000589565b50505050505050505050505050620008f7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620004a56200064e565b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200052b6200064e565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005e55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f828254620005f89190620008e1565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620005dc565b565b505050565b80516001600160a01b0381168114620006c8575f80fd5b919050565b5f8060408385031215620006df575f80fd5b620006ea83620006b1565b9150620006fa60208401620006b1565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200072c57607f821691505b6020821081036200074b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620006ac575f81815260208120601f850160051c81016020861015620007795750805b601f850160051c820191505b818110156200079a5782815560010162000785565b505050505050565b81516001600160401b03811115620007be57620007be62000703565b620007d681620007cf845462000717565b8462000751565b602080601f8311600181146200080c575f8415620007f45750858301515b5f19600386901b1c1916600185901b1785556200079a565b5f85815260208120601f198616915b828110156200083c578886015182559484019460019091019084016200081b565b50858210156200085a57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f602082840312156200087b575f80fd5b6200088682620006b1565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b5f82620008bc57634e487b7160e01b5f52601260045260245ffd5b500490565b8082028115828204841417620008db57620008db6200088d565b92915050565b80820180821115620008db57620008db6200088d565b60805160a0516130ca6200094a5f395f81816106b4015281816111e001526117b701525f81816104d40152818161296101528181612a1801528181612a5401528181612ac80152612aef01526130ca5ff3fe6080604052600436106103f8575f3560e01c80637ca8448a1161020a578063c18bc1951161011e578063e52f4ce7116100a8578063f8b45b0511610078578063f8b45b0514610b98578063f9f92be414610ae7578063fb002c9714610bad578063fde83a3414610bc2578063fe575a8714610bd7575f80fd5b8063e52f4ce714610b30578063f11a24d314610b4f578063f2fde38b14610b64578063f637434214610b83575f80fd5b8063d85ba063116100ee578063d85ba06314610ab3578063dd62ed3e14610ac8578063e19b282314610ae7578063e2f4560514610b06578063e44320d014610b1b575f80fd5b8063c18bc19514610a4b578063c8c8ebe414610a6a578063d257b34f14610a7f578063d729715f14610a9e575f80fd5b80639c2e4ac61161019f578063b62496f51161016f578063b62496f5146109a3578063bbc0c742146109d0578063bc205ad3146109ee578063c024666814610a0d578063c17b5b8c14610a2c575f80fd5b80639c2e4ac61461093b578063a457c2d714610950578063a9059cbb1461096f578063aa64412e1461098e575f80fd5b80638da5cb5b116101da5780638da5cb5b146108cc578063924de9b7146108e957806395d89b41146109085780639a7a23d61461091c575f80fd5b80637ca8448a1461085b5780637cb332bb1461087a5780638095d564146108995780638a8c523c146108b8575f80fd5b80633c7077b11161030c578063614bb67111610296578063715018a611610266578063715018a6146107d6578063751039fc146107ea5780637571336a146107fe57806375e3661e1461081d5780637c2497ad1461083c575f80fd5b8063614bb671146107595780636a486a8e1461076e5780636ddd17131461078357806370a08231146107a2575f80fd5b806349bd5a5e116102dc57806349bd5a5e146106a35780634a62bb65146106d65780634fbee193146106ef57806359927044146107265780635f18936114610745575f80fd5b80633c7077b1146106215780633dc599ff14610636578063400f8aed1461065657806340fb7ad914610675575f80fd5b806318c950691161038d578063249b7c191161035d578063249b7c191461059e57806327c8f835146105b3578063296abf16146105c8578063313ce567146105e75780633950935114610602575f80fd5b806318c95069146105365780631a8145bb1461054b578063203e727e1461056057806323b872dd1461057f575f80fd5b806310d5de53116103c857806310d5de53146104955780631694505e146104c357806317700f011461050e57806318160ddd14610522575f80fd5b806301f3696f1461040357806306fdde0314610419578063095ea7b3146104435780630eae0c6014610472575f80fd5b366103ff57005b5f80fd5b34801561040e575f80fd5b50610417610c0e565b005b348015610424575f80fd5b5061042d610d0b565b60405161043a9190612bc5565b60405180910390f35b34801561044e575f80fd5b5061046261045d366004612c2f565b610d9b565b604051901515815260200161043a565b34801561047d575f80fd5b5061048760125481565b60405190815260200161043a565b3480156104a0575f80fd5b506104626104af366004612c59565b601f6020525f908152604090205460ff1681565b3480156104ce575f80fd5b506104f67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161043a565b348015610519575f80fd5b50610417610db4565b34801561052d575f80fd5b50600254610487565b348015610541575f80fd5b50610487601a5481565b348015610556575f80fd5b50610487601c5481565b34801561056b575f80fd5b5061041761057a366004612c74565b610dca565b34801561058a575f80fd5b50610462610599366004612c8b565b610e8a565b3480156105a9575f80fd5b50610487600d5481565b3480156105be575f80fd5b506104f661dead81565b3480156105d3575f80fd5b506104176105e2366004612cdd565b610ead565b3480156105f2575f80fd5b506040516012815260200161043a565b34801561060d575f80fd5b5061046261061c366004612c2f565b610f1a565b34801561062c575f80fd5b5061048760195481565b348015610641575f80fd5b50600b54610462906301000000900460ff1681565b348015610661575f80fd5b50610417610670366004612c59565b610f3b565b348015610680575f80fd5b5061046261068f366004612c59565b600c6020525f908152604090205460ff1681565b3480156106ae575f80fd5b506104f67f000000000000000000000000000000000000000000000000000000000000000081565b3480156106e1575f80fd5b50600b546104629060ff1681565b3480156106fa575f80fd5b50610462610709366004612c59565b6001600160a01b03165f908152601e602052604090205460ff1690565b348015610731575f80fd5b506006546104f6906001600160a01b031681565b348015610750575f80fd5b50610417610f9f565b348015610764575f80fd5b5061048760165481565b348015610779575f80fd5b5061048760135481565b34801561078e575f80fd5b50600b546104629062010000900460ff1681565b3480156107ad575f80fd5b506104876107bc366004612c59565b6001600160a01b03165f9081526020819052604090205490565b3480156107e1575f80fd5b50610417610fbc565b3480156107f5575f80fd5b50610462610fcf565b348015610809575f80fd5b50610417610818366004612daa565b610fe8565b348015610828575f80fd5b50610417610837366004612c59565b61101a565b348015610847575f80fd5b506007546104f6906001600160a01b031681565b348015610866575f80fd5b50610417610875366004612c59565b611042565b348015610885575f80fd5b50610417610894366004612c59565b6110a5565b3480156108a4575f80fd5b506104176108b3366004612de1565b611109565b3480156108c3575f80fd5b50610417611188565b3480156108d7575f80fd5b506005546001600160a01b03166104f6565b3480156108f4575f80fd5b50610417610903366004612e0a565b6111a3565b348015610913575f80fd5b5061042d6111c7565b348015610927575f80fd5b50610417610936366004612daa565b6111d6565b348015610946575f80fd5b5061048760105481565b34801561095b575f80fd5b5061046261096a366004612c2f565b61128f565b34801561097a575f80fd5b50610462610989366004612c2f565b611309565b348015610999575f80fd5b5061048760175481565b3480156109ae575f80fd5b506104626109bd366004612c59565b602080525f908152604090205460ff1681565b3480156109db575f80fd5b50600b5461046290610100900460ff1681565b3480156109f9575f80fd5b50610417610a08366004612e25565b611316565b348015610a18575f80fd5b50610417610a27366004612daa565b611456565b348015610a37575f80fd5b50610417610a46366004612de1565b6114bc565b348015610a56575f80fd5b50610417610a65366004612c74565b61153d565b348015610a75575f80fd5b5061048760085481565b348015610a8a575f80fd5b50610462610a99366004612c74565b6115ec565b348015610aa9575f80fd5b5061048760145481565b348015610abe575f80fd5b50610487600f5481565b348015610ad3575f80fd5b50610487610ae2366004612e25565b61171f565b348015610af2575f80fd5b50610417610b01366004612c59565b611749565b348015610b11575f80fd5b5061048760095481565b348015610b26575f80fd5b5061048760185481565b348015610b3b575f80fd5b50610417610b4a366004612cdd565b61189a565b348015610b5a575f80fd5b5061048760115481565b348015610b6f575f80fd5b50610417610b7e366004612c59565b611906565b348015610b8e575f80fd5b5061048760155481565b348015610ba3575f80fd5b50610487600a5481565b348015610bb8575f80fd5b50610487601d5481565b348015610bcd575f80fd5b50610487601b5481565b348015610be2575f80fd5b50610462610bf1366004612c59565b6001600160a01b03165f908152600e602052604090205460ff1690565b610c1661197f565b6040516370a0823160e01b815230600482018190525f916370a0823190602401602060405180830381865afa158015610c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c759190612e51565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303815f875af1158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdd9190612e68565b5060405133904780156108fc02915f818181858888f19350505050158015610d07573d5f803e3d5ffd5b5050565b606060038054610d1a90612e83565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4690612e83565b8015610d915780601f10610d6857610100808354040283529160200191610d91565b820191905f5260205f20905b815481529060010190602001808311610d7457829003601f168201915b5050505050905090565b5f33610da88185856119d9565b60019150505b92915050565b610dbc61197f565b600b805462ffff0019169055565b610dd261197f565b670de0b6b3a76400006103e8610de760025490565b610df2906005612ecf565b610dfc9190612ee6565b610e069190612ee6565b811015610e725760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610e8481670de0b6b3a7640000612ecf565b60085550565b5f33610e97858285611afc565b610ea2858585611b6e565b506001949350505050565b610eb561197f565b5f5b8151811015610d07576001600c5f848481518110610ed757610ed7612f05565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905580610f1281612f19565b915050610eb7565b5f33610da8818585610f2c838361171f565b610f369190612f31565b6119d9565b610f4361197f565b6007546040516001600160a01b03918216918316907f83708780c314f7025e2ff8c1a8d15908ac15cbc40d36bda0e062421f6096896d905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610fa761197f565b600b805463ff00000019166301000000179055565b610fc461197f565b610fcd5f61248c565b565b5f610fd861197f565b50600b805460ff19169055600190565b610ff061197f565b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b61102261197f565b6001600160a01b03165f908152600e60205260409020805460ff19169055565b61104a61197f565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114611093576040519150601f19603f3d011682016040523d82523d5f602084013e611098565b606091505b5050905080610d07575f80fd5b6110ad61197f565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f961668905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b61111161197f565b6010839055601182905560128190558061112b8385612f31565b6111359190612f31565b600f819055603210156111835760405162461bcd60e51b81526020600482015260166024820152754275792066656573206d757374206265203c3d20352560501b6044820152606401610e69565b505050565b61119061197f565b600b805462ffff00191662010100179055565b6111ab61197f565b600b8054911515620100000262ff000019909216919091179055565b606060048054610d1a90612e83565b6111de61197f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036112855760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610e69565b610d0782826124dd565b5f338161129c828661171f565b9050838110156112fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e69565b610ea282868684036119d9565b5f33610da8818585611b6e565b61131e61197f565b6001600160a01b0382166113745760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610e69565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113dc9190612e51565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af115801561142c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114509190612e68565b50505050565b61145e61197f565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6114c461197f565b601483905560158290556016819055806114de8385612f31565b6114e89190612f31565b6013819055606410156111835760405162461bcd60e51b815260206004820152601860248201527f53656c6c2066656573206d757374206265203c3d2031302500000000000000006044820152606401610e69565b61154561197f565b670de0b6b3a76400006103e861155a60025490565b61156590600a612ecf565b61156f9190612ee6565b6115799190612ee6565b8110156115d45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610e69565b6115e681670de0b6b3a7640000612ecf565b600a5550565b5f6115f561197f565b620186a061160260025490565b61160d906001612ecf565b6116179190612ee6565b8210156116845760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e69565b6103e861169060025490565b61169b906005612ecf565b6116a59190612ee6565b8211156117115760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e69565b50600981905560015b919050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61175161197f565b600b546301000000900460ff16156117b55760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610e69565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415801561181457506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6118775760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610e69565b6001600160a01b03165f908152600e60205260409020805460ff19166001179055565b6118a261197f565b5f5b8151811015610d07575f600c5f8484815181106118c3576118c3612f05565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055806118fe81612f19565b9150506118a4565b61190e61197f565b6001600160a01b0381166119735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e69565b61197c8161248c565b50565b6005546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e69565b6001600160a01b038316611a3b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e69565b6001600160a01b038216611a9c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e69565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b07848461171f565b90505f1981146114505781811015611b615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e69565b61145084848484036119d9565b6001600160a01b038316611b945760405162461bcd60e51b8152600401610e6990612f44565b6001600160a01b038216611bba5760405162461bcd60e51b8152600401610e6990612f89565b6001600160a01b0383165f908152600e602052604090205460ff1615611c175760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610e69565b6001600160a01b0382165f908152600e602052604090205460ff1615611c765760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610e69565b805f03611c885761118383835f61252f565b600b5460ff1615611ff3576005546001600160a01b03848116911614801590611cbf57506005546001600160a01b03838116911614155b8015611cd357506001600160a01b03821615155b8015611cea57506001600160a01b03821661dead14155b8015611d005750600554600160a01b900460ff16155b15611ff357600b54610100900460ff16611d96576001600160a01b0383165f908152601e602052604090205460ff1680611d5157506001600160a01b0382165f908152601e602052604090205460ff165b611d965760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610e69565b6001600160a01b0383165f90815260208052604090205460ff168015611dd457506001600160a01b0382165f908152601f602052604090205460ff16155b15611eb757600854811115611e495760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610e69565b600a546001600160a01b0383165f90815260208190526040902054611e6e9083612f31565b1115611eb25760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e69565b611ff3565b6001600160a01b0382165f90815260208052604090205460ff168015611ef557506001600160a01b0383165f908152601f602052604090205460ff16155b15611f6b57600854811115611eb25760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610e69565b6001600160a01b0382165f908152601f602052604090205460ff16611ff357600a546001600160a01b0383165f90815260208190526040902054611faf9083612f31565b1115611ff35760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e69565b305f908152602081905260409020546009548110801590819061201e5750600b5462010000900460ff165b80156120345750600554600160a01b900460ff16155b801561205757506001600160a01b0385165f90815260208052604090205460ff16155b801561207b57506001600160a01b0385165f908152601e602052604090205460ff16155b801561209f57506001600160a01b0384165f908152601e602052604090205460ff16155b156120cd576005805460ff60a01b1916600160a01b1790556120bf612657565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601e602052604090205460ff600160a01b90920482161591168061211957506001600160a01b0385165f908152601e602052604090205460ff165b1561212157505f5b5f8115612478576001600160a01b0386165f90815260208052604090205460ff16801561214f57505f601354115b156122a55761215d876128a3565b15612219576121836103e861217d601754886128e490919063ffffffff16565b906128f6565b9050601754601954826121969190612ecf565b6121a09190612ee6565b601c5f8282546121b09190612f31565b9091555050601754601a546121c59083612ecf565b6121cf9190612ee6565b601d5f8282546121df9190612f31565b90915550506017546018546121f49083612ecf565b6121fe9190612ee6565b601b5f82825461220e9190612f31565b9091555061245a9050565b6122346103e861217d601354886128e490919063ffffffff16565b9050601354601554826122479190612ecf565b6122519190612ee6565b601c5f8282546122619190612f31565b90915550506013546016546122769083612ecf565b6122809190612ee6565b601d5f8282546122909190612f31565b90915550506013546014546121f49083612ecf565b6001600160a01b0387165f90815260208052604090205460ff1680156122cc57505f600f54115b1561235d576122ec6103e861217d600f54886128e490919063ffffffff16565b9050600f54601154826122ff9190612ecf565b6123099190612ee6565b601c5f8282546123199190612f31565b9091555050600f5460125461232e9083612ecf565b6123389190612ee6565b601d5f8282546123489190612f31565b9091555050600f546010546121f49083612ecf565b6001600160a01b0387165f908152600c602052604090205460ff16801561239b57506001600160a01b0386165f90815260208052604090205460ff16155b1561245a576123a9876128a3565b1561245a576123c96103e861217d601754886128e490919063ffffffff16565b9050601754601954826123dc9190612ecf565b6123e69190612ee6565b601c5f8282546123f69190612f31565b9091555050601754601a5461240b9083612ecf565b6124159190612ee6565b601d5f8282546124259190612f31565b909155505060175460185461243a9083612ecf565b6124449190612ee6565b601b5f8282546124549190612f31565b90915550505b801561246b5761246b87308361252f565b6124758186612fcc565b94505b61248387878761252f565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125555760405162461bcd60e51b8152600401610e6990612f44565b6001600160a01b03821661257b5760405162461bcd60e51b8152600401610e6990612f89565b6001600160a01b0383165f90815260208190526040902054818110156125f25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e69565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611450565b305f9081526020819052604081205490505f601d54601b54601c5461267c9190612f31565b6126869190612f31565b90505f821580612694575081155b1561269e57505050565b6009546126ac906014612ecf565b8311156126c4576009546126c1906014612ecf565b92505b5f600283601c54866126d69190612ecf565b6126e09190612ee6565b6126ea9190612ee6565b90505f6126f78583612901565b9050476127038261290c565b5f61270e4783612901565b90505f61273b6002601c546127239190612ee6565b61272d9089612fcc565b601b5461217d9085906128e4565b90505f6127686002601c546127509190612ee6565b61275a908a612fcc565b601d5461217d9086906128e4565b90505f816127768486612fcc565b6127809190612fcc565b5f601c819055601b819055601d8190556007546040519293506001600160a01b031691849181818185875af1925050503d805f81146127da576040519150601f19603f3d011682016040523d82523d5f602084013e6127df565b606091505b509098505086158015906127f257505f81115b15612845576128018782612ac2565b601c54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f811461288f576040519150601f19603f3d011682016040523d82523d5f602084013e612894565b606091505b50505050505050505050505050565b600d545f9042108080156128ce57506001600160a01b0383165f908152600c602052604090205460ff165b156128dc5750600192915050565b505f92915050565b5f6128ef8284612ecf565b9392505050565b5f6128ef8284612ee6565b5f6128ef8284612fcc565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061293f5761293f612f05565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129df9190612fdf565b816001815181106129f2576129f2612f05565b60200260200101906001600160a01b031690816001600160a01b031681525050612a3d307f0000000000000000000000000000000000000000000000000000000000000000846119d9565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612a919085905f90869030904290600401612ffa565b5f604051808303815f87803b158015612aa8575f80fd5b505af1158015612aba573d5f803e3d5ffd5b505050505050565b612aed307f0000000000000000000000000000000000000000000000000000000000000000846119d9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7198230855f80612b336005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612b99573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612bbe9190613069565b5050505050565b5f6020808352835180828501525f5b81811015612bf057858101830151858201604001528201612bd4565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461197c575f80fd5b803561171a81612c10565b5f8060408385031215612c40575f80fd5b8235612c4b81612c10565b946020939093013593505050565b5f60208284031215612c69575f80fd5b81356128ef81612c10565b5f60208284031215612c84575f80fd5b5035919050565b5f805f60608486031215612c9d575f80fd5b8335612ca881612c10565b92506020840135612cb881612c10565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215612cee575f80fd5b823567ffffffffffffffff80821115612d05575f80fd5b818501915085601f830112612d18575f80fd5b813581811115612d2a57612d2a612cc9565b8060051b604051601f19603f83011681018181108582111715612d4f57612d4f612cc9565b604052918252848201925083810185019188831115612d6c575f80fd5b938501935b82851015612d9157612d8285612c24565b84529385019392850192612d71565b98975050505050505050565b801515811461197c575f80fd5b5f8060408385031215612dbb575f80fd5b8235612dc681612c10565b91506020830135612dd681612d9d565b809150509250929050565b5f805f60608486031215612df3575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215612e1a575f80fd5b81356128ef81612d9d565b5f8060408385031215612e36575f80fd5b8235612e4181612c10565b91506020830135612dd681612c10565b5f60208284031215612e61575f80fd5b5051919050565b5f60208284031215612e78575f80fd5b81516128ef81612d9d565b600181811c90821680612e9757607f821691505b602082108103612eb557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610dae57610dae612ebb565b5f82612f0057634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612f2a57612f2a612ebb565b5060010190565b80820180821115610dae57610dae612ebb565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610dae57610dae612ebb565b5f60208284031215612fef575f80fd5b81516128ef81612c10565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156130485784516001600160a01b031683529383019391830191600101613023565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121561307b575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212201a55f6e36e3a5791b290a056b2971ea72565cfcd52a37dd71466ba56f6bfaf3364736f6c63430008140033000000000000000000000000a2a121666ce65e7efcd87065974435564c116b940000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103f8575f3560e01c80637ca8448a1161020a578063c18bc1951161011e578063e52f4ce7116100a8578063f8b45b0511610078578063f8b45b0514610b98578063f9f92be414610ae7578063fb002c9714610bad578063fde83a3414610bc2578063fe575a8714610bd7575f80fd5b8063e52f4ce714610b30578063f11a24d314610b4f578063f2fde38b14610b64578063f637434214610b83575f80fd5b8063d85ba063116100ee578063d85ba06314610ab3578063dd62ed3e14610ac8578063e19b282314610ae7578063e2f4560514610b06578063e44320d014610b1b575f80fd5b8063c18bc19514610a4b578063c8c8ebe414610a6a578063d257b34f14610a7f578063d729715f14610a9e575f80fd5b80639c2e4ac61161019f578063b62496f51161016f578063b62496f5146109a3578063bbc0c742146109d0578063bc205ad3146109ee578063c024666814610a0d578063c17b5b8c14610a2c575f80fd5b80639c2e4ac61461093b578063a457c2d714610950578063a9059cbb1461096f578063aa64412e1461098e575f80fd5b80638da5cb5b116101da5780638da5cb5b146108cc578063924de9b7146108e957806395d89b41146109085780639a7a23d61461091c575f80fd5b80637ca8448a1461085b5780637cb332bb1461087a5780638095d564146108995780638a8c523c146108b8575f80fd5b80633c7077b11161030c578063614bb67111610296578063715018a611610266578063715018a6146107d6578063751039fc146107ea5780637571336a146107fe57806375e3661e1461081d5780637c2497ad1461083c575f80fd5b8063614bb671146107595780636a486a8e1461076e5780636ddd17131461078357806370a08231146107a2575f80fd5b806349bd5a5e116102dc57806349bd5a5e146106a35780634a62bb65146106d65780634fbee193146106ef57806359927044146107265780635f18936114610745575f80fd5b80633c7077b1146106215780633dc599ff14610636578063400f8aed1461065657806340fb7ad914610675575f80fd5b806318c950691161038d578063249b7c191161035d578063249b7c191461059e57806327c8f835146105b3578063296abf16146105c8578063313ce567146105e75780633950935114610602575f80fd5b806318c95069146105365780631a8145bb1461054b578063203e727e1461056057806323b872dd1461057f575f80fd5b806310d5de53116103c857806310d5de53146104955780631694505e146104c357806317700f011461050e57806318160ddd14610522575f80fd5b806301f3696f1461040357806306fdde0314610419578063095ea7b3146104435780630eae0c6014610472575f80fd5b366103ff57005b5f80fd5b34801561040e575f80fd5b50610417610c0e565b005b348015610424575f80fd5b5061042d610d0b565b60405161043a9190612bc5565b60405180910390f35b34801561044e575f80fd5b5061046261045d366004612c2f565b610d9b565b604051901515815260200161043a565b34801561047d575f80fd5b5061048760125481565b60405190815260200161043a565b3480156104a0575f80fd5b506104626104af366004612c59565b601f6020525f908152604090205460ff1681565b3480156104ce575f80fd5b506104f67f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161043a565b348015610519575f80fd5b50610417610db4565b34801561052d575f80fd5b50600254610487565b348015610541575f80fd5b50610487601a5481565b348015610556575f80fd5b50610487601c5481565b34801561056b575f80fd5b5061041761057a366004612c74565b610dca565b34801561058a575f80fd5b50610462610599366004612c8b565b610e8a565b3480156105a9575f80fd5b50610487600d5481565b3480156105be575f80fd5b506104f661dead81565b3480156105d3575f80fd5b506104176105e2366004612cdd565b610ead565b3480156105f2575f80fd5b506040516012815260200161043a565b34801561060d575f80fd5b5061046261061c366004612c2f565b610f1a565b34801561062c575f80fd5b5061048760195481565b348015610641575f80fd5b50600b54610462906301000000900460ff1681565b348015610661575f80fd5b50610417610670366004612c59565b610f3b565b348015610680575f80fd5b5061046261068f366004612c59565b600c6020525f908152604090205460ff1681565b3480156106ae575f80fd5b506104f67f0000000000000000000000000ab6342741da644afa7c1a36ce16c99d74fd960581565b3480156106e1575f80fd5b50600b546104629060ff1681565b3480156106fa575f80fd5b50610462610709366004612c59565b6001600160a01b03165f908152601e602052604090205460ff1690565b348015610731575f80fd5b506006546104f6906001600160a01b031681565b348015610750575f80fd5b50610417610f9f565b348015610764575f80fd5b5061048760165481565b348015610779575f80fd5b5061048760135481565b34801561078e575f80fd5b50600b546104629062010000900460ff1681565b3480156107ad575f80fd5b506104876107bc366004612c59565b6001600160a01b03165f9081526020819052604090205490565b3480156107e1575f80fd5b50610417610fbc565b3480156107f5575f80fd5b50610462610fcf565b348015610809575f80fd5b50610417610818366004612daa565b610fe8565b348015610828575f80fd5b50610417610837366004612c59565b61101a565b348015610847575f80fd5b506007546104f6906001600160a01b031681565b348015610866575f80fd5b50610417610875366004612c59565b611042565b348015610885575f80fd5b50610417610894366004612c59565b6110a5565b3480156108a4575f80fd5b506104176108b3366004612de1565b611109565b3480156108c3575f80fd5b50610417611188565b3480156108d7575f80fd5b506005546001600160a01b03166104f6565b3480156108f4575f80fd5b50610417610903366004612e0a565b6111a3565b348015610913575f80fd5b5061042d6111c7565b348015610927575f80fd5b50610417610936366004612daa565b6111d6565b348015610946575f80fd5b5061048760105481565b34801561095b575f80fd5b5061046261096a366004612c2f565b61128f565b34801561097a575f80fd5b50610462610989366004612c2f565b611309565b348015610999575f80fd5b5061048760175481565b3480156109ae575f80fd5b506104626109bd366004612c59565b602080525f908152604090205460ff1681565b3480156109db575f80fd5b50600b5461046290610100900460ff1681565b3480156109f9575f80fd5b50610417610a08366004612e25565b611316565b348015610a18575f80fd5b50610417610a27366004612daa565b611456565b348015610a37575f80fd5b50610417610a46366004612de1565b6114bc565b348015610a56575f80fd5b50610417610a65366004612c74565b61153d565b348015610a75575f80fd5b5061048760085481565b348015610a8a575f80fd5b50610462610a99366004612c74565b6115ec565b348015610aa9575f80fd5b5061048760145481565b348015610abe575f80fd5b50610487600f5481565b348015610ad3575f80fd5b50610487610ae2366004612e25565b61171f565b348015610af2575f80fd5b50610417610b01366004612c59565b611749565b348015610b11575f80fd5b5061048760095481565b348015610b26575f80fd5b5061048760185481565b348015610b3b575f80fd5b50610417610b4a366004612cdd565b61189a565b348015610b5a575f80fd5b5061048760115481565b348015610b6f575f80fd5b50610417610b7e366004612c59565b611906565b348015610b8e575f80fd5b5061048760155481565b348015610ba3575f80fd5b50610487600a5481565b348015610bb8575f80fd5b50610487601d5481565b348015610bcd575f80fd5b50610487601b5481565b348015610be2575f80fd5b50610462610bf1366004612c59565b6001600160a01b03165f908152600e602052604090205460ff1690565b610c1661197f565b6040516370a0823160e01b815230600482018190525f916370a0823190602401602060405180830381865afa158015610c51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c759190612e51565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303815f875af1158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdd9190612e68565b5060405133904780156108fc02915f818181858888f19350505050158015610d07573d5f803e3d5ffd5b5050565b606060038054610d1a90612e83565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4690612e83565b8015610d915780601f10610d6857610100808354040283529160200191610d91565b820191905f5260205f20905b815481529060010190602001808311610d7457829003601f168201915b5050505050905090565b5f33610da88185856119d9565b60019150505b92915050565b610dbc61197f565b600b805462ffff0019169055565b610dd261197f565b670de0b6b3a76400006103e8610de760025490565b610df2906005612ecf565b610dfc9190612ee6565b610e069190612ee6565b811015610e725760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610e8481670de0b6b3a7640000612ecf565b60085550565b5f33610e97858285611afc565b610ea2858585611b6e565b506001949350505050565b610eb561197f565b5f5b8151811015610d07576001600c5f848481518110610ed757610ed7612f05565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905580610f1281612f19565b915050610eb7565b5f33610da8818585610f2c838361171f565b610f369190612f31565b6119d9565b610f4361197f565b6007546040516001600160a01b03918216918316907f83708780c314f7025e2ff8c1a8d15908ac15cbc40d36bda0e062421f6096896d905f90a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610fa761197f565b600b805463ff00000019166301000000179055565b610fc461197f565b610fcd5f61248c565b565b5f610fd861197f565b50600b805460ff19169055600190565b610ff061197f565b6001600160a01b03919091165f908152601f60205260409020805460ff1916911515919091179055565b61102261197f565b6001600160a01b03165f908152600e60205260409020805460ff19169055565b61104a61197f565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114611093576040519150601f19603f3d011682016040523d82523d5f602084013e611098565b606091505b5050905080610d07575f80fd5b6110ad61197f565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f961668905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b61111161197f565b6010839055601182905560128190558061112b8385612f31565b6111359190612f31565b600f819055603210156111835760405162461bcd60e51b81526020600482015260166024820152754275792066656573206d757374206265203c3d20352560501b6044820152606401610e69565b505050565b61119061197f565b600b805462ffff00191662010100179055565b6111ab61197f565b600b8054911515620100000262ff000019909216919091179055565b606060048054610d1a90612e83565b6111de61197f565b7f0000000000000000000000000ab6342741da644afa7c1a36ce16c99d74fd96056001600160a01b0316826001600160a01b0316036112855760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610e69565b610d0782826124dd565b5f338161129c828661171f565b9050838110156112fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e69565b610ea282868684036119d9565b5f33610da8818585611b6e565b61131e61197f565b6001600160a01b0382166113745760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610e69565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113dc9190612e51565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af115801561142c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114509190612e68565b50505050565b61145e61197f565b6001600160a01b0382165f818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6114c461197f565b601483905560158290556016819055806114de8385612f31565b6114e89190612f31565b6013819055606410156111835760405162461bcd60e51b815260206004820152601860248201527f53656c6c2066656573206d757374206265203c3d2031302500000000000000006044820152606401610e69565b61154561197f565b670de0b6b3a76400006103e861155a60025490565b61156590600a612ecf565b61156f9190612ee6565b6115799190612ee6565b8110156115d45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610e69565b6115e681670de0b6b3a7640000612ecf565b600a5550565b5f6115f561197f565b620186a061160260025490565b61160d906001612ecf565b6116179190612ee6565b8210156116845760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e69565b6103e861169060025490565b61169b906005612ecf565b6116a59190612ee6565b8211156117115760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e69565b50600981905560015b919050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61175161197f565b600b546301000000900460ff16156117b55760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610e69565b7f0000000000000000000000000ab6342741da644afa7c1a36ce16c99d74fd96056001600160a01b0316816001600160a01b03161415801561181457506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6118775760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610e69565b6001600160a01b03165f908152600e60205260409020805460ff19166001179055565b6118a261197f565b5f5b8151811015610d07575f600c5f8484815181106118c3576118c3612f05565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055806118fe81612f19565b9150506118a4565b61190e61197f565b6001600160a01b0381166119735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e69565b61197c8161248c565b50565b6005546001600160a01b03163314610fcd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e69565b6001600160a01b038316611a3b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e69565b6001600160a01b038216611a9c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e69565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b07848461171f565b90505f1981146114505781811015611b615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e69565b61145084848484036119d9565b6001600160a01b038316611b945760405162461bcd60e51b8152600401610e6990612f44565b6001600160a01b038216611bba5760405162461bcd60e51b8152600401610e6990612f89565b6001600160a01b0383165f908152600e602052604090205460ff1615611c175760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610e69565b6001600160a01b0382165f908152600e602052604090205460ff1615611c765760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610e69565b805f03611c885761118383835f61252f565b600b5460ff1615611ff3576005546001600160a01b03848116911614801590611cbf57506005546001600160a01b03838116911614155b8015611cd357506001600160a01b03821615155b8015611cea57506001600160a01b03821661dead14155b8015611d005750600554600160a01b900460ff16155b15611ff357600b54610100900460ff16611d96576001600160a01b0383165f908152601e602052604090205460ff1680611d5157506001600160a01b0382165f908152601e602052604090205460ff165b611d965760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610e69565b6001600160a01b0383165f90815260208052604090205460ff168015611dd457506001600160a01b0382165f908152601f602052604090205460ff16155b15611eb757600854811115611e495760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610e69565b600a546001600160a01b0383165f90815260208190526040902054611e6e9083612f31565b1115611eb25760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e69565b611ff3565b6001600160a01b0382165f90815260208052604090205460ff168015611ef557506001600160a01b0383165f908152601f602052604090205460ff16155b15611f6b57600854811115611eb25760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610e69565b6001600160a01b0382165f908152601f602052604090205460ff16611ff357600a546001600160a01b0383165f90815260208190526040902054611faf9083612f31565b1115611ff35760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e69565b305f908152602081905260409020546009548110801590819061201e5750600b5462010000900460ff165b80156120345750600554600160a01b900460ff16155b801561205757506001600160a01b0385165f90815260208052604090205460ff16155b801561207b57506001600160a01b0385165f908152601e602052604090205460ff16155b801561209f57506001600160a01b0384165f908152601e602052604090205460ff16155b156120cd576005805460ff60a01b1916600160a01b1790556120bf612657565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152601e602052604090205460ff600160a01b90920482161591168061211957506001600160a01b0385165f908152601e602052604090205460ff165b1561212157505f5b5f8115612478576001600160a01b0386165f90815260208052604090205460ff16801561214f57505f601354115b156122a55761215d876128a3565b15612219576121836103e861217d601754886128e490919063ffffffff16565b906128f6565b9050601754601954826121969190612ecf565b6121a09190612ee6565b601c5f8282546121b09190612f31565b9091555050601754601a546121c59083612ecf565b6121cf9190612ee6565b601d5f8282546121df9190612f31565b90915550506017546018546121f49083612ecf565b6121fe9190612ee6565b601b5f82825461220e9190612f31565b9091555061245a9050565b6122346103e861217d601354886128e490919063ffffffff16565b9050601354601554826122479190612ecf565b6122519190612ee6565b601c5f8282546122619190612f31565b90915550506013546016546122769083612ecf565b6122809190612ee6565b601d5f8282546122909190612f31565b90915550506013546014546121f49083612ecf565b6001600160a01b0387165f90815260208052604090205460ff1680156122cc57505f600f54115b1561235d576122ec6103e861217d600f54886128e490919063ffffffff16565b9050600f54601154826122ff9190612ecf565b6123099190612ee6565b601c5f8282546123199190612f31565b9091555050600f5460125461232e9083612ecf565b6123389190612ee6565b601d5f8282546123489190612f31565b9091555050600f546010546121f49083612ecf565b6001600160a01b0387165f908152600c602052604090205460ff16801561239b57506001600160a01b0386165f90815260208052604090205460ff16155b1561245a576123a9876128a3565b1561245a576123c96103e861217d601754886128e490919063ffffffff16565b9050601754601954826123dc9190612ecf565b6123e69190612ee6565b601c5f8282546123f69190612f31565b9091555050601754601a5461240b9083612ecf565b6124159190612ee6565b601d5f8282546124259190612f31565b909155505060175460185461243a9083612ecf565b6124449190612ee6565b601b5f8282546124549190612f31565b90915550505b801561246b5761246b87308361252f565b6124758186612fcc565b94505b61248387878761252f565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f818152602080526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125555760405162461bcd60e51b8152600401610e6990612f44565b6001600160a01b03821661257b5760405162461bcd60e51b8152600401610e6990612f89565b6001600160a01b0383165f90815260208190526040902054818110156125f25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e69565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611450565b305f9081526020819052604081205490505f601d54601b54601c5461267c9190612f31565b6126869190612f31565b90505f821580612694575081155b1561269e57505050565b6009546126ac906014612ecf565b8311156126c4576009546126c1906014612ecf565b92505b5f600283601c54866126d69190612ecf565b6126e09190612ee6565b6126ea9190612ee6565b90505f6126f78583612901565b9050476127038261290c565b5f61270e4783612901565b90505f61273b6002601c546127239190612ee6565b61272d9089612fcc565b601b5461217d9085906128e4565b90505f6127686002601c546127509190612ee6565b61275a908a612fcc565b601d5461217d9086906128e4565b90505f816127768486612fcc565b6127809190612fcc565b5f601c819055601b819055601d8190556007546040519293506001600160a01b031691849181818185875af1925050503d805f81146127da576040519150601f19603f3d011682016040523d82523d5f602084013e6127df565b606091505b509098505086158015906127f257505f81115b15612845576128018782612ac2565b601c54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b039091169047905f81818185875af1925050503d805f811461288f576040519150601f19603f3d011682016040523d82523d5f602084013e612894565b606091505b50505050505050505050505050565b600d545f9042108080156128ce57506001600160a01b0383165f908152600c602052604090205460ff165b156128dc5750600192915050565b505f92915050565b5f6128ef8284612ecf565b9392505050565b5f6128ef8284612ee6565b5f6128ef8284612fcc565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061293f5761293f612f05565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129df9190612fdf565b816001815181106129f2576129f2612f05565b60200260200101906001600160a01b031690816001600160a01b031681525050612a3d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846119d9565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612a919085905f90869030904290600401612ffa565b5f604051808303815f87803b158015612aa8575f80fd5b505af1158015612aba573d5f803e3d5ffd5b505050505050565b612aed307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846119d9565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7198230855f80612b336005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612b99573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612bbe9190613069565b5050505050565b5f6020808352835180828501525f5b81811015612bf057858101830151858201604001528201612bd4565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461197c575f80fd5b803561171a81612c10565b5f8060408385031215612c40575f80fd5b8235612c4b81612c10565b946020939093013593505050565b5f60208284031215612c69575f80fd5b81356128ef81612c10565b5f60208284031215612c84575f80fd5b5035919050565b5f805f60608486031215612c9d575f80fd5b8335612ca881612c10565b92506020840135612cb881612c10565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215612cee575f80fd5b823567ffffffffffffffff80821115612d05575f80fd5b818501915085601f830112612d18575f80fd5b813581811115612d2a57612d2a612cc9565b8060051b604051601f19603f83011681018181108582111715612d4f57612d4f612cc9565b604052918252848201925083810185019188831115612d6c575f80fd5b938501935b82851015612d9157612d8285612c24565b84529385019392850192612d71565b98975050505050505050565b801515811461197c575f80fd5b5f8060408385031215612dbb575f80fd5b8235612dc681612c10565b91506020830135612dd681612d9d565b809150509250929050565b5f805f60608486031215612df3575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215612e1a575f80fd5b81356128ef81612d9d565b5f8060408385031215612e36575f80fd5b8235612e4181612c10565b91506020830135612dd681612c10565b5f60208284031215612e61575f80fd5b5051919050565b5f60208284031215612e78575f80fd5b81516128ef81612d9d565b600181811c90821680612e9757607f821691505b602082108103612eb557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610dae57610dae612ebb565b5f82612f0057634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612f2a57612f2a612ebb565b5060010190565b80820180821115610dae57610dae612ebb565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610dae57610dae612ebb565b5f60208284031215612fef575f80fd5b81516128ef81612c10565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156130485784516001600160a01b031683529383019391830191600101613023565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121561307b575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212201a55f6e36e3a5791b290a056b2971ea72565cfcd52a37dd71466ba56f6bfaf3364736f6c63430008140033

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

000000000000000000000000a2a121666ce65e7efcd87065974435564c116b940000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _teamWallet (address): 0xA2a121666ce65e7Efcd87065974435564C116B94
Arg [1] : _v2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a2a121666ce65e7efcd87065974435564c116b94
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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.