ERC-20
Overview
Max Total Supply
1,000,000,000 MCHT
Holders
37
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
9,290,558.709059475314874468 MCHTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Macchiato
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* Discover MacchiatoBot — Create a fully personalized memecoin in less than 5 minutes on Telegram. https://t.me/MacchiatoBotErc */ pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/IUniswapV2Factory.sol"; contract Macchiato is ERC20, Ownable { using SafeMath for uint256; mapping(address => bool) private _excludedFromTaxes; mapping(address => bool) public _isExcludedMaxTransactionAmount; // taxes uint256 public buyTax = 5; uint256 public sellTax = 5; uint256 public blockOffset = 5; // max per wallet (% of the currentSupply) uint256 public maxAmountPerWalletSupplyPercent = 2; uint256 public maxTxPerWalletSupplyPercent = 2; uint256 public maxAmountPerWallet; uint256 public maxTxPerWallet; // uniswap IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniPair; mapping(address => bool) public LPs; bool public tradingOpen = false; mapping(address => uint256) private _accountTransferTimestamp; bool private swapping; uint256 public currentSupply; uint256 public canSwapTokens; address public marketingWallet; constructor(address _uniswapV2RouterAddress) ERC20("MacchiatoBot", "MCHT") { uint256 tokenInitialSupply = 1_000_000_000 * 1e18; currentSupply = tokenInitialSupply; maxTxPerWallet = (currentSupply * maxTxPerWalletSupplyPercent) / 100; canSwapTokens = (currentSupply * 5) / 10000; maxAmountPerWallet = (currentSupply * maxAmountPerWalletSupplyPercent) / 100; // UniV2 Router IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( _uniswapV2RouterAddress ); excludeFromMaxTx(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; // UniV2 LP uniPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); excludeFromMaxTx(address(uniPair), true); LPs[address(uniPair)] = true; excludeFromTaxes(owner(), true); excludeFromTaxes(address(this), true); excludeFromTaxes(address(0xdead), true); excludeFromMaxTx(owner(), true); excludeFromMaxTx(address(this), true); excludeFromMaxTx(address(0xdead), true); marketingWallet = owner(); _approve(owner(), address(uniswapV2Router), tokenInitialSupply); _mint(msg.sender, tokenInitialSupply); } function enableTrading() external onlyOwner { tradingOpen = true; } function setMarketingWallet(address _new) external onlyOwner { marketingWallet = _new; } function excludeFromMaxTx(address _account, bool _status) public onlyOwner { _isExcludedMaxTransactionAmount[_account] = _status; } function excludeFromTaxes(address _account, bool _status) public onlyOwner { _excludedFromTaxes[_account] = _status; } function updateLimitsPercent( uint256 _maxTxPerWallet, uint256 _maxAmountPerWallet ) external onlyOwner { maxTxPerWalletSupplyPercent = _maxTxPerWallet; maxAmountPerWalletSupplyPercent = _maxAmountPerWallet; updateLimits(); } function updateLimits() private { maxTxPerWallet = (currentSupply * maxTxPerWalletSupplyPercent) / 100; canSwapTokens = (currentSupply * 5) / 10000; maxAmountPerWallet = (currentSupply * maxAmountPerWalletSupplyPercent) / 100; } function _transfer( address from, address to, uint256 amount ) internal override { require( tradingOpen || _excludedFromTaxes[from] || _excludedFromTaxes[to], "Trading not open" ); if (amount == 0) { super._transfer(from, to, 0); return; } bool buy = LPs[from]; bool sell = LPs[to]; if ( from != owner() && to != owner() && to != address(0xdead) && !swapping ) { // massive buy protection if ( to != owner() && to != address(uniswapV2Router) && to != address(uniPair) ) { require( _accountTransferTimestamp[tx.origin] < block.number, "One dex tx per block" ); _accountTransferTimestamp[tx.origin] = block.number + blockOffset; } // max amount per tx if ((sell || buy) && !_isExcludedMaxTransactionAmount[from]) { require( amount <= maxTxPerWallet, "Amount exceeds the maxTxPerWallet" ); } // max amount per wallet if (!sell && !_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxAmountPerWallet, "Max wallet exceeded" ); } } bool canSwap = balanceOf(address(this)) >= canSwapTokens; if ( canSwap && !swapping && !buy && !_excludedFromTaxes[from] && !_excludedFromTaxes[to] ) { swapping = true; retrieveSwap(); swapping = false; } // taxes if (!swapping && !_excludedFromTaxes[from] && !_excludedFromTaxes[to]) { uint256 taxes = 0; if (sell && sellTax > 0) { taxes = amount.mul(sellTax).div(100); } else if (buy && buyTax > 0) { taxes = amount.mul(buyTax).div(100); } if (taxes > 0) { super._transfer(from, address(this), taxes); amount -= taxes; } } // transfer super._transfer(from, to, amount); } function isExcludedFromTaxes(address account) public view returns (bool) { return _excludedFromTaxes[account]; } function swapTokensToWETH(uint256 tokenAmount) private { // path : token -> weth 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 retrieveSwap() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } if (contractBalance > canSwapTokens * 20) { contractBalance = canSwapTokens * 20; } swapTokensToWETH(contractBalance); bool success; (success, ) = address(marketingWallet).call{ value: address(this).balance }(""); // marketing taxes } receive() external payable {} }
// 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; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Router01 { 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 removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "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":"_uniswapV2RouterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"LPs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"blockOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSwapTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromTaxes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerWalletSupplyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxPerWalletSupplyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxPerWallet","type":"uint256"},{"internalType":"uint256","name":"_maxAmountPerWallet","type":"uint256"}],"name":"updateLimitsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600560088190556009819055600a556002600b819055600c556010805460ff191690553480156200003457600080fd5b506040516200211438038062002114833981016040819052620000579162000769565b604080518082018252600c81526b135858d8da1a585d1bd09bdd60a21b6020808301918252835180850190945260048452631350d21560e21b908401528151919291620000a791600391620006c3565b508051620000bd906004906020840190620006c3565b505050620000da620000d4620003b660201b60201c565b620003ba565b6b033b2e3c9fd0803ce80000006013819055600c54606490620000fe9083620007b1565b6200010a9190620007d3565b600e556013546127109062000121906005620007b1565b6200012d9190620007d3565b601455600b546013546064916200014491620007b1565b620001509190620007d3565b600d5581620001618160016200040c565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620001ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d2919062000769565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000220573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000246919062000769565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000294573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ba919062000769565b6001600160a01b031660a0819052620002d59060016200040c565b60a0516001600160a01b03166000908152600f60205260409020805460ff1916600117905562000319620003116005546001600160a01b031690565b600162000441565b6200032630600162000441565b6200033561dead600162000441565b620003546200034c6005546001600160a01b031690565b60016200040c565b620003613060016200040c565b6200037061dead60016200040c565b600554601580546001600160a01b0319166001600160a01b039092169182179055608051620003a191908462000476565b620003ad3383620005a2565b5050506200084d565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200041662000665565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6200044b62000665565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6001600160a01b038316620004de5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005415760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004d5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005fa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004d5565b80600260008282546200060e9190620007f6565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006c15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004d5565b565b828054620006d19062000811565b90600052602060002090601f016020900481019282620006f5576000855562000740565b82601f106200071057805160ff191683800117855562000740565b8280016001018555821562000740579182015b828111156200074057825182559160200191906001019062000723565b506200074e92915062000752565b5090565b5b808211156200074e576000815560010162000753565b6000602082840312156200077c57600080fd5b81516001600160a01b03811681146200079457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007ce57620007ce6200079b565b500290565b600082620007f157634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156200080c576200080c6200079b565b500190565b600181811c908216806200082657607f821691505b6020821081036200084757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161187e62000896600039600081816103e30152610d2d0152600081816102b101528181610cef01528181611401015281816114ba01526114f6015261187e6000f3fe6080604052600436106102085760003560e01c8063715018a611610118578063a9059cbb116100a0578063d0d82dcb1161006f578063d0d82dcb14610608578063d4c989d31461061e578063dd62ed3e1461063e578063f2fde38b1461065e578063ffb54a991461067e57600080fd5b8063a9059cbb1461059c578063ae95c03f146105bc578063cc1776d3146105dc578063cdab453b146105f257600080fd5b806381aa0345116100e757806381aa03451461051e5780638a8c523c146105345780638da5cb5b1461054957806395d89b4114610567578063a457c2d71461057c57600080fd5b8063715018a6146104bd578063729df87d146104d257806375f0a874146104e8578063771282f61461050857600080fd5b80632ba11c071161019b578063395093511161016a578063395093511461041b57806346bf6a551461043b5780634f7041a5146104515780635d098b381461046757806370a082311461048757600080fd5b80632ba11c0714610385578063313ce567146103b557806332972e46146103d157806336db71291461040557600080fd5b806318160ddd116101d757806318160ddd146102eb578063226036611461030a57806323b872dd1461032c57806327b07d751461034c57600080fd5b806306fdde0314610214578063095ea7b31461023f57806310d5de531461026f5780631694505e1461029f57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b50610229610698565b6040516102369190611562565b60405180910390f35b34801561024b57600080fd5b5061025f61025a3660046115cc565b61072a565b6040519015158152602001610236565b34801561027b57600080fd5b5061025f61028a3660046115f8565b60076020526000908152604090205460ff1681565b3480156102ab57600080fd5b506102d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610236565b3480156102f757600080fd5b506002545b604051908152602001610236565b34801561031657600080fd5b5061032a610325366004611615565b610742565b005b34801561033857600080fd5b5061025f610347366004611653565b610775565b34801561035857600080fd5b5061025f6103673660046115f8565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561039157600080fd5b5061025f6103a03660046115f8565b600f6020526000908152604090205460ff1681565b3480156103c157600080fd5b5060405160128152602001610236565b3480156103dd57600080fd5b506102d37f000000000000000000000000000000000000000000000000000000000000000081565b34801561041157600080fd5b506102fc600d5481565b34801561042757600080fd5b5061025f6104363660046115cc565b610799565b34801561044757600080fd5b506102fc600a5481565b34801561045d57600080fd5b506102fc60085481565b34801561047357600080fd5b5061032a6104823660046115f8565b6107bb565b34801561049357600080fd5b506102fc6104a23660046115f8565b6001600160a01b031660009081526020819052604090205490565b3480156104c957600080fd5b5061032a6107e5565b3480156104de57600080fd5b506102fc600c5481565b3480156104f457600080fd5b506015546102d3906001600160a01b031681565b34801561051457600080fd5b506102fc60135481565b34801561052a57600080fd5b506102fc60145481565b34801561054057600080fd5b5061032a6107f9565b34801561055557600080fd5b506005546001600160a01b03166102d3565b34801561057357600080fd5b50610229610810565b34801561058857600080fd5b5061025f6105973660046115cc565b61081f565b3480156105a857600080fd5b5061025f6105b73660046115cc565b61089f565b3480156105c857600080fd5b5061032a6105d7366004611694565b6108ad565b3480156105e857600080fd5b506102fc60095481565b3480156105fe57600080fd5b506102fc600b5481565b34801561061457600080fd5b506102fc600e5481565b34801561062a57600080fd5b5061032a610639366004611615565b6108cb565b34801561064a57600080fd5b506102fc6106593660046116b6565b6108fe565b34801561066a57600080fd5b5061032a6106793660046115f8565b610929565b34801561068a57600080fd5b5060105461025f9060ff1681565b6060600380546106a7906116e4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d3906116e4565b80156107205780601f106106f557610100808354040283529160200191610720565b820191906000526020600020905b81548152906001019060200180831161070357829003601f168201915b5050505050905090565b6000336107388185856109a2565b5060019392505050565b61074a610ac6565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600033610783858285610b20565b61078e858585610b9a565b506001949350505050565b6000336107388185856107ac83836108fe565b6107b69190611734565b6109a2565b6107c3610ac6565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6107ed610ac6565b6107f76000611095565b565b610801610ac6565b6010805460ff19166001179055565b6060600480546106a7906116e4565b6000338161082d82866108fe565b9050838110156108925760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61078e82868684036109a2565b600033610738818585610b9a565b6108b5610ac6565b600c829055600b8190556108c76110e7565b5050565b6108d3610ac6565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610931610ac6565b6001600160a01b0381166109965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610889565b61099f81611095565b50565b6001600160a01b038316610a045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610889565b6001600160a01b038216610a655760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610889565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146107f75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610889565b6000610b2c84846108fe565b90506000198114610b945781811015610b875760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610889565b610b9484848484036109a2565b50505050565b60105460ff1680610bc357506001600160a01b03831660009081526006602052604090205460ff165b80610be657506001600160a01b03821660009081526006602052604090205460ff165b610c255760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610889565b80600003610c3e57610c3983836000611146565b505050565b6001600160a01b038084166000908152600f602052604080822054928516825290205460ff9182169116610c7a6005546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610ca957506005546001600160a01b03858116911614155b8015610cc057506001600160a01b03841661dead14155b8015610ccf575060125460ff16155b15610eff576005546001600160a01b03858116911614801590610d2457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b8015610d6257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b15610dda57326000908152601160205260409020544311610dbc5760405162461bcd60e51b81526020600482015260146024820152734f6e65206465782074782070657220626c6f636b60601b6044820152606401610889565b600a54610dc99043611734565b326000908152601160205260409020555b8080610de35750815b8015610e0857506001600160a01b03851660009081526007602052604090205460ff16155b15610e6957600e54831115610e695760405162461bcd60e51b815260206004820152602160248201527f416d6f756e74206578636565647320746865206d6178547850657257616c6c656044820152601d60fa1b6064820152608401610889565b80158015610e9057506001600160a01b03841660009081526007602052604090205460ff16155b15610eff57600d546001600160a01b038516600090815260208190526040902054610ebb9085611734565b1115610eff5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610889565b60145430600090815260208190526040902054108015908190610f25575060125460ff16155b8015610f2f575082155b8015610f5457506001600160a01b03861660009081526006602052604090205460ff16155b8015610f7957506001600160a01b03851660009081526006602052604090205460ff16155b15610f9e576012805460ff19166001179055610f936112ea565b6012805460ff191690555b60125460ff16158015610fca57506001600160a01b03861660009081526006602052604090205460ff16155b8015610fef57506001600160a01b03851660009081526006602052604090205460ff16155b1561108257600082801561100557506000600954115b156110315761102a60646110246009548861138b90919063ffffffff16565b9061139e565b9050611062565b83801561104057506000600854115b156110625761105f60646110246008548861138b90919063ffffffff16565b90505b801561108057611073873083611146565b61107d818661174c565b94505b505b61108d868686611146565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6064600c546013546110f99190611763565b6111039190611782565b600e5560135461271090611118906005611763565b6111229190611782565b601455600b5460135460649161113791611763565b6111419190611782565b600d55565b6001600160a01b0383166111aa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610889565b6001600160a01b03821661120c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610889565b6001600160a01b038316600090815260208190526040902054818110156112845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610889565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b94565b30600090815260208190526040812054908190036113055750565b6014805461131291611763565b811115611329576014805461132691611763565b90505b611332816113aa565b6015546040516000916001600160a01b03169047908381818185875af1925050503d806000811461137f576040519150601f19603f3d011682016040523d82523d6000602084013e611384565b606091505b5050505050565b60006113978284611763565b9392505050565b60006113978284611782565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113df576113df6117a4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148191906117ba565b81600181518110611494576114946117a4565b60200260200101906001600160a01b031690816001600160a01b0316815250506114df307f0000000000000000000000000000000000000000000000000000000000000000846109a2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906115349085906000908690309042906004016117d7565b600060405180830381600087803b15801561154e57600080fd5b505af115801561108d573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561158f57858101830151858201604001528201611573565b818111156115a1576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461099f57600080fd5b600080604083850312156115df57600080fd5b82356115ea816115b7565b946020939093013593505050565b60006020828403121561160a57600080fd5b8135611397816115b7565b6000806040838503121561162857600080fd5b8235611633816115b7565b91506020830135801515811461164857600080fd5b809150509250929050565b60008060006060848603121561166857600080fd5b8335611673816115b7565b92506020840135611683816115b7565b929592945050506040919091013590565b600080604083850312156116a757600080fd5b50508035926020909101359150565b600080604083850312156116c957600080fd5b82356116d4816115b7565b91506020830135611648816115b7565b600181811c908216806116f857607f821691505b60208210810361171857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156117475761174761171e565b500190565b60008282101561175e5761175e61171e565b500390565b600081600019048311821515161561177d5761177d61171e565b500290565b60008261179f57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117cc57600080fd5b8151611397816115b7565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118275784516001600160a01b031683529383019391830191600101611802565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220419f27f7fd86eae6a20aba08637810224dc748688a3e4083de910921d8f4ef1364736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106102085760003560e01c8063715018a611610118578063a9059cbb116100a0578063d0d82dcb1161006f578063d0d82dcb14610608578063d4c989d31461061e578063dd62ed3e1461063e578063f2fde38b1461065e578063ffb54a991461067e57600080fd5b8063a9059cbb1461059c578063ae95c03f146105bc578063cc1776d3146105dc578063cdab453b146105f257600080fd5b806381aa0345116100e757806381aa03451461051e5780638a8c523c146105345780638da5cb5b1461054957806395d89b4114610567578063a457c2d71461057c57600080fd5b8063715018a6146104bd578063729df87d146104d257806375f0a874146104e8578063771282f61461050857600080fd5b80632ba11c071161019b578063395093511161016a578063395093511461041b57806346bf6a551461043b5780634f7041a5146104515780635d098b381461046757806370a082311461048757600080fd5b80632ba11c0714610385578063313ce567146103b557806332972e46146103d157806336db71291461040557600080fd5b806318160ddd116101d757806318160ddd146102eb578063226036611461030a57806323b872dd1461032c57806327b07d751461034c57600080fd5b806306fdde0314610214578063095ea7b31461023f57806310d5de531461026f5780631694505e1461029f57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b50610229610698565b6040516102369190611562565b60405180910390f35b34801561024b57600080fd5b5061025f61025a3660046115cc565b61072a565b6040519015158152602001610236565b34801561027b57600080fd5b5061025f61028a3660046115f8565b60076020526000908152604090205460ff1681565b3480156102ab57600080fd5b506102d37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610236565b3480156102f757600080fd5b506002545b604051908152602001610236565b34801561031657600080fd5b5061032a610325366004611615565b610742565b005b34801561033857600080fd5b5061025f610347366004611653565b610775565b34801561035857600080fd5b5061025f6103673660046115f8565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561039157600080fd5b5061025f6103a03660046115f8565b600f6020526000908152604090205460ff1681565b3480156103c157600080fd5b5060405160128152602001610236565b3480156103dd57600080fd5b506102d37f00000000000000000000000039336f84b70f2e26efa2da295977275e68b106d781565b34801561041157600080fd5b506102fc600d5481565b34801561042757600080fd5b5061025f6104363660046115cc565b610799565b34801561044757600080fd5b506102fc600a5481565b34801561045d57600080fd5b506102fc60085481565b34801561047357600080fd5b5061032a6104823660046115f8565b6107bb565b34801561049357600080fd5b506102fc6104a23660046115f8565b6001600160a01b031660009081526020819052604090205490565b3480156104c957600080fd5b5061032a6107e5565b3480156104de57600080fd5b506102fc600c5481565b3480156104f457600080fd5b506015546102d3906001600160a01b031681565b34801561051457600080fd5b506102fc60135481565b34801561052a57600080fd5b506102fc60145481565b34801561054057600080fd5b5061032a6107f9565b34801561055557600080fd5b506005546001600160a01b03166102d3565b34801561057357600080fd5b50610229610810565b34801561058857600080fd5b5061025f6105973660046115cc565b61081f565b3480156105a857600080fd5b5061025f6105b73660046115cc565b61089f565b3480156105c857600080fd5b5061032a6105d7366004611694565b6108ad565b3480156105e857600080fd5b506102fc60095481565b3480156105fe57600080fd5b506102fc600b5481565b34801561061457600080fd5b506102fc600e5481565b34801561062a57600080fd5b5061032a610639366004611615565b6108cb565b34801561064a57600080fd5b506102fc6106593660046116b6565b6108fe565b34801561066a57600080fd5b5061032a6106793660046115f8565b610929565b34801561068a57600080fd5b5060105461025f9060ff1681565b6060600380546106a7906116e4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d3906116e4565b80156107205780601f106106f557610100808354040283529160200191610720565b820191906000526020600020905b81548152906001019060200180831161070357829003601f168201915b5050505050905090565b6000336107388185856109a2565b5060019392505050565b61074a610ac6565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600033610783858285610b20565b61078e858585610b9a565b506001949350505050565b6000336107388185856107ac83836108fe565b6107b69190611734565b6109a2565b6107c3610ac6565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6107ed610ac6565b6107f76000611095565b565b610801610ac6565b6010805460ff19166001179055565b6060600480546106a7906116e4565b6000338161082d82866108fe565b9050838110156108925760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61078e82868684036109a2565b600033610738818585610b9a565b6108b5610ac6565b600c829055600b8190556108c76110e7565b5050565b6108d3610ac6565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610931610ac6565b6001600160a01b0381166109965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610889565b61099f81611095565b50565b6001600160a01b038316610a045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610889565b6001600160a01b038216610a655760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610889565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146107f75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610889565b6000610b2c84846108fe565b90506000198114610b945781811015610b875760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610889565b610b9484848484036109a2565b50505050565b60105460ff1680610bc357506001600160a01b03831660009081526006602052604090205460ff165b80610be657506001600160a01b03821660009081526006602052604090205460ff165b610c255760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610889565b80600003610c3e57610c3983836000611146565b505050565b6001600160a01b038084166000908152600f602052604080822054928516825290205460ff9182169116610c7a6005546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610ca957506005546001600160a01b03858116911614155b8015610cc057506001600160a01b03841661dead14155b8015610ccf575060125460ff16155b15610eff576005546001600160a01b03858116911614801590610d2457507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316846001600160a01b031614155b8015610d6257507f00000000000000000000000039336f84b70f2e26efa2da295977275e68b106d76001600160a01b0316846001600160a01b031614155b15610dda57326000908152601160205260409020544311610dbc5760405162461bcd60e51b81526020600482015260146024820152734f6e65206465782074782070657220626c6f636b60601b6044820152606401610889565b600a54610dc99043611734565b326000908152601160205260409020555b8080610de35750815b8015610e0857506001600160a01b03851660009081526007602052604090205460ff16155b15610e6957600e54831115610e695760405162461bcd60e51b815260206004820152602160248201527f416d6f756e74206578636565647320746865206d6178547850657257616c6c656044820152601d60fa1b6064820152608401610889565b80158015610e9057506001600160a01b03841660009081526007602052604090205460ff16155b15610eff57600d546001600160a01b038516600090815260208190526040902054610ebb9085611734565b1115610eff5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610889565b60145430600090815260208190526040902054108015908190610f25575060125460ff16155b8015610f2f575082155b8015610f5457506001600160a01b03861660009081526006602052604090205460ff16155b8015610f7957506001600160a01b03851660009081526006602052604090205460ff16155b15610f9e576012805460ff19166001179055610f936112ea565b6012805460ff191690555b60125460ff16158015610fca57506001600160a01b03861660009081526006602052604090205460ff16155b8015610fef57506001600160a01b03851660009081526006602052604090205460ff16155b1561108257600082801561100557506000600954115b156110315761102a60646110246009548861138b90919063ffffffff16565b9061139e565b9050611062565b83801561104057506000600854115b156110625761105f60646110246008548861138b90919063ffffffff16565b90505b801561108057611073873083611146565b61107d818661174c565b94505b505b61108d868686611146565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6064600c546013546110f99190611763565b6111039190611782565b600e5560135461271090611118906005611763565b6111229190611782565b601455600b5460135460649161113791611763565b6111419190611782565b600d55565b6001600160a01b0383166111aa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610889565b6001600160a01b03821661120c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610889565b6001600160a01b038316600090815260208190526040902054818110156112845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610889565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b94565b30600090815260208190526040812054908190036113055750565b6014805461131291611763565b811115611329576014805461132691611763565b90505b611332816113aa565b6015546040516000916001600160a01b03169047908381818185875af1925050503d806000811461137f576040519150601f19603f3d011682016040523d82523d6000602084013e611384565b606091505b5050505050565b60006113978284611763565b9392505050565b60006113978284611782565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113df576113df6117a4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148191906117ba565b81600181518110611494576114946117a4565b60200260200101906001600160a01b031690816001600160a01b0316815250506114df307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846109a2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906115349085906000908690309042906004016117d7565b600060405180830381600087803b15801561154e57600080fd5b505af115801561108d573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561158f57858101830151858201604001528201611573565b818111156115a1576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461099f57600080fd5b600080604083850312156115df57600080fd5b82356115ea816115b7565b946020939093013593505050565b60006020828403121561160a57600080fd5b8135611397816115b7565b6000806040838503121561162857600080fd5b8235611633816115b7565b91506020830135801515811461164857600080fd5b809150509250929050565b60008060006060848603121561166857600080fd5b8335611673816115b7565b92506020840135611683816115b7565b929592945050506040919091013590565b600080604083850312156116a757600080fd5b50508035926020909101359150565b600080604083850312156116c957600080fd5b82356116d4816115b7565b91506020830135611648816115b7565b600181811c908216806116f857607f821691505b60208210810361171857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156117475761174761171e565b500190565b60008282101561175e5761175e61171e565b500390565b600081600019048311821515161561177d5761177d61171e565b500290565b60008261179f57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156117cc57600080fd5b8151611397816115b7565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118275784516001600160a01b031683529383019391830191600101611802565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220419f27f7fd86eae6a20aba08637810224dc748688a3e4083de910921d8f4ef1364736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _uniswapV2RouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.