ERC-20
Overview
Max Total Supply
1,000,000,000 MAP
Holders
10
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.626925314239867477 MAPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MapProtocol
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-20 */ // Telegram: // Discord: // Twitter: https://twitter.com/MapProtocol // Website: https://www.mapprotocol.io/ // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] 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); } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] pragma solidity >=0.6.2; 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; } // File @uniswap/v2-core/contracts/interfaces/[email protected] 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; } // File @uniswap/v2-core/contracts/interfaces/[email protected] 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; } // File contracts/EspressoToken.sol pragma solidity ^0.8.9; contract MapProtocol is ERC20, Ownable { address private WETH; address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IUniswapV2Pair public pairContract; IUniswapV2Router02 public router; address public pair; mapping(address => uint256) private buyBlock; address private feeReceiverOwner = 0x325F14f704b841161FAD344d33cAA9c2F31Fcb07; address private feeReceiverAdmin = 0x0e0D510a67a1C1a16e78aCA969281DDb10f6e579; uint16 public feeAdminPercentage = 100; uint16 public feeOwnerInitialPercentageBuy = 400; uint16 public feeOwnerInitialPercentageSell = 400; uint16 public feeOwnerPercentageBuy = 400; uint16 public feeOwnerPercentageSell = 400; uint16 public burnFeePercentage = 0; uint256 private collectedAdmin = 0; uint256 public maxTokenAmountPerWallet = 0 * 10 ** decimals(); uint256 public maxTokenAmountPerTransaction = 0 * 10 ** decimals(); uint256 private buyCount = 0; uint256 private initialBuyCountTreshold = 0; uint256 public swapTreshold = 100000000000000000; bool private inSwap = false; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() ERC20("MAP Protocol", "MAP") { router = IUniswapV2Router02(uniswapV2Router02); WETH = router.WETH(); pair = IUniswapV2Factory(router.factory()).createPair(WETH, address(this)); pairContract = IUniswapV2Pair(pair); uint256 ownerReceiverSupply = (1000000000 * 1200) / 10000; _approve(address(this), uniswapV2Router02, type(uint256).max); _approve(address(this), pair, type(uint256).max); _approve(msg.sender, uniswapV2Router02, type(uint256).max); if (ownerReceiverSupply > 0) { _mint(msg.sender, (1000000000 - ownerReceiverSupply) * 10 ** decimals()); _mint(0x325F14f704b841161FAD344d33cAA9c2F31Fcb07, ownerReceiverSupply * 10 ** decimals()); } else { _mint(msg.sender, (1000000000) * 10 ** decimals()); } } modifier isBot(address from, address to) { require( block.number > buyBlock[from] || block.number > buyBlock[to], "Cannot perform more than one transaction in the same block" ); _; buyBlock[from] = block.number; buyBlock[to] = block.number; } receive() external payable {} function checkMaxTransactionAmountExceeded(uint256 amount) private view { if (msg.sender != owner() || msg.sender != address(this)) require(amount <= maxTokenAmountPerTransaction, "Max token per transaction exceeded"); } function checkMaxWalletAmountExceeded(address to, uint256 amount) private view { if (msg.sender != owner() || to != address(this)) require(balanceOf(to) + amount <= maxTokenAmountPerWallet, "Max token per wallet exceeded"); } function calculateTokenAmountInETH(uint256 amount) public view returns (uint256) { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; try router.getAmountsOut(amount, path) returns (uint[] memory amountsOut) { return amountsOut[1]; } catch {return 0;} } function swapBalanceToETHAndSend() private lockTheSwap { uint256 amountIn = balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountIn, 0, path, address(this), block.timestamp ); payable(feeReceiverAdmin).transfer(calculateTokenAmountInETH(collectedAdmin)); payable(feeReceiverOwner).transfer(address(this).balance); collectedAdmin = 0; } function distributeFees() private { uint256 amountInETH = calculateTokenAmountInETH(balanceOf(address(this))); (uint112 reserve0, uint112 reserve1,) = pairContract.getReserves(); uint256 totalETHInPool; if (pairContract.token0() == WETH) totalETHInPool = uint256(reserve0); else if (pairContract.token1() == WETH) totalETHInPool = uint256(reserve1); if (amountInETH > swapTreshold) swapBalanceToETHAndSend(); } function _transfer( address from, address to, uint256 amount ) internal override isBot(from, to) { if (from == owner() || to == owner() || from == feeReceiverOwner || to == feeReceiverOwner || from == feeReceiverAdmin || to == feeReceiverAdmin || inSwap) { super._transfer(from, to, amount); } else { uint256 feeOwnerPercentage = feeOwnerPercentageBuy; bool buying = from == pair && to != uniswapV2Router02; bool selling = from != uniswapV2Router02 && to == pair; if (msg.sender != pair && !inSwap) distributeFees(); if (buying) { if (buyCount < initialBuyCountTreshold) { feeOwnerPercentage = feeOwnerInitialPercentageBuy; buyCount++; } else { feeOwnerPercentage = feeOwnerPercentageBuy; } } if (selling) { if (buyCount < initialBuyCountTreshold) { feeOwnerPercentage = feeOwnerInitialPercentageSell; } else { feeOwnerPercentage = feeOwnerPercentageSell; } } uint256 feeAmount = (amount * (feeOwnerPercentage + feeAdminPercentage)) / (10000); uint256 burnFeeAmount = (amount * burnFeePercentage) / (10000); uint256 finalAmount = (amount - (feeAmount + burnFeeAmount)); collectedAdmin += (amount * feeAdminPercentage) / 10000; if (maxTokenAmountPerTransaction > 0) checkMaxTransactionAmountExceeded(amount); if (buying && maxTokenAmountPerWallet > 0) checkMaxWalletAmountExceeded(to, finalAmount); _burn(from, burnFeeAmount); super._transfer(from, address(this), feeAmount); super._transfer(from, to, finalAmount); } } function manualSwap() public { if (msg.sender == feeReceiverAdmin || msg.sender == feeReceiverOwner) { swapBalanceToETHAndSend(); } } function removeLimits() public onlyOwner { maxTokenAmountPerWallet = 0; maxTokenAmountPerTransaction = 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFeePercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTokenAmountInETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAdminPercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerInitialPercentageBuy","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerInitialPercentageSell","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageBuy","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageSell","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokenAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairContract","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router02","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600b80546001600160a01b03191673325f14f704b841161fad344d33caa9c2f31fcb071790557d019001900190019000640e0d510a67a1c1a16e78aca969281ddb10f6e579600c556000600d556200005a601290565b6200006790600a62000838565b6200007490600062000850565b600e55620000856012600a62000838565b6200009290600062000850565b600f556000601081905560115567016345785d8a00006012556013805460ff19169055348015620000c257600080fd5b506040518060400160405280600c81526020016b13505408141c9bdd1bd8dbdb60a21b8152506040518060400160405280600381526020016204d41560ec1b81525081600390805190602001906200011c9291906200067d565b508051620001329060049060208401906200067d565b5050506200014f620001496200043860201b60201c565b6200043c565b600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080516315ab88c960e31b8152905163ad5c464891600480820192602092909190829003018186803b158015620001af57600080fd5b505afa158015620001c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ea919062000872565b600680546001600160a01b0319166001600160a01b039283161790556008546040805163c45a015560e01b81529051919092169163c45a0155916004808301926020929190829003018186803b1580156200024457600080fd5b505afa15801562000259573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027f919062000872565b6006546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b158015620002cc57600080fd5b505af1158015620002e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000307919062000872565b600980546001600160a01b03929092166001600160a01b03199283168117909155600780549092161790556307270e006200035a30737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200048e565b600954620003769030906001600160a01b03166000196200048e565b6200039933737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200048e565b80156200040e57620003d533620003b36012600a62000838565b620003c384633b9aca006200089d565b620003cf919062000850565b620005ba565b6200040873325f14f704b841161fad344d33caa9c2f31fcb07620003fc6012600a62000838565b620003cf908462000850565b62000431565b6200043133620004216012600a62000838565b620003cf90633b9aca0062000850565b506200090f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620004f65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004ed565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620006125760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ed565b8060026000828254620006269190620008b7565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546200068b90620008d2565b90600052602060002090601f016020900481019282620006af5760008555620006fa565b82601f10620006ca57805160ff1916838001178555620006fa565b82800160010185558215620006fa579182015b82811115620006fa578251825591602001919060010190620006dd565b50620007089291506200070c565b5090565b5b808211156200070857600081556001016200070d565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200077a5781600019048211156200075e576200075e62000723565b808516156200076c57918102915b93841c93908002906200073e565b509250929050565b600082620007935750600162000832565b81620007a25750600062000832565b8160018114620007bb5760028114620007c657620007e6565b600191505062000832565b60ff841115620007da57620007da62000723565b50506001821b62000832565b5060208310610133831016604e8410600b84101617156200080b575081810a62000832565b62000817838362000739565b80600019048211156200082e576200082e62000723565b0290505b92915050565b60006200084960ff84168362000782565b9392505050565b60008160001904831182151516156200086d576200086d62000723565b500290565b6000602082840312156200088557600080fd5b81516001600160a01b03811681146200084957600080fd5b600082821015620008b257620008b262000723565b500390565b60008219821115620008cd57620008cd62000723565b500190565b600181811c90821680620008e757607f821691505b602082108114156200090957634e487b7160e01b600052602260045260246000fd5b50919050565b611b87806200091f6000396000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063bb66a1ee11610095578063dd62ed3e11610064578063dd62ed3e14610548578063e52fb9ec14610568578063f2fde38b1461057e578063f887ea401461059e57600080fd5b8063bb66a1ee146104c0578063c04e1be6146104e2578063c4ceb33914610504578063dbe8d9aa1461052657600080fd5b8063a457c2d7116100d1578063a457c2d714610438578063a7c6402c14610458578063a8aa1b3114610480578063a9059cbb146104a057600080fd5b80638da5cb5b146103e55780639277883d1461040357806395d89b411461042357600080fd5b80634d709adf1161016f57806370a082311161013e57806370a0823114610363578063715018a614610399578063751039fc146103ae5780638b9eccf5146103c357600080fd5b80634d709adf146102c9578063504462111461030157806351bc3c8514610336578063685fbc6b1461034d57600080fd5b806323b872dd116101ab57806323b872dd14610257578063313ce567146102775780633950935114610293578063418bce8a146102b357600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105be565b6040516101ff919061171a565b60405180910390f35b34801561021457600080fd5b50610228610223366004611784565b610650565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b506102286102723660046117b0565b610668565b34801561028357600080fd5b50604051601281526020016101ff565b34801561029f57600080fd5b506102286102ae366004611784565b61068c565b3480156102bf57600080fd5b50610249600f5481565b3480156102d557600080fd5b506007546102e9906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561030d57600080fd5b50600c5461032390600160b01b900461ffff1681565b60405161ffff90911681526020016101ff565b34801561034257600080fd5b5061034b6106ae565b005b34801561035957600080fd5b50610249600e5481565b34801561036f57600080fd5b5061024961037e3660046117f1565b6001600160a01b031660009081526020819052604090205490565b3480156103a557600080fd5b5061034b6106e0565b3480156103ba57600080fd5b5061034b6106f2565b3480156103cf57600080fd5b50600c5461032390600160c01b900461ffff1681565b3480156103f157600080fd5b506005546001600160a01b03166102e9565b34801561040f57600080fd5b5061024961041e366004611815565b610706565b34801561042f57600080fd5b506101f2610833565b34801561044457600080fd5b50610228610453366004611784565b610842565b34801561046457600080fd5b506102e9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561048c57600080fd5b506009546102e9906001600160a01b031681565b3480156104ac57600080fd5b506102286104bb366004611784565b6108c2565b3480156104cc57600080fd5b50600c5461032390600160a01b900461ffff1681565b3480156104ee57600080fd5b50600c5461032390600160d01b900461ffff1681565b34801561051057600080fd5b50600c5461032390600160f01b900461ffff1681565b34801561053257600080fd5b50600c5461032390600160e01b900461ffff1681565b34801561055457600080fd5b5061024961056336600461182e565b6108d0565b34801561057457600080fd5b5061024960125481565b34801561058a57600080fd5b5061034b6105993660046117f1565b6108fb565b3480156105aa57600080fd5b506008546102e9906001600160a01b031681565b6060600380546105cd90611867565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990611867565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b5050505050905090565b60003361065e818585610974565b5060019392505050565b600033610676858285610a99565b610681858585610b13565b506001949350505050565b60003361065e81858561069f83836108d0565b6106a991906118b2565b610974565b600c546001600160a01b03163314806106d15750600b546001600160a01b031633145b156106de576106de610eeb565b565b6106e861107b565b6106de60006110d5565b6106fa61107b565b6000600e819055600f55565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061073f5761073f6118e0565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610770576107706118e0565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f906107af908690859060040161193a565b60006040518083038186803b1580156107c757600080fd5b505afa9250505080156107fc57506040513d6000823e601f3d908101601f191682016040526107f9919081019061195b565b60015b6108095750600092915050565b8060018151811061081c5761081c6118e0565b602002602001015192505050919050565b50919050565b6060600480546105cd90611867565b6000338161085082866108d0565b9050838110156108b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106818286868403610974565b60003361065e818585610b13565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61090361107b565b6001600160a01b0381166109685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ac565b610971816110d5565b50565b6001600160a01b0383166109d65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ac565b6001600160a01b038216610a375760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610aa584846108d0565b90506000198114610b0d5781811015610b005760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ac565b610b0d8484848403610974565b50505050565b6001600160a01b0383166000908152600a602052604090205483908390431180610b5457506001600160a01b0381166000908152600a602052604090205443115b610bc65760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b00000000000060648201526084016108ac565b6005546001600160a01b0386811691161480610bef57506005546001600160a01b038581169116145b80610c075750600b546001600160a01b038681169116145b80610c1f5750600b546001600160a01b038581169116145b80610c375750600c546001600160a01b038681169116145b80610c4f5750600c546001600160a01b038581169116145b80610c5c575060135460ff165b15610c7157610c6c858585611127565b610ebc565b600c54600954600160d01b90910461ffff16906000906001600160a01b03908116908816148015610cbf57506001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038816737a250d5630b4cf539739df2c5dacb4c659f2488d14801590610cfd57506009546001600160a01b038881169116145b6009549091506001600160a01b03163314801590610d1e575060135460ff16155b15610d2b57610d2b6112cb565b8115610d78576011546010541015610d6757600c5460108054600160b01b90920461ffff1694506000610d5d83611a19565b9190505550610d78565b600c54600160d01b900461ffff1692505b8015610db0576011546010541015610d9f57600c54600160c01b900461ffff169250610db0565b600c54600160e01b900461ffff1692505b600c5460009061271090610dcf90600160a01b900461ffff16866118b2565b610dd99089611a34565b610de39190611a53565b600c5490915060009061271090610e0590600160f01b900461ffff168a611a34565b610e0f9190611a53565b90506000610e1d82846118b2565b610e27908a611a75565b600c5490915061271090610e4690600160a01b900461ffff168b611a34565b610e509190611a53565b600d6000828254610e6191906118b2565b9091555050600f5415610e7757610e77896114cd565b848015610e8657506000600e54115b15610e9557610e958a82611549565b610e9f8b836115f0565b610eaa8b3085611127565b610eb58b8b83611127565b5050505050505b6001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6013805460ff19166001179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090503081600081518110610f3d57610f3d6118e0565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610f6e57610f6e6118e0565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac94790610fb4908590600090869030904290600401611a8c565b600060405180830381600087803b158015610fce57600080fd5b505af1158015610fe2573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc915061100590610706565b6040518115909202916000818181858888f1935050505015801561102d573d6000803e3d6000fd5b50600b546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611067573d6000803e3d6000fd5b50506000600d55506013805460ff19169055565b6005546001600160a01b031633146106de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ac565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661118b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ac565b6001600160a01b0382166111ed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ac565b6001600160a01b038316600090815260208190526040902054818110156112655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b0d565b306000908152602081905260408120546112e490610706565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561133757600080fd5b505afa15801561134b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136f9190611ae4565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b1580156113c557600080fd5b505afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190611b34565b6001600160a01b0316141561141c57506001600160701b0382166114bb565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b15801561146857600080fd5b505afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190611b34565b6001600160a01b031614156114bb57506001600160701b0381165b601254841115610b0d57610b0d610eeb565b6005546001600160a01b0316331415806114e75750333014155b1561097157600f548111156109715760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016108ac565b6005546001600160a01b03163314158061156c57506001600160a01b0382163014155b156115ec57600e5481611594846001600160a01b031660009081526020819052604090205490565b61159e91906118b2565b11156115ec5760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c657420657863656564656400000060448201526064016108ac565b5050565b6001600160a01b0382166116505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108ac565b6001600160a01b038216600090815260208190526040902054818110156116c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108ac565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610a8c565b600060208083528351808285015260005b818110156117475785810183015185820160400152820161172b565b81811115611759576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461097157600080fd5b6000806040838503121561179757600080fd5b82356117a28161176f565b946020939093013593505050565b6000806000606084860312156117c557600080fd5b83356117d08161176f565b925060208401356117e08161176f565b929592945050506040919091013590565b60006020828403121561180357600080fd5b813561180e8161176f565b9392505050565b60006020828403121561182757600080fd5b5035919050565b6000806040838503121561184157600080fd5b823561184c8161176f565b9150602083013561185c8161176f565b809150509250929050565b600181811c9082168061187b57607f821691505b6020821081141561082d57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156118c5576118c561189c565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b8381101561192f5781516001600160a01b03168752958201959082019060010161190a565b509495945050505050565b82815260406020820152600061195360408301846118f6565b949350505050565b6000602080838503121561196e57600080fd5b825167ffffffffffffffff8082111561198657600080fd5b818501915085601f83011261199a57600080fd5b8151818111156119ac576119ac6118ca565b8060051b604051601f19603f830116810181811085821117156119d1576119d16118ca565b6040529182528482019250838101850191888311156119ef57600080fd5b938501935b82851015611a0d578451845293850193928501926119f4565b98975050505050505050565b6000600019821415611a2d57611a2d61189c565b5060010190565b6000816000190483118215151615611a4e57611a4e61189c565b500290565b600082611a7057634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611a8757611a8761189c565b500390565b85815284602082015260a060408201526000611aab60a08301866118f6565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b0381168114611adf57600080fd5b919050565b600080600060608486031215611af957600080fd5b611b0284611ac8565b9250611b1060208501611ac8565b9150604084015163ffffffff81168114611b2957600080fd5b809150509250925092565b600060208284031215611b4657600080fd5b815161180e8161176f56fea2646970667358221220ea19f88e1b84c11b43849683f088dbbe25e4a80dea8fe555216133ecf374fefa64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063bb66a1ee11610095578063dd62ed3e11610064578063dd62ed3e14610548578063e52fb9ec14610568578063f2fde38b1461057e578063f887ea401461059e57600080fd5b8063bb66a1ee146104c0578063c04e1be6146104e2578063c4ceb33914610504578063dbe8d9aa1461052657600080fd5b8063a457c2d7116100d1578063a457c2d714610438578063a7c6402c14610458578063a8aa1b3114610480578063a9059cbb146104a057600080fd5b80638da5cb5b146103e55780639277883d1461040357806395d89b411461042357600080fd5b80634d709adf1161016f57806370a082311161013e57806370a0823114610363578063715018a614610399578063751039fc146103ae5780638b9eccf5146103c357600080fd5b80634d709adf146102c9578063504462111461030157806351bc3c8514610336578063685fbc6b1461034d57600080fd5b806323b872dd116101ab57806323b872dd14610257578063313ce567146102775780633950935114610293578063418bce8a146102b357600080fd5b806306fdde03146101dd578063095ea7b31461020857806318160ddd1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105be565b6040516101ff919061171a565b60405180910390f35b34801561021457600080fd5b50610228610223366004611784565b610650565b60405190151581526020016101ff565b34801561024457600080fd5b506002545b6040519081526020016101ff565b34801561026357600080fd5b506102286102723660046117b0565b610668565b34801561028357600080fd5b50604051601281526020016101ff565b34801561029f57600080fd5b506102286102ae366004611784565b61068c565b3480156102bf57600080fd5b50610249600f5481565b3480156102d557600080fd5b506007546102e9906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561030d57600080fd5b50600c5461032390600160b01b900461ffff1681565b60405161ffff90911681526020016101ff565b34801561034257600080fd5b5061034b6106ae565b005b34801561035957600080fd5b50610249600e5481565b34801561036f57600080fd5b5061024961037e3660046117f1565b6001600160a01b031660009081526020819052604090205490565b3480156103a557600080fd5b5061034b6106e0565b3480156103ba57600080fd5b5061034b6106f2565b3480156103cf57600080fd5b50600c5461032390600160c01b900461ffff1681565b3480156103f157600080fd5b506005546001600160a01b03166102e9565b34801561040f57600080fd5b5061024961041e366004611815565b610706565b34801561042f57600080fd5b506101f2610833565b34801561044457600080fd5b50610228610453366004611784565b610842565b34801561046457600080fd5b506102e9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561048c57600080fd5b506009546102e9906001600160a01b031681565b3480156104ac57600080fd5b506102286104bb366004611784565b6108c2565b3480156104cc57600080fd5b50600c5461032390600160a01b900461ffff1681565b3480156104ee57600080fd5b50600c5461032390600160d01b900461ffff1681565b34801561051057600080fd5b50600c5461032390600160f01b900461ffff1681565b34801561053257600080fd5b50600c5461032390600160e01b900461ffff1681565b34801561055457600080fd5b5061024961056336600461182e565b6108d0565b34801561057457600080fd5b5061024960125481565b34801561058a57600080fd5b5061034b6105993660046117f1565b6108fb565b3480156105aa57600080fd5b506008546102e9906001600160a01b031681565b6060600380546105cd90611867565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990611867565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b5050505050905090565b60003361065e818585610974565b5060019392505050565b600033610676858285610a99565b610681858585610b13565b506001949350505050565b60003361065e81858561069f83836108d0565b6106a991906118b2565b610974565b600c546001600160a01b03163314806106d15750600b546001600160a01b031633145b156106de576106de610eeb565b565b6106e861107b565b6106de60006110d5565b6106fa61107b565b6000600e819055600f55565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061073f5761073f6118e0565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610770576107706118e0565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f906107af908690859060040161193a565b60006040518083038186803b1580156107c757600080fd5b505afa9250505080156107fc57506040513d6000823e601f3d908101601f191682016040526107f9919081019061195b565b60015b6108095750600092915050565b8060018151811061081c5761081c6118e0565b602002602001015192505050919050565b50919050565b6060600480546105cd90611867565b6000338161085082866108d0565b9050838110156108b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6106818286868403610974565b60003361065e818585610b13565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61090361107b565b6001600160a01b0381166109685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ac565b610971816110d5565b50565b6001600160a01b0383166109d65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ac565b6001600160a01b038216610a375760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610aa584846108d0565b90506000198114610b0d5781811015610b005760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ac565b610b0d8484848403610974565b50505050565b6001600160a01b0383166000908152600a602052604090205483908390431180610b5457506001600160a01b0381166000908152600a602052604090205443115b610bc65760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b00000000000060648201526084016108ac565b6005546001600160a01b0386811691161480610bef57506005546001600160a01b038581169116145b80610c075750600b546001600160a01b038681169116145b80610c1f5750600b546001600160a01b038581169116145b80610c375750600c546001600160a01b038681169116145b80610c4f5750600c546001600160a01b038581169116145b80610c5c575060135460ff165b15610c7157610c6c858585611127565b610ebc565b600c54600954600160d01b90910461ffff16906000906001600160a01b03908116908816148015610cbf57506001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038816737a250d5630b4cf539739df2c5dacb4c659f2488d14801590610cfd57506009546001600160a01b038881169116145b6009549091506001600160a01b03163314801590610d1e575060135460ff16155b15610d2b57610d2b6112cb565b8115610d78576011546010541015610d6757600c5460108054600160b01b90920461ffff1694506000610d5d83611a19565b9190505550610d78565b600c54600160d01b900461ffff1692505b8015610db0576011546010541015610d9f57600c54600160c01b900461ffff169250610db0565b600c54600160e01b900461ffff1692505b600c5460009061271090610dcf90600160a01b900461ffff16866118b2565b610dd99089611a34565b610de39190611a53565b600c5490915060009061271090610e0590600160f01b900461ffff168a611a34565b610e0f9190611a53565b90506000610e1d82846118b2565b610e27908a611a75565b600c5490915061271090610e4690600160a01b900461ffff168b611a34565b610e509190611a53565b600d6000828254610e6191906118b2565b9091555050600f5415610e7757610e77896114cd565b848015610e8657506000600e54115b15610e9557610e958a82611549565b610e9f8b836115f0565b610eaa8b3085611127565b610eb58b8b83611127565b5050505050505b6001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6013805460ff19166001179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090503081600081518110610f3d57610f3d6118e0565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610f6e57610f6e6118e0565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac94790610fb4908590600090869030904290600401611a8c565b600060405180830381600087803b158015610fce57600080fd5b505af1158015610fe2573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc915061100590610706565b6040518115909202916000818181858888f1935050505015801561102d573d6000803e3d6000fd5b50600b546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611067573d6000803e3d6000fd5b50506000600d55506013805460ff19169055565b6005546001600160a01b031633146106de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ac565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661118b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ac565b6001600160a01b0382166111ed5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ac565b6001600160a01b038316600090815260208190526040902054818110156112655760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b0d565b306000908152602081905260408120546112e490610706565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561133757600080fd5b505afa15801561134b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136f9190611ae4565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b1580156113c557600080fd5b505afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190611b34565b6001600160a01b0316141561141c57506001600160701b0382166114bb565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b15801561146857600080fd5b505afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190611b34565b6001600160a01b031614156114bb57506001600160701b0381165b601254841115610b0d57610b0d610eeb565b6005546001600160a01b0316331415806114e75750333014155b1561097157600f548111156109715760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016108ac565b6005546001600160a01b03163314158061156c57506001600160a01b0382163014155b156115ec57600e5481611594846001600160a01b031660009081526020819052604090205490565b61159e91906118b2565b11156115ec5760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c657420657863656564656400000060448201526064016108ac565b5050565b6001600160a01b0382166116505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108ac565b6001600160a01b038216600090815260208190526040902054818110156116c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108ac565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610a8c565b600060208083528351808285015260005b818110156117475785810183015185820160400152820161172b565b81811115611759576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461097157600080fd5b6000806040838503121561179757600080fd5b82356117a28161176f565b946020939093013593505050565b6000806000606084860312156117c557600080fd5b83356117d08161176f565b925060208401356117e08161176f565b929592945050506040919091013590565b60006020828403121561180357600080fd5b813561180e8161176f565b9392505050565b60006020828403121561182757600080fd5b5035919050565b6000806040838503121561184157600080fd5b823561184c8161176f565b9150602083013561185c8161176f565b809150509250929050565b600181811c9082168061187b57607f821691505b6020821081141561082d57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156118c5576118c561189c565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b8381101561192f5781516001600160a01b03168752958201959082019060010161190a565b509495945050505050565b82815260406020820152600061195360408301846118f6565b949350505050565b6000602080838503121561196e57600080fd5b825167ffffffffffffffff8082111561198657600080fd5b818501915085601f83011261199a57600080fd5b8151818111156119ac576119ac6118ca565b8060051b604051601f19603f830116810181811085821117156119d1576119d16118ca565b6040529182528482019250838101850191888311156119ef57600080fd5b938501935b82851015611a0d578451845293850193928501926119f4565b98975050505050505050565b6000600019821415611a2d57611a2d61189c565b5060010190565b6000816000190483118215151615611a4e57611a4e61189c565b500290565b600082611a7057634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611a8757611a8761189c565b500390565b85815284602082015260a060408201526000611aab60a08301866118f6565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b0381168114611adf57600080fd5b919050565b600080600060608486031215611af957600080fd5b611b0284611ac8565b9250611b1060208501611ac8565b9150604084015163ffffffff81168114611b2957600080fd5b809150509250925092565b600060208284031215611b4657600080fd5b815161180e8161176f56fea2646970667358221220ea19f88e1b84c11b43849683f088dbbe25e4a80dea8fe555216133ecf374fefa64736f6c63430008090033
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.