Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000,000,000 Omnom
Holders
78
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,078,266,069,371.842426615773528439 OmnomValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Omnom
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 10 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Website: https://www.omnom.vip // Telegram: https://t.me/omnomentryportal // Twitter: https://twitter.com/OmNomerc pragma solidity ^0.8.10; pragma experimental ABIEncoderV2; import "./IUniswapV2Router02.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Pair.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract Omnom is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private bots; mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = true; address payable private _taxWallet; uint256 private buyTax=0; uint256 private sellTax=0; uint256 private _preventSwapBefore=5; uint256 private _buyCount=0; uint8 private constant _decimals = 18; uint256 private constant _tTotal = 420690000000000 * 10**_decimals; string private constant _name = unicode"Omnom"; string private constant _symbol = unicode"Omnom"; uint256 public _maxTxAmount = _tTotal * 20 / 1000; // 2% uint256 public _maxWalletSize = _tTotal * 20 / 1000; // 2% uint256 public _taxSwapThreshold= _tTotal * 5 / 10000; // 0.05% uint256 public _maxTaxSwap= 10000 * 10**_decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _tTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _isExcludedFromFee[address(_uniswapV2Router)] = true; uniswapV2Router = _uniswapV2Router; _approve(address(this), address(uniswapV2Router), _tTotal); _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 taxAmount=0; if (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); taxAmount = amount.mul(buyTax).div(100); if (transferDelayEnabled) { if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); _buyCount++; } if(to == uniswapV2Pair && from!= address(this) ){ taxAmount = amount.mul(sellTax).div(100); } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) { swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap))); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } if(taxAmount>0){ _balances[address(this)]=_balances[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { 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 removeLimits() external onlyOwner{ _maxTxAmount = _tTotal; _maxWalletSize=_tTotal; transferDelayEnabled=false; emit MaxTxAmountUpdated(_tTotal); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function addBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBots(address[] memory notbot) public onlyOwner { for (uint i = 0; i < notbot.length; i++) { bots[notbot[i]] = false; } } function isBot(address a) public view returns (bool){ return bots[a]; } function setUniswapV2Pair(address _uniswapV2Pair) external onlyOwner() { uniswapV2Pair = _uniswapV2Pair; _isExcludedFromFee[address(uniswapV2Pair)] = true; } function createUniswapV2Pair() external onlyOwner() { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _isExcludedFromFee[address(uniswapV2Pair)] = true; } function openTrading() external onlyOwner() { require(!tradingOpen,"trading is already open"); swapEnabled = true; tradingOpen = true; } function setFee(uint256 _buyTax, uint256 _sellTax) external onlyOwner{ buyTax = _buyTax; sellTax = _sellTax; } receive() external payable {} function manualSwap() external { require(_msgSender()==_taxWallet); uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>0){ sendETHToFee(ethBalance); } } }
// 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.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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; } _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; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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.10; pragma experimental ABIEncoderV2; 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.10; pragma experimental ABIEncoderV2; interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; pragma experimental ABIEncoderV2; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function 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": 10 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addBots","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":"createUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"delBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"setUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526006805460ff191660011790556000600781905560088190556005600955600a9081556103e890620000399060129062000578565b6200004c9066017e9d8602b40062000590565b6200005990601462000590565b620000659190620005b2565b600b556103e8620000796012600a62000578565b6200008c9066017e9d8602b40062000590565b6200009990601462000590565b620000a59190620005b2565b600c55612710620000b96012600a62000578565b620000cc9066017e9d8602b40062000590565b620000d990600562000590565b620000e59190620005b2565b600d55620000f66012600a62000578565b620001049061271062000590565b600e556010805461ffff60a81b191690553480156200012257600080fd5b506200012e33620002e7565b60068054610100600160a81b0319166101003302179055620001536012600a62000578565b620001669066017e9d8602b40062000590565b336000908152600160208181526040832093909355737a250d5630b4cf539739df2c5dacb4c659f2488d9182905260039092527ffb19a963956c9cb662dd3ae48988c4b90766df71ea130109840abe0a1b23dba8805460ff1916909217909155600f80546001600160a01b03191682179055620002053082620001ec6012600a62000578565b620001ff9066017e9d8602b40062000590565b62000337565b6001600360006200021e6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620002823390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002bc6012600a62000578565b620002cf9066017e9d8602b40062000590565b60405190815260200160405180910390a350620005d5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166200039f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004025760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000396565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004ba5781600019048211156200049e576200049e62000463565b80851615620004ac57918102915b93841c93908002906200047e565b509250929050565b600082620004d35750600162000572565b81620004e25750600062000572565b8160018114620004fb5760028114620005065762000526565b600191505062000572565b60ff8411156200051a576200051a62000463565b50506001821b62000572565b5060208310610133831016604e8410600b84101617156200054b575081810a62000572565b62000557838362000479565b80600019048211156200056e576200056e62000463565b0290505b92915050565b60006200058960ff841683620004c2565b9392505050565b6000816000190483118215151615620005ad57620005ad62000463565b500290565b600082620005d057634e487b7160e01b600052601260045260246000fd5b500490565b61190980620005e56000396000f3fe6080604052600436106101355760003560e01c806306fdde0314610141578063095ea7b31461017e5780630faee56f146101ae57806318160ddd146101d257806323b872dd146101e7578063313ce5671461020757806331c2d847146102235780633bbac579146102455780634b71cb1c1461027e57806351bc3c851461029357806352f7c988146102a857806370a08231146102c8578063715018a6146102e8578063751039fc146102fd5780637d1db4a5146103125780638da5cb5b146103285780638f9a55c01461035557806395d89b4114610141578063a29a60891461036b578063a9059cbb1461038b578063bf474bed146103ab578063c876d0b9146103c1578063c9567bf9146103db578063d34628cc146103f0578063dd62ed3e14610410578063f2fde38b1461045657600080fd5b3661013c57005b600080fd5b34801561014d57600080fd5b5060408051808201825260058152644f6d6e6f6d60d81b60208201529051610175919061141a565b60405180910390f35b34801561018a57600080fd5b5061019e610199366004611494565b610476565b6040519015158152602001610175565b3480156101ba57600080fd5b506101c4600e5481565b604051908152602001610175565b3480156101de57600080fd5b506101c461048d565b3480156101f357600080fd5b5061019e6102023660046114c0565b6104b1565b34801561021357600080fd5b5060405160128152602001610175565b34801561022f57600080fd5b5061024361023e366004611517565b61051a565b005b34801561025157600080fd5b5061019e6102603660046115db565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561028a57600080fd5b5061024361058e565b34801561029f57600080fd5b5061024361073e565b3480156102b457600080fd5b506102436102c33660046115f8565b61078f565b3480156102d457600080fd5b506101c46102e33660046115db565b6107a2565b3480156102f457600080fd5b506102436107bd565b34801561030957600080fd5b506102436107d1565b34801561031e57600080fd5b506101c4600b5481565b34801561033457600080fd5b5061033d610874565b6040516001600160a01b039091168152602001610175565b34801561036157600080fd5b506101c4600c5481565b34801561037757600080fd5b506102436103863660046115db565b610883565b34801561039757600080fd5b5061019e6103a6366004611494565b6108c5565b3480156103b757600080fd5b506101c4600d5481565b3480156103cd57600080fd5b5060065461019e9060ff1681565b3480156103e757600080fd5b506102436108d2565b3480156103fc57600080fd5b5061024361040b366004611517565b61094c565b34801561041c57600080fd5b506101c461042b36600461161a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561046257600080fd5b506102436104713660046115db565b6109bc565b6000610483338484610a35565b5060015b92915050565b600061049b6012600a61174d565b6104ac9066017e9d8602b40061175c565b905090565b60006104be848484610b59565b610510843361050b8560405180606001604052806028815260200161188c602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061113b565b610a35565b5060019392505050565b610522611167565b60005b815181101561058a576000600460008484815181106105465761054661177b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061058281611791565b915050610525565b5050565b610596611167565b600f60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d91906117ac565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069391906117ac565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070491906117ac565b601080546001600160a01b0319166001600160a01b039290921691821790556000908152600360205260409020805460ff19166001179055565b60065461010090046001600160a01b0316336001600160a01b03161461076357600080fd5b600061076e306107a2565b9050801561077f5761077f816111c6565b47801561058a5761058a81611340565b610797611167565b600791909155600855565b6001600160a01b031660009081526001602052604090205490565b6107c5611167565b6107cf600061137e565b565b6107d9611167565b6107e56012600a61174d565b6107f69066017e9d8602b40061175c565b600b556108056012600a61174d565b6108169066017e9d8602b40061175c565b600c556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6108506012600a61174d565b6108619066017e9d8602b40061175c565b60405190815260200160405180910390a1565b6000546001600160a01b031690565b61088b611167565b601080546001600160a01b039092166001600160a01b0319909216821790556000908152600360205260409020805460ff19166001179055565b6000610483338484610b59565b6108da611167565b601054600160a01b900460ff16156109335760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064015b60405180910390fd5b6010805462ff00ff60a01b19166201000160a01b179055565b610954611167565b60005b815181101561058a576001600460008484815181106109785761097861177b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806109b481611791565b915050610957565b6109c4611167565b6001600160a01b038116610a295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610a328161137e565b50565b6001600160a01b038316610a975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092a565b6001600160a01b038216610af85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bbd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161092a565b6001600160a01b038216610c1f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092a565b60008111610c815760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161092a565b6000610c8b610874565b6001600160a01b0316846001600160a01b031614158015610cc55750610caf610874565b6001600160a01b0316836001600160a01b031614155b1561101c576001600160a01b03841660009081526004602052604090205460ff16158015610d0c57506001600160a01b03831660009081526004602052604090205460ff16155b610d1557600080fd5b610d356064610d2f600754856113ce90919063ffffffff16565b906113e1565b60065490915060ff1615610e1d57600f546001600160a01b03848116911614801590610d6f57506010546001600160a01b03848116911614155b15610e1d57326000908152600560205260409020544311610e0a5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161092a565b3260009081526005602052604090204390555b6010546001600160a01b038581169116148015610e485750600f546001600160a01b03848116911614155b8015610e6d57506001600160a01b03831660009081526003602052604090205460ff16155b15610f3857600b54821115610ec05760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161092a565b600c5482610ecd856107a2565b610ed791906117c9565b1115610f225760405162461bcd60e51b815260206004820152601a60248201527922bc31b2b2b239903a34329036b0bc2bb0b63632ba29b4bd329760311b604482015260640161092a565b600a8054906000610f3283611791565b91905055505b6010546001600160a01b038481169116148015610f5e57506001600160a01b0384163014155b15610f8057610f7d6064610d2f600854856113ce90919063ffffffff16565b90505b6000610f8b306107a2565b601054909150600160a81b900460ff16158015610fb557506010546001600160a01b038581169116145b8015610fca5750601054600160b01b900460ff165b8015610fd75750600d5481115b8015610fe65750600954600a54115b1561101a5761100861100384610ffe84600e546113ed565b6113ed565b6111c6565b4780156110185761101847611340565b505b505b8015611084573060009081526001602052604090205461103c9082611402565b30600081815260016020526040908190209290925590516001600160a01b038616906000805160206118b48339815191529061107b9085815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110a7908361140e565b6001600160a01b0385166000908152600160205260409020556110ec6110cd838361140e565b6001600160a01b03851660009081526001602052604090205490611402565b6001600160a01b0380851660008181526001602052604090209290925585166000805160206118b4833981519152611124858561140e565b60405190815260200160405180910390a350505050565b6000818484111561115f5760405162461bcd60e51b815260040161092a919061141a565b505050900390565b33611170610874565b6001600160a01b0316146107cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b6010805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061120e5761120e61177b565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b91906117ac565b8160018151811061129e5761129e61177b565b6001600160a01b039283166020918202929092010152600f546112c49130911684610a35565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906112fd9085906000908690309042906004016117e1565b600060405180830381600087803b15801561131757600080fd5b505af115801561132b573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561058a573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006113da828461175c565b9392505050565b60006113da8284611852565b60008183116113fc57826113da565b50919050565b60006113da82846117c9565b60006113da8284611874565b600060208083528351808285015260005b818110156114475785810183015185820160400152820161142b565b81811115611459576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a3257600080fd5b803561148f8161146f565b919050565b600080604083850312156114a757600080fd5b82356114b28161146f565b946020939093013593505050565b6000806000606084860312156114d557600080fd5b83356114e08161146f565b925060208401356114f08161146f565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561152a57600080fd5b82356001600160401b038082111561154157600080fd5b818501915085601f83011261155557600080fd5b81358181111561156757611567611501565b8060051b604051601f19603f8301168101818110858211171561158c5761158c611501565b6040529182528482019250838101850191888311156115aa57600080fd5b938501935b828510156115cf576115c085611484565b845293850193928501926115af565b98975050505050505050565b6000602082840312156115ed57600080fd5b81356113da8161146f565b6000806040838503121561160b57600080fd5b50508035926020909101359150565b6000806040838503121561162d57600080fd5b82356116388161146f565b915060208301356116488161146f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116a457816000190482111561168a5761168a611653565b8085161561169757918102915b93841c939080029061166e565b509250929050565b6000826116bb57506001610487565b816116c857506000610487565b81600181146116de57600281146116e857611704565b6001915050610487565b60ff8411156116f9576116f9611653565b50506001821b610487565b5060208310610133831016604e8410600b8410161715611727575081810a610487565b6117318383611669565b806000190482111561174557611745611653565b029392505050565b60006113da60ff8416836116ac565b600081600019048311821515161561177657611776611653565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156117a5576117a5611653565b5060010190565b6000602082840312156117be57600080fd5b81516113da8161146f565b600082198211156117dc576117dc611653565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118315784516001600160a01b03168352938301939183019160010161180c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261186f57634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561188657611886611653565b50039056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203ee52482eab8a14310ce26ce29bc7dae5924e84ce6d43bb46a3f8e9af6dca11864736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106101355760003560e01c806306fdde0314610141578063095ea7b31461017e5780630faee56f146101ae57806318160ddd146101d257806323b872dd146101e7578063313ce5671461020757806331c2d847146102235780633bbac579146102455780634b71cb1c1461027e57806351bc3c851461029357806352f7c988146102a857806370a08231146102c8578063715018a6146102e8578063751039fc146102fd5780637d1db4a5146103125780638da5cb5b146103285780638f9a55c01461035557806395d89b4114610141578063a29a60891461036b578063a9059cbb1461038b578063bf474bed146103ab578063c876d0b9146103c1578063c9567bf9146103db578063d34628cc146103f0578063dd62ed3e14610410578063f2fde38b1461045657600080fd5b3661013c57005b600080fd5b34801561014d57600080fd5b5060408051808201825260058152644f6d6e6f6d60d81b60208201529051610175919061141a565b60405180910390f35b34801561018a57600080fd5b5061019e610199366004611494565b610476565b6040519015158152602001610175565b3480156101ba57600080fd5b506101c4600e5481565b604051908152602001610175565b3480156101de57600080fd5b506101c461048d565b3480156101f357600080fd5b5061019e6102023660046114c0565b6104b1565b34801561021357600080fd5b5060405160128152602001610175565b34801561022f57600080fd5b5061024361023e366004611517565b61051a565b005b34801561025157600080fd5b5061019e6102603660046115db565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561028a57600080fd5b5061024361058e565b34801561029f57600080fd5b5061024361073e565b3480156102b457600080fd5b506102436102c33660046115f8565b61078f565b3480156102d457600080fd5b506101c46102e33660046115db565b6107a2565b3480156102f457600080fd5b506102436107bd565b34801561030957600080fd5b506102436107d1565b34801561031e57600080fd5b506101c4600b5481565b34801561033457600080fd5b5061033d610874565b6040516001600160a01b039091168152602001610175565b34801561036157600080fd5b506101c4600c5481565b34801561037757600080fd5b506102436103863660046115db565b610883565b34801561039757600080fd5b5061019e6103a6366004611494565b6108c5565b3480156103b757600080fd5b506101c4600d5481565b3480156103cd57600080fd5b5060065461019e9060ff1681565b3480156103e757600080fd5b506102436108d2565b3480156103fc57600080fd5b5061024361040b366004611517565b61094c565b34801561041c57600080fd5b506101c461042b36600461161a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561046257600080fd5b506102436104713660046115db565b6109bc565b6000610483338484610a35565b5060015b92915050565b600061049b6012600a61174d565b6104ac9066017e9d8602b40061175c565b905090565b60006104be848484610b59565b610510843361050b8560405180606001604052806028815260200161188c602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061113b565b610a35565b5060019392505050565b610522611167565b60005b815181101561058a576000600460008484815181106105465761054661177b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061058281611791565b915050610525565b5050565b610596611167565b600f60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d91906117ac565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069391906117ac565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070491906117ac565b601080546001600160a01b0319166001600160a01b039290921691821790556000908152600360205260409020805460ff19166001179055565b60065461010090046001600160a01b0316336001600160a01b03161461076357600080fd5b600061076e306107a2565b9050801561077f5761077f816111c6565b47801561058a5761058a81611340565b610797611167565b600791909155600855565b6001600160a01b031660009081526001602052604090205490565b6107c5611167565b6107cf600061137e565b565b6107d9611167565b6107e56012600a61174d565b6107f69066017e9d8602b40061175c565b600b556108056012600a61174d565b6108169066017e9d8602b40061175c565b600c556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6108506012600a61174d565b6108619066017e9d8602b40061175c565b60405190815260200160405180910390a1565b6000546001600160a01b031690565b61088b611167565b601080546001600160a01b039092166001600160a01b0319909216821790556000908152600360205260409020805460ff19166001179055565b6000610483338484610b59565b6108da611167565b601054600160a01b900460ff16156109335760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064015b60405180910390fd5b6010805462ff00ff60a01b19166201000160a01b179055565b610954611167565b60005b815181101561058a576001600460008484815181106109785761097861177b565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806109b481611791565b915050610957565b6109c4611167565b6001600160a01b038116610a295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610a328161137e565b50565b6001600160a01b038316610a975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092a565b6001600160a01b038216610af85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bbd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161092a565b6001600160a01b038216610c1f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092a565b60008111610c815760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161092a565b6000610c8b610874565b6001600160a01b0316846001600160a01b031614158015610cc55750610caf610874565b6001600160a01b0316836001600160a01b031614155b1561101c576001600160a01b03841660009081526004602052604090205460ff16158015610d0c57506001600160a01b03831660009081526004602052604090205460ff16155b610d1557600080fd5b610d356064610d2f600754856113ce90919063ffffffff16565b906113e1565b60065490915060ff1615610e1d57600f546001600160a01b03848116911614801590610d6f57506010546001600160a01b03848116911614155b15610e1d57326000908152600560205260409020544311610e0a5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161092a565b3260009081526005602052604090204390555b6010546001600160a01b038581169116148015610e485750600f546001600160a01b03848116911614155b8015610e6d57506001600160a01b03831660009081526003602052604090205460ff16155b15610f3857600b54821115610ec05760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b604482015260640161092a565b600c5482610ecd856107a2565b610ed791906117c9565b1115610f225760405162461bcd60e51b815260206004820152601a60248201527922bc31b2b2b239903a34329036b0bc2bb0b63632ba29b4bd329760311b604482015260640161092a565b600a8054906000610f3283611791565b91905055505b6010546001600160a01b038481169116148015610f5e57506001600160a01b0384163014155b15610f8057610f7d6064610d2f600854856113ce90919063ffffffff16565b90505b6000610f8b306107a2565b601054909150600160a81b900460ff16158015610fb557506010546001600160a01b038581169116145b8015610fca5750601054600160b01b900460ff165b8015610fd75750600d5481115b8015610fe65750600954600a54115b1561101a5761100861100384610ffe84600e546113ed565b6113ed565b6111c6565b4780156110185761101847611340565b505b505b8015611084573060009081526001602052604090205461103c9082611402565b30600081815260016020526040908190209290925590516001600160a01b038616906000805160206118b48339815191529061107b9085815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110a7908361140e565b6001600160a01b0385166000908152600160205260409020556110ec6110cd838361140e565b6001600160a01b03851660009081526001602052604090205490611402565b6001600160a01b0380851660008181526001602052604090209290925585166000805160206118b4833981519152611124858561140e565b60405190815260200160405180910390a350505050565b6000818484111561115f5760405162461bcd60e51b815260040161092a919061141a565b505050900390565b33611170610874565b6001600160a01b0316146107cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b6010805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061120e5761120e61177b565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128b91906117ac565b8160018151811061129e5761129e61177b565b6001600160a01b039283166020918202929092010152600f546112c49130911684610a35565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906112fd9085906000908690309042906004016117e1565b600060405180830381600087803b15801561131757600080fd5b505af115801561132b573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f1935050505015801561058a573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006113da828461175c565b9392505050565b60006113da8284611852565b60008183116113fc57826113da565b50919050565b60006113da82846117c9565b60006113da8284611874565b600060208083528351808285015260005b818110156114475785810183015185820160400152820161142b565b81811115611459576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a3257600080fd5b803561148f8161146f565b919050565b600080604083850312156114a757600080fd5b82356114b28161146f565b946020939093013593505050565b6000806000606084860312156114d557600080fd5b83356114e08161146f565b925060208401356114f08161146f565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561152a57600080fd5b82356001600160401b038082111561154157600080fd5b818501915085601f83011261155557600080fd5b81358181111561156757611567611501565b8060051b604051601f19603f8301168101818110858211171561158c5761158c611501565b6040529182528482019250838101850191888311156115aa57600080fd5b938501935b828510156115cf576115c085611484565b845293850193928501926115af565b98975050505050505050565b6000602082840312156115ed57600080fd5b81356113da8161146f565b6000806040838503121561160b57600080fd5b50508035926020909101359150565b6000806040838503121561162d57600080fd5b82356116388161146f565b915060208301356116488161146f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116a457816000190482111561168a5761168a611653565b8085161561169757918102915b93841c939080029061166e565b509250929050565b6000826116bb57506001610487565b816116c857506000610487565b81600181146116de57600281146116e857611704565b6001915050610487565b60ff8411156116f9576116f9611653565b50506001821b610487565b5060208310610133831016604e8410600b8410161715611727575081810a610487565b6117318383611669565b806000190482111561174557611745611653565b029392505050565b60006113da60ff8416836116ac565b600081600019048311821515161561177657611776611653565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156117a5576117a5611653565b5060010190565b6000602082840312156117be57600080fd5b81516113da8161146f565b600082198211156117dc576117dc611653565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118315784516001600160a01b03168352938301939183019160010161180c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261186f57634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561188657611886611653565b50039056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203ee52482eab8a14310ce26ce29bc7dae5924e84ce6d43bb46a3f8e9af6dca11864736f6c634300080a0033
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.