ETH Price: $3,403.19 (+2.70%)

Token

SatoshiStreetBets Coin (SSB)
 

Overview

Max Total Supply

420,690,000,000,000 SSB

Holders

2,172 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.313416915209453895 SSB

Value
$0.00
0x49ad3a2d26c441e1b93a99f349dd5e4f34c696af
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

SSB is the official meme coin of the legendary meme coin community. This is a rally cry to all diamond-handed holders, a call to arms that echoes the legendary GameStop short squeeze.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SatoshiStreetBets

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : SatoshiStreetBets.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";

interface IAirdrop {
    function airdrop(address recipient, uint256 amount) external;
}

interface IAMMRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);
}

interface IAMMFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint256);

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

    function getPair(address tokenA, address tokenB) external view returns (address pair);
}


contract SatoshiStreetBets is Ownable, Pausable, ERC20, ERC20Burnable {

  uint256 private constant  TOTAL_SUPPLY    = 420_690_000_000_000 ether;
  uint256 public constant   MAX_BUY         = 100_000_000_000 ether;

    IAMMRouter public AMMRouter;
    address public AMMPair;

 bool public restrictedModeEnabled = true;

  mapping(address => bool) private whitelist;

  mapping(address => bool) private poolList;
  mapping(address => uint) private _lastBlockTransfer;

  bool private _blockContracts;
    bool private _limitBuys;
    bool private _checkTrades=false;


  event LiquidityPoolSet(address);
  event WhitelistUpdated(address indexed _address, bool _isWhitelisted);

  error NoZeroTransfers();
  error LimitExceeded();
  error NotAllowed();
  error ContractPaused();

  constructor(address routerAddress) ERC20("SatoshiStreetBets Coin", "SSB") Ownable() {

    IAMMRouter _uniswapV2Router = IAMMRouter(routerAddress);
    AMMPair = IAMMFactory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
    AMMRouter = _uniswapV2Router;
    whitelist[address(AMMPair)] = true;
    whitelist[address(AMMRouter)] = true;
    whitelist[msg.sender] = true;
    whitelist[address(this)] = true;
     _mint(msg.sender, TOTAL_SUPPLY);
    _blockContracts = true;
    _pause();
  }

    function setRestrictedMode(bool set) external onlyOwner {
        restrictedModeEnabled = set;
    }


  function setPools(address[] calldata _val) external onlyOwner {
    for (uint256 i = 0; i < _val.length; i++) {
      address _pool = _val[i];
      poolList[_pool] = true;
      emit LiquidityPoolSet(address(_pool));
    }
  }

  function setAddressToWhiteList(address _address, bool _allow) external onlyOwner {
    whitelist[_address] = _allow;
    emit WhitelistUpdated(_address, _allow);
  }

  function setBlockContracts(bool _val) external onlyOwner {
    _blockContracts = _val;
  }

    function setLimitBuys(bool _val) external onlyOwner {
    _limitBuys = _val;
  }

    function setTradeChecking(bool _val) external onlyOwner {
    _checkTrades = _val;
  }


  function renounceOwnership() public override onlyOwner {
    super.renounceOwnership();
  }



  function pause() external onlyOwner {
    _pause();
  }

  function unpause() external onlyOwner {
    _unpause();
  }

  function _isContract(address _address) internal view returns (bool) {
    uint32 size;
    assembly {
        size := extcodesize(_address)
    }
    return (size > 0);
  }

  function _checkIfBot(address _address) internal view returns (bool) {
    return (_isContract(_address)) && !whitelist[_address];
  }

  function _beforeTokenTransfer(address sender, address recipient, uint256 amount) internal override {
    if (amount == 0) { revert NoZeroTransfers(); }
    super._beforeTokenTransfer(sender, recipient, amount);

    if (restrictedModeEnabled) {
          require(owner() == msg.sender, "_transfer: only the owner can do transfers");
    }

    if (paused() && !whitelist[sender]) { revert ContractPaused(); }
     
    if (block.number == _lastBlockTransfer[sender] || block.number == _lastBlockTransfer[recipient]) {
      revert NotAllowed();
    }

    bool isBuy = poolList[sender];
    bool isSell = poolList[recipient];

    if(_checkTrades){
      if (isBuy) {
        if (_blockContracts && _checkIfBot(recipient)) { revert NotAllowed(); }
        if (_limitBuys && amount > MAX_BUY) { revert LimitExceeded(); }
        _lastBlockTransfer[recipient] = block.number;
      } else if (isSell) {
        _lastBlockTransfer[sender] = block.number;
      }
    }
  }

    function airdrop(address recipient, uint256 amount)  external onlyOwner  {
        require(recipient != address(0), "recipient can not be address zero!");
        _transfer(_msgSender(), recipient, amount * 10**decimals());
    }

    function airdropInternal(address recipient, uint256 amount) internal {
        _transfer(_msgSender(), recipient, amount);
    }

    function airdropArray(address[] calldata newholders, uint256[] calldata amounts)  external onlyOwner  {
        uint256 iterator = 0;
        require(newholders.length == amounts.length, "must be the same length");
        while (iterator < newholders.length) {
            airdropInternal(newholders[iterator], amounts[iterator] * 10**decimals());
            iterator += 1;
        }
    }
}

