ERC-20
Overview
Max Total Supply
73,249,218,660 OGMF
Holders
594
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
29,280,000 OGMFValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OGMF
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; /** * @title OGMF Token * @dev Implementation of the OGMF Token. */ contract OGMF is ERC20, Ownable { mapping (address => bool) private _isExcludedFromFee; // keeps track of addresses excluded from fees mapping (address => bool) private _isExcludedFromBotProtection; // keeps track of addresses excluded from bot protection mapping (address => bool) private _isExcludedFromMaxTxAmount; // keeps track of addresses excluded from the maximum transaction amount mapping (address => uint) private _lastTx; // keeps track of the timestamp of the last transaction of each address uint256 public constant MAX_SUPPLY = 75000000000 ether; // token supply uint256 public constant TAX = 15; // tax rate (1.5%) uint256 public constant BUY_BURN = 70; // 70% of buy taxes are burned daily uint256 public constant MAX_TX_AMOUNT = 3000000000 ether; // maximum amount of tokens that can be bought or sold in a transaction address private _uniswapV2Router; // address of the Uniswap v2 router mapping (address => bool) public pairs; // all pairs address private _poolWallet; // fees from sells address private _burnWallet; // fees from buys address private _teamWallet; // fees from buys uint256 public swapTokensAtAmount = 50000000 ether; // minimum amount of tokens to be swapped for ETH - if 0 won't swap bool public isTaxActive = true; // determines whether the tax is active or not bool public botDetectionActive = false; // determines whether bot detection is active or not bool public maxTransactionActive = true; // determines whether the maximum transaction amount is active or not bool private swapping; // determines whether a swap is in progress or not /** * @dev Sets the values for {uniswapV2Router}, {poolWallet}, {burnWallet} and {teamWallet}. * * construction. */ constructor( address uniswapV2Router_, address poolWallet_, address burnWallet_, address teamWallet_ ) ERC20("CryptoPirates", "OGMF") { _uniswapV2Router = uniswapV2Router_; _poolWallet = poolWallet_; _burnWallet = burnWallet_; _teamWallet = teamWallet_; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromBotProtection[owner()] = true; _isExcludedFromMaxTxAmount[owner()] = true; _mint(owner(), MAX_SUPPLY); } /** * @dev See {ERC20-_transfer}. * */ function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "Can't transfer from zero address"); require(to != address(0), "can't transfer to zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if (!swapping) { // if max transaction amount is set to 0, there is no maximum transaction amount if (maxTransactionActive) { if ((pairs[to] || pairs[from]) && !_isExcludedFromMaxTxAmount[tx.origin]) { require(amount <= MAX_TX_AMOUNT, "Amount exceeds the maximum transaction amount"); } } if (botDetectionActive) { // bot detection if (pairs[to] && !_isExcludedFromBotProtection[from]) { // SELL require(_lastTx[from] < block.number, "Only one transaction per block allowed"); _lastTx[from] = block.number; } else if (pairs[from] && !_isExcludedFromBotProtection[to]) { // BUY require(_lastTx[to] < block.number, "Only one transaction per block allowed"); _lastTx[to] = block.number; } } if (isTaxActive) { // tax uint256 taxAmount = amount * TAX / 1000; // 1.5% of the transaction if (pairs[to] && !_isExcludedFromFee[from]) { // SELL amount -= taxAmount; // remove tax from the amount super._transfer(from, _poolWallet, taxAmount); // send the tax to the pool wallet // swap tokens for ETH swapping = true; splitAndSwapBack(); swapping = false; } else if (pairs[from] && !_isExcludedFromFee[to]) { // BUY amount -= taxAmount; // remove tax from the amount super._transfer(from, address(this), taxAmount); // send the tax to the contract } } } super._transfer(from, to, amount); } function splitAndSwapBack() private { uint256 contractTokenBalance = balanceOf(address(this)); uint256 burnAmount = contractTokenBalance * BUY_BURN / 100; // 70% of the tokens goes to the burn wallet uint256 teamAmount = contractTokenBalance - burnAmount; // 30% of the tokens goes to the team wallet if (swapTokensAtAmount > 0 && teamAmount >= swapTokensAtAmount) { super._transfer(address(this), _burnWallet, burnAmount); _swapTokensForEth(teamAmount); } } function _swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = IUniswapV2Router02(_uniswapV2Router).WETH(); _approve(address(this), _uniswapV2Router, tokenAmount); // make the swap IUniswapV2Router02(_uniswapV2Router).swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, _teamWallet, block.timestamp ); } /** * @dev Burns `amount` tokens from the caller. * See {ERC20-_burn}. */ function burn(uint256 amount) public { _burn(_msgSender(), amount); } function emergencyTransfer() public onlyOwner { super._transfer(address(this), _msgSender(), balanceOf(address(this))); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function excludeFromBotProtection(address account) public onlyOwner { _isExcludedFromBotProtection[account] = true; } function includeInBotProtection(address account) public onlyOwner { _isExcludedFromBotProtection[account] = false; } function excludeFromMaxTxAmount(address account) public onlyOwner { _isExcludedFromMaxTxAmount[account] = true; } function includeInMaxTxAmount(address account) public onlyOwner { _isExcludedFromMaxTxAmount[account] = false; } function setTeamWallet(address teamWallet) public onlyOwner { _teamWallet = teamWallet; } function setPoolWallet(address poolWallet) public onlyOwner { _poolWallet = poolWallet; } function setBurnWallet(address burnWallet) public onlyOwner { _burnWallet = burnWallet; } function setSwapTokensAtAmount(uint256 amount) public onlyOwner { swapTokensAtAmount = amount; } function deactivateMaxTransaction() public onlyOwner { maxTransactionActive = false; } function setTaxStatus(bool status) public onlyOwner { isTaxActive = status; } function setBotDetectionStatus(bool status) public onlyOwner { botDetectionActive = status; } function setUniswapV2Router(address uniswapV2Router) public onlyOwner { _uniswapV2Router = uniswapV2Router; } function addPair(address pair) public onlyOwner { pairs[pair] = true; } function removePair(address pair) public onlyOwner { pairs[pair] = false; } function createPair() public onlyOwner { pairs[IUniswapV2Factory(IUniswapV2Router02(_uniswapV2Router).factory()).createPair(address(this), IUniswapV2Router02(_uniswapV2Router).WETH())] = true; } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// 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 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 (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 (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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"uniswapV2Router_","type":"address"},{"internalType":"address","name":"poolWallet_","type":"address"},{"internalType":"address","name":"burnWallet_","type":"address"},{"internalType":"address","name":"teamWallet_","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":[],"name":"BUY_BURN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"botDetectionActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivateMaxTransaction","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":[],"name":"emergencyTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromBotProtection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInBotProtection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isTaxActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"pairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"removePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setBotDetectionStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burnWallet","type":"address"}],"name":"setBurnWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"poolWallet","type":"address"}],"name":"setPoolWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setTaxStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"teamWallet","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"uniswapV2Router","type":"address"}],"name":"setUniswapV2Router","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":[{"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"}]
Contract Creation Code
60806040526a295be96e64066972000000600f556010805462ffffff1916620100011790553480156200003157600080fd5b5060405162001f0c38038062001f0c8339810160408190526200005491620002de565b6040518060400160405280600d81526020016c43727970746f5069726174657360981b8152506040518060400160405280600481526020016327a3a6a360e11b8152508160039081620000a89190620003df565b506004620000b78282620003df565b505050620000d4620000ce620001a060201b60201c565b620001a4565b600a80546001600160a01b03199081166001600160a01b0387811691909117909255600c80548216868416179055600d80548216858416179055600e80549091168383161790556005805482166000908152600660209081526040808320805460ff19908116600190811790925530855282852080548216831790558554871685526007845282852080548216831790558554871685526008909352922080549091169091179055546200019691166bf2568bc2d21591d7f8000000620001f6565b50505050620004d3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002515760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620002659190620004ab565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b80516001600160a01b0381168114620002d957600080fd5b919050565b60008060008060808587031215620002f557600080fd5b6200030085620002c1565b93506200031060208601620002c1565b92506200032060408601620002c1565b91506200033060608601620002c1565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036657607f821691505b6020821081036200038757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002bc57600081815260208120601f850160051c81016020861015620003b65750805b601f850160051c820191505b81811015620003d757828155600101620003c2565b505050505050565b81516001600160401b03811115620003fb57620003fb6200033b565b62000413816200040c845462000351565b846200038d565b602080601f8311600181146200044b5760008415620004325750858301515b600019600386901b1c1916600185901b178555620003d7565b600085815260208120601f198616915b828110156200047c578886015182559484019460019091019084016200045b565b50858210156200049b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004cd57634e487b7160e01b600052601160045260246000fd5b92915050565b611a2980620004e36000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063afa4f3b2116100c3578063e2f4560511610087578063e2f45605146104f1578063ea2f0b37146104fa578063ea41acef1461050d578063f2fde38b14610520578063fc8346bf14610533578063fe33b3021461054657600080fd5b8063afa4f3b21461049d578063b967ba7d146104b0578063c0554906146104c3578063c2b7bbb6146104cb578063dd62ed3e146104de57600080fd5b806398a0dd091161010a57806398a0dd091461044f5780639e78fb4f1461045c578063a457c2d714610464578063a9059cbb14610477578063af6c9c1d1461048a57600080fd5b8063715018a6146103fe5780637e3f5606146104065780638ae2702f146104195780638da5cb5b1461042c57806395d89b411461044757600080fd5b80632f119143116101df5780633c92772c116101a35780633c92772c1461038157806342966c6814610394578063437823ec146103a757806368f58b03146103ba5780636ed11b55146103c257806370a08231146103d557600080fd5b80632f11914314610331578063313ce5671461034457806332cb6b0c1461035357806338e3eaef14610366578063395093511461036e57600080fd5b806318160ddd1161022657806318160ddd146102df5780631c4ba3ed146102f1578063227089061461030457806323b872dd1461030c578063263030501461031f57600080fd5b806306fdde0314610263578063095ea7b3146102815780631419841d146102a45780631525ff7d146102b95780631533078f146102cc575b600080fd5b61026b610569565b60405161027891906116f2565b60405180910390f35b61029461028f366004611755565b6105fb565b6040519015158152602001610278565b6102b76102b2366004611781565b610615565b005b6102b76102c7366004611781565b61063f565b6102b76102da3660046117a5565b610669565b6002545b604051908152602001610278565b6102b76102ff366004611781565b610684565b6102e3604681565b61029461031a3660046117c7565b6106ae565b60105461029490610100900460ff1681565b6102b761033f366004611781565b6106d2565b60405160128152602001610278565b6102e36bf2568bc2d21591d7f800000081565b6102b76106fb565b61029461037c366004611755565b61071f565b6102b761038f366004611781565b610741565b6102b76103a2366004611808565b61076a565b6102b76103b5366004611781565b610777565b6102e3600f81565b6102b76103d03660046117a5565b6107a3565b6102e36103e3366004611781565b6001600160a01b031660009081526020819052604090205490565b6102b76107c5565b6102b7610414366004611781565b6107d7565b6102e36b09b18ab5df7180b6b800000081565b6005546040516001600160a01b039091168152602001610278565b61026b610803565b6010546102949060ff1681565b6102b7610812565b610294610472366004611755565b6109b8565b610294610485366004611755565b610a38565b6102b7610498366004611781565b610a46565b6102b76104ab366004611808565b610a6f565b6010546102949062010000900460ff1681565b6102b7610a7c565b6102b76104d9366004611781565b610a92565b6102e36104ec366004611821565b610abe565b6102e3600f5481565b6102b7610508366004611781565b610ae9565b6102b761051b366004611781565b610b12565b6102b761052e366004611781565b610b3e565b6102b7610541366004611781565b610bb4565b610294610554366004611781565b600b6020526000908152604090205460ff1681565b6060600380546105789061185a565b80601f01602080910402602001604051908101604052809291908181526020018280546105a49061185a565b80156105f15780601f106105c6576101008083540402835291602001916105f1565b820191906000526020600020905b8154815290600101906020018083116105d457829003601f168201915b5050505050905090565b600033610609818585610bde565b60019150505b92915050565b61061d610d02565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610647610d02565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610671610d02565b6010805460ff1916911515919091179055565b61068c610d02565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000336106bc858285610d5c565b6106c7858585610dd6565b506001949350505050565b6106da610d02565b6001600160a01b03166000908152600860205260409020805460ff19169055565b610703610d02565b61071d3033306000908152602081905260409020546111fb565b565b6000336106098185856107328383610abe565b61073c91906118aa565b610bde565b610749610d02565b6001600160a01b03166000908152600760205260409020805460ff19169055565b610774338261139f565b50565b61077f610d02565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6107ab610d02565b601080549115156101000261ff0019909216919091179055565b6107cd610d02565b61071d60006114d1565b6107df610d02565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6060600480546105789061185a565b61081a610d02565b6001600b6000600a60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089791906118bd565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091d91906118bd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906118bd565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600033816109c68286610abe565b905083811015610a2b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106c78286868403610bde565b600033610609818585610dd6565b610a4e610d02565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b610a77610d02565b600f55565b610a84610d02565b6010805462ff000019169055565b610a9a610d02565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610af1610d02565b6001600160a01b03166000908152600660205260409020805460ff19169055565b610b1a610d02565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b610b46610d02565b6001600160a01b038116610bab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a22565b610774816114d1565b610bbc610d02565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a22565b6001600160a01b038216610ca15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a22565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461071d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a22565b6000610d688484610abe565b90506000198114610dd05781811015610dc35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a22565b610dd08484848403610bde565b50505050565b6001600160a01b038316610e2c5760405162461bcd60e51b815260206004820181905260248201527f43616e2774207472616e736665722066726f6d207a65726f20616464726573736044820152606401610a22565b6001600160a01b038216610e825760405162461bcd60e51b815260206004820152601e60248201527f63616e2774207472616e7366657220746f207a65726f206164647265737300006044820152606401610a22565b80600003610e9b57610e96838360006111fb565b505050565b6010546301000000900460ff166111f45760105462010000900460ff1615610f8f576001600160a01b0382166000908152600b602052604090205460ff1680610efc57506001600160a01b0383166000908152600b602052604090205460ff165b8015610f1857503260009081526008602052604090205460ff16155b15610f8f576b09b18ab5df7180b6b8000000811115610f8f5760405162461bcd60e51b815260206004820152602d60248201527f416d6f756e74206578636565647320746865206d6178696d756d207472616e7360448201526c1858dd1a5bdb88185b5bdd5b9d609a1b6064820152608401610a22565b601054610100900460ff16156110d5576001600160a01b0382166000908152600b602052604090205460ff168015610fe057506001600160a01b03831660009081526007602052604090205460ff16155b1561103c576001600160a01b038316600090815260096020526040902054431161101c5760405162461bcd60e51b8152600401610a22906118da565b6001600160a01b03831660009081526009602052604090204390556110d5565b6001600160a01b0383166000908152600b602052604090205460ff16801561107d57506001600160a01b03821660009081526007602052604090205460ff16155b156110d5576001600160a01b03821660009081526009602052604090205443116110b95760405162461bcd60e51b8152600401610a22906118da565b6001600160a01b03821660009081526009602052604090204390555b60105460ff16156111f45760006103e86110f0600f84611920565b6110fa9190611937565b6001600160a01b0384166000908152600b602052604090205490915060ff16801561113e57506001600160a01b03841660009081526006602052604090205460ff16155b156111955761114d8183611959565b600c549092506111689085906001600160a01b0316836111fb565b6010805463ff00000019166301000000179055611183611523565b6010805463ff000000191690556111f2565b6001600160a01b0384166000908152600b602052604090205460ff1680156111d657506001600160a01b03831660009081526006602052604090205460ff16155b156111f2576111e58183611959565b91506111f28430836111fb565b505b610e968383835b6001600160a01b03831661125f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a22565b6001600160a01b0382166112c15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a22565b6001600160a01b038316600090815260208190526040902054818110156113395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a22565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dd0565b6001600160a01b0382166113ff5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a22565b6001600160a01b038216600090815260208190526040902054818110156114735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a22565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054906064611541604684611920565b61154b9190611937565b905060006115598284611959565b90506000600f5411801561156f5750600f548110155b15610e9657600d5461158c9030906001600160a01b0316846111fb565b604080516002808252606082018352610e96928492600092909160208301908036833701905050905030816000815181106115c9576115c961196c565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611622573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164691906118bd565b816001815181106116595761165961196c565b6001600160a01b039283166020918202929092010152600a5461167f9130911684610bde565b600a54600e5460405163791ac94760e01b81526001600160a01b039283169263791ac947926116bc92879260009288929116904290600401611982565b600060405180830381600087803b1580156116d657600080fd5b505af11580156116ea573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561171f57858101830151858201604001528201611703565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461077457600080fd5b6000806040838503121561176857600080fd5b823561177381611740565b946020939093013593505050565b60006020828403121561179357600080fd5b813561179e81611740565b9392505050565b6000602082840312156117b757600080fd5b8135801515811461179e57600080fd5b6000806000606084860312156117dc57600080fd5b83356117e781611740565b925060208401356117f781611740565b929592945050506040919091013590565b60006020828403121561181a57600080fd5b5035919050565b6000806040838503121561183457600080fd5b823561183f81611740565b9150602083013561184f81611740565b809150509250929050565b600181811c9082168061186e57607f821691505b60208210810361188e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060f5761060f611894565b6000602082840312156118cf57600080fd5b815161179e81611740565b60208082526026908201527f4f6e6c79206f6e65207472616e73616374696f6e2070657220626c6f636b20616040820152651b1b1bddd95960d21b606082015260800190565b808202811582820484141761060f5761060f611894565b60008261195457634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561060f5761060f611894565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119d25784516001600160a01b0316835293830193918301916001016119ad565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122054eb5f9f06dd75ddf773135e6a8f0836d1751650fab09f7b66dd19907da5bbf864736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c6e8b3a1782674a0c36aec18933118d634cff4c600000000000000000000000091f1d45b499621f6fad0eee12950b58a6666ee45000000000000000000000000a46745dc45494ccadfe654dcb60e2dcfa8ba7d42
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063715018a611610146578063afa4f3b2116100c3578063e2f4560511610087578063e2f45605146104f1578063ea2f0b37146104fa578063ea41acef1461050d578063f2fde38b14610520578063fc8346bf14610533578063fe33b3021461054657600080fd5b8063afa4f3b21461049d578063b967ba7d146104b0578063c0554906146104c3578063c2b7bbb6146104cb578063dd62ed3e146104de57600080fd5b806398a0dd091161010a57806398a0dd091461044f5780639e78fb4f1461045c578063a457c2d714610464578063a9059cbb14610477578063af6c9c1d1461048a57600080fd5b8063715018a6146103fe5780637e3f5606146104065780638ae2702f146104195780638da5cb5b1461042c57806395d89b411461044757600080fd5b80632f119143116101df5780633c92772c116101a35780633c92772c1461038157806342966c6814610394578063437823ec146103a757806368f58b03146103ba5780636ed11b55146103c257806370a08231146103d557600080fd5b80632f11914314610331578063313ce5671461034457806332cb6b0c1461035357806338e3eaef14610366578063395093511461036e57600080fd5b806318160ddd1161022657806318160ddd146102df5780631c4ba3ed146102f1578063227089061461030457806323b872dd1461030c578063263030501461031f57600080fd5b806306fdde0314610263578063095ea7b3146102815780631419841d146102a45780631525ff7d146102b95780631533078f146102cc575b600080fd5b61026b610569565b60405161027891906116f2565b60405180910390f35b61029461028f366004611755565b6105fb565b6040519015158152602001610278565b6102b76102b2366004611781565b610615565b005b6102b76102c7366004611781565b61063f565b6102b76102da3660046117a5565b610669565b6002545b604051908152602001610278565b6102b76102ff366004611781565b610684565b6102e3604681565b61029461031a3660046117c7565b6106ae565b60105461029490610100900460ff1681565b6102b761033f366004611781565b6106d2565b60405160128152602001610278565b6102e36bf2568bc2d21591d7f800000081565b6102b76106fb565b61029461037c366004611755565b61071f565b6102b761038f366004611781565b610741565b6102b76103a2366004611808565b61076a565b6102b76103b5366004611781565b610777565b6102e3600f81565b6102b76103d03660046117a5565b6107a3565b6102e36103e3366004611781565b6001600160a01b031660009081526020819052604090205490565b6102b76107c5565b6102b7610414366004611781565b6107d7565b6102e36b09b18ab5df7180b6b800000081565b6005546040516001600160a01b039091168152602001610278565b61026b610803565b6010546102949060ff1681565b6102b7610812565b610294610472366004611755565b6109b8565b610294610485366004611755565b610a38565b6102b7610498366004611781565b610a46565b6102b76104ab366004611808565b610a6f565b6010546102949062010000900460ff1681565b6102b7610a7c565b6102b76104d9366004611781565b610a92565b6102e36104ec366004611821565b610abe565b6102e3600f5481565b6102b7610508366004611781565b610ae9565b6102b761051b366004611781565b610b12565b6102b761052e366004611781565b610b3e565b6102b7610541366004611781565b610bb4565b610294610554366004611781565b600b6020526000908152604090205460ff1681565b6060600380546105789061185a565b80601f01602080910402602001604051908101604052809291908181526020018280546105a49061185a565b80156105f15780601f106105c6576101008083540402835291602001916105f1565b820191906000526020600020905b8154815290600101906020018083116105d457829003601f168201915b5050505050905090565b600033610609818585610bde565b60019150505b92915050565b61061d610d02565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610647610d02565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610671610d02565b6010805460ff1916911515919091179055565b61068c610d02565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000336106bc858285610d5c565b6106c7858585610dd6565b506001949350505050565b6106da610d02565b6001600160a01b03166000908152600860205260409020805460ff19169055565b610703610d02565b61071d3033306000908152602081905260409020546111fb565b565b6000336106098185856107328383610abe565b61073c91906118aa565b610bde565b610749610d02565b6001600160a01b03166000908152600760205260409020805460ff19169055565b610774338261139f565b50565b61077f610d02565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6107ab610d02565b601080549115156101000261ff0019909216919091179055565b6107cd610d02565b61071d60006114d1565b6107df610d02565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6060600480546105789061185a565b61081a610d02565b6001600b6000600a60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089791906118bd565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091d91906118bd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906118bd565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600033816109c68286610abe565b905083811015610a2b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106c78286868403610bde565b600033610609818585610dd6565b610a4e610d02565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b610a77610d02565b600f55565b610a84610d02565b6010805462ff000019169055565b610a9a610d02565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610af1610d02565b6001600160a01b03166000908152600660205260409020805460ff19169055565b610b1a610d02565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b610b46610d02565b6001600160a01b038116610bab5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a22565b610774816114d1565b610bbc610d02565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a22565b6001600160a01b038216610ca15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a22565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461071d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a22565b6000610d688484610abe565b90506000198114610dd05781811015610dc35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a22565b610dd08484848403610bde565b50505050565b6001600160a01b038316610e2c5760405162461bcd60e51b815260206004820181905260248201527f43616e2774207472616e736665722066726f6d207a65726f20616464726573736044820152606401610a22565b6001600160a01b038216610e825760405162461bcd60e51b815260206004820152601e60248201527f63616e2774207472616e7366657220746f207a65726f206164647265737300006044820152606401610a22565b80600003610e9b57610e96838360006111fb565b505050565b6010546301000000900460ff166111f45760105462010000900460ff1615610f8f576001600160a01b0382166000908152600b602052604090205460ff1680610efc57506001600160a01b0383166000908152600b602052604090205460ff165b8015610f1857503260009081526008602052604090205460ff16155b15610f8f576b09b18ab5df7180b6b8000000811115610f8f5760405162461bcd60e51b815260206004820152602d60248201527f416d6f756e74206578636565647320746865206d6178696d756d207472616e7360448201526c1858dd1a5bdb88185b5bdd5b9d609a1b6064820152608401610a22565b601054610100900460ff16156110d5576001600160a01b0382166000908152600b602052604090205460ff168015610fe057506001600160a01b03831660009081526007602052604090205460ff16155b1561103c576001600160a01b038316600090815260096020526040902054431161101c5760405162461bcd60e51b8152600401610a22906118da565b6001600160a01b03831660009081526009602052604090204390556110d5565b6001600160a01b0383166000908152600b602052604090205460ff16801561107d57506001600160a01b03821660009081526007602052604090205460ff16155b156110d5576001600160a01b03821660009081526009602052604090205443116110b95760405162461bcd60e51b8152600401610a22906118da565b6001600160a01b03821660009081526009602052604090204390555b60105460ff16156111f45760006103e86110f0600f84611920565b6110fa9190611937565b6001600160a01b0384166000908152600b602052604090205490915060ff16801561113e57506001600160a01b03841660009081526006602052604090205460ff16155b156111955761114d8183611959565b600c549092506111689085906001600160a01b0316836111fb565b6010805463ff00000019166301000000179055611183611523565b6010805463ff000000191690556111f2565b6001600160a01b0384166000908152600b602052604090205460ff1680156111d657506001600160a01b03831660009081526006602052604090205460ff16155b156111f2576111e58183611959565b91506111f28430836111fb565b505b610e968383835b6001600160a01b03831661125f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a22565b6001600160a01b0382166112c15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a22565b6001600160a01b038316600090815260208190526040902054818110156113395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a22565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610dd0565b6001600160a01b0382166113ff5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a22565b6001600160a01b038216600090815260208190526040902054818110156114735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a22565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054906064611541604684611920565b61154b9190611937565b905060006115598284611959565b90506000600f5411801561156f5750600f548110155b15610e9657600d5461158c9030906001600160a01b0316846111fb565b604080516002808252606082018352610e96928492600092909160208301908036833701905050905030816000815181106115c9576115c961196c565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611622573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164691906118bd565b816001815181106116595761165961196c565b6001600160a01b039283166020918202929092010152600a5461167f9130911684610bde565b600a54600e5460405163791ac94760e01b81526001600160a01b039283169263791ac947926116bc92879260009288929116904290600401611982565b600060405180830381600087803b1580156116d657600080fd5b505af11580156116ea573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561171f57858101830151858201604001528201611703565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461077457600080fd5b6000806040838503121561176857600080fd5b823561177381611740565b946020939093013593505050565b60006020828403121561179357600080fd5b813561179e81611740565b9392505050565b6000602082840312156117b757600080fd5b8135801515811461179e57600080fd5b6000806000606084860312156117dc57600080fd5b83356117e781611740565b925060208401356117f781611740565b929592945050506040919091013590565b60006020828403121561181a57600080fd5b5035919050565b6000806040838503121561183457600080fd5b823561183f81611740565b9150602083013561184f81611740565b809150509250929050565b600181811c9082168061186e57607f821691505b60208210810361188e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060f5761060f611894565b6000602082840312156118cf57600080fd5b815161179e81611740565b60208082526026908201527f4f6e6c79206f6e65207472616e73616374696f6e2070657220626c6f636b20616040820152651b1b1bddd95960d21b606082015260800190565b808202811582820484141761060f5761060f611894565b60008261195457634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561060f5761060f611894565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119d25784516001600160a01b0316835293830193918301916001016119ad565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122054eb5f9f06dd75ddf773135e6a8f0836d1751650fab09f7b66dd19907da5bbf864736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c6e8b3a1782674a0c36aec18933118d634cff4c600000000000000000000000091f1d45b499621f6fad0eee12950b58a6666ee45000000000000000000000000a46745dc45494ccadfe654dcb60e2dcfa8ba7d42
-----Decoded View---------------
Arg [0] : uniswapV2Router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : poolWallet_ (address): 0xc6E8b3A1782674A0C36aEC18933118d634cfF4C6
Arg [2] : burnWallet_ (address): 0x91F1d45b499621f6Fad0EEE12950B58a6666ee45
Arg [3] : teamWallet_ (address): 0xa46745dc45494CcadFe654dCB60e2DcFa8BA7D42
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c6e8b3a1782674a0c36aec18933118d634cff4c6
Arg [2] : 00000000000000000000000091f1d45b499621f6fad0eee12950b58a6666ee45
Arg [3] : 000000000000000000000000a46745dc45494ccadfe654dcb60e2dcfa8ba7d42
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.