Overview
ETH Balance
0.25 ETH
Eth Value
$857.68 (@ $3,430.74/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,699 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21476473 | 28 hrs ago | IN | 0 ETH | 0.00019706 | ||||
Approve | 21476319 | 29 hrs ago | IN | 0 ETH | 0.00015318 | ||||
Approve | 21470531 | 2 days ago | IN | 0 ETH | 0.00019874 | ||||
Approve | 21414072 | 9 days ago | IN | 0 ETH | 0.00072614 | ||||
Approve | 21362605 | 17 days ago | IN | 0 ETH | 0.00053052 | ||||
Approve | 21288858 | 27 days ago | IN | 0 ETH | 0.00036112 | ||||
Approve | 21287433 | 27 days ago | IN | 0 ETH | 0.00033191 | ||||
Approve | 21251674 | 32 days ago | IN | 0 ETH | 0.00136701 | ||||
Approve | 21240376 | 34 days ago | IN | 0 ETH | 0.00051205 | ||||
Transfer | 21239752 | 34 days ago | IN | 0 ETH | 0.00082073 | ||||
Approve | 21192793 | 40 days ago | IN | 0 ETH | 0.00059661 | ||||
Approve | 21052174 | 60 days ago | IN | 0 ETH | 0.00033207 | ||||
Approve | 21046886 | 61 days ago | IN | 0 ETH | 0.0002255 | ||||
Approve | 21040633 | 62 days ago | IN | 0 ETH | 0.00008935 | ||||
Approve | 21025326 | 64 days ago | IN | 0 ETH | 0.00027901 | ||||
Approve | 21021496 | 64 days ago | IN | 0 ETH | 0.0008736 | ||||
Approve | 21014738 | 65 days ago | IN | 0 ETH | 0.00067574 | ||||
Approve | 21009764 | 66 days ago | IN | 0 ETH | 0.00040623 | ||||
Approve | 20999989 | 67 days ago | IN | 0 ETH | 0.00100581 | ||||
Approve | 20999976 | 67 days ago | IN | 0 ETH | 0.00126336 | ||||
Approve | 20952241 | 74 days ago | IN | 0 ETH | 0.0004511 | ||||
Approve | 20949871 | 74 days ago | IN | 0 ETH | 0.00107554 | ||||
Approve | 20854622 | 88 days ago | IN | 0 ETH | 0.00028557 | ||||
Approve | 20853385 | 88 days ago | IN | 0 ETH | 0.00033044 | ||||
Approve | 20831784 | 91 days ago | IN | 0 ETH | 0.00076911 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Tales
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** // SPDX-License-Identifier: MIT */ pragma solidity = 0.8.25; pragma experimental ABIEncoderV2; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } library SafeMath { 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); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } library Errors { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error InsufficientBalance(uint256 balance, uint256 needed); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedCall(); /** * @dev The deployment failed. */ error FailedDeployment(); /** * @dev A necessary precompile is missing. */ error MissingPrecompile(address); } library Address { /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert Errors.InsufficientBalance(address(this).balance, amount); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert Errors.FailedCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {Errors.FailedCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert Errors.InsufficientBalance(address(this).balance, value); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case * of an unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {Errors.FailedCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert Errors.FailedCall(); } } } interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address from, address to, uint256 amount ) external returns (bool); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } 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; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } 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; } 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; _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } 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 { _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } 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); } 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); } 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); } } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract Tales is ERC20, Ownable { using SafeMath for uint256; using Address for address payable; IUniswapV2Router02 public immutable _uniswapV2Router; address private uniswapV2Pair; address private deployerWallet; address private devWallet; address private constant deadAddress = address(0xdead); bool private swapping; string private constant _name = "Tales of Pepe"; string private constant _symbol = "TALES"; uint256 public initialTotalSupply = 69_420_696_980_085 * 1e18; uint256 public maxTransactionAmount = initialTotalSupply; uint256 public maxWallet = initialTotalSupply; uint256 public swapTokensAtAmount; bool public tradingOpen = false; uint256 public tradingStartTime; uint256 private constant _maxFee = 0; // 0% uint256 public BuyFee = _maxFee; uint256 public SellFee = _maxFee; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTransactionAmount; mapping(address => bool) private automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeFromMaxTransactionAmount(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor( address dev, address liquidity, address router ) ERC20(_name, _symbol) { _uniswapV2Router = IUniswapV2Router02(router); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); excludeFromMaxTransaction(address(uniswapV2Pair), true); excludeFromMaxTransaction(address(_uniswapV2Router), true); devWallet = payable(dev); deployerWallet = payable(liquidity); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(dev), true); excludeFromFees(address(liquidity), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(dev), true); excludeFromMaxTransaction(address(liquidity), true); excludeFromMaxTransaction(address(0xdead), true); _mint(liquidity, initialTotalSupply * 80 / 100); _mint(dev, initialTotalSupply * 20 / 100); tradingOpen = true; require(totalSupply() == initialTotalSupply, "Total supply is not equal to initialTotalSupply"); } receive() external payable {} function transferOwnership(address newOwner) public override onlyOwner { address currentOwner = owner(); excludeFromFees(currentOwner, false); excludeFromMaxTransaction(currentOwner, false); excludeFromFees(newOwner, true); excludeFromMaxTransaction(newOwner, true); super.transferOwnership(newOwner); } function renounceOwnership() public override onlyOwner { address currentOwner = owner(); excludeFromFees(currentOwner, false); excludeFromMaxTransaction(currentOwner, false); super.renounceOwnership(); } function excludeFromMaxTransaction(address updAds, bool isEx) private { _isExcludedMaxTransactionAmount[updAds] = isEx; emit ExcludeFromMaxTransactionAmount(updAds, isEx); } function excludeFromFees(address account, bool excluded) private { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } bool isTransfer = !automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to]; uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance > 0 && !isTransfer; if (canSwap && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { swapping = true; swapBack(amount); swapping = false; } bool takeFee = !swapping && !isTransfer; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to]) { fees = amount.mul(SellFee).div(1000); } else { fees = amount.mul(BuyFee).div(1000); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) { if (!tradingOpen) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if (!_isExcludedMaxTransactionAmount[to]) { require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } super._transfer(from, to, amount); } 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, devWallet, block.timestamp ); } function removeLimits() external onlyOwner { uint256 totalSupplyAmount = totalSupply(); maxTransactionAmount = totalSupplyAmount; maxWallet = totalSupplyAmount; } function clearStuckEth() external { require(_msgSender() == deployerWallet); require(address(this).balance > 0, "Token: no ETH to clear"); payable(msg.sender).sendValue(address(this).balance); } function clearStuckTokens(address tokenAddress) external { require(_msgSender() == deployerWallet); IERC20 tokenContract = IERC20(tokenAddress); uint256 balance = tokenContract.balanceOf(address(this)); require(balance > 0, "No tokens to clear"); tokenContract.transfer(deployerWallet, balance); } function setSwapTokensAtAmount(uint256 _amount) external onlyOwner() { require(_amount <= initialTotalSupply / 100, "Amount must be less than 1% of total supply"); swapTokensAtAmount = _amount; } function manualSwap(uint256 percent) external onlyOwner() { uint256 totalSupplyAmount = totalSupply(); uint256 contractBalance = balanceOf(address(this)); uint256 tokensToSwap; if (percent == 1000) { tokensToSwap = contractBalance; } else { tokensToSwap = totalSupplyAmount * percent / 1000; if (tokensToSwap > contractBalance) { tokensToSwap = contractBalance; } } require(tokensToSwap <= contractBalance, "Swap amount exceeds contract balance"); swapTokensForEth(tokensToSwap); } function swapBack(uint256 tokens) private { uint256 contractBalance = balanceOf(address(this)); uint256 tokensToSwap; if (contractBalance == 0 || swapTokensAtAmount == 0) { return; } if ((BuyFee+SellFee) == 0) { if(contractBalance > 0 && contractBalance <= swapTokensAtAmount) { tokensToSwap = contractBalance; } else if (contractBalance > 0 && contractBalance > swapTokensAtAmount) { tokensToSwap = swapTokensAtAmount; } } else { if(contractBalance > 0 && contractBalance < swapTokensAtAmount.div(5)) { return; } else if (contractBalance > 0 && contractBalance >= swapTokensAtAmount.div(5) && contractBalance < swapTokensAtAmount) { tokensToSwap = swapTokensAtAmount.div(5); } else { uint256 sellFeeTokens = tokens.mul(SellFee).div(1000); tokens -= sellFeeTokens; if (tokens > swapTokensAtAmount) { tokensToSwap = swapTokensAtAmount; } else { tokensToSwap = tokens; } } } swapTokensForEth(tokensToSwap); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"dev","type":"address"},{"internalType":"address","name":"liquidity","type":"address"},{"internalType":"address","name":"router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"BuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"clearStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"clearStuckTokens","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":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingStartTime","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526d036c365ea6df4d7d8d3c68b400006009819055600a819055600b55600d805460ff191690556000600f81905560105534801561004057600080fd5b5060405161269b38038061269b83398101604081905261005f91610634565b6040518060400160405280600d81526020016c54616c6573206f66205065706560981b8152506040518060400160405280600581526020016454414c455360d81b81525081600390816100b29190610717565b5060046100bf8282610717565b5050506100d86100d36103f260201b60201c565b6103f6565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610122573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014691906107d6565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b991906107d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610206573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022a91906107d6565b600680546001600160a01b0319166001600160a01b03929092169182179055610254906001610448565b60065461026b906001600160a01b0316600161049c565b60805161027990600161049c565b600880546001600160a01b038581166001600160a01b0319928316179092556007805485841692169190911790556005546102b6911660016104fc565b6102c13060016104fc565b6102cc8360016104fc565b6102d78260016104fc565b6102e461dead60016104fc565b6103006102f96005546001600160a01b031690565b600161049c565b61030b30600161049c565b61031683600161049c565b61032182600161049c565b61032e61dead600161049c565b6103528260646009546050610343919061080e565b61034d919061082b565b610554565b6103678360646009546014610343919061080e565b600d805460ff1916600117905560095461038060025490565b146103ea5760405162461bcd60e51b815260206004820152602f60248201527f546f74616c20737570706c79206973206e6f7420657175616c20746f20696e6960448201526e7469616c546f74616c537570706c7960881b60648201526084015b60405180910390fd5b505050610860565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091015b60405180910390a25050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791016104f0565b6001600160a01b0382166105aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103e1565b80600260008282546105bc919061084d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b80516001600160a01b038116811461062f57600080fd5b919050565b60008060006060848603121561064957600080fd5b61065284610618565b925061066060208501610618565b915061066e60408501610618565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806106a157607f821691505b6020821081036106c157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610613576000816000526020600020601f850160051c810160208610156106f05750805b601f850160051c820191505b8181101561070f578281556001016106fc565b505050505050565b81516001600160401b0381111561073057610730610677565b6107448161073e845461068d565b846106c7565b602080601f83116001811461077957600084156107615750858301515b600019600386901b1c1916600185901b17855561070f565b600085815260208120601f198616915b828110156107a857888601518255948401946001909101908401610789565b50858210156107c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156107e857600080fd5b6107f182610618565b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610825576108256107f8565b92915050565b60008261084857634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610825576108256107f8565b608051611e0b61089060003960008181610336015281816115900152818161164901526116880152611e0b6000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063c8c8ebe411610095578063e2f4560511610064578063e2f4560514610530578063f2fde38b14610546578063f8b45b0514610566578063ffb54a991461057c57600080fd5b8063c8c8ebe4146104ce578063cf9522fd146104e4578063dd62ed3e146104fa578063dd8546521461051a57600080fd5b8063a457c2d7116100d1578063a457c2d71461044e578063a9059cbb1461046e578063afa4f3b21461048e578063b70143c9146104ae57600080fd5b80638da5cb5b146103fb57806395d89b41146104195780639a7a23d61461042e57600080fd5b8063395093511161016f57806370b7b80c1161013e57806370b7b80c146103a6578063715018a6146103bc578063751039fc146103d157806389291a8f146103e657600080fd5b806339509351146102cb5780634fbee193146102eb578063583e05681461032457806370a082311461037057600080fd5b806323b872dd116101ab57806323b872dd14610257578063311028af14610277578063313ce5671461028d578063346cc7be146102a957600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f2610596565b6040516101ff9190611a46565b60405180910390f35b34801561021457600080fd5b50610228610223366004611aaa565b610628565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b50610228610272366004611ad6565b610642565b34801561028357600080fd5b5061024960095481565b34801561029957600080fd5b50604051601281526020016101ff565b3480156102b557600080fd5b506102c96102c4366004611b17565b610666565b005b3480156102d757600080fd5b506102286102e6366004611aaa565b6107bc565b3480156102f757600080fd5b50610228610306366004611b17565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561033057600080fd5b506103587f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ff565b34801561037c57600080fd5b5061024961038b366004611b17565b6001600160a01b031660009081526020819052604090205490565b3480156103b257600080fd5b50610249600e5481565b3480156103c857600080fd5b506102c96107de565b3480156103dd57600080fd5b506102c961081d565b3480156103f257600080fd5b506102c961083b565b34801561040757600080fd5b506005546001600160a01b0316610358565b34801561042557600080fd5b506101f26108b0565b34801561043a57600080fd5b506102c9610449366004611b42565b6108bf565b34801561045a57600080fd5b50610228610469366004611aaa565b610959565b34801561047a57600080fd5b50610228610489366004611aaa565b6109d4565b34801561049a57600080fd5b506102c96104a9366004611b7b565b6109e2565b3480156104ba57600080fd5b506102c96104c9366004611b7b565b610a61565b3480156104da57600080fd5b50610249600a5481565b3480156104f057600080fd5b5061024960105481565b34801561050657600080fd5b50610249610515366004611b94565b610b21565b34801561052657600080fd5b50610249600f5481565b34801561053c57600080fd5b50610249600c5481565b34801561055257600080fd5b506102c9610561366004611b17565b610b4c565b34801561057257600080fd5b50610249600b5481565b34801561058857600080fd5b50600d546102289060ff1681565b6060600380546105a590611bc2565b80601f01602080910402602001604051908101604052809291908181526020018280546105d190611bc2565b801561061e5780601f106105f35761010080835404028352916020019161061e565b820191906000526020600020905b81548152906001019060200180831161060157829003601f168201915b5050505050905090565b600033610636818585610b9f565b60019150505b92915050565b600033610650858285610cc3565b61065b858585610d37565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461068657600080fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f39190611bfc565b90506000811161073f5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b69190611c15565b50505050565b6000336106368185856107cf8383610b21565b6107d99190611c48565b610b9f565b6107e6611323565b60006107fa6005546001600160a01b031690565b905061080781600061137d565b6108128160006113dd565b61081a611435565b50565b610825611323565b600061083060025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b03161461085b57600080fd5b600047116108a45760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b6044820152606401610736565b6108ae3347611447565b565b6060600480546105a590611bc2565b6108c7611323565b6006546001600160a01b039081169083160361094b5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610736565b61095582826114e5565b5050565b600033816109678286610b21565b9050838110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610736565b61065b8286868403610b9f565b600033610636818585610d37565b6109ea611323565b60646009546109f99190611c5b565b811115610a5c5760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206d757374206265206c657373207468616e203125206f66207460448201526a6f74616c20737570706c7960a81b6064820152608401610736565b600c55565b610a69611323565b6000610a7460025490565b306000908152602081905260408120549192506103e8849003610a98575080610abc565b6103e8610aa58585611c7d565b610aaf9190611c5b565b905081811115610abc5750805b81811115610b185760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b6064820152608401610736565b6107b681611539565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b54611323565b6000610b686005546001600160a01b031690565b9050610b7581600061137d565b610b808160006113dd565b610b8b82600161137d565b610b968260016113dd565b61095582611700565b6001600160a01b038316610c015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610736565b6001600160a01b038216610c625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610736565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ccf8484610b21565b905060001981146107b65781811015610d2a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610736565b6107b68484848403610b9f565b6001600160a01b038316610d5d5760405162461bcd60e51b815260040161073690611c94565b6001600160a01b038216610d835760405162461bcd60e51b815260040161073690611cd9565b80600003610d9c57610d9783836000611776565b505050565b6001600160a01b03831660009081526013602052604081205460ff16158015610dde57506001600160a01b03831660009081526013602052604090205460ff16155b306000908152602081905260408120549192508115801590610dfe575082155b9050808015610e175750600854600160a01b900460ff16155b8015610e3c57506001600160a01b03861660009081526013602052604090205460ff16155b8015610e6157506001600160a01b03861660009081526011602052604090205460ff16155b8015610e8657506001600160a01b03851660009081526011602052604090205460ff16155b15610eb5576008805460ff60a01b1916600160a01b179055610ea7846118a0565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015610ed0575083155b6001600160a01b03881660009081526011602052604090205490915060ff1680610f1257506001600160a01b03861660009081526011602052604090205460ff165b15610f1b575060005b60008115610fa8576001600160a01b03871660009081526013602052604090205460ff1615610f6c57610f656103e8610f5f601054896119d590919063ffffffff16565b906119e8565b9050610f8a565b610f876103e8610f5f600f54896119d590919063ffffffff16565b90505b8015610f9b57610f9b883083611776565b610fa58187611d1c565b95505b6005546001600160a01b03898116911614801590610fd457506005546001600160a01b03888116911614155b8015610fe857506001600160a01b03871615155b8015610fff57506001600160a01b03871661dead14155b80156110155750600854600160a01b900460ff16155b1561130e57600d5460ff166110a8576001600160a01b03881660009081526011602052604090205460ff168061106357506001600160a01b03871660009081526011602052604090205460ff165b6110a85760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610736565b6001600160a01b03881660009081526013602052604090205460ff1680156110e957506001600160a01b03871660009081526012602052604090205460ff16155b156111cd57600a5486111561115e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610736565b600b546001600160a01b0388166000908152602081905260409020546111849088611c48565b11156111c85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b61130e565b6001600160a01b03871660009081526013602052604090205460ff16801561120e57506001600160a01b03881660009081526012602052604090205460ff16155b1561128457600a548611156111c85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610736565b6001600160a01b03871660009081526012602052604090205460ff1661130e57600b546001600160a01b0388166000908152602081905260409020546112ca9088611c48565b111561130e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b611319888888611776565b5050505050505050565b6005546001600160a01b031633146108ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610736565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091016113d1565b61143d611323565b6108ae60006119f4565b804710156114715760405163cf47918160e01b815247600482015260248101829052604401610736565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114be576040519150601f19603f3d011682016040523d82523d6000602084013e6114c3565b606091505b5050905080610d975760405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061156e5761156e611d2f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116109190611d45565b8160018151811061162357611623611d2f565b60200260200101906001600160a01b031690816001600160a01b03168152505061166e307f000000000000000000000000000000000000000000000000000000000000000084610b9f565b60085460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926116ca928792600092889291909116904290600401611d62565b600060405180830381600087803b1580156116e457600080fd5b505af11580156116f8573d6000803e3d6000fd5b505050505050565b611708611323565b6001600160a01b03811661176d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610736565b61081a816119f4565b6001600160a01b03831661179c5760405162461bcd60e51b815260040161073690611c94565b6001600160a01b0382166117c25760405162461bcd60e51b815260040161073690611cd9565b6001600160a01b0383166000908152602081905260409020548181101561183a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610736565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107b6565b30600090815260208190526040812054908115806118be5750600c54155b156118c857505050565b601054600f546118d89190611c48565b60000361191d576000821180156118f15750600c548211155b156118fd5750806119cc565b60008211801561190e5750600c5482115b156119185750600c545b6119cc565b6000821180156119395750600c546119369060056119e8565b82105b1561194357505050565b6000821180156119605750600c5461195c9060056119e8565b8210155b801561196d5750600c5482105b1561198757600c546119809060056119e8565b90506119cc565b60006119a46103e8610f5f601054876119d590919063ffffffff16565b90506119b08185611d1c565b9350600c548411156119c657600c5491506119ca565b8391505b505b610d9781611539565b60006119e18284611c7d565b9392505050565b60006119e18284611c5b565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020808352835180602085015260005b81811015611a7457858101830151858201604001528201611a58565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461081a57600080fd5b60008060408385031215611abd57600080fd5b8235611ac881611a95565b946020939093013593505050565b600080600060608486031215611aeb57600080fd5b8335611af681611a95565b92506020840135611b0681611a95565b929592945050506040919091013590565b600060208284031215611b2957600080fd5b81356119e181611a95565b801515811461081a57600080fd5b60008060408385031215611b5557600080fd5b8235611b6081611a95565b91506020830135611b7081611b34565b809150509250929050565b600060208284031215611b8d57600080fd5b5035919050565b60008060408385031215611ba757600080fd5b8235611bb281611a95565b91506020830135611b7081611a95565b600181811c90821680611bd657607f821691505b602082108103611bf657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c0e57600080fd5b5051919050565b600060208284031215611c2757600080fd5b81516119e181611b34565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063c5761063c611c32565b600082611c7857634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063c5761063c611c32565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063c5761063c611c32565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d5757600080fd5b81516119e181611a95565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611db45784516001600160a01b031683529383019391830191600101611d8f565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122093513e2550afeeafeda0d3d76cf0c755af84ce5b2304ee371457fa45681915ef64736f6c63430008190033000000000000000000000000936c64883e50d8842abb394dfa35b6b9bb80fa1b000000000000000000000000940ce3f8bf0bff55e583b0ba5321f9f336a18f500000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063c8c8ebe411610095578063e2f4560511610064578063e2f4560514610530578063f2fde38b14610546578063f8b45b0514610566578063ffb54a991461057c57600080fd5b8063c8c8ebe4146104ce578063cf9522fd146104e4578063dd62ed3e146104fa578063dd8546521461051a57600080fd5b8063a457c2d7116100d1578063a457c2d71461044e578063a9059cbb1461046e578063afa4f3b21461048e578063b70143c9146104ae57600080fd5b80638da5cb5b146103fb57806395d89b41146104195780639a7a23d61461042e57600080fd5b8063395093511161016f57806370b7b80c1161013e57806370b7b80c146103a6578063715018a6146103bc578063751039fc146103d157806389291a8f146103e657600080fd5b806339509351146102cb5780634fbee193146102eb578063583e05681461032457806370a082311461037057600080fd5b806323b872dd116101ab57806323b872dd14610257578063311028af14610277578063313ce5671461028d578063346cc7be146102a957600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f2610596565b6040516101ff9190611a46565b60405180910390f35b34801561021457600080fd5b50610228610223366004611aaa565b610628565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b50610228610272366004611ad6565b610642565b34801561028357600080fd5b5061024960095481565b34801561029957600080fd5b50604051601281526020016101ff565b3480156102b557600080fd5b506102c96102c4366004611b17565b610666565b005b3480156102d757600080fd5b506102286102e6366004611aaa565b6107bc565b3480156102f757600080fd5b50610228610306366004611b17565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561033057600080fd5b506103587f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ff565b34801561037c57600080fd5b5061024961038b366004611b17565b6001600160a01b031660009081526020819052604090205490565b3480156103b257600080fd5b50610249600e5481565b3480156103c857600080fd5b506102c96107de565b3480156103dd57600080fd5b506102c961081d565b3480156103f257600080fd5b506102c961083b565b34801561040757600080fd5b506005546001600160a01b0316610358565b34801561042557600080fd5b506101f26108b0565b34801561043a57600080fd5b506102c9610449366004611b42565b6108bf565b34801561045a57600080fd5b50610228610469366004611aaa565b610959565b34801561047a57600080fd5b50610228610489366004611aaa565b6109d4565b34801561049a57600080fd5b506102c96104a9366004611b7b565b6109e2565b3480156104ba57600080fd5b506102c96104c9366004611b7b565b610a61565b3480156104da57600080fd5b50610249600a5481565b3480156104f057600080fd5b5061024960105481565b34801561050657600080fd5b50610249610515366004611b94565b610b21565b34801561052657600080fd5b50610249600f5481565b34801561053c57600080fd5b50610249600c5481565b34801561055257600080fd5b506102c9610561366004611b17565b610b4c565b34801561057257600080fd5b50610249600b5481565b34801561058857600080fd5b50600d546102289060ff1681565b6060600380546105a590611bc2565b80601f01602080910402602001604051908101604052809291908181526020018280546105d190611bc2565b801561061e5780601f106105f35761010080835404028352916020019161061e565b820191906000526020600020905b81548152906001019060200180831161060157829003601f168201915b5050505050905090565b600033610636818585610b9f565b60019150505b92915050565b600033610650858285610cc3565b61065b858585610d37565b506001949350505050565b6007546001600160a01b0316336001600160a01b03161461068657600080fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f39190611bfc565b90506000811161073f5760405162461bcd60e51b81526020600482015260126024820152712737903a37b5b2b739903a379031b632b0b960711b60448201526064015b60405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b69190611c15565b50505050565b6000336106368185856107cf8383610b21565b6107d99190611c48565b610b9f565b6107e6611323565b60006107fa6005546001600160a01b031690565b905061080781600061137d565b6108128160006113dd565b61081a611435565b50565b610825611323565b600061083060025490565b600a819055600b5550565b6007546001600160a01b0316336001600160a01b03161461085b57600080fd5b600047116108a45760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b6044820152606401610736565b6108ae3347611447565b565b6060600480546105a590611bc2565b6108c7611323565b6006546001600160a01b039081169083160361094b5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610736565b61095582826114e5565b5050565b600033816109678286610b21565b9050838110156109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610736565b61065b8286868403610b9f565b600033610636818585610d37565b6109ea611323565b60646009546109f99190611c5b565b811115610a5c5760405162461bcd60e51b815260206004820152602b60248201527f416d6f756e74206d757374206265206c657373207468616e203125206f66207460448201526a6f74616c20737570706c7960a81b6064820152608401610736565b600c55565b610a69611323565b6000610a7460025490565b306000908152602081905260408120549192506103e8849003610a98575080610abc565b6103e8610aa58585611c7d565b610aaf9190611c5b565b905081811115610abc5750805b81811115610b185760405162461bcd60e51b8152602060048201526024808201527f5377617020616d6f756e74206578636565647320636f6e74726163742062616c604482015263616e636560e01b6064820152608401610736565b6107b681611539565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b54611323565b6000610b686005546001600160a01b031690565b9050610b7581600061137d565b610b808160006113dd565b610b8b82600161137d565b610b968260016113dd565b61095582611700565b6001600160a01b038316610c015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610736565b6001600160a01b038216610c625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610736565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ccf8484610b21565b905060001981146107b65781811015610d2a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610736565b6107b68484848403610b9f565b6001600160a01b038316610d5d5760405162461bcd60e51b815260040161073690611c94565b6001600160a01b038216610d835760405162461bcd60e51b815260040161073690611cd9565b80600003610d9c57610d9783836000611776565b505050565b6001600160a01b03831660009081526013602052604081205460ff16158015610dde57506001600160a01b03831660009081526013602052604090205460ff16155b306000908152602081905260408120549192508115801590610dfe575082155b9050808015610e175750600854600160a01b900460ff16155b8015610e3c57506001600160a01b03861660009081526013602052604090205460ff16155b8015610e6157506001600160a01b03861660009081526011602052604090205460ff16155b8015610e8657506001600160a01b03851660009081526011602052604090205460ff16155b15610eb5576008805460ff60a01b1916600160a01b179055610ea7846118a0565b6008805460ff60a01b191690555b600854600090600160a01b900460ff16158015610ed0575083155b6001600160a01b03881660009081526011602052604090205490915060ff1680610f1257506001600160a01b03861660009081526011602052604090205460ff165b15610f1b575060005b60008115610fa8576001600160a01b03871660009081526013602052604090205460ff1615610f6c57610f656103e8610f5f601054896119d590919063ffffffff16565b906119e8565b9050610f8a565b610f876103e8610f5f600f54896119d590919063ffffffff16565b90505b8015610f9b57610f9b883083611776565b610fa58187611d1c565b95505b6005546001600160a01b03898116911614801590610fd457506005546001600160a01b03888116911614155b8015610fe857506001600160a01b03871615155b8015610fff57506001600160a01b03871661dead14155b80156110155750600854600160a01b900460ff16155b1561130e57600d5460ff166110a8576001600160a01b03881660009081526011602052604090205460ff168061106357506001600160a01b03871660009081526011602052604090205460ff165b6110a85760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610736565b6001600160a01b03881660009081526013602052604090205460ff1680156110e957506001600160a01b03871660009081526012602052604090205460ff16155b156111cd57600a5486111561115e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610736565b600b546001600160a01b0388166000908152602081905260409020546111849088611c48565b11156111c85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b61130e565b6001600160a01b03871660009081526013602052604090205460ff16801561120e57506001600160a01b03881660009081526012602052604090205460ff16155b1561128457600a548611156111c85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610736565b6001600160a01b03871660009081526012602052604090205460ff1661130e57600b546001600160a01b0388166000908152602081905260409020546112ca9088611c48565b111561130e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b611319888888611776565b5050505050505050565b6005546001600160a01b031633146108ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610736565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f36307becd2d8961cc720575ec7a5445cd60e424df3737414b8de88f20d07b71091016113d1565b61143d611323565b6108ae60006119f4565b804710156114715760405163cf47918160e01b815247600482015260248101829052604401610736565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114be576040519150601f19603f3d011682016040523d82523d6000602084013e6114c3565b606091505b5050905080610d975760405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061156e5761156e611d2f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116109190611d45565b8160018151811061162357611623611d2f565b60200260200101906001600160a01b031690816001600160a01b03168152505061166e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610b9f565b60085460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926116ca928792600092889291909116904290600401611d62565b600060405180830381600087803b1580156116e457600080fd5b505af11580156116f8573d6000803e3d6000fd5b505050505050565b611708611323565b6001600160a01b03811661176d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610736565b61081a816119f4565b6001600160a01b03831661179c5760405162461bcd60e51b815260040161073690611c94565b6001600160a01b0382166117c25760405162461bcd60e51b815260040161073690611cd9565b6001600160a01b0383166000908152602081905260409020548181101561183a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610736565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107b6565b30600090815260208190526040812054908115806118be5750600c54155b156118c857505050565b601054600f546118d89190611c48565b60000361191d576000821180156118f15750600c548211155b156118fd5750806119cc565b60008211801561190e5750600c5482115b156119185750600c545b6119cc565b6000821180156119395750600c546119369060056119e8565b82105b1561194357505050565b6000821180156119605750600c5461195c9060056119e8565b8210155b801561196d5750600c5482105b1561198757600c546119809060056119e8565b90506119cc565b60006119a46103e8610f5f601054876119d590919063ffffffff16565b90506119b08185611d1c565b9350600c548411156119c657600c5491506119ca565b8391505b505b610d9781611539565b60006119e18284611c7d565b9392505050565b60006119e18284611c5b565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020808352835180602085015260005b81811015611a7457858101830151858201604001528201611a58565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461081a57600080fd5b60008060408385031215611abd57600080fd5b8235611ac881611a95565b946020939093013593505050565b600080600060608486031215611aeb57600080fd5b8335611af681611a95565b92506020840135611b0681611a95565b929592945050506040919091013590565b600060208284031215611b2957600080fd5b81356119e181611a95565b801515811461081a57600080fd5b60008060408385031215611b5557600080fd5b8235611b6081611a95565b91506020830135611b7081611b34565b809150509250929050565b600060208284031215611b8d57600080fd5b5035919050565b60008060408385031215611ba757600080fd5b8235611bb281611a95565b91506020830135611b7081611a95565b600181811c90821680611bd657607f821691505b602082108103611bf657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611c0e57600080fd5b5051919050565b600060208284031215611c2757600080fd5b81516119e181611b34565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063c5761063c611c32565b600082611c7857634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063c5761063c611c32565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561063c5761063c611c32565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d5757600080fd5b81516119e181611a95565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611db45784516001600160a01b031683529383019391830191600101611d8f565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122093513e2550afeeafeda0d3d76cf0c755af84ce5b2304ee371457fa45681915ef64736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000936c64883e50d8842abb394dfa35b6b9bb80fa1b000000000000000000000000940ce3f8bf0bff55e583b0ba5321f9f336a18f500000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : dev (address): 0x936C64883E50D8842abb394dFa35b6b9bB80FA1B
Arg [1] : liquidity (address): 0x940ce3f8bF0Bff55E583B0Ba5321f9f336a18F50
Arg [2] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000936c64883e50d8842abb394dfa35b6b9bb80fa1b
Arg [1] : 000000000000000000000000940ce3f8bf0bff55e583b0ba5321f9f336a18f50
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,430.74 | 0.25 | $857.68 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.