Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 EFT
Holders
171
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,000 EFTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Everflow
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion, Audited
Contract Source Code (Solidity Standard Json-Input format)Audit Report
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract Everflow is ERC20, Ownable { using SafeMath for uint256; uint public thresholdLimit = 1e6 ether; uint public maxPurchaseLimit; uint public buySellTax; bool private inSwapAndLiquify; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping (address => bool) private _isExcludedFromFee; event ExcludeFromFee(address indexed account, bool isExcluded); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); event TaxUpdated(uint taxPercent); event PurchaseLimitUpdated(uint limitPercent); constructor(address _router, uint256 _buySellTax, uint256 _purchaseLimit) ERC20("Everflow Token", "EFT") { _mint(_msgSender(), 1e9 ether); address uniswapRouter = _router; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(uniswapRouter); IUniswapV2Factory _uniswapFactory = IUniswapV2Factory(_uniswapV2Router.factory()); address _uniswapV2Pair = _uniswapFactory.createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; buySellTax = _buySellTax; maxPurchaseLimit = _purchaseLimit; excludeFromFee(uniswapV2Pair, true); excludeFromFee(address(uniswapRouter), true); excludeFromFee(_msgSender(), true); } receive() external payable {} modifier lockTheSwap { require(!inSwapAndLiquify, "Swap and liquify in progress"); inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function swapAndAddLiquify(uint256 toSwapLiquidity) private lockTheSwap { uint256 half = toSwapLiquidity.div(2); uint256 otherHalf = toSwapLiquidity.sub(half); uint256 initialBalance = address(this).balance; swapTokensForETH(half); uint256 newBalance = address(this).balance.sub(initialBalance); addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _transfer(address from, address to, uint256 amount) internal override { require(amount > 0, "Transfer amount must be greater than 0"); uint256 taxAmount = 0; if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to]) { require(amount <= totalSupply().mul(maxPurchaseLimit).div(1e2), "Amount exceeds max purchase amount."); } if((!_isExcludedFromFee[from] || !_isExcludedFromFee[to]) && from != address(this)){ if((from == uniswapV2Pair || to == uniswapV2Pair) && buySellTax > 0){ taxAmount = amount.mul(buySellTax).div(1e2); super._transfer(from, address(this), taxAmount); } } if (!inSwapAndLiquify && to == uniswapV2Pair && !_isExcludedFromFee[from]) { uint256 balance = balanceOf(address(this)); if(balance >= thresholdLimit) { swapAndAddLiquify(balance); } } super._transfer(from, to, amount.sub(taxAmount)); } function setSellBuyTax(uint _tax) external onlyOwner { require(_tax <= 5, "Tax should be lower than 5%"); buySellTax = _tax; emit TaxUpdated(_tax); } function setPurchaseLimit(uint _limit) external onlyOwner { maxPurchaseLimit = _limit; emit PurchaseLimitUpdated(_limit); } function excludeFromFee(address account, bool excluded) public onlyOwner { _isExcludedFromFee[account] = excluded; emit ExcludeFromFee(account, excluded); } function withdrawETH(address payable _to) external onlyOwner { require(address(this).balance > 0, "No ETH to withdraw"); uint256 amount = address(this).balance; (bool sent, ) = _to.call{value: amount}(""); require(sent, "Failed to send Ether"); } function withdrawERC20Token(address token, address to) public onlyOwner { uint256 balance = IERC20(address(token)).balanceOf(address(this)); require(balance > 0, "Not enough tokens in contract"); IERC20(address(token)).transfer(to, balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // 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; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- Cyberscope - Mar 9th, 2024 - Security Audit Report
[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"uint256","name":"_buySellTax","type":"uint256"},{"internalType":"uint256","name":"_purchaseLimit","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFee","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":"uint256","name":"limitPercent","type":"uint256"}],"name":"PurchaseLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"taxPercent","type":"uint256"}],"name":"TaxUpdated","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"},{"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":"buySellTax","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":"excludeFromFee","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":"maxPurchaseLimit","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":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"setSellBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thresholdLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405269d3c21bcecceda10000006006553480156200001f57600080fd5b5060405162001e2038038062001e208339810160408190526200004291620004bd565b6040518060400160405280600e81526020016d22bb32b9333637bb902a37b5b2b760911b8152506040518060400160405280600381526020016211519560ea1b815250816003908162000096919062000599565b506004620000a5828262000599565b505050620000c2620000bc620002b760201b60201c565b620002bb565b620000da336b033b2e3c9fd0803ce80000006200030d565b600083905060008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014b919062000665565b90506000816001600160a01b031663c9c6539630856001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c4919062000665565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000212573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000238919062000665565b600980546001600160a01b0380871661010002610100600160a81b031990921691909117909155600a80549183166001600160a01b0319909216821790556008889055600787905590915062000290906001620003d4565b6200029d846001620003d4565b620002aa336001620003d4565b50505050505050620006b2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200037d91906200068a565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620003de62000442565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527fd5144d2a6c8ff9b87b7a40852df5102cab2ce561c06b56cc6fe7ccf1fa7f8c2d910160405180910390a25050565b505050565b6005546001600160a01b031633146200049e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000360565b565b80516001600160a01b0381168114620004b857600080fd5b919050565b600080600060608486031215620004d357600080fd5b620004de84620004a0565b925060208401519150604084015190509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200052057607f821691505b6020821081036200054157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043d57600081815260208120601f850160051c81016020861015620005705750805b601f850160051c820191505b8181101562000591578281556001016200057c565b505050505050565b81516001600160401b03811115620005b557620005b5620004f5565b620005cd81620005c684546200050b565b8462000547565b602080601f831160018114620006055760008415620005ec5750858301515b600019600386901b1c1916600185901b17855562000591565b600085815260208120601f198616915b82811015620006365788860151825594840194600190910190840162000615565b5085821015620006555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200067857600080fd5b6200068382620004a0565b9392505050565b80820180821115620006ac57634e487b7160e01b600052601160045260246000fd5b92915050565b61175e80620006c26000396000f3fe60806040526004361061014f5760003560e01c8063715018a6116100b6578063dd62ed3e1161006f578063dd62ed3e146103be578063df8408fe146103de578063e50a46e6146103fe578063eb0064be1461041e578063ecfbe70c14610434578063f2fde38b1461045457600080fd5b8063715018a6146103205780638da5cb5b1461033557806395d89b411461035357806396e1c7d114610368578063a457c2d71461037e578063a9059cbb1461039e57600080fd5b8063313ce56711610108578063313ce5671461024c578063395093511461026857806349bd5a5e14610288578063690d8320146102a85780636edc4388146102ca57806370a08231146102ea57600080fd5b806306fdde031461015b578063095ea7b3146101865780630fb7be3b146101b65780631694505e146101da57806318160ddd1461021757806323b872dd1461022c57600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50610170610474565b60405161017d91906113f6565b60405180910390f35b34801561019257600080fd5b506101a66101a1366004611459565b610506565b604051901515815260200161017d565b3480156101c257600080fd5b506101cc60075481565b60405190815260200161017d565b3480156101e657600080fd5b506009546101ff9061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b34801561022357600080fd5b506002546101cc565b34801561023857600080fd5b506101a6610247366004611485565b610520565b34801561025857600080fd5b506040516012815260200161017d565b34801561027457600080fd5b506101a6610283366004611459565b610544565b34801561029457600080fd5b50600a546101ff906001600160a01b031681565b3480156102b457600080fd5b506102c86102c33660046114c6565b610566565b005b3480156102d657600080fd5b506102c86102e53660046114e3565b610657565b3480156102f657600080fd5b506101cc6103053660046114c6565b6001600160a01b031660009081526020819052604090205490565b34801561032c57600080fd5b506102c861069b565b34801561034157600080fd5b506005546001600160a01b03166101ff565b34801561035f57600080fd5b506101706106af565b34801561037457600080fd5b506101cc60085481565b34801561038a57600080fd5b506101a6610399366004611459565b6106be565b3480156103aa57600080fd5b506101a66103b9366004611459565b610739565b3480156103ca57600080fd5b506101cc6103d93660046114fc565b610747565b3480156103ea57600080fd5b506102c86103f9366004611543565b610772565b34801561040a57600080fd5b506102c86104193660046114e3565b6107d9565b34801561042a57600080fd5b506101cc60065481565b34801561044057600080fd5b506102c861044f3660046114fc565b610867565b34801561046057600080fd5b506102c861046f3660046114c6565b6109a5565b60606003805461048390611571565b80601f01602080910402602001604051908101604052809291908181526020018280546104af90611571565b80156104fc5780601f106104d1576101008083540402835291602001916104fc565b820191906000526020600020905b8154815290600101906020018083116104df57829003601f168201915b5050505050905090565b600033610514818585610a1e565b60019150505b92915050565b60003361052e858285610b42565b610539858585610bb6565b506001949350505050565b6000336105148185856105578383610747565b61056191906115c1565b610a1e565b61056e610e2d565b600047116105b85760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064015b60405180910390fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610605576040519150601f19603f3d011682016040523d82523d6000602084013e61060a565b606091505b50509050806106525760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016105af565b505050565b61065f610e2d565b60078190556040518181527fee131fa00e37f4b10e0ad1bffe4a204cdc5e73b4c9bfab1e2de9ae163dde1edc906020015b60405180910390a150565b6106a3610e2d565b6106ad6000610e87565b565b60606004805461048390611571565b600033816106cc8286610747565b90508381101561072c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105af565b6105398286868403610a1e565b600033610514818585610bb6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61077a610e2d565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527fd5144d2a6c8ff9b87b7a40852df5102cab2ce561c06b56cc6fe7ccf1fa7f8c2d910160405180910390a25050565b6107e1610e2d565b60058111156108325760405162461bcd60e51b815260206004820152601b60248201527f5461782073686f756c64206265206c6f776572207468616e203525000000000060448201526064016105af565b60088190556040518181527f35ad15e7f5e4a16b548e8916bd02c51847dde8d106f334b4edaaacf140e43c9190602001610690565b61086f610e2d565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156108b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108da91906115d4565b90506000811161092c5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320696e20636f6e747261637400000060448201526064016105af565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af115801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906115ed565b50505050565b6109ad610e2d565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105af565b610a1b81610e87565b50565b6001600160a01b038316610a805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105af565b6001600160a01b038216610ae15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105af565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b4e8484610747565b9050600019811461099f5781811015610ba95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105af565b61099f8484848403610a1e565b60008111610c155760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201526507468616e20360d41b60648201526084016105af565b600a546000906001600160a01b038581169116148015610c4857506009546001600160a01b038481166101009092041614155b8015610c6d57506001600160a01b0383166000908152600b602052604090205460ff16155b15610ced57610c926064610c8c600754610c8660025490565b90610ed9565b90610eec565b821115610ced5760405162461bcd60e51b815260206004820152602360248201527f416d6f756e742065786365656473206d617820707572636861736520616d6f75604482015262373a1760e91b60648201526084016105af565b6001600160a01b0384166000908152600b602052604090205460ff161580610d2e57506001600160a01b0383166000908152600b602052604090205460ff16155b8015610d4357506001600160a01b0384163014155b15610dab57600a546001600160a01b0385811691161480610d715750600a546001600160a01b038481169116145b8015610d7f57506000600854115b15610dab57610d9e6064610c8c60085485610ed990919063ffffffff16565b9050610dab843083610ef8565b60095460ff16158015610dcb5750600a546001600160a01b038481169116145b8015610df057506001600160a01b0384166000908152600b602052604090205460ff16155b15610e1957306000908152602081905260409020546006548110610e1757610e178161109c565b505b61099f8484610e28858561118d565b610ef8565b6005546001600160a01b031633146106ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105af565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ee5828461160a565b9392505050565b6000610ee58284611621565b6001600160a01b038316610f5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105af565b6001600160a01b038216610fbe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105af565b6001600160a01b038316600090815260208190526040902054818110156110365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105af565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361099f565b60095460ff16156110ef5760405162461bcd60e51b815260206004820152601c60248201527f5377617020616e64206c69717569667920696e2070726f67726573730000000060448201526064016105af565b6009805460ff191660011790556000611109826002610eec565b90506000611117838361118d565b90504761112383611199565b600061112f478361118d565b905061113b8382611316565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506009805460ff19169055505050565b6000610ee58284611643565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106111ce576111ce611656565b60200260200101906001600160a01b031690816001600160a01b031681525050600960019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611265919061166c565b8160018151811061127857611278611656565b6001600160a01b0392831660209182029290920101526009546112a391309161010090041684610a1e565b60095460405163791ac94760e01b81526101009091046001600160a01b03169063791ac947906112e0908590600090869030904290600401611689565b600060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b505050505050565b60095461133390309061010090046001600160a01b031684610a1e565b6009546001600160a01b036101009091041663f305d7198230856000806113626005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156113ca573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906113ef91906116fa565b5050505050565b600060208083528351808285015260005b8181101561142357858101830151858201604001528201611407565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a1b57600080fd5b6000806040838503121561146c57600080fd5b823561147781611444565b946020939093013593505050565b60008060006060848603121561149a57600080fd5b83356114a581611444565b925060208401356114b581611444565b929592945050506040919091013590565b6000602082840312156114d857600080fd5b8135610ee581611444565b6000602082840312156114f557600080fd5b5035919050565b6000806040838503121561150f57600080fd5b823561151a81611444565b9150602083013561152a81611444565b809150509250929050565b8015158114610a1b57600080fd5b6000806040838503121561155657600080fd5b823561156181611444565b9150602083013561152a81611535565b600181811c9082168061158557607f821691505b6020821081036115a557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051a5761051a6115ab565b6000602082840312156115e657600080fd5b5051919050565b6000602082840312156115ff57600080fd5b8151610ee581611535565b808202811582820484141761051a5761051a6115ab565b60008261163e57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561051a5761051a6115ab565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561167e57600080fd5b8151610ee581611444565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116d95784516001600160a01b0316835293830193918301916001016116b4565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561170f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220aa5035af614460f03a669ad0490ddda0b3f787a0ce9f45473e9f254caa055b2e64736f6c634300081100330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003
Deployed Bytecode
0x60806040526004361061014f5760003560e01c8063715018a6116100b6578063dd62ed3e1161006f578063dd62ed3e146103be578063df8408fe146103de578063e50a46e6146103fe578063eb0064be1461041e578063ecfbe70c14610434578063f2fde38b1461045457600080fd5b8063715018a6146103205780638da5cb5b1461033557806395d89b411461035357806396e1c7d114610368578063a457c2d71461037e578063a9059cbb1461039e57600080fd5b8063313ce56711610108578063313ce5671461024c578063395093511461026857806349bd5a5e14610288578063690d8320146102a85780636edc4388146102ca57806370a08231146102ea57600080fd5b806306fdde031461015b578063095ea7b3146101865780630fb7be3b146101b65780631694505e146101da57806318160ddd1461021757806323b872dd1461022c57600080fd5b3661015657005b600080fd5b34801561016757600080fd5b50610170610474565b60405161017d91906113f6565b60405180910390f35b34801561019257600080fd5b506101a66101a1366004611459565b610506565b604051901515815260200161017d565b3480156101c257600080fd5b506101cc60075481565b60405190815260200161017d565b3480156101e657600080fd5b506009546101ff9061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161017d565b34801561022357600080fd5b506002546101cc565b34801561023857600080fd5b506101a6610247366004611485565b610520565b34801561025857600080fd5b506040516012815260200161017d565b34801561027457600080fd5b506101a6610283366004611459565b610544565b34801561029457600080fd5b50600a546101ff906001600160a01b031681565b3480156102b457600080fd5b506102c86102c33660046114c6565b610566565b005b3480156102d657600080fd5b506102c86102e53660046114e3565b610657565b3480156102f657600080fd5b506101cc6103053660046114c6565b6001600160a01b031660009081526020819052604090205490565b34801561032c57600080fd5b506102c861069b565b34801561034157600080fd5b506005546001600160a01b03166101ff565b34801561035f57600080fd5b506101706106af565b34801561037457600080fd5b506101cc60085481565b34801561038a57600080fd5b506101a6610399366004611459565b6106be565b3480156103aa57600080fd5b506101a66103b9366004611459565b610739565b3480156103ca57600080fd5b506101cc6103d93660046114fc565b610747565b3480156103ea57600080fd5b506102c86103f9366004611543565b610772565b34801561040a57600080fd5b506102c86104193660046114e3565b6107d9565b34801561042a57600080fd5b506101cc60065481565b34801561044057600080fd5b506102c861044f3660046114fc565b610867565b34801561046057600080fd5b506102c861046f3660046114c6565b6109a5565b60606003805461048390611571565b80601f01602080910402602001604051908101604052809291908181526020018280546104af90611571565b80156104fc5780601f106104d1576101008083540402835291602001916104fc565b820191906000526020600020905b8154815290600101906020018083116104df57829003601f168201915b5050505050905090565b600033610514818585610a1e565b60019150505b92915050565b60003361052e858285610b42565b610539858585610bb6565b506001949350505050565b6000336105148185856105578383610747565b61056191906115c1565b610a1e565b61056e610e2d565b600047116105b85760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064015b60405180910390fd5b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610605576040519150601f19603f3d011682016040523d82523d6000602084013e61060a565b606091505b50509050806106525760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016105af565b505050565b61065f610e2d565b60078190556040518181527fee131fa00e37f4b10e0ad1bffe4a204cdc5e73b4c9bfab1e2de9ae163dde1edc906020015b60405180910390a150565b6106a3610e2d565b6106ad6000610e87565b565b60606004805461048390611571565b600033816106cc8286610747565b90508381101561072c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105af565b6105398286868403610a1e565b600033610514818585610bb6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61077a610e2d565b6001600160a01b0382166000818152600b6020908152604091829020805460ff191685151590811790915591519182527fd5144d2a6c8ff9b87b7a40852df5102cab2ce561c06b56cc6fe7ccf1fa7f8c2d910160405180910390a25050565b6107e1610e2d565b60058111156108325760405162461bcd60e51b815260206004820152601b60248201527f5461782073686f756c64206265206c6f776572207468616e203525000000000060448201526064016105af565b60088190556040518181527f35ad15e7f5e4a16b548e8916bd02c51847dde8d106f334b4edaaacf140e43c9190602001610690565b61086f610e2d565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156108b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108da91906115d4565b90506000811161092c5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320696e20636f6e747261637400000060448201526064016105af565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303816000875af115801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906115ed565b50505050565b6109ad610e2d565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105af565b610a1b81610e87565b50565b6001600160a01b038316610a805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105af565b6001600160a01b038216610ae15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105af565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b4e8484610747565b9050600019811461099f5781811015610ba95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105af565b61099f8484848403610a1e565b60008111610c155760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201526507468616e20360d41b60648201526084016105af565b600a546000906001600160a01b038581169116148015610c4857506009546001600160a01b038481166101009092041614155b8015610c6d57506001600160a01b0383166000908152600b602052604090205460ff16155b15610ced57610c926064610c8c600754610c8660025490565b90610ed9565b90610eec565b821115610ced5760405162461bcd60e51b815260206004820152602360248201527f416d6f756e742065786365656473206d617820707572636861736520616d6f75604482015262373a1760e91b60648201526084016105af565b6001600160a01b0384166000908152600b602052604090205460ff161580610d2e57506001600160a01b0383166000908152600b602052604090205460ff16155b8015610d4357506001600160a01b0384163014155b15610dab57600a546001600160a01b0385811691161480610d715750600a546001600160a01b038481169116145b8015610d7f57506000600854115b15610dab57610d9e6064610c8c60085485610ed990919063ffffffff16565b9050610dab843083610ef8565b60095460ff16158015610dcb5750600a546001600160a01b038481169116145b8015610df057506001600160a01b0384166000908152600b602052604090205460ff16155b15610e1957306000908152602081905260409020546006548110610e1757610e178161109c565b505b61099f8484610e28858561118d565b610ef8565b6005546001600160a01b031633146106ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105af565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ee5828461160a565b9392505050565b6000610ee58284611621565b6001600160a01b038316610f5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105af565b6001600160a01b038216610fbe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105af565b6001600160a01b038316600090815260208190526040902054818110156110365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105af565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361099f565b60095460ff16156110ef5760405162461bcd60e51b815260206004820152601c60248201527f5377617020616e64206c69717569667920696e2070726f67726573730000000060448201526064016105af565b6009805460ff191660011790556000611109826002610eec565b90506000611117838361118d565b90504761112383611199565b600061112f478361118d565b905061113b8382611316565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506009805460ff19169055505050565b6000610ee58284611643565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106111ce576111ce611656565b60200260200101906001600160a01b031690816001600160a01b031681525050600960019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611265919061166c565b8160018151811061127857611278611656565b6001600160a01b0392831660209182029290920101526009546112a391309161010090041684610a1e565b60095460405163791ac94760e01b81526101009091046001600160a01b03169063791ac947906112e0908590600090869030904290600401611689565b600060405180830381600087803b1580156112fa57600080fd5b505af115801561130e573d6000803e3d6000fd5b505050505050565b60095461133390309061010090046001600160a01b031684610a1e565b6009546001600160a01b036101009091041663f305d7198230856000806113626005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156113ca573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906113ef91906116fa565b5050505050565b600060208083528351808285015260005b8181101561142357858101830151858201604001528201611407565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a1b57600080fd5b6000806040838503121561146c57600080fd5b823561147781611444565b946020939093013593505050565b60008060006060848603121561149a57600080fd5b83356114a581611444565b925060208401356114b581611444565b929592945050506040919091013590565b6000602082840312156114d857600080fd5b8135610ee581611444565b6000602082840312156114f557600080fd5b5035919050565b6000806040838503121561150f57600080fd5b823561151a81611444565b9150602083013561152a81611444565b809150509250929050565b8015158114610a1b57600080fd5b6000806040838503121561155657600080fd5b823561156181611444565b9150602083013561152a81611535565b600181811c9082168061158557607f821691505b6020821081036115a557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051a5761051a6115ab565b6000602082840312156115e657600080fd5b5051919050565b6000602082840312156115ff57600080fd5b8151610ee581611535565b808202811582820484141761051a5761051a6115ab565b60008261163e57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561051a5761051a6115ab565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561167e57600080fd5b8151610ee581611444565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116d95784516001600160a01b0316835293830193918301916001016116b4565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561170f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220aa5035af614460f03a669ad0490ddda0b3f787a0ce9f45473e9f254caa055b2e64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003
-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _buySellTax (uint256): 2
Arg [2] : _purchaseLimit (uint256): 3
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
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.