File 2 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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.zeppelin.solutions/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 5 of 8 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

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":"routerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[],"name":"LimitExceeded","type":"error"},{"inputs":[],"name":"NoZeroTransfers","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"LiquidityPoolSet","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isWhitelisted","type":"bool"}],"name":"WhitelistUpdated","type":"event"},{"inputs":[],"name":"AMMPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AMMRouter","outputs":[{"internalType":"contract IAMMRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BUY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newholders","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropArray","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restrictedModeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_allow","type":"bool"}],"name":"setAddressToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setBlockContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setLimitBuys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_val","type":"address[]"}],"name":"setPools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"set","type":"bool"}],"name":"setRestrictedMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setTradeChecking","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff60a01b1916600160a01b179055600b805462ff0000191690553480156200003057600080fd5b50604051620023283803806200232883398101604081905262000053916200089a565b6040518060400160405280601681526020017f5361746f7368695374726565744265747320436f696e000000000000000000008152506040518060400160405280600381526020016229a9a160e91b815250620000bf620000b96200033360201b60201c565b62000337565b6000805460ff60a01b191690558151620000e1906004906020850190620007f4565b508051620000f7906005906020840190620007f4565b5050506000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200013957600080fd5b505afa1580156200014e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017491906200089a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001bd57600080fd5b505afa158015620001d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f891906200089a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200024157600080fd5b505af115801562000256573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027c91906200089a565b600780546001600160a01b03199081166001600160a01b0393841690811790925560068054909116848416178155600091825260086020526040808320805460ff1990811660019081179092559254909416835280832080548316851790553380845281842080548416861790553084529220805490911690921790915562000314906d14bddab3e51a57cff87a5000000062000387565b600b805460ff191660011790556200032b6200047e565b505062000930565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003e35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620003f1600083836200052d565b8060036000828254620004059190620008cc565b90915550506001600160a01b0382166000908152600160205260408120805483929062000434908490620008cc565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b62000492600054600160a01b900460ff1690565b15620004d45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620003da565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620005103390565b6040516001600160a01b03909116815260200160405180910390a1565b806200054c57604051637713e26f60e01b815260040160405180910390fd5b62000564838383620007b760201b620007851760201c565b600754600160a01b900460ff1615620005f657336200058b6000546001600160a01b031690565b6001600160a01b031614620005f65760405162461bcd60e51b815260206004820152602a60248201527f5f7472616e736665723a206f6e6c7920746865206f776e65722063616e20646f604482015269207472616e736665727360b01b6064820152608401620003da565b6200060a600054600160a01b900460ff1690565b80156200063057506001600160a01b03831660009081526008602052604090205460ff16155b156200064f5760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a60205260409020544314806200068d57506001600160a01b0382166000908152600a602052604090205443145b15620006ac57604051631eb49d6d60e11b815260040160405180910390fd5b6001600160a01b03808416600090815260096020526040808220549285168252902054600b5460ff9283169291821691620100009091041615620007b05781156200078d57600b5460ff1680156200070a57506200070a84620007bc565b156200072957604051631eb49d6d60e11b815260040160405180910390fd5b600b54610100900460ff1680156200074d57506c01431e0fae6d7217caa000000083115b156200076c57604051631930e3c960e11b815260040160405180910390fd5b6001600160a01b0384166000908152600a60205260409020439055620007b0565b8015620007b0576001600160a01b0385166000908152600a602052604090204390555b5050505050565b505050565b600063ffffffff823b1615158015620007ee57506001600160a01b03821660009081526008602052604090205460ff16155b92915050565b8280546200080290620008f3565b90600052602060002090601f01602090048101928262000826576000855562000871565b82601f106200084157805160ff191683800117855562000871565b8280016001018555821562000871579182015b828111156200087157825182559160200191906001019062000854565b506200087f92915062000883565b5090565b5b808211156200087f576000815560010162000884565b600060208284031215620008ad57600080fd5b81516001600160a01b0381168114620008c557600080fd5b9392505050565b60008219821115620008ee57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200090857607f821691505b602082108114156200092a57634e487b7160e01b600052602260045260246000fd5b50919050565b6119e880620009406000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637f263e871161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610404578063e3b239641461043d578063ed66a0ad14610450578063f2fde38b1461046357600080fd5b8063a9059cbb146103b7578063aa9748ef146103ca578063d46b136c146103dd578063d4a3883f146103f157600080fd5b80638da5cb5b116100de5780638da5cb5b1461037757806395d89b4114610388578063a457c2d714610390578063a50515c5146103a357600080fd5b80637f263e87146103365780638456cb59146103495780638544c53b146103515780638ba4cc3c1461036457600080fd5b80633f4ba83a116101875780635c975abb116101565780635c975abb146102e057806370a08231146102f2578063715018a61461031b57806379cc67901461032357600080fd5b80633f4ba83a1461028757806342966c681461028f57806353866824146102a2578063549bc8b4146102b557600080fd5b806318160ddd116101c357806318160ddd1461024057806323b872dd14610252578063313ce56714610265578063395093511461027457600080fd5b8063055c69d4146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f836600461153b565b610476565b005b6102076104c5565b604051610214919061155d565b60405180910390f35b61023061022b3660046115c9565b610557565b6040519015158152602001610214565b6003545b604051908152602001610214565b6102306102603660046115f3565b61056e565b60405160128152602001610214565b6102306102823660046115c9565b610618565b6101fd610654565b6101fd61029d36600461162f565b610688565b6101fd6102b036600461153b565b610695565b6007546102c8906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b600054600160a01b900460ff16610230565b610244610300366004611648565b6001600160a01b031660009081526001602052604090205490565b6101fd6106d2565b6101fd6103313660046115c9565b610704565b6006546102c8906001600160a01b031681565b6101fd61078a565b6101fd61035f3660046116af565b6107bc565b6101fd6103723660046115c9565b610887565b6000546001600160a01b03166102c8565b610207610936565b61023061039e3660046115c9565b610945565b60075461023090600160a01b900460ff1681565b6102306103c53660046115c9565b6109de565b6101fd6103d836600461153b565b6109eb565b6102446c01431e0fae6d7217caa000000081565b6101fd6103ff3660046116f1565b610a33565b61024461041236600461175d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101fd61044b36600461153b565b610b2d565b6101fd61045e366004611790565b610b71565b6101fd610471366004611648565b610bfa565b6000546001600160a01b031633146104a95760405162461bcd60e51b81526004016104a0906117ba565b60405180910390fd5b600b8054911515620100000262ff000019909216919091179055565b6060600480546104d4906117ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610500906117ef565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b5050505050905090565b6000610564338484610c92565b5060015b92915050565b600061057b848484610db6565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106005760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104a0565b61060d8533858403610c92565b506001949350505050565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161056491859061064f908690611840565b610c92565b6000546001600160a01b0316331461067e5760405162461bcd60e51b81526004016104a0906117ba565b610686610f90565b565b610692338261102d565b50565b6000546001600160a01b031633146106bf5760405162461bcd60e51b81526004016104a0906117ba565b600b805460ff1916911515919091179055565b6000546001600160a01b031633146106fc5760405162461bcd60e51b81526004016104a0906117ba565b610686611187565b60006107108333610412565b90508181101561076e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016104a0565b61077b8333848403610c92565b610785838361102d565b505050565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016104a0906117ba565b6106866111bb565b6000546001600160a01b031633146107e65760405162461bcd60e51b81526004016104a0906117ba565b60005b8181101561078557600083838381811061080557610805611858565b905060200201602081019061081a9190611648565b6001600160a01b038116600081815260096020908152604091829020805460ff1916600117905590519182529192507fe57f71636571365571c0eaeaeb54e1d9e0065804f056a57a2a29448524f7d18a910160405180910390a1508061087f8161186e565b9150506107e9565b6000546001600160a01b031633146108b15760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b0382166109125760405162461bcd60e51b815260206004820152602260248201527f726563697069656e742063616e206e6f742062652061646472657373207a65726044820152616f2160f01b60648201526084016104a0565b61093233836109236012600a61196d565b61092d908561197c565b610db6565b5050565b6060600580546104d4906117ef565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a0565b6109d43385858403610c92565b5060019392505050565b6000610564338484610db6565b6000546001600160a01b03163314610a155760405162461bcd60e51b81526004016104a0906117ba565b60078054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a5d5760405162461bcd60e51b81526004016104a0906117ba565b6000838214610aae5760405162461bcd60e51b815260206004820152601760248201527f6d757374206265207468652073616d65206c656e67746800000000000000000060448201526064016104a0565b83811015610b2657610b14858583818110610acb57610acb611858565b9050602002016020810190610ae09190611648565b610aec6012600a61196d565b858585818110610afe57610afe611858565b90506020020135610b0f919061197c565b611243565b610b1f600182611840565b9050610aae565b5050505050565b6000546001600160a01b03163314610b575760405162461bcd60e51b81526004016104a0906117ba565b600b80549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527ff93f9a76c1bf3444d22400a00cb9fe990e6abe9dbb333fda48859cfee864543d910160405180910390a25050565b6000546001600160a01b03163314610c245760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b038116610c895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104a0565b6106928161124e565b6001600160a01b038316610cf45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a0565b6001600160a01b038216610d555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e1a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a0565b6001600160a01b038216610e7c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a0565b610e8783838361129e565b6001600160a01b03831660009081526001602052604090205481811015610eff5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a0565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f36908490611840565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8291815260200190565b60405180910390a350505050565b600054600160a01b900460ff16610fe05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104a0565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03821661108d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104a0565b6110998260008361129e565b6001600160a01b0382166000908152600160205260409020548181101561110d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104a0565b6001600160a01b038316600090815260016020526040812083830390556003805484929061113c90849061199b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000546001600160a01b031633146111b15760405162461bcd60e51b81526004016104a0906117ba565b610686600061124e565b600054600160a01b900460ff16156112085760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104a0565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110103390565b610932338383610db6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b806112bc57604051637713e26f60e01b815260040160405180910390fd5b600754600160a01b900460ff161561134a57336112e16000546001600160a01b031690565b6001600160a01b03161461134a5760405162461bcd60e51b815260206004820152602a60248201527f5f7472616e736665723a206f6e6c7920746865206f776e65722063616e20646f604482015269207472616e736665727360b01b60648201526084016104a0565b600054600160a01b900460ff16801561137c57506001600160a01b03831660009081526008602052604090205460ff16155b1561139a5760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a60205260409020544314806113d757506001600160a01b0382166000908152600a602052604090205443145b156113f557604051631eb49d6d60e11b815260040160405180910390fd5b6001600160a01b03808416600090815260096020526040808220549285168252902054600b5460ff9283169291821691620100009091041615610b265781156114cd57600b5460ff16801561144e575061144e846114f3565b1561146c57604051631eb49d6d60e11b815260040160405180910390fd5b600b54610100900460ff16801561148f57506c01431e0fae6d7217caa000000083115b156114ad57604051631930e3c960e11b815260040160405180910390fd5b6001600160a01b0384166000908152600a60205260409020439055610b26565b8015610b2657505050506001600160a01b03166000908152600a60205260409020439055565b6000813b63ffffffff16151580156105685750506001600160a01b031660009081526008602052604090205460ff161590565b8035801515811461153657600080fd5b919050565b60006020828403121561154d57600080fd5b61155682611526565b9392505050565b600060208083528351808285015260005b8181101561158a5785810183015185820160400152820161156e565b8181111561159c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461153657600080fd5b600080604083850312156115dc57600080fd5b6115e5836115b2565b946020939093013593505050565b60008060006060848603121561160857600080fd5b611611846115b2565b925061161f602085016115b2565b9150604084013590509250925092565b60006020828403121561164157600080fd5b5035919050565b60006020828403121561165a57600080fd5b611556826115b2565b60008083601f84011261167557600080fd5b50813567ffffffffffffffff81111561168d57600080fd5b6020830191508360208260051b85010111156116a857600080fd5b9250929050565b600080602083850312156116c257600080fd5b823567ffffffffffffffff8111156116d957600080fd5b6116e585828601611663565b90969095509350505050565b6000806000806040858703121561170757600080fd5b843567ffffffffffffffff8082111561171f57600080fd5b61172b88838901611663565b9096509450602087013591508082111561174457600080fd5b5061175187828801611663565b95989497509550505050565b6000806040838503121561177057600080fd5b611779836115b2565b9150611787602084016115b2565b90509250929050565b600080604083850312156117a357600080fd5b6117ac836115b2565b915061178760208401611526565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061180357607f821691505b6020821081141561182457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118535761185361182a565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156118825761188261182a565b5060010190565b600181815b808511156118c45781600019048211156118aa576118aa61182a565b808516156118b757918102915b93841c939080029061188e565b509250929050565b6000826118db57506001610568565b816118e857506000610568565b81600181146118fe576002811461190857611924565b6001915050610568565b60ff8411156119195761191961182a565b50506001821b610568565b5060208310610133831016604e8410600b8410161715611947575081810a610568565b6119518383611889565b80600019048211156119655761196561182a565b029392505050565b600061155660ff8416836118cc565b60008160001904831182151516156119965761199661182a565b500290565b6000828210156119ad576119ad61182a565b50039056fea264697066735822122051972e3319ac5b32296e56e47246b598993fe0841a88a36ec292c5f7627f317e64736f6c634300080900330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637f263e871161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610404578063e3b239641461043d578063ed66a0ad14610450578063f2fde38b1461046357600080fd5b8063a9059cbb146103b7578063aa9748ef146103ca578063d46b136c146103dd578063d4a3883f146103f157600080fd5b80638da5cb5b116100de5780638da5cb5b1461037757806395d89b4114610388578063a457c2d714610390578063a50515c5146103a357600080fd5b80637f263e87146103365780638456cb59146103495780638544c53b146103515780638ba4cc3c1461036457600080fd5b80633f4ba83a116101875780635c975abb116101565780635c975abb146102e057806370a08231146102f2578063715018a61461031b57806379cc67901461032357600080fd5b80633f4ba83a1461028757806342966c681461028f57806353866824146102a2578063549bc8b4146102b557600080fd5b806318160ddd116101c357806318160ddd1461024057806323b872dd14610252578063313ce56714610265578063395093511461027457600080fd5b8063055c69d4146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f836600461153b565b610476565b005b6102076104c5565b604051610214919061155d565b60405180910390f35b61023061022b3660046115c9565b610557565b6040519015158152602001610214565b6003545b604051908152602001610214565b6102306102603660046115f3565b61056e565b60405160128152602001610214565b6102306102823660046115c9565b610618565b6101fd610654565b6101fd61029d36600461162f565b610688565b6101fd6102b036600461153b565b610695565b6007546102c8906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b600054600160a01b900460ff16610230565b610244610300366004611648565b6001600160a01b031660009081526001602052604090205490565b6101fd6106d2565b6101fd6103313660046115c9565b610704565b6006546102c8906001600160a01b031681565b6101fd61078a565b6101fd61035f3660046116af565b6107bc565b6101fd6103723660046115c9565b610887565b6000546001600160a01b03166102c8565b610207610936565b61023061039e3660046115c9565b610945565b60075461023090600160a01b900460ff1681565b6102306103c53660046115c9565b6109de565b6101fd6103d836600461153b565b6109eb565b6102446c01431e0fae6d7217caa000000081565b6101fd6103ff3660046116f1565b610a33565b61024461041236600461175d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101fd61044b36600461153b565b610b2d565b6101fd61045e366004611790565b610b71565b6101fd610471366004611648565b610bfa565b6000546001600160a01b031633146104a95760405162461bcd60e51b81526004016104a0906117ba565b60405180910390fd5b600b8054911515620100000262ff000019909216919091179055565b6060600480546104d4906117ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610500906117ef565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b5050505050905090565b6000610564338484610c92565b5060015b92915050565b600061057b848484610db6565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106005760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104a0565b61060d8533858403610c92565b506001949350505050565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161056491859061064f908690611840565b610c92565b6000546001600160a01b0316331461067e5760405162461bcd60e51b81526004016104a0906117ba565b610686610f90565b565b610692338261102d565b50565b6000546001600160a01b031633146106bf5760405162461bcd60e51b81526004016104a0906117ba565b600b805460ff1916911515919091179055565b6000546001600160a01b031633146106fc5760405162461bcd60e51b81526004016104a0906117ba565b610686611187565b60006107108333610412565b90508181101561076e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016104a0565b61077b8333848403610c92565b610785838361102d565b505050565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016104a0906117ba565b6106866111bb565b6000546001600160a01b031633146107e65760405162461bcd60e51b81526004016104a0906117ba565b60005b8181101561078557600083838381811061080557610805611858565b905060200201602081019061081a9190611648565b6001600160a01b038116600081815260096020908152604091829020805460ff1916600117905590519182529192507fe57f71636571365571c0eaeaeb54e1d9e0065804f056a57a2a29448524f7d18a910160405180910390a1508061087f8161186e565b9150506107e9565b6000546001600160a01b031633146108b15760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b0382166109125760405162461bcd60e51b815260206004820152602260248201527f726563697069656e742063616e206e6f742062652061646472657373207a65726044820152616f2160f01b60648201526084016104a0565b61093233836109236012600a61196d565b61092d908561197c565b610db6565b5050565b6060600580546104d4906117ef565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a0565b6109d43385858403610c92565b5060019392505050565b6000610564338484610db6565b6000546001600160a01b03163314610a155760405162461bcd60e51b81526004016104a0906117ba565b60078054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a5d5760405162461bcd60e51b81526004016104a0906117ba565b6000838214610aae5760405162461bcd60e51b815260206004820152601760248201527f6d757374206265207468652073616d65206c656e67746800000000000000000060448201526064016104a0565b83811015610b2657610b14858583818110610acb57610acb611858565b9050602002016020810190610ae09190611648565b610aec6012600a61196d565b858585818110610afe57610afe611858565b90506020020135610b0f919061197c565b611243565b610b1f600182611840565b9050610aae565b5050505050565b6000546001600160a01b03163314610b575760405162461bcd60e51b81526004016104a0906117ba565b600b80549115156101000261ff0019909216919091179055565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527ff93f9a76c1bf3444d22400a00cb9fe990e6abe9dbb333fda48859cfee864543d910160405180910390a25050565b6000546001600160a01b03163314610c245760405162461bcd60e51b81526004016104a0906117ba565b6001600160a01b038116610c895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104a0565b6106928161124e565b6001600160a01b038316610cf45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a0565b6001600160a01b038216610d555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e1a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a0565b6001600160a01b038216610e7c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a0565b610e8783838361129e565b6001600160a01b03831660009081526001602052604090205481811015610eff5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a0565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f36908490611840565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f8291815260200190565b60405180910390a350505050565b600054600160a01b900460ff16610fe05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104a0565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03821661108d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104a0565b6110998260008361129e565b6001600160a01b0382166000908152600160205260409020548181101561110d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104a0565b6001600160a01b038316600090815260016020526040812083830390556003805484929061113c90849061199b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000546001600160a01b031633146111b15760405162461bcd60e51b81526004016104a0906117ba565b610686600061124e565b600054600160a01b900460ff16156112085760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016104a0565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110103390565b610932338383610db6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b806112bc57604051637713e26f60e01b815260040160405180910390fd5b600754600160a01b900460ff161561134a57336112e16000546001600160a01b031690565b6001600160a01b03161461134a5760405162461bcd60e51b815260206004820152602a60248201527f5f7472616e736665723a206f6e6c7920746865206f776e65722063616e20646f604482015269207472616e736665727360b01b60648201526084016104a0565b600054600160a01b900460ff16801561137c57506001600160a01b03831660009081526008602052604090205460ff16155b1561139a5760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a60205260409020544314806113d757506001600160a01b0382166000908152600a602052604090205443145b156113f557604051631eb49d6d60e11b815260040160405180910390fd5b6001600160a01b03808416600090815260096020526040808220549285168252902054600b5460ff9283169291821691620100009091041615610b265781156114cd57600b5460ff16801561144e575061144e846114f3565b1561146c57604051631eb49d6d60e11b815260040160405180910390fd5b600b54610100900460ff16801561148f57506c01431e0fae6d7217caa000000083115b156114ad57604051631930e3c960e11b815260040160405180910390fd5b6001600160a01b0384166000908152600a60205260409020439055610b26565b8015610b2657505050506001600160a01b03166000908152600a60205260409020439055565b6000813b63ffffffff16151580156105685750506001600160a01b031660009081526008602052604090205460ff161590565b8035801515811461153657600080fd5b919050565b60006020828403121561154d57600080fd5b61155682611526565b9392505050565b600060208083528351808285015260005b8181101561158a5785810183015185820160400152820161156e565b8181111561159c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461153657600080fd5b600080604083850312156115dc57600080fd5b6115e5836115b2565b946020939093013593505050565b60008060006060848603121561160857600080fd5b611611846115b2565b925061161f602085016115b2565b9150604084013590509250925092565b60006020828403121561164157600080fd5b5035919050565b60006020828403121561165a57600080fd5b611556826115b2565b60008083601f84011261167557600080fd5b50813567ffffffffffffffff81111561168d57600080fd5b6020830191508360208260051b85010111156116a857600080fd5b9250929050565b600080602083850312156116c257600080fd5b823567ffffffffffffffff8111156116d957600080fd5b6116e585828601611663565b90969095509350505050565b6000806000806040858703121561170757600080fd5b843567ffffffffffffffff8082111561171f57600080fd5b61172b88838901611663565b9096509450602087013591508082111561174457600080fd5b5061175187828801611663565b95989497509550505050565b6000806040838503121561177057600080fd5b611779836115b2565b9150611787602084016115b2565b90509250929050565b600080604083850312156117a357600080fd5b6117ac836115b2565b915061178760208401611526565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061180357607f821691505b6020821081141561182457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118535761185361182a565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156118825761188261182a565b5060010190565b600181815b808511156118c45781600019048211156118aa576118aa61182a565b808516156118b757918102915b93841c939080029061188e565b509250929050565b6000826118db57506001610568565b816118e857506000610568565b81600181146118fe576002811461190857611924565b6001915050610568565b60ff8411156119195761191961182a565b50506001821b610568565b5060208310610133831016604e8410600b8410161715611947575081810a610568565b6119518383611889565b80600019048211156119655761196561182a565b029392505050565b600061155660ff8416836118cc565b60008160001904831182151516156119965761199661182a565b500290565b6000828210156119ad576119ad61182a565b50039056fea264697066735822122051972e3319ac5b32296e56e47246b598993fe0841a88a36ec292c5f7627f317e64736f6c63430008090033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 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.