Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000 NEAI
Holders
329
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000000001 NEAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NeuroNest
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; contract NeuroNest is ERC20Capped, Ownable, Pausable, ReentrancyGuard { uint256 private _taxOnBuy = 5; uint256 private _taxOnSell = 5; uint256 snipeFee = 85; address[] public holders; mapping(address => bool) public isHolder; mapping(address => uint256) public holderIndex; uint256 public holderCount = 0; address payable private _collector = payable(0xd31EBEB06Ba859314D8443E13942cc64277C6D15); address private _controller = address(0x68A507cfA2E7F717ac2397468004d12E9c181db3); address private _deployer = address(msg.sender); address private _liquidityProvider; mapping(address => bool) private _exemptFromTax; mapping(address => bool) public denylist; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private tradingOpen = false; bool private inSwap = false; bool private swapEnabled = true; uint256 public openTradingBlock; uint256 initialSupply = 10_000_000 * (10 ** decimals()); uint256 public maxTxAmount = 40_000 * (10 ** decimals()); uint256 public maxHoldings = 40_000 * (10 ** decimals()); uint256 public minimumSwap = 10_000 * (10 ** decimals()); event NewMaxTxAmount(uint256 maxTxAmount); event NewMaxHoldingsAmount(uint256 maxHoldings); event NewBuyTax(uint256 buyTax); event NewSellTax(uint256 sellTax); modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() Ownable(_deployer) ERC20("NeuroNest AI", "NEAI") ERC20Capped(initialSupply) { uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Pair = address( IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ) ); _liquidityProvider = _deployer; _exemptFromTax[_controller] = true; _exemptFromTax[_collector] = true; _exemptFromTax[_liquidityProvider] = true; _exemptFromTax[address(this)] = true; _mint(_liquidityProvider, initialSupply); } function _update( address from, address to, uint256 amount ) internal virtual override whenNotPaused { require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != _liquidityProvider && to != _liquidityProvider) { if (!tradingOpen) { require( from == _liquidityProvider, "TOKEN: This account cannot send tokens until trading is enabled" ); } require(amount <= maxTxAmount, "TOKEN: Max Transaction Limit"); require( !denylist[from] && !denylist[to], "TOKEN: Your account is blacklisted!" ); if (to != uniswapV2Pair) { require( balanceOf(to) + amount < maxHoldings, "TOKEN: Balance exceeds wallet size!" ); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= minimumSwap; if (contractTokenBalance >= maxTxAmount) { contractTokenBalance = maxTxAmount; } if ( canSwap && !inSwap && from != uniswapV2Pair && swapEnabled && !_exemptFromTax[from] && !_exemptFromTax[to] ) { swapTokensForEth(contractTokenBalance); } } if (_isExempt(from, to)) { super._update(from, to, amount); } else { uint256 _tax = 0; if (from == uniswapV2Pair && to != address(uniswapV2Router)) { _tax = _taxOnBuy; } if (to == uniswapV2Pair && from != address(uniswapV2Router)) { _tax = _taxOnSell; } if (block.number <= openTradingBlock + 9 && from == uniswapV2Pair) { require(!isContract(to)); _tax = snipeFee; } uint256 cut = (amount * _tax) / 100; uint256 amountAfterCut = amount - cut; super._update(from, address(this), cut); super._update(from, to, amountAfterCut); } _addHolder(from); _addHolder(to); if (balanceOf(from) == 0) _removeHolder(from); holderCount = holders.length; } function decimals() public pure override returns (uint8) { return 9; } receive() external payable {} function isContract(address account) private view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } 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, _collector, block.timestamp ); } function updateRestrictions(uint256 maxTx, uint256 maxWallet) public { require(_msgSender() == owner()); maxTxAmount = maxTx; emit NewMaxTxAmount(maxTxAmount); maxHoldings = maxWallet; emit NewMaxHoldingsAmount(maxHoldings); } function newTaxOnTrading(uint256 taxBuy, uint256 taxSell) public { require(_msgSender() == owner()); require(taxBuy < 100 && taxSell < 100, "tax too big"); _taxOnBuy = taxBuy; emit NewBuyTax(_taxOnBuy); _taxOnSell = taxSell; emit NewSellTax(_taxOnSell); } function setTradingAllowed(bool _tradingOpen) public { require(_msgSender() == owner()); if (_tradingOpen) openTradingBlock = block.number; tradingOpen = _tradingOpen; } function unpause() public whenPaused { require(_msgSender() == owner()); _unpause(); } function pause() public whenNotPaused { require(_msgSender() == owner()); _pause(); } function bulkTaxExempt(address[] calldata accounts, bool excluded) public { require(_msgSender() == owner()); for (uint256 i = 0; i < accounts.length; i++) { _exemptFromTax[accounts[i]] = excluded; } } function bulkDeny(address[] memory bots) public { require(_msgSender() == owner()); for (uint256 i = 0; i < bots.length; i++) { denylist[bots[i]] = true; } } function singleAllow(address notbot) public { require(_msgSender() == owner()); denylist[notbot] = false; } function setAutoSwapValue(uint256 tokenAmount) public { require(_msgSender() == _controller); minimumSwap = tokenAmount; } function setAutoSwap(bool _swapEnabled) public { require(_msgSender() == _controller); swapEnabled = _swapEnabled; } function ercSweep() external nonReentrant { require(_msgSender() == _controller); uint256 contractBalance = balanceOf(address(this)); if (contractBalance >= maxTxAmount) { contractBalance = maxTxAmount; } swapTokensForEth(contractBalance); } function ethSweep() external nonReentrant { require(_msgSender() == _controller); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { (bool sent, ) = _collector.call{value: contractETHBalance}(""); require(sent, "Failed to send Ether"); } } function _isExempt(address from, address to) internal view returns (bool) { return (_exemptFromTax[from] || _exemptFromTax[to]) || (from != uniswapV2Pair && to != uniswapV2Pair); } function _addHolder(address account) internal { if ( !isHolder[account] && account != address(this) && account != address(0) && account != uniswapV2Pair ) { isHolder[account] = true; holders.push(account); holderIndex[account] = holders.length - 1; } } function _removeHolder(address account) internal { if (isHolder[account]) { uint256 index = holderIndex[account]; if (index < holders.length - 1) { holders[index] = holders[holders.length - 1]; holderIndex[holders[index]] = index; } holders.pop(); delete holderIndex[account]; isHolder[account] = false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Total supply cap has been exceeded. */ error ERC20ExceededCap(uint256 increasedSupply, uint256 cap); /** * @dev The supplied cap is not a valid cap. */ error ERC20InvalidCap(uint256 cap); /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { if (cap_ == 0) { revert ERC20InvalidCap(0); } _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_update}. */ function _update(address from, address to, uint256 value) internal virtual override { super._update(from, to, value); if (from == address(0)) { uint256 maxSupply = cap(); uint256 supply = totalSupply(); if (supply > maxSupply) { revert ERC20ExceededCap(supply, maxSupply); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { bool private _paused; /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint 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 (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint 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 (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); 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 (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "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"},{"inputs":[{"internalType":"uint256","name":"increasedSupply","type":"uint256"},{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20ExceededCap","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20InvalidCap","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyTax","type":"uint256"}],"name":"NewBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxHoldings","type":"uint256"}],"name":"NewMaxHoldingsAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"NewMaxTxAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellTax","type":"uint256"}],"name":"NewSellTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[{"internalType":"address[]","name":"bots","type":"address[]"}],"name":"bulkDeny","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"bulkTaxExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"denylist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ercSweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethSweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"holderCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holderIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"holders","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldings","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":"minimumSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxBuy","type":"uint256"},{"internalType":"uint256","name":"taxSell","type":"uint256"}],"name":"newTaxOnTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openTradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"setAutoSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"setAutoSwapValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"setTradingAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"notbot","type":"address"}],"name":"singleAllow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTx","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"updateRestrictions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526005600781905560085560556009556000600d55600e80546001600160a01b031990811673d31ebeb06ba859314d8443e13942cc64277c6d1517909155600f805482167368a507cfa2e7f717ac2397468004d12e9c181db317905560108054909116331790556015805462ffffff60a01b1916600160b01b17905562000088600990565b6200009590600a6200127b565b620000a490629896806200128c565b601755620000b56009600a6200127b565b620000c390619c406200128c565b601855620000d46009600a6200127b565b620000e290619c406200128c565b601955620000f36009600a6200127b565b62000101906127106200128c565b601a553480156200011157600080fd5b50601054601754604080518082018252600c81526b4e6575726f4e65737420414960a01b602080830191909152825180840190935260048352634e45414960e01b908301526001600160a01b03909316929060036200017183826200134a565b5060046200018082826200134a565b50505080600003620001ad5760405163392e1e2760e01b8152600060048201526024015b60405180910390fd5b6080526001600160a01b038116620001dc57604051631e4fbdf760e01b815260006004820152602401620001a4565b620001e78162000423565b506005805460ff60a01b191690556001600655601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200025f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000285919062001416565b6001600160a01b031663c9c6539630601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030e919062001416565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000382919062001416565b601580546001600160a01b039283166001600160a01b03199182161790915560105460118054909216908316178155600f548216600090815260126020526040808220805460ff199081166001908117909255600e5486168452828420805482168317905584548616845282842080548216831790553084529190922080549091169091179055546017546200041d92919091169062000475565b62001536565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004a15760405163ec442f0560e01b815260006004820152602401620001a4565b620004af60008383620004b3565b5050565b620004bd62000a26565b6001600160a01b038216620005215760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620001a4565b60008111620005855760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401620001a4565b6011546001600160a01b03848116911614801590620005b257506011546001600160a01b03838116911614155b15620008b257601554600160a01b900460ff166200064f576011546001600160a01b038481169116146200064f5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401620001a4565b601854811115620006a35760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401620001a4565b6001600160a01b03831660009081526013602052604090205460ff16158015620006e657506001600160a01b03821660009081526013602052604090205460ff16155b620007405760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401620001a4565b6015546001600160a01b03838116911614620007e157601954816200077a846001600160a01b031660009081526020819052604090205490565b62000786919062001448565b10620007e15760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401620001a4565b30600090815260208190526040902054601a5460185490821015908210620008095760185491505b808015620008215750601554600160a81b900460ff16155b80156200083c57506015546001600160a01b03868116911614155b8015620008525750601554600160b01b900460ff165b80156200087857506001600160a01b03851660009081526012602052604090205460ff16155b80156200089e57506001600160a01b03841660009081526012602052604090205460ff16155b15620008af57620008af8262000a5b565b50505b620008be838362000be8565b15620008d757620008d183838362000c65565b620009d9565b6015546000906001600160a01b0385811691161480156200090657506014546001600160a01b03848116911614155b156200091157506007545b6015546001600160a01b0384811691161480156200093d57506014546001600160a01b03858116911614155b156200094857506008545b6016546200095890600962001448565b43111580156200097557506015546001600160a01b038581169116145b156200098d57823b156200098857600080fd5b506009545b600060646200099d83856200128c565b620009a991906200145e565b90506000620009b9828562001481565b9050620009c886308462000c65565b620009d586868362000c65565b5050505b620009e48362000cd2565b620009ef8262000cd2565b6001600160a01b03831660009081526020819052604090205460000362000a1b5762000a1b8362000dce565b5050600a54600d5550565b62000a3a600554600160a01b900460ff1690565b1562000a595760405163d93c066560e01b815260040160405180910390fd5b565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811062000aa65762000aa662001497565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801562000b00573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b26919062001416565b8160018151811062000b3c5762000b3c62001497565b6001600160a01b03928316602091820292909201015260145462000b64913091168462000f4a565b601454600e5460405163791ac94760e01b81526001600160a01b039283169263791ac9479262000ba392879260009288929116904290600401620014ad565b600060405180830381600087803b15801562000bbe57600080fd5b505af115801562000bd3573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b6001600160a01b03821660009081526012602052604081205460ff168062000c2857506001600160a01b03821660009081526012602052604090205460ff165b8062000c5c57506015546001600160a01b0384811691161480159062000c5c57506015546001600160a01b03838116911614155b90505b92915050565b62000c7283838362000f59565b6001600160a01b03831662000ccd57600062000c8d60805190565b9050600062000c9b60025490565b90508181111562000cca5760405163279e7e1560e21b81526004810182905260248101839052604401620001a4565b50505b505050565b6001600160a01b0381166000908152600b602052604090205460ff1615801562000d0557506001600160a01b0381163014155b801562000d1a57506001600160a01b03811615155b801562000d3557506015546001600160a01b03828116911614155b1562000dcb576001600160a01b0381166000818152600b60205260408120805460ff19166001908117909155600a80548083018255928190527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890920180546001600160a01b0319169093179092555462000db1919062001481565b6001600160a01b0382166000908152600c60205260409020555b50565b6001600160a01b0381166000908152600b602052604090205460ff161562000dcb576001600160a01b0381166000908152600c6020526040902054600a5462000e1a9060019062001481565b81101562000ee557600a805462000e349060019062001481565b8154811062000e475762000e4762001497565b600091825260209091200154600a80546001600160a01b03909216918390811062000e765762000e7662001497565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c6000600a848154811062000ebf5762000ebf62001497565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b600a80548062000ef95762000ef962001520565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0384168252600c81526040808320839055600b9091529020805460ff191690555050565b62000ccd83838360016200108c565b6001600160a01b03831662000f8857806002600082825462000f7c919062001448565b9091555062000ffc9050565b6001600160a01b0383166000908152602081905260409020548181101562000fdd5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001a4565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200101a5760028054829003905562001039565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200107f91815260200190565b60405180910390a3505050565b6001600160a01b038416620010b85760405163e602df0560e01b815260006004820152602401620001a4565b6001600160a01b038316620010e457604051634a1406b160e11b815260006004820152602401620001a4565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156200116257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200115991815260200190565b60405180910390a35b50505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620011bf578160001904821115620011a357620011a362001168565b80851615620011b157918102915b93841c939080029062001183565b509250929050565b600082620011d85750600162000c5f565b81620011e75750600062000c5f565b81600181146200120057600281146200120b576200122b565b600191505062000c5f565b60ff8411156200121f576200121f62001168565b50506001821b62000c5f565b5060208310610133831016604e8410600b841016171562001250575081810a62000c5f565b6200125c83836200117e565b806000190482111562001273576200127362001168565b029392505050565b600062000c5c60ff841683620011c7565b808202811582820484141762000c5f5762000c5f62001168565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620012d157607f821691505b602082108103620012f257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ccd57600081815260208120601f850160051c81016020861015620013215750805b601f850160051c820191505b8181101562001342578281556001016200132d565b505050505050565b81516001600160401b03811115620013665762001366620012a6565b6200137e81620013778454620012bc565b84620012f8565b602080601f831160018114620013b657600084156200139d5750858301515b600019600386901b1c1916600185901b17855562001342565b600085815260208120601f198616915b82811015620013e757888601518255948401946001909101908401620013c6565b5085821015620014065787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200142957600080fd5b81516001600160a01b03811681146200144157600080fd5b9392505050565b8082018082111562000c5f5762000c5f62001168565b6000826200147c57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111562000c5f5762000c5f62001168565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620014ff5784516001600160a01b031683529383019391830191600101620014d8565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052603160045260246000fd5b60805161202762001559600039600081816103e401526117c201526120276000f3fe60806040526004361061021e5760003560e01c806362e9ddd411610123578063a9059cbb116100ab578063e03d852a1161006f578063e03d852a14610666578063e54f4faa1461067c578063e9bbb04014610692578063f2fde38b146106bf578063f691e365146106df57600080fd5b8063a9059cbb14610590578063c30c1a83146105b0578063c3c309b0146105d0578063d4d7b19a146105f0578063dd62ed3e1461062057600080fd5b80638c0b5e22116100f25780638c0b5e22146105075780638da5cb5b1461051d57806393818cfa1461053b57806395d89b411461055b5780639a9deb831461057057600080fd5b806362e9ddd41461049157806370a08231146104a7578063715018a6146104dd5780638456cb59146104f257600080fd5b80632a11ced0116101a65780633f4ba83a116101755780633f4ba83a1461040857806343f976ce1461041d57806349bd5a5e1461043d5780635c975abb1461045d5780635fc564051461047c57600080fd5b80632a11ced014610369578063313ce567146103895780633371bfff146103a5578063355274ea146103d557600080fd5b80631694505e116101ed5780631694505e146102c757806318160ddd146102ff5780631aab9a9f1461031e57806323b872dd146103345780632425c22a1461035457600080fd5b806306fdde031461022a578063095ea7b314610255578063096830ad14610285578063114fcacb146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106ff565b60405161024c9190611b9d565b60405180910390f35b34801561026157600080fd5b50610275610270366004611c10565b610791565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a0366004611c3c565b6107ab565b005b3480156102b357600080fd5b506102a56102c2366004611c3c565b610886565b3480156102d357600080fd5b506014546102e7906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b34801561030b57600080fd5b506002545b60405190815260200161024c565b34801561032a57600080fd5b50610310600d5481565b34801561034057600080fd5b5061027561034f366004611c5e565b61090a565b34801561036057600080fd5b506102a561092e565b34801561037557600080fd5b506102e7610384366004611c9f565b610a06565b34801561039557600080fd5b506040516009815260200161024c565b3480156103b157600080fd5b506102756103c0366004611cb8565b60136020526000908152604090205460ff1681565b3480156103e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610310565b34801561041457600080fd5b506102a5610a30565b34801561042957600080fd5b506102a5610438366004611ce5565b610a57565b34801561044957600080fd5b506015546102e7906001600160a01b031681565b34801561046957600080fd5b50600554600160a01b900460ff16610275565b34801561048857600080fd5b506102a5610a97565b34801561049d57600080fd5b5061031060165481565b3480156104b357600080fd5b506103106104c2366004611cb8565b6001600160a01b031660009081526020819052604090205490565b3480156104e957600080fd5b506102a5610ae6565b3480156104fe57600080fd5b506102a5610af8565b34801561051357600080fd5b5061031060185481565b34801561052957600080fd5b506005546001600160a01b03166102e7565b34801561054757600080fd5b506102a5610556366004611ce5565b610b1f565b34801561056757600080fd5b5061023f610b5d565b34801561057c57600080fd5b506102a561058b366004611d16565b610b6c565b34801561059c57600080fd5b506102756105ab366004611c10565b610bef565b3480156105bc57600080fd5b506102a56105cb366004611c9f565b610bfd565b3480156105dc57600080fd5b506102a56105eb366004611ddb565b610c22565b3480156105fc57600080fd5b5061027561060b366004611cb8565b600b6020526000908152604090205460ff1681565b34801561062c57600080fd5b5061031061063b366004611e5f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561067257600080fd5b50610310601a5481565b34801561068857600080fd5b5061031060195481565b34801561069e57600080fd5b506103106106ad366004611cb8565b600c6020526000908152604090205481565b3480156106cb57600080fd5b506102a56106da366004611cb8565b610cb0565b3480156106eb57600080fd5b506102a56106fa366004611cb8565b610cee565b60606003805461070e90611e98565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90611e98565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b60003361079f818585610d26565b60019150505b92915050565b6005546001600160a01b031633146107c257600080fd5b6064821080156107d25750606481105b6108115760405162461bcd60e51b815260206004820152600b60248201526a74617820746f6f2062696760a81b60448201526064015b60405180910390fd5b60078290556040518281527fccfee17577e799b853eb947ef6548f7911945d5b0cf23d419e42fabdbd99c1309060200160405180910390a160088190556040518181527ff3066355e8048f6e52866c8e6ef474368bcb1e28c88873ffeeb3b0e62521128c906020015b60405180910390a15050565b6005546001600160a01b0316331461089d57600080fd5b60188290556040518281527f216bca045a40816ff1140cbd9c6d29d2819b5d98076e4c2249dd1342fb4c2ecd9060200160405180910390a160198190556040518181527f5554baf31ab01ee727dfc65c30ca65b5c2e0edbb300ad2b432266e89c9e453d99060200161087a565b600033610918858285610d38565b610923858585610db0565b506001949350505050565b610936610e0f565b600f546001600160a01b0316336001600160a01b03161461095657600080fd5b4780156109f957600e546040516000916001600160a01b03169083908381818185875af1925050503d80600081146109aa576040519150601f19603f3d011682016040523d82523d6000602084013e6109af565b606091505b50509050806109f75760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610808565b505b50610a046001600655565b565b600a8181548110610a1657600080fd5b6000918252602090912001546001600160a01b0316905081565b610a38610e39565b6005546001600160a01b03163314610a4f57600080fd5b610a04610e63565b6005546001600160a01b03163314610a6e57600080fd5b8015610a7957436016555b60158054911515600160a01b0260ff60a01b19909216919091179055565b610a9f610e0f565b600f546001600160a01b0316336001600160a01b031614610abf57600080fd5b306000908152602081905260409020546018548110610add57506018545b6109f981610eb8565b610aee611036565b610a046000611063565b610b006110b5565b6005546001600160a01b03163314610b1757600080fd5b610a046110e0565b600f546001600160a01b0316336001600160a01b031614610b3f57600080fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b60606004805461070e90611e98565b6005546001600160a01b03163314610b8357600080fd5b60005b8151811015610beb57600160136000848481518110610ba757610ba7611ed2565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610be381611efe565b915050610b86565b5050565b60003361079f818585610db0565b600f546001600160a01b0316336001600160a01b031614610c1d57600080fd5b601a55565b6005546001600160a01b03163314610c3957600080fd5b60005b82811015610caa578160126000868685818110610c5b57610c5b611ed2565b9050602002016020810190610c709190611cb8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ca281611efe565b915050610c3c565b50505050565b610cb8611036565b6001600160a01b038116610ce257604051631e4fbdf760e01b815260006004820152602401610808565b610ceb81611063565b50565b6005546001600160a01b03163314610d0557600080fd5b6001600160a01b03166000908152601360205260409020805460ff19169055565b610d338383836001611123565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610caa5781811015610da157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610808565b610caa84848484036000611123565b6001600160a01b038316610dda57604051634b637e8f60e11b815260006004820152602401610808565b6001600160a01b038216610e045760405163ec442f0560e01b815260006004820152602401610808565b610d338383836111f8565b600260065403610e3257604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b600554600160a01b900460ff16610a0457604051638dfc202b60e01b815260040160405180910390fd5b610e6b610e39565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f0057610f00611ed2565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d9190611f17565b81600181518110610f9057610f90611ed2565b6001600160a01b039283166020918202929092010152601454610fb69130911684610d26565b601454600e5460405163791ac94760e01b81526001600160a01b039283169263791ac94792610ff392879260009288929116904290600401611f34565b600060405180830381600087803b15801561100d57600080fd5b505af1158015611021573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b6005546001600160a01b03163314610a045760405163118cdaa760e01b8152336004820152602401610808565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600554600160a01b900460ff1615610a045760405163d93c066560e01b815260040160405180910390fd5b6110e86110b5565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e9b3390565b6001600160a01b03841661114d5760405163e602df0560e01b815260006004820152602401610808565b6001600160a01b03831661117757604051634a1406b160e11b815260006004820152602401610808565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610caa57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516111ea91815260200190565b60405180910390a350505050565b6112006110b5565b6001600160a01b0382166112625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610808565b600081116112c45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610808565b6011546001600160a01b038481169116148015906112f057506011546001600160a01b03838116911614155b156115d857601554600160a01b900460ff16611389576011546001600160a01b038481169116146113895760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610808565b6018548111156113db5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610808565b6001600160a01b03831660009081526013602052604090205460ff1615801561141d57506001600160a01b03821660009081526013602052604090205460ff16155b6114755760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610808565b6015546001600160a01b0383811691161461151057601954816114ad846001600160a01b031660009081526020819052604090205490565b6114b79190611fa5565b106115105760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610808565b30600090815260208190526040902054601a54601854908210159082106115375760185491505b80801561154e5750601554600160a81b900460ff16155b801561156857506015546001600160a01b03868116911614155b801561157d5750601554600160b01b900460ff165b80156115a257506001600160a01b03851660009081526012602052604090205460ff16155b80156115c757506001600160a01b03841660009081526012602052604090205460ff16155b156115d5576115d582610eb8565b50505b6115e2838361172c565b156115f7576115f28383836117a4565b6116e6565b6015546000906001600160a01b03858116911614801561162557506014546001600160a01b03848116911614155b1561162f57506007545b6015546001600160a01b03848116911614801561165a57506014546001600160a01b03858116911614155b1561166457506008545b601654611672906009611fa5565b431115801561168e57506015546001600160a01b038581169116145b156116a457823b1561169f57600080fd5b506009545b600060646116b28385611fb8565b6116bc9190611fcf565b905060006116ca8285611ff1565b90506116d78630846117a4565b6116e28686836117a4565b5050505b6116ef83611814565b6116f882611814565b6001600160a01b0383166000908152602081905260409020546000036117215761172183611909565b5050600a54600d5550565b6001600160a01b03821660009081526012602052604081205460ff168061176b57506001600160a01b03821660009081526012602052604090205460ff165b8061179d57506015546001600160a01b0384811691161480159061179d57506015546001600160a01b03838116911614155b9392505050565b6117af838383611a73565b6001600160a01b038316610d33576002547f0000000000000000000000000000000000000000000000000000000000000000908181111561180d5760405163279e7e1560e21b81526004810182905260248101839052604401610808565b5050505050565b6001600160a01b0381166000908152600b602052604090205460ff1615801561184657506001600160a01b0381163014155b801561185a57506001600160a01b03811615155b801561187457506015546001600160a01b03828116911614155b15610ceb576001600160a01b0381166000818152600b60205260408120805460ff19166001908117909155600a80548083018255928190527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890920180546001600160a01b031916909317909255546118ed9190611ff1565b6001600160a01b0382166000908152600c602052604090205550565b6001600160a01b0381166000908152600b602052604090205460ff1615610ceb576001600160a01b0381166000908152600c6020526040902054600a5461195290600190611ff1565b811015611a1157600a805461196990600190611ff1565b8154811061197957611979611ed2565b600091825260209091200154600a80546001600160a01b0390921691839081106119a5576119a5611ed2565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c6000600a84815481106119eb576119eb611ed2565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b600a805480611a2257611a22612004565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0384168252600c81526040808320839055600b9091529020805460ff191690555050565b6001600160a01b038316611a9e578060026000828254611a939190611fa5565b90915550611b109050565b6001600160a01b03831660009081526020819052604090205481811015611af15760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610808565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611b2c57600280548290039055611b4b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b9091815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015611bca57858101830151858201604001528201611bae565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ceb57600080fd5b8035611c0b81611beb565b919050565b60008060408385031215611c2357600080fd5b8235611c2e81611beb565b946020939093013593505050565b60008060408385031215611c4f57600080fd5b50508035926020909101359150565b600080600060608486031215611c7357600080fd5b8335611c7e81611beb565b92506020840135611c8e81611beb565b929592945050506040919091013590565b600060208284031215611cb157600080fd5b5035919050565b600060208284031215611cca57600080fd5b813561179d81611beb565b80358015158114611c0b57600080fd5b600060208284031215611cf757600080fd5b61179d82611cd5565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611d2957600080fd5b823567ffffffffffffffff80821115611d4157600080fd5b818501915085601f830112611d5557600080fd5b813581811115611d6757611d67611d00565b8060051b604051601f19603f83011681018181108582111715611d8c57611d8c611d00565b604052918252848201925083810185019188831115611daa57600080fd5b938501935b82851015611dcf57611dc085611c00565b84529385019392850192611daf565b98975050505050505050565b600080600060408486031215611df057600080fd5b833567ffffffffffffffff80821115611e0857600080fd5b818601915086601f830112611e1c57600080fd5b813581811115611e2b57600080fd5b8760208260051b8501011115611e4057600080fd5b602092830195509350611e569186019050611cd5565b90509250925092565b60008060408385031215611e7257600080fd5b8235611e7d81611beb565b91506020830135611e8d81611beb565b809150509250929050565b600181811c90821680611eac57607f821691505b602082108103611ecc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f1057611f10611ee8565b5060010190565b600060208284031215611f2957600080fd5b815161179d81611beb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f845784516001600160a01b031683529383019391830191600101611f5f565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156107a5576107a5611ee8565b80820281158282048414176107a5576107a5611ee8565b600082611fec57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107a5576107a5611ee8565b634e487b7160e01b600052603160045260246000fdfea164736f6c6343000814000a
Deployed Bytecode
0x60806040526004361061021e5760003560e01c806362e9ddd411610123578063a9059cbb116100ab578063e03d852a1161006f578063e03d852a14610666578063e54f4faa1461067c578063e9bbb04014610692578063f2fde38b146106bf578063f691e365146106df57600080fd5b8063a9059cbb14610590578063c30c1a83146105b0578063c3c309b0146105d0578063d4d7b19a146105f0578063dd62ed3e1461062057600080fd5b80638c0b5e22116100f25780638c0b5e22146105075780638da5cb5b1461051d57806393818cfa1461053b57806395d89b411461055b5780639a9deb831461057057600080fd5b806362e9ddd41461049157806370a08231146104a7578063715018a6146104dd5780638456cb59146104f257600080fd5b80632a11ced0116101a65780633f4ba83a116101755780633f4ba83a1461040857806343f976ce1461041d57806349bd5a5e1461043d5780635c975abb1461045d5780635fc564051461047c57600080fd5b80632a11ced014610369578063313ce567146103895780633371bfff146103a5578063355274ea146103d557600080fd5b80631694505e116101ed5780631694505e146102c757806318160ddd146102ff5780631aab9a9f1461031e57806323b872dd146103345780632425c22a1461035457600080fd5b806306fdde031461022a578063095ea7b314610255578063096830ad14610285578063114fcacb146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106ff565b60405161024c9190611b9d565b60405180910390f35b34801561026157600080fd5b50610275610270366004611c10565b610791565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a0366004611c3c565b6107ab565b005b3480156102b357600080fd5b506102a56102c2366004611c3c565b610886565b3480156102d357600080fd5b506014546102e7906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b34801561030b57600080fd5b506002545b60405190815260200161024c565b34801561032a57600080fd5b50610310600d5481565b34801561034057600080fd5b5061027561034f366004611c5e565b61090a565b34801561036057600080fd5b506102a561092e565b34801561037557600080fd5b506102e7610384366004611c9f565b610a06565b34801561039557600080fd5b506040516009815260200161024c565b3480156103b157600080fd5b506102756103c0366004611cb8565b60136020526000908152604090205460ff1681565b3480156103e157600080fd5b507f000000000000000000000000000000000000000000000000002386f26fc10000610310565b34801561041457600080fd5b506102a5610a30565b34801561042957600080fd5b506102a5610438366004611ce5565b610a57565b34801561044957600080fd5b506015546102e7906001600160a01b031681565b34801561046957600080fd5b50600554600160a01b900460ff16610275565b34801561048857600080fd5b506102a5610a97565b34801561049d57600080fd5b5061031060165481565b3480156104b357600080fd5b506103106104c2366004611cb8565b6001600160a01b031660009081526020819052604090205490565b3480156104e957600080fd5b506102a5610ae6565b3480156104fe57600080fd5b506102a5610af8565b34801561051357600080fd5b5061031060185481565b34801561052957600080fd5b506005546001600160a01b03166102e7565b34801561054757600080fd5b506102a5610556366004611ce5565b610b1f565b34801561056757600080fd5b5061023f610b5d565b34801561057c57600080fd5b506102a561058b366004611d16565b610b6c565b34801561059c57600080fd5b506102756105ab366004611c10565b610bef565b3480156105bc57600080fd5b506102a56105cb366004611c9f565b610bfd565b3480156105dc57600080fd5b506102a56105eb366004611ddb565b610c22565b3480156105fc57600080fd5b5061027561060b366004611cb8565b600b6020526000908152604090205460ff1681565b34801561062c57600080fd5b5061031061063b366004611e5f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561067257600080fd5b50610310601a5481565b34801561068857600080fd5b5061031060195481565b34801561069e57600080fd5b506103106106ad366004611cb8565b600c6020526000908152604090205481565b3480156106cb57600080fd5b506102a56106da366004611cb8565b610cb0565b3480156106eb57600080fd5b506102a56106fa366004611cb8565b610cee565b60606003805461070e90611e98565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90611e98565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b60003361079f818585610d26565b60019150505b92915050565b6005546001600160a01b031633146107c257600080fd5b6064821080156107d25750606481105b6108115760405162461bcd60e51b815260206004820152600b60248201526a74617820746f6f2062696760a81b60448201526064015b60405180910390fd5b60078290556040518281527fccfee17577e799b853eb947ef6548f7911945d5b0cf23d419e42fabdbd99c1309060200160405180910390a160088190556040518181527ff3066355e8048f6e52866c8e6ef474368bcb1e28c88873ffeeb3b0e62521128c906020015b60405180910390a15050565b6005546001600160a01b0316331461089d57600080fd5b60188290556040518281527f216bca045a40816ff1140cbd9c6d29d2819b5d98076e4c2249dd1342fb4c2ecd9060200160405180910390a160198190556040518181527f5554baf31ab01ee727dfc65c30ca65b5c2e0edbb300ad2b432266e89c9e453d99060200161087a565b600033610918858285610d38565b610923858585610db0565b506001949350505050565b610936610e0f565b600f546001600160a01b0316336001600160a01b03161461095657600080fd5b4780156109f957600e546040516000916001600160a01b03169083908381818185875af1925050503d80600081146109aa576040519150601f19603f3d011682016040523d82523d6000602084013e6109af565b606091505b50509050806109f75760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610808565b505b50610a046001600655565b565b600a8181548110610a1657600080fd5b6000918252602090912001546001600160a01b0316905081565b610a38610e39565b6005546001600160a01b03163314610a4f57600080fd5b610a04610e63565b6005546001600160a01b03163314610a6e57600080fd5b8015610a7957436016555b60158054911515600160a01b0260ff60a01b19909216919091179055565b610a9f610e0f565b600f546001600160a01b0316336001600160a01b031614610abf57600080fd5b306000908152602081905260409020546018548110610add57506018545b6109f981610eb8565b610aee611036565b610a046000611063565b610b006110b5565b6005546001600160a01b03163314610b1757600080fd5b610a046110e0565b600f546001600160a01b0316336001600160a01b031614610b3f57600080fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b60606004805461070e90611e98565b6005546001600160a01b03163314610b8357600080fd5b60005b8151811015610beb57600160136000848481518110610ba757610ba7611ed2565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610be381611efe565b915050610b86565b5050565b60003361079f818585610db0565b600f546001600160a01b0316336001600160a01b031614610c1d57600080fd5b601a55565b6005546001600160a01b03163314610c3957600080fd5b60005b82811015610caa578160126000868685818110610c5b57610c5b611ed2565b9050602002016020810190610c709190611cb8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ca281611efe565b915050610c3c565b50505050565b610cb8611036565b6001600160a01b038116610ce257604051631e4fbdf760e01b815260006004820152602401610808565b610ceb81611063565b50565b6005546001600160a01b03163314610d0557600080fd5b6001600160a01b03166000908152601360205260409020805460ff19169055565b610d338383836001611123565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610caa5781811015610da157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610808565b610caa84848484036000611123565b6001600160a01b038316610dda57604051634b637e8f60e11b815260006004820152602401610808565b6001600160a01b038216610e045760405163ec442f0560e01b815260006004820152602401610808565b610d338383836111f8565b600260065403610e3257604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b600554600160a01b900460ff16610a0457604051638dfc202b60e01b815260040160405180910390fd5b610e6b610e39565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f0057610f00611ed2565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d9190611f17565b81600181518110610f9057610f90611ed2565b6001600160a01b039283166020918202929092010152601454610fb69130911684610d26565b601454600e5460405163791ac94760e01b81526001600160a01b039283169263791ac94792610ff392879260009288929116904290600401611f34565b600060405180830381600087803b15801561100d57600080fd5b505af1158015611021573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b6005546001600160a01b03163314610a045760405163118cdaa760e01b8152336004820152602401610808565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600554600160a01b900460ff1615610a045760405163d93c066560e01b815260040160405180910390fd5b6110e86110b5565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e9b3390565b6001600160a01b03841661114d5760405163e602df0560e01b815260006004820152602401610808565b6001600160a01b03831661117757604051634a1406b160e11b815260006004820152602401610808565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610caa57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516111ea91815260200190565b60405180910390a350505050565b6112006110b5565b6001600160a01b0382166112625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610808565b600081116112c45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610808565b6011546001600160a01b038481169116148015906112f057506011546001600160a01b03838116911614155b156115d857601554600160a01b900460ff16611389576011546001600160a01b038481169116146113895760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610808565b6018548111156113db5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610808565b6001600160a01b03831660009081526013602052604090205460ff1615801561141d57506001600160a01b03821660009081526013602052604090205460ff16155b6114755760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610808565b6015546001600160a01b0383811691161461151057601954816114ad846001600160a01b031660009081526020819052604090205490565b6114b79190611fa5565b106115105760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610808565b30600090815260208190526040902054601a54601854908210159082106115375760185491505b80801561154e5750601554600160a81b900460ff16155b801561156857506015546001600160a01b03868116911614155b801561157d5750601554600160b01b900460ff165b80156115a257506001600160a01b03851660009081526012602052604090205460ff16155b80156115c757506001600160a01b03841660009081526012602052604090205460ff16155b156115d5576115d582610eb8565b50505b6115e2838361172c565b156115f7576115f28383836117a4565b6116e6565b6015546000906001600160a01b03858116911614801561162557506014546001600160a01b03848116911614155b1561162f57506007545b6015546001600160a01b03848116911614801561165a57506014546001600160a01b03858116911614155b1561166457506008545b601654611672906009611fa5565b431115801561168e57506015546001600160a01b038581169116145b156116a457823b1561169f57600080fd5b506009545b600060646116b28385611fb8565b6116bc9190611fcf565b905060006116ca8285611ff1565b90506116d78630846117a4565b6116e28686836117a4565b5050505b6116ef83611814565b6116f882611814565b6001600160a01b0383166000908152602081905260409020546000036117215761172183611909565b5050600a54600d5550565b6001600160a01b03821660009081526012602052604081205460ff168061176b57506001600160a01b03821660009081526012602052604090205460ff165b8061179d57506015546001600160a01b0384811691161480159061179d57506015546001600160a01b03838116911614155b9392505050565b6117af838383611a73565b6001600160a01b038316610d33576002547f000000000000000000000000000000000000000000000000002386f26fc10000908181111561180d5760405163279e7e1560e21b81526004810182905260248101839052604401610808565b5050505050565b6001600160a01b0381166000908152600b602052604090205460ff1615801561184657506001600160a01b0381163014155b801561185a57506001600160a01b03811615155b801561187457506015546001600160a01b03828116911614155b15610ceb576001600160a01b0381166000818152600b60205260408120805460ff19166001908117909155600a80548083018255928190527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a890920180546001600160a01b031916909317909255546118ed9190611ff1565b6001600160a01b0382166000908152600c602052604090205550565b6001600160a01b0381166000908152600b602052604090205460ff1615610ceb576001600160a01b0381166000908152600c6020526040902054600a5461195290600190611ff1565b811015611a1157600a805461196990600190611ff1565b8154811061197957611979611ed2565b600091825260209091200154600a80546001600160a01b0390921691839081106119a5576119a5611ed2565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c6000600a84815481106119eb576119eb611ed2565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b600a805480611a2257611a22612004565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0384168252600c81526040808320839055600b9091529020805460ff191690555050565b6001600160a01b038316611a9e578060026000828254611a939190611fa5565b90915550611b109050565b6001600160a01b03831660009081526020819052604090205481811015611af15760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610808565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611b2c57600280548290039055611b4b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b9091815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015611bca57858101830151858201604001528201611bae565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ceb57600080fd5b8035611c0b81611beb565b919050565b60008060408385031215611c2357600080fd5b8235611c2e81611beb565b946020939093013593505050565b60008060408385031215611c4f57600080fd5b50508035926020909101359150565b600080600060608486031215611c7357600080fd5b8335611c7e81611beb565b92506020840135611c8e81611beb565b929592945050506040919091013590565b600060208284031215611cb157600080fd5b5035919050565b600060208284031215611cca57600080fd5b813561179d81611beb565b80358015158114611c0b57600080fd5b600060208284031215611cf757600080fd5b61179d82611cd5565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611d2957600080fd5b823567ffffffffffffffff80821115611d4157600080fd5b818501915085601f830112611d5557600080fd5b813581811115611d6757611d67611d00565b8060051b604051601f19603f83011681018181108582111715611d8c57611d8c611d00565b604052918252848201925083810185019188831115611daa57600080fd5b938501935b82851015611dcf57611dc085611c00565b84529385019392850192611daf565b98975050505050505050565b600080600060408486031215611df057600080fd5b833567ffffffffffffffff80821115611e0857600080fd5b818601915086601f830112611e1c57600080fd5b813581811115611e2b57600080fd5b8760208260051b8501011115611e4057600080fd5b602092830195509350611e569186019050611cd5565b90509250925092565b60008060408385031215611e7257600080fd5b8235611e7d81611beb565b91506020830135611e8d81611beb565b809150509250929050565b600181811c90821680611eac57607f821691505b602082108103611ecc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f1057611f10611ee8565b5060010190565b600060208284031215611f2957600080fd5b815161179d81611beb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f845784516001600160a01b031683529383019391830191600101611f5f565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156107a5576107a5611ee8565b80820281158282048414176107a5576107a5611ee8565b600082611fec57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107a5576107a5611ee8565b634e487b7160e01b600052603160045260246000fdfea164736f6c6343000814000a
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.