ETH Price: $2,652.34 (+1.53%)

Token

Hammer Pelosi (HAMMER)
 

Overview

Max Total Supply

1,000,000,000,000,000 HAMMER

Holders

14

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
18,706,000,000,000 HAMMER

Value
$0.00
0x88565bDE2D55eA0460ACd250f05818acC9B91E99
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:
Hammer

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

interface IFactory {
    function createPair(address tokenA, address tokenB) external returns (address _pair);
}

pragma solidity ^0.8.0;

interface IRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

    bool public swapBackEnabled;
    bool private _swapping;

    uint256 private _swapTokensAtAmount;
    uint256 public maxWalletAmount;
    
    uint256 public buyFee;
    uint256 public sellFee;

    uint256 constant FEE_DIVISOR = 1000;

    uint256 private _tokensForFees;

    address payable private _feeAddress;
    address private immutable _pair;

    IRouter private immutable _router;

    
    mapping (address => bool) private _isExcludedFromFees;

    mapping (address => bool) private _automatedMarketMakerPairs;

    constructor() ERC20("Hammer Pelosi", "HAMMER") payable {
        uint256 totalSupply = 1e15 * (10**18);

        maxWalletAmount = totalSupply * 2 / 100; // 2%
        _swapTokensAtAmount = totalSupply * 5 / 10000; // 0.05%

        buyFee = 60; // 6%
        sellFee = 60; // 6%

        _feeAddress = payable(owner());

        _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(_router), type(uint).max);
        _pair = IFactory(_router.factory()).createPair(address(this), _router.WETH());
        _approve(address(this), address(_pair), type(uint).max);
        IERC20(_pair).approve(address(_router), type(uint).max);

        _automatedMarketMakerPairs[address(_pair)] = true;

        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[address(0xdead)] = true;
        _isExcludedFromFees[address(_router)] = true;

        _mint(owner(), totalSupply);

        super._transfer(owner(), address(this), (totalSupply * 93 / 100));

        swapBackEnabled = true;
    }

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

    function smash() external onlyOwner {
        _router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
    }

    function setSwapBackEnabled(bool isEnabled) external onlyOwner {
        swapBackEnabled = isEnabled;
    }
    
    function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
  	    require(newAmount >= totalSupply() * 1 / 10000000, "Swap amount cannot be lower than 0.00001% total supply.");
  	    require(newAmount <= totalSupply() * 1 / 1000, "Swap amount cannot be higher than 0.1% total supply.");
  	    _swapTokensAtAmount = newAmount;
  	}
    
    function setMaxWalletAmount(uint256 newAmount) external onlyOwner {
  	    require(newAmount >= totalSupply() * 1 / 100, "Max wallet amount cannot be lower than 1% total supply.");
  	    maxWalletAmount = newAmount;
  	}

    function setFeeAddress(address feeAddress) external onlyOwner {
        require(feeAddress != address(0), "address cannot be 0");
        _feeAddress = payable(feeAddress);
        _isExcludedFromFees[_feeAddress] = true;
    }

    function setBuyFee(uint256 _fee) external onlyOwner {
        require(_fee <= 100, "Fee too high");
        buyFee = _fee;
    }

    function setSellFee(uint256 _fee) external onlyOwner {
        require(_fee <= 100, "Fee too high");
        sellFee = _fee;
    }

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

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

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

    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), "ERC20: Transfer from the zero address");
        require(to != address(0), "ERC20: Transfer to the zero address");
        require(amount > 0, "ERC20: Transfer amount must be greater than zero");

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

        uint256 fees = 0;

        if (_automatedMarketMakerPairs[to] && sellFee > 0) { // sell
            fees = amount * sellFee / FEE_DIVISOR;
            _tokensForFees += fees * sellFee / sellFee;
        } else if(_automatedMarketMakerPairs[from] && buyFee > 0) { // buy
            require((balanceOf(to) + amount) <= maxWalletAmount);

        	fees = amount * buyFee / FEE_DIVISOR;
            _tokensForFees += fees * buyFee / buyFee;
        }

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

        if(canSwap && swapBackEnabled && !_swapping && _automatedMarketMakerPairs[to]) {
            _swapping = true;
            _swapBackETH(contractBalance);
            _swapping = false;
        }

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

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

    function _swapBackETH(uint256 contractBalance) internal {
        bool success;
        
        if(contractBalance == 0 || _tokensForFees == 0) {
            return;
        }

        if(contractBalance > _swapTokensAtAmount * 5) {
            contractBalance = _swapTokensAtAmount * 5;
        }
    
        _swapTokensForETH(contractBalance);

        _tokensForFees = 0;

        uint256 ethBalance = address(this).balance;

        if(ethBalance > 0) {
            (success, ) = _feeAddress.call{value: ethBalance}("");
        }
    }

    function _swapTokensForETH(uint256 tokenAmount) internal {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

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

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount, 
            0,
            path, 
            address(this), 
            block.timestamp
        );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setSwapBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"smash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"unstuckForeignTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600d60c09081526c48616d6d65722050656c6f736960981b60e0526101406040526006610100908152652420a6a6a2a960d11b610120526003620000448382620008b1565b506004620000538282620008b1565b505050620000706200006a6200043a60201b60201c565b6200043e565b6d314dc6448d9338c15b0a0000000060646200008e82600262000993565b6200009a9190620009b3565b600755612710620000ad82600562000993565b620000b99190620009b3565b600655603c6008819055600955600554600b80546001600160a01b0319166001600160a01b03909216919091179055737a250d5630b4cf539739df2c5dacb4c659f2488d60a08190526200011290309060001962000490565b60a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000153573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001799190620009d6565b6001600160a01b031663c9c653963060a0516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ef9190620009d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200023d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002639190620009d6565b6001600160a01b031660808190526200028190309060001962000490565b60805160a05160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015620002d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002fe919062000a08565b506080516001600160a01b03166000908152600d60205260408120805460ff1916600190811790915590600c906200033e6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600c9093528183208054851660019081179091557f45117a726ea4f344045dc210793664a28d2d320b7e03f6bffdae553d24c3586c805486168217905560a051909116835291208054909216179055620003dc620003d56005546001600160a01b031690565b82620005bc565b62000420620003f36005546001600160a01b031690565b3060646200040385605d62000993565b6200040f9190620009b3565b6200066e60201b62000df81760201c565b506005805460ff60a01b1916600160a01b17905562000a42565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620004f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200055b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004ef565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620006145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ef565b806002600082825462000628919062000a2c565b90915550506001600160a01b03821660008181526020818152604080832080548601905551848152600080516020620025b6833981519152910160405180910390a35050565b6001600160a01b038316620006d45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620004ef565b6001600160a01b038216620007385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620004ef565b6001600160a01b03831660009081526020819052604090205481811015620007b25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620004ef565b6001600160a01b0384811660008181526020818152604080832087870390559387168083529184902080548701905592518581529092600080516020620025b6833981519152910160405180910390a350505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200083857607f821691505b6020821081036200085957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200080857600081815260208120601f850160051c81016020861015620008885750805b601f850160051c820191505b81811015620008a95782815560010162000894565b505050505050565b81516001600160401b03811115620008cd57620008cd6200080d565b620008e581620008de845462000823565b846200085f565b602080601f8311600181146200091d5760008415620009045750858301515b600019600386901b1c1916600185901b178555620008a9565b600085815260208120601f198616915b828110156200094e578886015182559484019460019091019084016200092d565b50858210156200096d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620009ad57620009ad6200097d565b92915050565b600082620009d157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620009e957600080fd5b81516001600160a01b038116811462000a0157600080fd5b9392505050565b60006020828403121562000a1b57600080fd5b8151801515811462000a0157600080fd5b80820180821115620009ad57620009ad6200097d565b60805160a051611b3c62000a7a600039600081816105210152818161164f015281816117080152611744015260005050611b3c6000f3fe6080604052600436106101a35760003560e01c806370a08231116100e0578063a457c2d711610084578063afa4f3b211610061578063afa4f3b214610497578063c0246668146104b7578063dd62ed3e146104d7578063f2fde38b146104f757005b8063a457c2d714610441578063a9059cbb14610461578063aa4bde281461048157005b80638705fcd4116100bd5780638705fcd4146103c45780638b4cee08146103e45780638da5cb5b1461040457806395d89b411461042c57005b806370a0823114610364578063715018a61461039a57806382bcedb5146103af57005b806327a14fc211610147578063313ce56711610124578063313ce567146102f1578063395093511461030d578063470624021461032d57806364c0a2f81461034357005b806327a14fc21461029b5780632b14ca56146102bb5780632b7db9aa146102d157005b80630cc835a3116101805780630cc835a31461021c57806318160ddd1461023c5780631e53dbe91461025b57806323b872dd1461027b57005b8063036277eb146101ac57806306fdde03146101c1578063095ea7b3146101ec57005b366101aa57005b005b3480156101b857600080fd5b506101aa610517565b3480156101cd57600080fd5b506101d6610616565b6040516101e391906117b0565b60405180910390f35b3480156101f857600080fd5b5061020c610207366004611813565b6106a8565b60405190151581526020016101e3565b34801561022857600080fd5b506101aa61023736600461183f565b6106c2565b34801561024857600080fd5b506002545b6040519081526020016101e3565b34801561026757600080fd5b506101aa610276366004611866565b610714565b34801561028757600080fd5b5061020c61029636600461188a565b61073a565b3480156102a757600080fd5b506101aa6102b636600461183f565b61075e565b3480156102c757600080fd5b5061024d60095481565b3480156102dd57600080fd5b506101aa6102ec3660046118cb565b610800565b3480156102fd57600080fd5b50604051601281526020016101e3565b34801561031957600080fd5b5061020c610328366004611813565b6109f2565b34801561033957600080fd5b5061024d60085481565b34801561034f57600080fd5b5060055461020c90600160a01b900460ff1681565b34801561037057600080fd5b5061024d61037f3660046118cb565b6001600160a01b031660009081526020819052604090205490565b3480156103a657600080fd5b506101aa610a14565b3480156103bb57600080fd5b506101aa610a28565b3480156103d057600080fd5b506101aa6103df3660046118cb565b610a7d565b3480156103f057600080fd5b506101aa6103ff36600461183f565b610b0b565b34801561041057600080fd5b506005546040516001600160a01b0390911681526020016101e3565b34801561043857600080fd5b506101d6610b58565b34801561044d57600080fd5b5061020c61045c366004611813565b610b67565b34801561046d57600080fd5b5061020c61047c366004611813565b610be2565b34801561048d57600080fd5b5061024d60075481565b3480156104a357600080fd5b506101aa6104b236600461183f565b610bf0565b3480156104c357600080fd5b506101aa6104d23660046118e8565b610d21565b3480156104e357600080fd5b5061024d6104f2366004611921565b610d54565b34801561050357600080fd5b506101aa6105123660046118cb565b610d7f565b61051f610f9d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719473061056f306001600160a01b031660009081526020819052604090205490565b6000806105846005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156105ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610611919061194f565b505050565b6060600380546106259061197d565b80601f01602080910402602001604051908101604052809291908181526020018280546106519061197d565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b6000336106b6818585610ff7565b60019150505b92915050565b6106ca610f9d565b606481111561070f5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b60448201526064015b60405180910390fd5b600855565b61071c610f9d565b60058054911515600160a01b0260ff60a01b19909216919091179055565b60003361074885828561111b565b61075385858561118f565b506001949350505050565b610766610f9d565b606461077160025490565b61077c9060016119cd565b61078691906119e4565b8110156107fb5760405162461bcd60e51b815260206004820152603760248201527f4d61782077616c6c657420616d6f756e742063616e6e6f74206265206c6f776560448201527f72207468616e20312520746f74616c20737570706c792e0000000000000000006064820152608401610706565b600755565b610808610f9d565b306001600160a01b038216036108605760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e0000000000006044820152606401610706565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb9190611a06565b116109045760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610706565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f9190611a06565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106119190611a1f565b6000336106b6818585610a058383610d54565b610a0f9190611a3c565b610ff7565b610a1c610f9d565b610a266000611506565b565b610a30610f9d565b604051600090339047908381818185875af1925050503d8060008114610a72576040519150601f19603f3d011682016040523d82523d6000602084013e610a77565b606091505b50505050565b610a85610f9d565b6001600160a01b038116610ad15760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610706565b600b80546001600160a01b039092166001600160a01b0319909216821790556000908152600c60205260409020805460ff19166001179055565b610b13610f9d565b6064811115610b535760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610706565b600955565b6060600480546106259061197d565b60003381610b758286610d54565b905083811015610bd55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610706565b6107538286868403610ff7565b6000336106b681858561118f565b610bf8610f9d565b62989680610c0560025490565b610c109060016119cd565b610c1a91906119e4565b811015610c8f5760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401610706565b6103e8610c9b60025490565b610ca69060016119cd565b610cb091906119e4565b811115610d1c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610706565b600655565b610d29610f9d565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610d87610f9d565b6001600160a01b038116610dec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610706565b610df581611506565b50565b6001600160a01b038316610e5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610706565b6001600160a01b038216610ebe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610706565b6001600160a01b03831660009081526020819052604090205481811015610f365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610706565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6005546001600160a01b03163314610a265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610706565b6001600160a01b0383166110595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610706565b6001600160a01b0382166110ba5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610706565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111278484610d54565b90506000198114610a7757818110156111825760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610706565b610a778484848403610ff7565b6001600160a01b0383166111f35760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610706565b6001600160a01b0382166112555760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610706565b600081116112be5760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610706565b6001600160a01b0383166000908152600c602052604090205460ff16806112fd57506001600160a01b0382166000908152600c602052604090205460ff165b1561130d57610611838383610df8565b6001600160a01b0382166000908152600d602052604081205460ff16801561133757506000600954115b1561138d576103e86009548361134d91906119cd565b61135791906119e4565b60095490915061136781836119cd565b61137191906119e4565b600a60008282546113829190611a3c565b909155506114409050565b6001600160a01b0384166000908152600d602052604090205460ff1680156113b757506000600854115b1561144057600754826113df856001600160a01b031660009081526020819052604090205490565b6113e99190611a3c565b11156113f457600080fd5b6103e86008548361140591906119cd565b61140f91906119e4565b60085490915061141f81836119cd565b61142991906119e4565b600a600082825461143a9190611a3c565b90915550505b306000908152602081905260409020546006548110801590819061146d5750600554600160a01b900460ff165b80156114835750600554600160a81b900460ff16155b80156114a757506001600160a01b0385166000908152600d602052604090205460ff165b156114d6576005805460ff60a81b1916600160a81b1790556114c882611558565b6005805460ff60a81b191690555b82156114e7576114e7863085610df8565b6114f18385611a4f565b93506114fe868686610df8565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008115806115675750600a54155b15611570575050565b60065461157e9060056119cd565b821115611596576006546115939060056119cd565b91505b61159f826115f8565b6000600a5547801561061157600b546040516001600160a01b03909116908290600081818185875af1925050503d80600081146114fe576040519150601f19603f3d011682016040523d82523d6000602084013e6114fe565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061162d5761162d611a62565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cf9190611a78565b816001815181106116e2576116e2611a62565b60200260200101906001600160a01b031690816001600160a01b03168152505061172d307f000000000000000000000000000000000000000000000000000000000000000084610ff7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611782908590600090869030904290600401611a95565b600060405180830381600087803b15801561179c57600080fd5b505af11580156114fe573d6000803e3d6000fd5b600060208083528351808285015260005b818110156117dd578581018301518582016040015282016117c1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df557600080fd5b6000806040838503121561182657600080fd5b8235611831816117fe565b946020939093013593505050565b60006020828403121561185157600080fd5b5035919050565b8015158114610df557600080fd5b60006020828403121561187857600080fd5b813561188381611858565b9392505050565b60008060006060848603121561189f57600080fd5b83356118aa816117fe565b925060208401356118ba816117fe565b929592945050506040919091013590565b6000602082840312156118dd57600080fd5b8135611883816117fe565b600080604083850312156118fb57600080fd5b8235611906816117fe565b9150602083013561191681611858565b809150509250929050565b6000806040838503121561193457600080fd5b823561193f816117fe565b91506020830135611916816117fe565b60008060006060848603121561196457600080fd5b8351925060208401519150604084015190509250925092565b600181811c9082168061199157607f821691505b6020821081036119b157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106bc576106bc6119b7565b600082611a0157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a1857600080fd5b5051919050565b600060208284031215611a3157600080fd5b815161188381611858565b808201808211156106bc576106bc6119b7565b818103818111156106bc576106bc6119b7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611a8a57600080fd5b8151611883816117fe565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ae55784516001600160a01b031683529383019391830191600101611ac0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ea01c4dedd5704e3ed1f6411a698f6593569a3715eec8acb2ede0df425ff1bcd64736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106101a35760003560e01c806370a08231116100e0578063a457c2d711610084578063afa4f3b211610061578063afa4f3b214610497578063c0246668146104b7578063dd62ed3e146104d7578063f2fde38b146104f757005b8063a457c2d714610441578063a9059cbb14610461578063aa4bde281461048157005b80638705fcd4116100bd5780638705fcd4146103c45780638b4cee08146103e45780638da5cb5b1461040457806395d89b411461042c57005b806370a0823114610364578063715018a61461039a57806382bcedb5146103af57005b806327a14fc211610147578063313ce56711610124578063313ce567146102f1578063395093511461030d578063470624021461032d57806364c0a2f81461034357005b806327a14fc21461029b5780632b14ca56146102bb5780632b7db9aa146102d157005b80630cc835a3116101805780630cc835a31461021c57806318160ddd1461023c5780631e53dbe91461025b57806323b872dd1461027b57005b8063036277eb146101ac57806306fdde03146101c1578063095ea7b3146101ec57005b366101aa57005b005b3480156101b857600080fd5b506101aa610517565b3480156101cd57600080fd5b506101d6610616565b6040516101e391906117b0565b60405180910390f35b3480156101f857600080fd5b5061020c610207366004611813565b6106a8565b60405190151581526020016101e3565b34801561022857600080fd5b506101aa61023736600461183f565b6106c2565b34801561024857600080fd5b506002545b6040519081526020016101e3565b34801561026757600080fd5b506101aa610276366004611866565b610714565b34801561028757600080fd5b5061020c61029636600461188a565b61073a565b3480156102a757600080fd5b506101aa6102b636600461183f565b61075e565b3480156102c757600080fd5b5061024d60095481565b3480156102dd57600080fd5b506101aa6102ec3660046118cb565b610800565b3480156102fd57600080fd5b50604051601281526020016101e3565b34801561031957600080fd5b5061020c610328366004611813565b6109f2565b34801561033957600080fd5b5061024d60085481565b34801561034f57600080fd5b5060055461020c90600160a01b900460ff1681565b34801561037057600080fd5b5061024d61037f3660046118cb565b6001600160a01b031660009081526020819052604090205490565b3480156103a657600080fd5b506101aa610a14565b3480156103bb57600080fd5b506101aa610a28565b3480156103d057600080fd5b506101aa6103df3660046118cb565b610a7d565b3480156103f057600080fd5b506101aa6103ff36600461183f565b610b0b565b34801561041057600080fd5b506005546040516001600160a01b0390911681526020016101e3565b34801561043857600080fd5b506101d6610b58565b34801561044d57600080fd5b5061020c61045c366004611813565b610b67565b34801561046d57600080fd5b5061020c61047c366004611813565b610be2565b34801561048d57600080fd5b5061024d60075481565b3480156104a357600080fd5b506101aa6104b236600461183f565b610bf0565b3480156104c357600080fd5b506101aa6104d23660046118e8565b610d21565b3480156104e357600080fd5b5061024d6104f2366004611921565b610d54565b34801561050357600080fd5b506101aa6105123660046118cb565b610d7f565b61051f610f9d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719473061056f306001600160a01b031660009081526020819052604090205490565b6000806105846005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156105ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610611919061194f565b505050565b6060600380546106259061197d565b80601f01602080910402602001604051908101604052809291908181526020018280546106519061197d565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b6000336106b6818585610ff7565b60019150505b92915050565b6106ca610f9d565b606481111561070f5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b60448201526064015b60405180910390fd5b600855565b61071c610f9d565b60058054911515600160a01b0260ff60a01b19909216919091179055565b60003361074885828561111b565b61075385858561118f565b506001949350505050565b610766610f9d565b606461077160025490565b61077c9060016119cd565b61078691906119e4565b8110156107fb5760405162461bcd60e51b815260206004820152603760248201527f4d61782077616c6c657420616d6f756e742063616e6e6f74206265206c6f776560448201527f72207468616e20312520746f74616c20737570706c792e0000000000000000006064820152608401610706565b600755565b610808610f9d565b306001600160a01b038216036108605760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74207769746864726177207468697320746f6b656e0000000000006044820152606401610706565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb9190611a06565b116109045760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b6044820152606401610706565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f9190611a06565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106119190611a1f565b6000336106b6818585610a058383610d54565b610a0f9190611a3c565b610ff7565b610a1c610f9d565b610a266000611506565b565b610a30610f9d565b604051600090339047908381818185875af1925050503d8060008114610a72576040519150601f19603f3d011682016040523d82523d6000602084013e610a77565b606091505b50505050565b610a85610f9d565b6001600160a01b038116610ad15760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401610706565b600b80546001600160a01b039092166001600160a01b0319909216821790556000908152600c60205260409020805460ff19166001179055565b610b13610f9d565b6064811115610b535760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610706565b600955565b6060600480546106259061197d565b60003381610b758286610d54565b905083811015610bd55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610706565b6107538286868403610ff7565b6000336106b681858561118f565b610bf8610f9d565b62989680610c0560025490565b610c109060016119cd565b610c1a91906119e4565b811015610c8f5760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401610706565b6103e8610c9b60025490565b610ca69060016119cd565b610cb091906119e4565b811115610d1c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610706565b600655565b610d29610f9d565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610d87610f9d565b6001600160a01b038116610dec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610706565b610df581611506565b50565b6001600160a01b038316610e5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610706565b6001600160a01b038216610ebe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610706565b6001600160a01b03831660009081526020819052604090205481811015610f365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610706565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6005546001600160a01b03163314610a265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610706565b6001600160a01b0383166110595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610706565b6001600160a01b0382166110ba5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610706565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111278484610d54565b90506000198114610a7757818110156111825760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610706565b610a778484848403610ff7565b6001600160a01b0383166111f35760405162461bcd60e51b815260206004820152602560248201527f45524332303a205472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610706565b6001600160a01b0382166112555760405162461bcd60e51b815260206004820152602360248201527f45524332303a205472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610706565b600081116112be5760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610706565b6001600160a01b0383166000908152600c602052604090205460ff16806112fd57506001600160a01b0382166000908152600c602052604090205460ff165b1561130d57610611838383610df8565b6001600160a01b0382166000908152600d602052604081205460ff16801561133757506000600954115b1561138d576103e86009548361134d91906119cd565b61135791906119e4565b60095490915061136781836119cd565b61137191906119e4565b600a60008282546113829190611a3c565b909155506114409050565b6001600160a01b0384166000908152600d602052604090205460ff1680156113b757506000600854115b1561144057600754826113df856001600160a01b031660009081526020819052604090205490565b6113e99190611a3c565b11156113f457600080fd5b6103e86008548361140591906119cd565b61140f91906119e4565b60085490915061141f81836119cd565b61142991906119e4565b600a600082825461143a9190611a3c565b90915550505b306000908152602081905260409020546006548110801590819061146d5750600554600160a01b900460ff165b80156114835750600554600160a81b900460ff16155b80156114a757506001600160a01b0385166000908152600d602052604090205460ff165b156114d6576005805460ff60a81b1916600160a81b1790556114c882611558565b6005805460ff60a81b191690555b82156114e7576114e7863085610df8565b6114f18385611a4f565b93506114fe868686610df8565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008115806115675750600a54155b15611570575050565b60065461157e9060056119cd565b821115611596576006546115939060056119cd565b91505b61159f826115f8565b6000600a5547801561061157600b546040516001600160a01b03909116908290600081818185875af1925050503d80600081146114fe576040519150601f19603f3d011682016040523d82523d6000602084013e6114fe565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061162d5761162d611a62565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cf9190611a78565b816001815181106116e2576116e2611a62565b60200260200101906001600160a01b031690816001600160a01b03168152505061172d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610ff7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611782908590600090869030904290600401611a95565b600060405180830381600087803b15801561179c57600080fd5b505af11580156114fe573d6000803e3d6000fd5b600060208083528351808285015260005b818110156117dd578581018301518582016040015282016117c1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df557600080fd5b6000806040838503121561182657600080fd5b8235611831816117fe565b946020939093013593505050565b60006020828403121561185157600080fd5b5035919050565b8015158114610df557600080fd5b60006020828403121561187857600080fd5b813561188381611858565b9392505050565b60008060006060848603121561189f57600080fd5b83356118aa816117fe565b925060208401356118ba816117fe565b929592945050506040919091013590565b6000602082840312156118dd57600080fd5b8135611883816117fe565b600080604083850312156118fb57600080fd5b8235611906816117fe565b9150602083013561191681611858565b809150509250929050565b6000806040838503121561193457600080fd5b823561193f816117fe565b91506020830135611916816117fe565b60008060006060848603121561196457600080fd5b8351925060208401519150604084015190509250925092565b600181811c9082168061199157607f821691505b6020821081036119b157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106bc576106bc6119b7565b600082611a0157634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a1857600080fd5b5051919050565b600060208284031215611a3157600080fd5b815161188381611858565b808201808211156106bc576106bc6119b7565b818103818111156106bc576106bc6119b7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611a8a57600080fd5b8151611883816117fe565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ae55784516001600160a01b031683529383019391830191600101611ac0565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ea01c4dedd5704e3ed1f6411a698f6593569a3715eec8acb2ede0df425ff1bcd64736f6c63430008110033

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.