ERC-20
Overview
Max Total Supply
6,766,278.813369705908113836 AZK
Holders
339
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
20,182.256782612068446313 AZKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AnonZK
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/token/ERC20/ERC20.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/access/Ownable.sol"; /** * Website: https://anonzk.io/ * Twitter: https://twitter.com/AnonAZK * Telegram: https://t.me/AnonZKPortal * Docs: https://docs.anonzk.io/ * * ▄████████ ███▄▄▄▄ ▄██████▄ ███▄▄▄▄ ▄███████▄ ▄█ ▄█▄ * ███ ███ ███▀▀▀██▄ ███ ███ ███▀▀▀██▄ ██▀ ▄██ ███ ▄███▀ * ███ ███ ███ ███ ███ ███ ███ ███ ▄███▀ ███▐██▀ * ███ ███ ███ ███ ███ ███ ███ ███ ▀█▀▄███▀▄▄ ▄█████▀ * ▀███████████ ███ ███ ███ ███ ███ ███ ▄███▀ ▀ ▀▀█████▄ * ███ ███ ███ ███ ███ ███ ███ ███ ▄███▀ ███▐██▄ * ███ ███ ███ ███ ███ ███ ███ ███ ███▄ ▄█ ███ ▀███▄ * ███ █▀ ▀█ █▀ ▀██████▀ ▀█ █▀ ▀████████▀ ███ ▀█▀ * ▀ */ interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } contract AnonZK is ERC20, Ownable { // events event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool excluded); event ExcludeFromMaxTransaction(address indexed account, bool excluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); // errors error ERC20FromZero(); error ERC20ToZero(); error TradingNotActive(); error BuyTransferExceedsMaxTransactionAmount(); error BuyExceedsMaxWallet(); error SellTransferExceedsMaxTransactionAmount(); error MaxWallet(); error FeeTooHigh(); error SwapAmountTooLow(); error SwapAmountTooHigh(); error MigrationNotEnabled(); error SupplyExceeded(); // constants uint256 public constant MAX_SUPPLY = 10 * 1e6 ether; address constant DEV_WALLET = 0xC8aFc08747213Da2Ab68373E5B261dd304390270; IUniswapV2Router02 public constant UNISWAP_V2_ROUTER = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public immutable UNISWAP_V2_PAIR; address private constant BURN_ADDRESS = address(0xdEaD); address private constant AZKV1 = 0x5408245a4D7c685F59cE6D3b8B35916dd6c11A99; uint256 private constant INITIAL_MAX_TRANSACTION_AMOUNT = 2 * 1e5 ether; // 2% from total supply maxTransactionAmountTxn uint256 private constant INITIAL_MAX_WALLET = 2 * 1e5 ether; // 2% from total supply maxWallet uint256 private constant INITIAL_BUY_LIQUIDITY_FEE = 5; uint256 private constant INITIAL_BUY_DEV_FEE = 5; uint256 private constant INITIAL_SELL_LIQUIDITY_FEE = 10; uint256 private constant INITIAL_SELL_DEV_FEE = 10; uint256 private constant MAX_TOTAL_FEE = 10; // states bool public tradingEnabled = false; bool public swapEnabled = false; bool public limitsEnabled = true; bool public migrationEnabled = false; uint256 public maxTransactionAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 public buyLiquidityFee; uint256 public buyDevFee; uint256 public sellLiquidityFee; uint256 public sellDevFee; uint256 public tokensForLiquidity; uint256 public tokensForDev; bool private isSwapping; // - exclude from fees and max transaction amount mapping(address => bool) public isExcludedFromFees; mapping(address => bool) public isExcludedMaxTransactionAmount; // - store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; // constructor constructor() ERC20("AnonZK", unicode"AZK") { // create uniswap pair address _uniswapPair = IUniswapV2Factory(UNISWAP_V2_ROUTER.factory()).createPair(address(this), UNISWAP_V2_ROUTER.WETH()); UNISWAP_V2_PAIR = _uniswapPair; // initialize states maxTransactionAmount = INITIAL_MAX_TRANSACTION_AMOUNT; maxWallet = INITIAL_MAX_WALLET; swapTokensAtAmount = MAX_SUPPLY / 1000; // 0.1% swap wallet buyLiquidityFee = INITIAL_BUY_LIQUIDITY_FEE; buyDevFee = INITIAL_BUY_DEV_FEE; sellLiquidityFee = INITIAL_SELL_LIQUIDITY_FEE; sellDevFee = INITIAL_SELL_DEV_FEE; // exclude from paying fees or having max transaction amount excludeFromFees(msg.sender, true); excludeFromFees(DEV_WALLET, true); excludeFromFees(address(this), true); excludeFromFees(BURN_ADDRESS, true); excludeFromFees(address(0), true); excludeFromMaxTransaction(address(UNISWAP_V2_ROUTER), true); excludeFromMaxTransaction(address(_uniswapPair), true); excludeFromMaxTransaction(msg.sender, true); excludeFromMaxTransaction(DEV_WALLET, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(BURN_ADDRESS, true); excludeFromMaxTransaction(address(0), true); // set amm pair _setAutomatedMarketMakerPair(address(_uniswapPair), true); } // receive receive() external payable {} // migrate function migrate(uint256 amount) external { if (!migrationEnabled) revert MigrationNotEnabled(); uint256 _totalSupply = totalSupply(); if (_totalSupply + amount > MAX_SUPPLY) revert SupplyExceeded(); IERC20(AZKV1).transferFrom(msg.sender, DEV_WALLET, amount); _mint(msg.sender, amount); } // transfer function _transfer(address from, address to, uint256 amount) internal override { bool isBuying = automatedMarketMakerPairs[from] && !isExcludedMaxTransactionAmount[to]; bool isSelling = automatedMarketMakerPairs[to] && !isExcludedMaxTransactionAmount[from]; bool isOwner = from == owner() || to == owner(); bool isBurning = to == BURN_ADDRESS; // check limits if (limitsEnabled && !isSwapping && !isOwner && !isBurning) { if (!tradingEnabled) { if (!isExcludedFromFees[from] && !isExcludedFromFees[to]) { revert TradingNotActive(); } } if (isBuying) { if (amount > maxTransactionAmount) { revert BuyTransferExceedsMaxTransactionAmount(); } if (amount + balanceOf(to) > maxWallet) { revert BuyExceedsMaxWallet(); } } else if (isSelling) { if (amount > maxTransactionAmount) { revert SellTransferExceedsMaxTransactionAmount(); } } else if (!isExcludedMaxTransactionAmount[to]) { if (amount + balanceOf(to) > maxWallet) { revert MaxWallet(); } } } // swap if ( swapEnabled && balanceOf(address(this)) >= swapTokensAtAmount && !isSwapping && !automatedMarketMakerPairs[from] && !isExcludedFromFees[from] && !isExcludedFromFees[to] ) { isSwapping = true; _swap(); isSwapping = false; } // fees uint256 fees = 0; if (!isSwapping && !isExcludedFromFees[from] && !isExcludedFromFees[to]) { // only take fees on buys/sells, never on wallet transfers uint256 sellTotalFees = sellLiquidityFee + sellDevFee; uint256 buyTotalFees = buyLiquidityFee + buyDevFee; // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 100; tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForDev += (fees * sellDevFee) / sellTotalFees; super._transfer(from, address(this), fees); } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 100; tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForDev += (fees * buyDevFee) / buyTotalFees; super._transfer(from, address(this), fees); } } super._transfer(from, to, amount - fees); } // owners only function excludeFromMaxTransaction(address addr, bool excluded) public onlyOwner { isExcludedMaxTransactionAmount[addr] = excluded; emit ExcludeFromMaxTransaction(addr, excluded); } function excludeFromFees(address addr, bool excluded) public onlyOwner { isExcludedFromFees[addr] = excluded; emit ExcludeFromFees(addr, excluded); } function enableTrading() external onlyOwner { tradingEnabled = true; swapEnabled = true; } function removeLimits() external onlyOwner { limitsEnabled = false; } function setFees(uint256 _buyLiquidityFee, uint256 _buyDevFee, uint256 _sellLiquidityFee, uint256 _sellDevFee) external onlyOwner { if (_buyLiquidityFee + _buyDevFee > MAX_TOTAL_FEE) { revert FeeTooHigh(); } if (_sellLiquidityFee + _sellDevFee > MAX_TOTAL_FEE) { revert FeeTooHigh(); } buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { uint256 _totalSupply = totalSupply(); if (newAmount < _totalSupply / 100000) { revert SwapAmountTooLow(); } if (newAmount > (_totalSupply * 5) / 1000) { revert SwapAmountTooHigh(); } swapTokensAtAmount = newAmount; } function setSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function setMaxTransactionAmount(uint256 max) external onlyOwner { maxTransactionAmount = max; } function setMaxWallet(uint256 max) external onlyOwner { maxWallet = max; } function clearStuckBalance() external onlyOwner { (bool success,) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } function clearStuckToken() external onlyOwner { _transfer(address(this), msg.sender, balanceOf(address(this))); } function setEnableMigration(bool e) external onlyOwner { migrationEnabled = e; } struct Airdrop { uint256 amount; address addr; } function airdrop(Airdrop[] calldata arr) external onlyOwner { uint256 _totalSupply = totalSupply(); uint256 _amount = 0; for (uint256 i = 0; i < arr.length; i++) { _amount += arr[i].amount; if (_totalSupply + _amount > MAX_SUPPLY) revert SupplyExceeded(); _mint(arr[i].addr, arr[i].amount); } } // private function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = UNISWAP_V2_ROUTER.WETH(); _approve(address(this), address(UNISWAP_V2_ROUTER), tokenAmount); // make the swap UNISWAP_V2_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer _approve(address(this), address(UNISWAP_V2_ROUTER), tokenAmount); // add liquidity UNISWAP_V2_ROUTER.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, DEV_WALLET, block.timestamp ); } function _swap() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForDev; // nothing to swap if (contractBalance == 0 || totalTokensToSwap == 0) { return; } // swap amount uint256 swapAmount = contractBalance; if (swapAmount > swapTokensAtAmount * 20) { swapAmount = swapTokensAtAmount * 20; } // split liquidity tokens - 0.5 keep as is, 0.5 swap to ETH uint256 totalLiquidityTokens = (swapAmount * tokensForLiquidity) / totalTokensToSwap; uint256 liquidityTokens = totalLiquidityTokens / 2; uint256 devTokens = swapAmount - totalLiquidityTokens; uint256 liquidityETHTokens = totalLiquidityTokens - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(devTokens + liquidityETHTokens); uint256 gainedETH = address(this).balance - initialETHBalance; uint256 ethForLiquidity = (gainedETH * liquidityETHTokens) / (liquidityETHTokens + devTokens); // reset states tokensForLiquidity = 0; tokensForDev = 0; // add liquidity if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(devTokens + liquidityETHTokens, gainedETH, liquidityTokens); } // dev transfer (bool success,) = payable(address(DEV_WALLET)).call{value: address(this).balance}(""); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BuyExceedsMaxWallet","type":"error"},{"inputs":[],"name":"BuyTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"ERC20FromZero","type":"error"},{"inputs":[],"name":"ERC20ToZero","type":"error"},{"inputs":[],"name":"FeeTooHigh","type":"error"},{"inputs":[],"name":"MaxWallet","type":"error"},{"inputs":[],"name":"MigrationNotEnabled","type":"error"},{"inputs":[],"name":"SellTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"SwapAmountTooHigh","type":"error"},{"inputs":[],"name":"SwapAmountTooLow","type":"error"},{"inputs":[],"name":"TradingNotActive","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_ROUTER","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"internalType":"struct AnonZK.Airdrop[]","name":"arr","type":"tuple[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"e","type":"bool"}],"name":"setEnableMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_buyDevFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellDevFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526005805463ffffffff60a01b1916600160b01b1790553480156200002757600080fd5b5060405180604001604052806006815260200165416e6f6e5a4b60d01b81525060405180604001604052806003815260200162415a4b60e81b8152508160039081620000749190620005d8565b506004620000838282620005d8565b505050620000a06200009a6200035b60201b60201c565b6200035f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011b9190620006a4565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a39190620006a4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002179190620006a4565b6001600160a01b038116608052692a5a058fc295ed00000060068190556007559050620002526103e86a084595161401484a000000620006d6565b60085560056009819055600a908155600b819055600c5562000276336001620003b1565b6200029773c8afc08747213da2ab68373e5b261dd3043902706001620003b1565b620002a4306001620003b1565b620002b361dead6001620003b1565b620002c160006001620003b1565b620002e2737a250d5630b4cf539739df2c5dacb4c659f2488d60016200041b565b620002ef8160016200041b565b620002fc3360016200041b565b6200031d73c8afc08747213da2ab68373e5b261dd30439027060016200041b565b6200032a3060016200041b565b6200033961dead60016200041b565b62000347600060016200041b565b620003548160016200047e565b50620006f9565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003bb620004d2565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b62000425620004d2565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891016200040f565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055e57607f821691505b6020821081036200057f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005d357600081815260208120601f850160051c81016020861015620005ae5750805b601f850160051c820191505b81811015620005cf57828155600101620005ba565b5050505b505050565b81516001600160401b03811115620005f457620005f462000533565b6200060c8162000605845462000549565b8462000585565b602080601f8311600181146200064457600084156200062b5750858301515b600019600386901b1c1916600185901b178555620005cf565b600085815260208120601f198616915b82811015620006755788860151825594840194600190910190840162000654565b5085821015620006945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006b757600080fd5b81516001600160a01b0381168114620006cf57600080fd5b9392505050565b600082620006f457634e487b7160e01b600052601260045260246000fd5b500490565b6080516121da6200071560003960006107fd01526121da6000f3fe60806040526004361061028c5760003560e01c80638a8c523c1161015a578063c0246668116100c1578063f11a24d31161007a578063f11a24d3146107b5578063f2fde38b146107cb578063f40acc3d146107eb578063f63743421461081f578063f782103314610835578063f8b45b051461085557600080fd5b8063c024666814610714578063c8c8ebe414610734578063d85a28281461074a578063dd62ed3e1461075f578063e01af92c1461077f578063e2f456051461079f57600080fd5b8063a457c2d711610113578063a457c2d71461063c578063a82ed9ec1461065c578063a9059cbb14610684578063afa4f3b2146106a4578063b62496f5146106c4578063baeeeab1146106f457600080fd5b80638a8c523c1461059e5780638da5cb5b146105b357806395d89b41146105e55780639c3b4fdc146105fa5780639fccce3214610610578063a0d82dc51461062657600080fd5b806339509351116101fe5780636ddd1713116101b75780636ddd1713146104dd5780636fcba377146104fe57806370a082311461051e578063715018a614610554578063751039fc146105695780637571336a1461057e57600080fd5b806339509351146103fc578063454b06081461041c5780634ada218b1461043c5780634bb2c7851461045d5780634fbee1931461048d5780635d0044ca146104bd57600080fd5b806323b872dd1161025057806323b872dd1461034a578063313ce5671461036a57806332cb6b0c146103865780633582ad23146103a557806335b944bf146103c6578063364333f4146103e757600080fd5b806306fdde0314610298578063095ea7b3146102c357806318160ddd146102f35780631a8145bb146103125780631e293c101461032857600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad61086b565b6040516102ba9190611da7565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611e0a565b6108fd565b60405190151581526020016102ba565b3480156102ff57600080fd5b506002545b6040519081526020016102ba565b34801561031e57600080fd5b50610304600d5481565b34801561033457600080fd5b50610348610343366004611e36565b610917565b005b34801561035657600080fd5b506102e3610365366004611e4f565b610924565b34801561037657600080fd5b50604051601281526020016102ba565b34801561039257600080fd5b506103046a084595161401484a00000081565b3480156103b157600080fd5b506005546102e390600160b01b900460ff1681565b3480156103d257600080fd5b506005546102e390600160b81b900460ff1681565b3480156103f357600080fd5b50610348610948565b34801561040857600080fd5b506102e3610417366004611e0a565b6109a8565b34801561042857600080fd5b50610348610437366004611e36565b6109ca565b34801561044857600080fd5b506005546102e390600160a01b900460ff1681565b34801561046957600080fd5b506102e3610478366004611e90565b60116020526000908152604090205460ff1681565b34801561049957600080fd5b506102e36104a8366004611e90565b60106020526000908152604090205460ff1681565b3480156104c957600080fd5b506103486104d8366004611e36565b610adb565b3480156104e957600080fd5b506005546102e390600160a81b900460ff1681565b34801561050a57600080fd5b50610348610519366004611eb4565b610ae8565b34801561052a57600080fd5b50610304610539366004611e90565b6001600160a01b031660009081526020819052604090205490565b34801561056057600080fd5b50610348610b5a565b34801561057557600080fd5b50610348610b6e565b34801561058a57600080fd5b50610348610599366004611ef4565b610b85565b3480156105aa57600080fd5b50610348610bed565b3480156105bf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102ba565b3480156105f157600080fd5b506102ad610c0c565b34801561060657600080fd5b50610304600a5481565b34801561061c57600080fd5b50610304600e5481565b34801561063257600080fd5b50610304600c5481565b34801561064857600080fd5b506102e3610657366004611e0a565b610c1b565b34801561066857600080fd5b506105cd737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561069057600080fd5b506102e361069f366004611e0a565b610c9b565b3480156106b057600080fd5b506103486106bf366004611e36565b610ca9565b3480156106d057600080fd5b506102e36106df366004611e90565b60126020526000908152604090205460ff1681565b34801561070057600080fd5b5061034861070f366004611f2d565b610d29565b34801561072057600080fd5b5061034861072f366004611ef4565b610e0d565b34801561074057600080fd5b5061030460065481565b34801561075657600080fd5b50610348610e6d565b34801561076b57600080fd5b5061030461077a366004611fa2565b610e91565b34801561078b57600080fd5b5061034861079a366004611fd0565b610ebc565b3480156107ab57600080fd5b5061030460085481565b3480156107c157600080fd5b5061030460095481565b3480156107d757600080fd5b506103486107e6366004611e90565b610ee2565b3480156107f757600080fd5b506105cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561082b57600080fd5b50610304600b5481565b34801561084157600080fd5b50610348610850366004611fd0565b610f58565b34801561086157600080fd5b5061030460075481565b60606003805461087a90611fed565b80601f01602080910402602001604051908101604052809291908181526020018280546108a690611fed565b80156108f35780601f106108c8576101008083540402835291602001916108f3565b820191906000526020600020905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b60003361090b818585610f7e565b60019150505b92915050565b61091f6110a2565b600655565b6000336109328582856110fc565b61093d858585611176565b506001949350505050565b6109506110a2565b604051600090339047908381818185875af1925050503d8060008114610992576040519150601f19603f3d011682016040523d82523d6000602084013e610997565b606091505b50509050806109a557600080fd5b50565b60003361090b8185856109bb8383610e91565b6109c5919061203d565b610f7e565b600554600160b81b900460ff166109f45760405163f6017bbd60e01b815260040160405180910390fd5b60006109ff60025490565b90506a084595161401484a000000610a17838361203d565b1115610a3657604051637d3d824960e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273c8afc08747213da2ab68373e5b261dd304390270602482015260448101839052735408245a4d7c685f59ce6d3b8b35916dd6c11a99906323b872dd906064016020604051808303816000875af1158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc9190612050565b50610ad733836116ca565b5050565b610ae36110a2565b600755565b610af06110a2565b600a610afc848661203d565b1115610b1b5760405163cd4e616760e01b815260040160405180910390fd5b600a610b27828461203d565b1115610b465760405163cd4e616760e01b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610b626110a2565b610b6c6000611789565b565b610b766110a2565b6005805460ff60b01b19169055565b610b8d6110a2565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610bf56110a2565b6005805461ffff60a01b191661010160a01b179055565b60606004805461087a90611fed565b60003381610c298286610e91565b905083811015610c8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61093d8286868403610f7e565b60003361090b818585611176565b610cb16110a2565b6000610cbc60025490565b9050610ccb620186a08261206d565b821015610ceb5760405163f570cd7760e01b815260040160405180910390fd5b6103e8610cf982600561208f565b610d03919061206d565b821115610d2357604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610d316110a2565b6000610d3c60025490565b90506000805b83811015610e0657848482818110610d5c57610d5c6120a6565b610d6f926040909102013590508361203d565b91506a084595161401484a000000610d87838561203d565b1115610da657604051637d3d824960e01b815260040160405180910390fd5b610df4858583818110610dbb57610dbb6120a6565b9050604002016020016020810190610dd39190611e90565b868684818110610de557610de56120a6565b905060400201600001356116ca565b80610dfe816120bc565b915050610d42565b5050505050565b610e156110a2565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610be1565b610e756110a2565b30600081815260208190526040902054610b6c91903390611176565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ec46110a2565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610eea6110a2565b6001600160a01b038116610f4f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c85565b6109a581611789565b610f606110a2565b60058054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b038316610fe05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c85565b6001600160a01b0382166110415760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c85565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b6c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c85565b60006111088484610e91565b9050600019811461117057818110156111635760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c85565b6111708484848403610f7e565b50505050565b6001600160a01b03831660009081526012602052604081205460ff1680156111b757506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff1680156111fc57506001600160a01b03851660009081526011602052604090205460ff16155b905060006112126005546001600160a01b031690565b6001600160a01b0316866001600160a01b0316148061123e57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff16801561126c5750600f5460ff16155b8015611276575081155b8015611280575080155b156113f757600554600160a01b900460ff166112f6576001600160a01b03871660009081526010602052604090205460ff161580156112d857506001600160a01b03861660009081526010602052604090205460ff16155b156112f657604051632924508760e21b815260040160405180910390fd5b83156113695760065485111561131f5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b038716600090815260208190526040902054611345908761203d565b111561136457604051633c530f8d60e21b815260040160405180910390fd5b6113f7565b82156113925760065485111561136457604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff166113f7576007546001600160a01b0387166000908152602081905260409020546113d8908761203d565b11156113f757604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561142157506008543060009081526020819052604090205410155b80156114305750600f5460ff16155b801561145557506001600160a01b03871660009081526012602052604090205460ff16155b801561147a57506001600160a01b03871660009081526010602052604090205460ff16155b801561149f57506001600160a01b03861660009081526010602052604090205460ff16155b156114c457600f805460ff191660011790556114b96117db565b600f805460ff191690555b600f5460009060ff161580156114f357506001600160a01b03881660009081526010602052604090205460ff16155b801561151857506001600160a01b03871660009081526010602052604090205460ff16155b156116ac576000600c54600b5461152f919061203d565b90506000600a54600954611543919061203d565b6001600160a01b038a1660009081526012602052604090205490915060ff16801561156e5750600082115b156115fa57606461157f838a61208f565b611589919061206d565b925081600b548461159a919061208f565b6115a4919061206d565b600d60008282546115b5919061203d565b9091555050600c5482906115c9908561208f565b6115d3919061206d565b600e60008282546115e4919061203d565b909155506115f590508a30856119a5565b6116a9565b6001600160a01b038a1660009081526012602052604090205460ff1680156116225750600081115b156116a9576064611633828a61208f565b61163d919061206d565b9250806009548461164e919061208f565b611658919061206d565b600d6000828254611669919061203d565b9091555050600a54819061167d908561208f565b611687919061206d565b600e6000828254611698919061203d565b909155506116a990508a30856119a5565b50505b6116c088886116bb848a6120d5565b6119a5565b5050505050505050565b6001600160a01b0382166117205760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c85565b8060026000828254611732919061203d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000600e54600d546117ff919061203d565b905081158061180c575080155b15611815575050565b600854829061182590601461208f565b81111561183d5760085461183a90601461208f565b90505b600082600d548361184e919061208f565b611858919061206d565b9050600061186760028361206d565b9050600061187583856120d5565b9050600061188383856120d5565b905047611898611893838561203d565b611b49565b60006118a482476120d5565b905060006118b2858561203d565b6118bc858461208f565b6118c6919061206d565b6000600d819055600e55905085158015906118e15750600081115b1561193a576118f08682611cdc565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56161191b858761203d565b6040805191825260208201859052810188905260600160405180910390a15b60405160009073c8afc08747213da2ab68373e5b261dd3043902709047908381818185875af1925050503d8060008114611990576040519150601f19603f3d011682016040523d82523d6000602084013e611995565b606091505b5050505050505050505050505050565b6001600160a01b038316611a095760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c85565b6001600160a01b038216611a6b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c85565b6001600160a01b03831660009081526020819052604090205481811015611ae35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c85565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611170565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7e57611b7e6120a6565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1491906120e8565b81600181518110611c2757611c276120a6565b60200260200101906001600160a01b031690816001600160a01b031681525050611c6630737a250d5630b4cf539739df2c5dacb4c659f2488d84610f7e565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ca6908590600090869030904290600401612105565b600060405180830381600087803b158015611cc057600080fd5b505af1158015611cd4573d6000803e3d6000fd5b505050505050565b611cfb30737a250d5630b4cf539739df2c5dacb4c659f2488d84610f7e565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273c8afc08747213da2ab68373e5b261dd30439027060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611d82573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e069190612176565b600060208083528351808285015260005b81811015611dd457858101830151858201604001528201611db8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a557600080fd5b60008060408385031215611e1d57600080fd5b8235611e2881611df5565b946020939093013593505050565b600060208284031215611e4857600080fd5b5035919050565b600080600060608486031215611e6457600080fd5b8335611e6f81611df5565b92506020840135611e7f81611df5565b929592945050506040919091013590565b600060208284031215611ea257600080fd5b8135611ead81611df5565b9392505050565b60008060008060808587031215611eca57600080fd5b5050823594602084013594506040840135936060013592509050565b80151581146109a557600080fd5b60008060408385031215611f0757600080fd5b8235611f1281611df5565b91506020830135611f2281611ee6565b809150509250929050565b60008060208385031215611f4057600080fd5b823567ffffffffffffffff80821115611f5857600080fd5b818501915085601f830112611f6c57600080fd5b813581811115611f7b57600080fd5b8660208260061b8501011115611f9057600080fd5b60209290920196919550909350505050565b60008060408385031215611fb557600080fd5b8235611fc081611df5565b91506020830135611f2281611df5565b600060208284031215611fe257600080fd5b8135611ead81611ee6565b600181811c9082168061200157607f821691505b60208210810361202157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091157610911612027565b60006020828403121561206257600080fd5b8151611ead81611ee6565b60008261208a57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761091157610911612027565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ce576120ce612027565b5060010190565b8181038181111561091157610911612027565b6000602082840312156120fa57600080fd5b8151611ead81611df5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121555784516001600160a01b031683529383019391830191600101612130565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561218b57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212209bb8295d20e21789d347168eaca70f8d8e593968e86518e599839156ae5c69d164736f6c63430008130033
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80638a8c523c1161015a578063c0246668116100c1578063f11a24d31161007a578063f11a24d3146107b5578063f2fde38b146107cb578063f40acc3d146107eb578063f63743421461081f578063f782103314610835578063f8b45b051461085557600080fd5b8063c024666814610714578063c8c8ebe414610734578063d85a28281461074a578063dd62ed3e1461075f578063e01af92c1461077f578063e2f456051461079f57600080fd5b8063a457c2d711610113578063a457c2d71461063c578063a82ed9ec1461065c578063a9059cbb14610684578063afa4f3b2146106a4578063b62496f5146106c4578063baeeeab1146106f457600080fd5b80638a8c523c1461059e5780638da5cb5b146105b357806395d89b41146105e55780639c3b4fdc146105fa5780639fccce3214610610578063a0d82dc51461062657600080fd5b806339509351116101fe5780636ddd1713116101b75780636ddd1713146104dd5780636fcba377146104fe57806370a082311461051e578063715018a614610554578063751039fc146105695780637571336a1461057e57600080fd5b806339509351146103fc578063454b06081461041c5780634ada218b1461043c5780634bb2c7851461045d5780634fbee1931461048d5780635d0044ca146104bd57600080fd5b806323b872dd1161025057806323b872dd1461034a578063313ce5671461036a57806332cb6b0c146103865780633582ad23146103a557806335b944bf146103c6578063364333f4146103e757600080fd5b806306fdde0314610298578063095ea7b3146102c357806318160ddd146102f35780631a8145bb146103125780631e293c101461032857600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad61086b565b6040516102ba9190611da7565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611e0a565b6108fd565b60405190151581526020016102ba565b3480156102ff57600080fd5b506002545b6040519081526020016102ba565b34801561031e57600080fd5b50610304600d5481565b34801561033457600080fd5b50610348610343366004611e36565b610917565b005b34801561035657600080fd5b506102e3610365366004611e4f565b610924565b34801561037657600080fd5b50604051601281526020016102ba565b34801561039257600080fd5b506103046a084595161401484a00000081565b3480156103b157600080fd5b506005546102e390600160b01b900460ff1681565b3480156103d257600080fd5b506005546102e390600160b81b900460ff1681565b3480156103f357600080fd5b50610348610948565b34801561040857600080fd5b506102e3610417366004611e0a565b6109a8565b34801561042857600080fd5b50610348610437366004611e36565b6109ca565b34801561044857600080fd5b506005546102e390600160a01b900460ff1681565b34801561046957600080fd5b506102e3610478366004611e90565b60116020526000908152604090205460ff1681565b34801561049957600080fd5b506102e36104a8366004611e90565b60106020526000908152604090205460ff1681565b3480156104c957600080fd5b506103486104d8366004611e36565b610adb565b3480156104e957600080fd5b506005546102e390600160a81b900460ff1681565b34801561050a57600080fd5b50610348610519366004611eb4565b610ae8565b34801561052a57600080fd5b50610304610539366004611e90565b6001600160a01b031660009081526020819052604090205490565b34801561056057600080fd5b50610348610b5a565b34801561057557600080fd5b50610348610b6e565b34801561058a57600080fd5b50610348610599366004611ef4565b610b85565b3480156105aa57600080fd5b50610348610bed565b3480156105bf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102ba565b3480156105f157600080fd5b506102ad610c0c565b34801561060657600080fd5b50610304600a5481565b34801561061c57600080fd5b50610304600e5481565b34801561063257600080fd5b50610304600c5481565b34801561064857600080fd5b506102e3610657366004611e0a565b610c1b565b34801561066857600080fd5b506105cd737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561069057600080fd5b506102e361069f366004611e0a565b610c9b565b3480156106b057600080fd5b506103486106bf366004611e36565b610ca9565b3480156106d057600080fd5b506102e36106df366004611e90565b60126020526000908152604090205460ff1681565b34801561070057600080fd5b5061034861070f366004611f2d565b610d29565b34801561072057600080fd5b5061034861072f366004611ef4565b610e0d565b34801561074057600080fd5b5061030460065481565b34801561075657600080fd5b50610348610e6d565b34801561076b57600080fd5b5061030461077a366004611fa2565b610e91565b34801561078b57600080fd5b5061034861079a366004611fd0565b610ebc565b3480156107ab57600080fd5b5061030460085481565b3480156107c157600080fd5b5061030460095481565b3480156107d757600080fd5b506103486107e6366004611e90565b610ee2565b3480156107f757600080fd5b506105cd7f000000000000000000000000f306e4c98cba3075ae421c3e9fc6673dcb7431f881565b34801561082b57600080fd5b50610304600b5481565b34801561084157600080fd5b50610348610850366004611fd0565b610f58565b34801561086157600080fd5b5061030460075481565b60606003805461087a90611fed565b80601f01602080910402602001604051908101604052809291908181526020018280546108a690611fed565b80156108f35780601f106108c8576101008083540402835291602001916108f3565b820191906000526020600020905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b60003361090b818585610f7e565b60019150505b92915050565b61091f6110a2565b600655565b6000336109328582856110fc565b61093d858585611176565b506001949350505050565b6109506110a2565b604051600090339047908381818185875af1925050503d8060008114610992576040519150601f19603f3d011682016040523d82523d6000602084013e610997565b606091505b50509050806109a557600080fd5b50565b60003361090b8185856109bb8383610e91565b6109c5919061203d565b610f7e565b600554600160b81b900460ff166109f45760405163f6017bbd60e01b815260040160405180910390fd5b60006109ff60025490565b90506a084595161401484a000000610a17838361203d565b1115610a3657604051637d3d824960e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273c8afc08747213da2ab68373e5b261dd304390270602482015260448101839052735408245a4d7c685f59ce6d3b8b35916dd6c11a99906323b872dd906064016020604051808303816000875af1158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc9190612050565b50610ad733836116ca565b5050565b610ae36110a2565b600755565b610af06110a2565b600a610afc848661203d565b1115610b1b5760405163cd4e616760e01b815260040160405180910390fd5b600a610b27828461203d565b1115610b465760405163cd4e616760e01b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610b626110a2565b610b6c6000611789565b565b610b766110a2565b6005805460ff60b01b19169055565b610b8d6110a2565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610bf56110a2565b6005805461ffff60a01b191661010160a01b179055565b60606004805461087a90611fed565b60003381610c298286610e91565b905083811015610c8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61093d8286868403610f7e565b60003361090b818585611176565b610cb16110a2565b6000610cbc60025490565b9050610ccb620186a08261206d565b821015610ceb5760405163f570cd7760e01b815260040160405180910390fd5b6103e8610cf982600561208f565b610d03919061206d565b821115610d2357604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610d316110a2565b6000610d3c60025490565b90506000805b83811015610e0657848482818110610d5c57610d5c6120a6565b610d6f926040909102013590508361203d565b91506a084595161401484a000000610d87838561203d565b1115610da657604051637d3d824960e01b815260040160405180910390fd5b610df4858583818110610dbb57610dbb6120a6565b9050604002016020016020810190610dd39190611e90565b868684818110610de557610de56120a6565b905060400201600001356116ca565b80610dfe816120bc565b915050610d42565b5050505050565b610e156110a2565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610be1565b610e756110a2565b30600081815260208190526040902054610b6c91903390611176565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ec46110a2565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610eea6110a2565b6001600160a01b038116610f4f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c85565b6109a581611789565b610f606110a2565b60058054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b038316610fe05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c85565b6001600160a01b0382166110415760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c85565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b6c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c85565b60006111088484610e91565b9050600019811461117057818110156111635760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c85565b6111708484848403610f7e565b50505050565b6001600160a01b03831660009081526012602052604081205460ff1680156111b757506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff1680156111fc57506001600160a01b03851660009081526011602052604090205460ff16155b905060006112126005546001600160a01b031690565b6001600160a01b0316866001600160a01b0316148061123e57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff16801561126c5750600f5460ff16155b8015611276575081155b8015611280575080155b156113f757600554600160a01b900460ff166112f6576001600160a01b03871660009081526010602052604090205460ff161580156112d857506001600160a01b03861660009081526010602052604090205460ff16155b156112f657604051632924508760e21b815260040160405180910390fd5b83156113695760065485111561131f5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b038716600090815260208190526040902054611345908761203d565b111561136457604051633c530f8d60e21b815260040160405180910390fd5b6113f7565b82156113925760065485111561136457604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff166113f7576007546001600160a01b0387166000908152602081905260409020546113d8908761203d565b11156113f757604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561142157506008543060009081526020819052604090205410155b80156114305750600f5460ff16155b801561145557506001600160a01b03871660009081526012602052604090205460ff16155b801561147a57506001600160a01b03871660009081526010602052604090205460ff16155b801561149f57506001600160a01b03861660009081526010602052604090205460ff16155b156114c457600f805460ff191660011790556114b96117db565b600f805460ff191690555b600f5460009060ff161580156114f357506001600160a01b03881660009081526010602052604090205460ff16155b801561151857506001600160a01b03871660009081526010602052604090205460ff16155b156116ac576000600c54600b5461152f919061203d565b90506000600a54600954611543919061203d565b6001600160a01b038a1660009081526012602052604090205490915060ff16801561156e5750600082115b156115fa57606461157f838a61208f565b611589919061206d565b925081600b548461159a919061208f565b6115a4919061206d565b600d60008282546115b5919061203d565b9091555050600c5482906115c9908561208f565b6115d3919061206d565b600e60008282546115e4919061203d565b909155506115f590508a30856119a5565b6116a9565b6001600160a01b038a1660009081526012602052604090205460ff1680156116225750600081115b156116a9576064611633828a61208f565b61163d919061206d565b9250806009548461164e919061208f565b611658919061206d565b600d6000828254611669919061203d565b9091555050600a54819061167d908561208f565b611687919061206d565b600e6000828254611698919061203d565b909155506116a990508a30856119a5565b50505b6116c088886116bb848a6120d5565b6119a5565b5050505050505050565b6001600160a01b0382166117205760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c85565b8060026000828254611732919061203d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000600e54600d546117ff919061203d565b905081158061180c575080155b15611815575050565b600854829061182590601461208f565b81111561183d5760085461183a90601461208f565b90505b600082600d548361184e919061208f565b611858919061206d565b9050600061186760028361206d565b9050600061187583856120d5565b9050600061188383856120d5565b905047611898611893838561203d565b611b49565b60006118a482476120d5565b905060006118b2858561203d565b6118bc858461208f565b6118c6919061206d565b6000600d819055600e55905085158015906118e15750600081115b1561193a576118f08682611cdc565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56161191b858761203d565b6040805191825260208201859052810188905260600160405180910390a15b60405160009073c8afc08747213da2ab68373e5b261dd3043902709047908381818185875af1925050503d8060008114611990576040519150601f19603f3d011682016040523d82523d6000602084013e611995565b606091505b5050505050505050505050505050565b6001600160a01b038316611a095760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c85565b6001600160a01b038216611a6b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c85565b6001600160a01b03831660009081526020819052604090205481811015611ae35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c85565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611170565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7e57611b7e6120a6565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1491906120e8565b81600181518110611c2757611c276120a6565b60200260200101906001600160a01b031690816001600160a01b031681525050611c6630737a250d5630b4cf539739df2c5dacb4c659f2488d84610f7e565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ca6908590600090869030904290600401612105565b600060405180830381600087803b158015611cc057600080fd5b505af1158015611cd4573d6000803e3d6000fd5b505050505050565b611cfb30737a250d5630b4cf539739df2c5dacb4c659f2488d84610f7e565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273c8afc08747213da2ab68373e5b261dd30439027060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611d82573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e069190612176565b600060208083528351808285015260005b81811015611dd457858101830151858201604001528201611db8565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a557600080fd5b60008060408385031215611e1d57600080fd5b8235611e2881611df5565b946020939093013593505050565b600060208284031215611e4857600080fd5b5035919050565b600080600060608486031215611e6457600080fd5b8335611e6f81611df5565b92506020840135611e7f81611df5565b929592945050506040919091013590565b600060208284031215611ea257600080fd5b8135611ead81611df5565b9392505050565b60008060008060808587031215611eca57600080fd5b5050823594602084013594506040840135936060013592509050565b80151581146109a557600080fd5b60008060408385031215611f0757600080fd5b8235611f1281611df5565b91506020830135611f2281611ee6565b809150509250929050565b60008060208385031215611f4057600080fd5b823567ffffffffffffffff80821115611f5857600080fd5b818501915085601f830112611f6c57600080fd5b813581811115611f7b57600080fd5b8660208260061b8501011115611f9057600080fd5b60209290920196919550909350505050565b60008060408385031215611fb557600080fd5b8235611fc081611df5565b91506020830135611f2281611df5565b600060208284031215611fe257600080fd5b8135611ead81611ee6565b600181811c9082168061200157607f821691505b60208210810361202157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091157610911612027565b60006020828403121561206257600080fd5b8151611ead81611ee6565b60008261208a57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761091157610911612027565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ce576120ce612027565b5060010190565b8181038181111561091157610911612027565b6000602082840312156120fa57600080fd5b8151611ead81611df5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121555784516001600160a01b031683529383019391830191600101612130565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561218b57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212209bb8295d20e21789d347168eaca70f8d8e593968e86518e599839156ae5c69d164736f6c63430008130033
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.