Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
9,999,990.068857720093132107 AZK
Holders
99
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,562.022791763895426662 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 "openzeppelin/token/ERC20/ERC20.sol"; import "openzeppelin/access/Ownable.sol"; 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(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(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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 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; } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
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
60a06040526005805463ffffffff60a01b1916600160b01b1790553480156200002757600080fd5b5060405180604001604052806006815260200165416e6f6e5a4b60d01b81525060405180604001604052806003815260200162415a4b60e81b815250816003908162000074919062000596565b50600462000083828262000596565b505050620000a06200009a6200031960201b60201c565b6200031d565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011b919062000662565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a3919062000662565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000217919062000662565b6001600160a01b038116608052692a5a058fc295ed00000060068190556007559050620002526103e86a084595161401484a00000062000694565b60085560056009819055600a908155600b819055600c55620002763360016200036f565b620002833060016200036f565b6200029261dead60016200036f565b620002a0600060016200036f565b620002c1737a250d5630b4cf539739df2c5dacb4c659f2488d6001620003d9565b620002ce816001620003d9565b620002db336001620003d9565b620002e8306001620003d9565b620002f761dead6001620003d9565b6200030560006001620003d9565b620003128160016200043c565b50620006b7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200037962000490565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b620003e362000490565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101620003cd565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620004ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200051c57607f821691505b6020821081036200053d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200059157600081815260208120601f850160051c810160208610156200056c5750805b601f850160051c820191505b818110156200058d5782815560010162000578565b5050505b505050565b81516001600160401b03811115620005b257620005b2620004f1565b620005ca81620005c3845462000507565b8462000543565b602080601f831160018114620006025760008415620005e95750858301515b600019600386901b1c1916600185901b1785556200058d565b600085815260208120601f198616915b82811015620006335788860151825594840194600190910190840162000612565b5085821015620006525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200067557600080fd5b81516001600160a01b03811681146200068d57600080fd5b9392505050565b600082620006b257634e487b7160e01b600052601260045260246000fd5b500490565b6080516121e5620006d360003960006107fd01526121e56000f3fe60806040526004361061028c5760003560e01c80638a8c523c1161015a578063c0246668116100c1578063f11a24d31161007a578063f11a24d3146107b5578063f2fde38b146107cb578063f40acc3d146107eb578063f63743421461081f578063f782103314610835578063f8b45b051461085557600080fd5b8063c024666814610714578063c8c8ebe414610734578063d85a28281461074a578063dd62ed3e1461075f578063e01af92c1461077f578063e2f456051461079f57600080fd5b8063a457c2d711610113578063a457c2d71461063c578063a82ed9ec1461065c578063a9059cbb14610684578063afa4f3b2146106a4578063b62496f5146106c4578063baeeeab1146106f457600080fd5b80638a8c523c1461059e5780638da5cb5b146105b357806395d89b41146105e55780639c3b4fdc146105fa5780639fccce3214610610578063a0d82dc51461062657600080fd5b806339509351116101fe5780636ddd1713116101b75780636ddd1713146104dd5780636fcba377146104fe57806370a082311461051e578063715018a614610554578063751039fc146105695780637571336a1461057e57600080fd5b806339509351146103fc578063454b06081461041c5780634ada218b1461043c5780634bb2c7851461045d5780634fbee1931461048d5780635d0044ca146104bd57600080fd5b806323b872dd1161025057806323b872dd1461034a578063313ce5671461036a57806332cb6b0c146103865780633582ad23146103a557806335b944bf146103c6578063364333f4146103e757600080fd5b806306fdde0314610298578063095ea7b3146102c357806318160ddd146102f35780631a8145bb146103125780631e293c101461032857600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad61086b565b6040516102ba9190611db2565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611e15565b6108fd565b60405190151581526020016102ba565b3480156102ff57600080fd5b506002545b6040519081526020016102ba565b34801561031e57600080fd5b50610304600d5481565b34801561033457600080fd5b50610348610343366004611e41565b610917565b005b34801561035657600080fd5b506102e3610365366004611e5a565b610924565b34801561037657600080fd5b50604051601281526020016102ba565b34801561039257600080fd5b506103046a084595161401484a00000081565b3480156103b157600080fd5b506005546102e390600160b01b900460ff1681565b3480156103d257600080fd5b506005546102e390600160b81b900460ff1681565b3480156103f357600080fd5b50610348610948565b34801561040857600080fd5b506102e3610417366004611e15565b6109a8565b34801561042857600080fd5b50610348610437366004611e41565b6109ca565b34801561044857600080fd5b506005546102e390600160a01b900460ff1681565b34801561046957600080fd5b506102e3610478366004611e9b565b60116020526000908152604090205460ff1681565b34801561049957600080fd5b506102e36104a8366004611e9b565b60106020526000908152604090205460ff1681565b3480156104c957600080fd5b506103486104d8366004611e41565b610adb565b3480156104e957600080fd5b506005546102e390600160a81b900460ff1681565b34801561050a57600080fd5b50610348610519366004611ebf565b610ae8565b34801561052a57600080fd5b50610304610539366004611e9b565b6001600160a01b031660009081526020819052604090205490565b34801561056057600080fd5b50610348610b65565b34801561057557600080fd5b50610348610b79565b34801561058a57600080fd5b50610348610599366004611eff565b610b90565b3480156105aa57600080fd5b50610348610bf8565b3480156105bf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102ba565b3480156105f157600080fd5b506102ad610c17565b34801561060657600080fd5b50610304600a5481565b34801561061c57600080fd5b50610304600e5481565b34801561063257600080fd5b50610304600c5481565b34801561064857600080fd5b506102e3610657366004611e15565b610c26565b34801561066857600080fd5b506105cd737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561069057600080fd5b506102e361069f366004611e15565b610ca6565b3480156106b057600080fd5b506103486106bf366004611e41565b610cb4565b3480156106d057600080fd5b506102e36106df366004611e9b565b60126020526000908152604090205460ff1681565b34801561070057600080fd5b5061034861070f366004611f38565b610d34565b34801561072057600080fd5b5061034861072f366004611eff565b610e18565b34801561074057600080fd5b5061030460065481565b34801561075657600080fd5b50610348610e78565b34801561076b57600080fd5b5061030461077a366004611fad565b610e9c565b34801561078b57600080fd5b5061034861079a366004611fdb565b610ec7565b3480156107ab57600080fd5b5061030460085481565b3480156107c157600080fd5b5061030460095481565b3480156107d757600080fd5b506103486107e6366004611e9b565b610eed565b3480156107f757600080fd5b506105cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561082b57600080fd5b50610304600b5481565b34801561084157600080fd5b50610348610850366004611fdb565b610f63565b34801561086157600080fd5b5061030460075481565b60606003805461087a90611ff8565b80601f01602080910402602001604051908101604052809291908181526020018280546108a690611ff8565b80156108f35780601f106108c8576101008083540402835291602001916108f3565b820191906000526020600020905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b60003361090b818585610f89565b60019150505b92915050565b61091f6110ad565b600655565b600033610932858285611107565b61093d858585611181565b506001949350505050565b6109506110ad565b604051600090339047908381818185875af1925050503d8060008114610992576040519150601f19603f3d011682016040523d82523d6000602084013e610997565b606091505b50509050806109a557600080fd5b50565b60003361090b8185856109bb8383610e9c565b6109c59190612048565b610f89565b600554600160b81b900460ff166109f45760405163f6017bbd60e01b815260040160405180910390fd5b60006109ff60025490565b90506a084595161401484a000000610a178383612048565b1115610a3657604051637d3d824960e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273c8afc08747213da2ab68373e5b261dd304390270602482015260448101839052735408245a4d7c685f59ce6d3b8b35916dd6c11a99906323b872dd906064016020604051808303816000875af1158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc919061205b565b50610ad733836116d5565b5050565b610ae36110ad565b600755565b610af06110ad565b600a8054600954610b019190612048565b1115610b205760405163cd4e616760e01b815260040160405180910390fd5b600a600c54600b54610b329190612048565b1115610b515760405163cd4e616760e01b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610b6d6110ad565b610b776000611794565b565b610b816110ad565b6005805460ff60b01b19169055565b610b986110ad565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610c006110ad565b6005805461ffff60a01b191661010160a01b179055565b60606004805461087a90611ff8565b60003381610c348286610e9c565b905083811015610c995760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61093d8286868403610f89565b60003361090b818585611181565b610cbc6110ad565b6000610cc760025490565b9050610cd6620186a082612078565b821015610cf65760405163f570cd7760e01b815260040160405180910390fd5b6103e8610d0482600561209a565b610d0e9190612078565b821115610d2e57604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610d3c6110ad565b6000610d4760025490565b90506000805b83811015610e1157848482818110610d6757610d676120b1565b610d7a9260409091020135905083612048565b91506a084595161401484a000000610d928385612048565b1115610db157604051637d3d824960e01b815260040160405180910390fd5b610dff858583818110610dc657610dc66120b1565b9050604002016020016020810190610dde9190611e9b565b868684818110610df057610df06120b1565b905060400201600001356116d5565b80610e09816120c7565b915050610d4d565b5050505050565b610e206110ad565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610bec565b610e806110ad565b30600081815260208190526040902054610b7791903390611181565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ecf6110ad565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610ef56110ad565b6001600160a01b038116610f5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c90565b6109a581611794565b610f6b6110ad565b60058054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b038316610feb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b03821661104c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c90565b60006111138484610e9c565b9050600019811461117b578181101561116e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b61117b8484848403610f89565b50505050565b6001600160a01b03831660009081526012602052604081205460ff1680156111c257506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff16801561120757506001600160a01b03851660009081526011602052604090205460ff16155b9050600061121d6005546001600160a01b031690565b6001600160a01b0316866001600160a01b0316148061124957506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff1680156112775750600f5460ff16155b8015611281575081155b801561128b575080155b1561140257600554600160a01b900460ff16611301576001600160a01b03871660009081526010602052604090205460ff161580156112e357506001600160a01b03861660009081526010602052604090205460ff16155b1561130157604051632924508760e21b815260040160405180910390fd5b83156113745760065485111561132a5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b0387166000908152602081905260409020546113509087612048565b111561136f57604051633c530f8d60e21b815260040160405180910390fd5b611402565b821561139d5760065485111561136f57604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff16611402576007546001600160a01b0387166000908152602081905260409020546113e39087612048565b111561140257604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561142c57506008543060009081526020819052604090205410155b801561143b5750600f5460ff16155b801561146057506001600160a01b03871660009081526012602052604090205460ff16155b801561148557506001600160a01b03871660009081526010602052604090205460ff16155b80156114aa57506001600160a01b03861660009081526010602052604090205460ff16155b156114cf57600f805460ff191660011790556114c46117e6565b600f805460ff191690555b600f5460009060ff161580156114fe57506001600160a01b03881660009081526010602052604090205460ff16155b801561152357506001600160a01b03871660009081526010602052604090205460ff16155b156116b7576000600c54600b5461153a9190612048565b90506000600a5460095461154e9190612048565b6001600160a01b038a1660009081526012602052604090205490915060ff1680156115795750600082115b1561160557606461158a838a61209a565b6115949190612078565b925081600b54846115a5919061209a565b6115af9190612078565b600d60008282546115c09190612048565b9091555050600c5482906115d4908561209a565b6115de9190612078565b600e60008282546115ef9190612048565b9091555061160090508a30856119b0565b6116b4565b6001600160a01b038a1660009081526012602052604090205460ff16801561162d5750600081115b156116b457606461163e828a61209a565b6116489190612078565b92508060095484611659919061209a565b6116639190612078565b600d60008282546116749190612048565b9091555050600a548190611688908561209a565b6116929190612078565b600e60008282546116a39190612048565b909155506116b490508a30856119b0565b50505b6116cb88886116c6848a6120e0565b6119b0565b5050505050505050565b6001600160a01b03821661172b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c90565b806002600082825461173d9190612048565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000600e54600d5461180a9190612048565b9050811580611817575080155b15611820575050565b600854829061183090601461209a565b8111156118485760085461184590601461209a565b90505b600082600d5483611859919061209a565b6118639190612078565b90506000611872600283612078565b9050600061188083856120e0565b9050600061188e83856120e0565b9050476118a361189e8385612048565b611b54565b60006118af82476120e0565b905060006118bd8585612048565b6118c7858461209a565b6118d19190612078565b6000600d819055600e55905085158015906118ec5750600081115b15611945576118fb8682611ce7565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5616119268587612048565b6040805191825260208201859052810188905260600160405180910390a15b60405160009073c8afc08747213da2ab68373e5b261dd3043902709047908381818185875af1925050503d806000811461199b576040519150601f19603f3d011682016040523d82523d6000602084013e6119a0565b606091505b5050505050505050505050505050565b6001600160a01b038316611a145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c90565b6001600160a01b038216611a765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c90565b6001600160a01b03831660009081526020819052604090205481811015611aee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c90565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361117b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b8957611b896120b1565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1f91906120f3565b81600181518110611c3257611c326120b1565b60200260200101906001600160a01b031690816001600160a01b031681525050611c7130737a250d5630b4cf539739df2c5dacb4c659f2488d84610f89565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611cb1908590600090869030904290600401612110565b600060405180830381600087803b158015611ccb57600080fd5b505af1158015611cdf573d6000803e3d6000fd5b505050505050565b611d0630737a250d5630b4cf539739df2c5dacb4c659f2488d84610f89565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273c8afc08747213da2ab68373e5b261dd30439027060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611d8d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e119190612181565b600060208083528351808285015260005b81811015611ddf57858101830151858201604001528201611dc3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a557600080fd5b60008060408385031215611e2857600080fd5b8235611e3381611e00565b946020939093013593505050565b600060208284031215611e5357600080fd5b5035919050565b600080600060608486031215611e6f57600080fd5b8335611e7a81611e00565b92506020840135611e8a81611e00565b929592945050506040919091013590565b600060208284031215611ead57600080fd5b8135611eb881611e00565b9392505050565b60008060008060808587031215611ed557600080fd5b5050823594602084013594506040840135936060013592509050565b80151581146109a557600080fd5b60008060408385031215611f1257600080fd5b8235611f1d81611e00565b91506020830135611f2d81611ef1565b809150509250929050565b60008060208385031215611f4b57600080fd5b823567ffffffffffffffff80821115611f6357600080fd5b818501915085601f830112611f7757600080fd5b813581811115611f8657600080fd5b8660208260061b8501011115611f9b57600080fd5b60209290920196919550909350505050565b60008060408385031215611fc057600080fd5b8235611fcb81611e00565b91506020830135611f2d81611e00565b600060208284031215611fed57600080fd5b8135611eb881611ef1565b600181811c9082168061200c57607f821691505b60208210810361202c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091157610911612032565b60006020828403121561206d57600080fd5b8151611eb881611ef1565b60008261209557634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761091157610911612032565b634e487b7160e01b600052603260045260246000fd5b6000600182016120d9576120d9612032565b5060010190565b8181038181111561091157610911612032565b60006020828403121561210557600080fd5b8151611eb881611e00565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121605784516001600160a01b03168352938301939183019160010161213b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561219657600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220590d0b35072b903c807557374e930591584250870ebc1d4921ccb4296e4124c464736f6c63430008130033
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80638a8c523c1161015a578063c0246668116100c1578063f11a24d31161007a578063f11a24d3146107b5578063f2fde38b146107cb578063f40acc3d146107eb578063f63743421461081f578063f782103314610835578063f8b45b051461085557600080fd5b8063c024666814610714578063c8c8ebe414610734578063d85a28281461074a578063dd62ed3e1461075f578063e01af92c1461077f578063e2f456051461079f57600080fd5b8063a457c2d711610113578063a457c2d71461063c578063a82ed9ec1461065c578063a9059cbb14610684578063afa4f3b2146106a4578063b62496f5146106c4578063baeeeab1146106f457600080fd5b80638a8c523c1461059e5780638da5cb5b146105b357806395d89b41146105e55780639c3b4fdc146105fa5780639fccce3214610610578063a0d82dc51461062657600080fd5b806339509351116101fe5780636ddd1713116101b75780636ddd1713146104dd5780636fcba377146104fe57806370a082311461051e578063715018a614610554578063751039fc146105695780637571336a1461057e57600080fd5b806339509351146103fc578063454b06081461041c5780634ada218b1461043c5780634bb2c7851461045d5780634fbee1931461048d5780635d0044ca146104bd57600080fd5b806323b872dd1161025057806323b872dd1461034a578063313ce5671461036a57806332cb6b0c146103865780633582ad23146103a557806335b944bf146103c6578063364333f4146103e757600080fd5b806306fdde0314610298578063095ea7b3146102c357806318160ddd146102f35780631a8145bb146103125780631e293c101461032857600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad61086b565b6040516102ba9190611db2565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611e15565b6108fd565b60405190151581526020016102ba565b3480156102ff57600080fd5b506002545b6040519081526020016102ba565b34801561031e57600080fd5b50610304600d5481565b34801561033457600080fd5b50610348610343366004611e41565b610917565b005b34801561035657600080fd5b506102e3610365366004611e5a565b610924565b34801561037657600080fd5b50604051601281526020016102ba565b34801561039257600080fd5b506103046a084595161401484a00000081565b3480156103b157600080fd5b506005546102e390600160b01b900460ff1681565b3480156103d257600080fd5b506005546102e390600160b81b900460ff1681565b3480156103f357600080fd5b50610348610948565b34801561040857600080fd5b506102e3610417366004611e15565b6109a8565b34801561042857600080fd5b50610348610437366004611e41565b6109ca565b34801561044857600080fd5b506005546102e390600160a01b900460ff1681565b34801561046957600080fd5b506102e3610478366004611e9b565b60116020526000908152604090205460ff1681565b34801561049957600080fd5b506102e36104a8366004611e9b565b60106020526000908152604090205460ff1681565b3480156104c957600080fd5b506103486104d8366004611e41565b610adb565b3480156104e957600080fd5b506005546102e390600160a81b900460ff1681565b34801561050a57600080fd5b50610348610519366004611ebf565b610ae8565b34801561052a57600080fd5b50610304610539366004611e9b565b6001600160a01b031660009081526020819052604090205490565b34801561056057600080fd5b50610348610b65565b34801561057557600080fd5b50610348610b79565b34801561058a57600080fd5b50610348610599366004611eff565b610b90565b3480156105aa57600080fd5b50610348610bf8565b3480156105bf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102ba565b3480156105f157600080fd5b506102ad610c17565b34801561060657600080fd5b50610304600a5481565b34801561061c57600080fd5b50610304600e5481565b34801561063257600080fd5b50610304600c5481565b34801561064857600080fd5b506102e3610657366004611e15565b610c26565b34801561066857600080fd5b506105cd737a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561069057600080fd5b506102e361069f366004611e15565b610ca6565b3480156106b057600080fd5b506103486106bf366004611e41565b610cb4565b3480156106d057600080fd5b506102e36106df366004611e9b565b60126020526000908152604090205460ff1681565b34801561070057600080fd5b5061034861070f366004611f38565b610d34565b34801561072057600080fd5b5061034861072f366004611eff565b610e18565b34801561074057600080fd5b5061030460065481565b34801561075657600080fd5b50610348610e78565b34801561076b57600080fd5b5061030461077a366004611fad565b610e9c565b34801561078b57600080fd5b5061034861079a366004611fdb565b610ec7565b3480156107ab57600080fd5b5061030460085481565b3480156107c157600080fd5b5061030460095481565b3480156107d757600080fd5b506103486107e6366004611e9b565b610eed565b3480156107f757600080fd5b506105cd7f000000000000000000000000417b43cba45fc3625848821c600932eeb2bff8ee81565b34801561082b57600080fd5b50610304600b5481565b34801561084157600080fd5b50610348610850366004611fdb565b610f63565b34801561086157600080fd5b5061030460075481565b60606003805461087a90611ff8565b80601f01602080910402602001604051908101604052809291908181526020018280546108a690611ff8565b80156108f35780601f106108c8576101008083540402835291602001916108f3565b820191906000526020600020905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b60003361090b818585610f89565b60019150505b92915050565b61091f6110ad565b600655565b600033610932858285611107565b61093d858585611181565b506001949350505050565b6109506110ad565b604051600090339047908381818185875af1925050503d8060008114610992576040519150601f19603f3d011682016040523d82523d6000602084013e610997565b606091505b50509050806109a557600080fd5b50565b60003361090b8185856109bb8383610e9c565b6109c59190612048565b610f89565b600554600160b81b900460ff166109f45760405163f6017bbd60e01b815260040160405180910390fd5b60006109ff60025490565b90506a084595161401484a000000610a178383612048565b1115610a3657604051637d3d824960e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273c8afc08747213da2ab68373e5b261dd304390270602482015260448101839052735408245a4d7c685f59ce6d3b8b35916dd6c11a99906323b872dd906064016020604051808303816000875af1158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc919061205b565b50610ad733836116d5565b5050565b610ae36110ad565b600755565b610af06110ad565b600a8054600954610b019190612048565b1115610b205760405163cd4e616760e01b815260040160405180910390fd5b600a600c54600b54610b329190612048565b1115610b515760405163cd4e616760e01b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610b6d6110ad565b610b776000611794565b565b610b816110ad565b6005805460ff60b01b19169055565b610b986110ad565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610c006110ad565b6005805461ffff60a01b191661010160a01b179055565b60606004805461087a90611ff8565b60003381610c348286610e9c565b905083811015610c995760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61093d8286868403610f89565b60003361090b818585611181565b610cbc6110ad565b6000610cc760025490565b9050610cd6620186a082612078565b821015610cf65760405163f570cd7760e01b815260040160405180910390fd5b6103e8610d0482600561209a565b610d0e9190612078565b821115610d2e57604051635fe38dcb60e11b815260040160405180910390fd5b50600855565b610d3c6110ad565b6000610d4760025490565b90506000805b83811015610e1157848482818110610d6757610d676120b1565b610d7a9260409091020135905083612048565b91506a084595161401484a000000610d928385612048565b1115610db157604051637d3d824960e01b815260040160405180910390fd5b610dff858583818110610dc657610dc66120b1565b9050604002016020016020810190610dde9190611e9b565b868684818110610df057610df06120b1565b905060400201600001356116d5565b80610e09816120c7565b915050610d4d565b5050505050565b610e206110ad565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610bec565b610e806110ad565b30600081815260208190526040902054610b7791903390611181565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ecf6110ad565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610ef56110ad565b6001600160a01b038116610f5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c90565b6109a581611794565b610f6b6110ad565b60058054911515600160b81b0260ff60b81b19909216919091179055565b6001600160a01b038316610feb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b03821661104c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c90565b60006111138484610e9c565b9050600019811461117b578181101561116e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b61117b8484848403610f89565b50505050565b6001600160a01b03831660009081526012602052604081205460ff1680156111c257506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff16801561120757506001600160a01b03851660009081526011602052604090205460ff16155b9050600061121d6005546001600160a01b031690565b6001600160a01b0316866001600160a01b0316148061124957506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff1680156112775750600f5460ff16155b8015611281575081155b801561128b575080155b1561140257600554600160a01b900460ff16611301576001600160a01b03871660009081526010602052604090205460ff161580156112e357506001600160a01b03861660009081526010602052604090205460ff16155b1561130157604051632924508760e21b815260040160405180910390fd5b83156113745760065485111561132a5760405163b366cf4960e01b815260040160405180910390fd5b6007546001600160a01b0387166000908152602081905260409020546113509087612048565b111561136f57604051633c530f8d60e21b815260040160405180910390fd5b611402565b821561139d5760065485111561136f57604051638a17263b60e01b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff16611402576007546001600160a01b0387166000908152602081905260409020546113e39087612048565b111561140257604051630949534d60e31b815260040160405180910390fd5b600554600160a81b900460ff16801561142c57506008543060009081526020819052604090205410155b801561143b5750600f5460ff16155b801561146057506001600160a01b03871660009081526012602052604090205460ff16155b801561148557506001600160a01b03871660009081526010602052604090205460ff16155b80156114aa57506001600160a01b03861660009081526010602052604090205460ff16155b156114cf57600f805460ff191660011790556114c46117e6565b600f805460ff191690555b600f5460009060ff161580156114fe57506001600160a01b03881660009081526010602052604090205460ff16155b801561152357506001600160a01b03871660009081526010602052604090205460ff16155b156116b7576000600c54600b5461153a9190612048565b90506000600a5460095461154e9190612048565b6001600160a01b038a1660009081526012602052604090205490915060ff1680156115795750600082115b1561160557606461158a838a61209a565b6115949190612078565b925081600b54846115a5919061209a565b6115af9190612078565b600d60008282546115c09190612048565b9091555050600c5482906115d4908561209a565b6115de9190612078565b600e60008282546115ef9190612048565b9091555061160090508a30856119b0565b6116b4565b6001600160a01b038a1660009081526012602052604090205460ff16801561162d5750600081115b156116b457606461163e828a61209a565b6116489190612078565b92508060095484611659919061209a565b6116639190612078565b600d60008282546116749190612048565b9091555050600a548190611688908561209a565b6116929190612078565b600e60008282546116a39190612048565b909155506116b490508a30856119b0565b50505b6116cb88886116c6848a6120e0565b6119b0565b5050505050505050565b6001600160a01b03821661172b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c90565b806002600082825461173d9190612048565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000600e54600d5461180a9190612048565b9050811580611817575080155b15611820575050565b600854829061183090601461209a565b8111156118485760085461184590601461209a565b90505b600082600d5483611859919061209a565b6118639190612078565b90506000611872600283612078565b9050600061188083856120e0565b9050600061188e83856120e0565b9050476118a361189e8385612048565b611b54565b60006118af82476120e0565b905060006118bd8585612048565b6118c7858461209a565b6118d19190612078565b6000600d819055600e55905085158015906118ec5750600081115b15611945576118fb8682611ce7565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5616119268587612048565b6040805191825260208201859052810188905260600160405180910390a15b60405160009073c8afc08747213da2ab68373e5b261dd3043902709047908381818185875af1925050503d806000811461199b576040519150601f19603f3d011682016040523d82523d6000602084013e6119a0565b606091505b5050505050505050505050505050565b6001600160a01b038316611a145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c90565b6001600160a01b038216611a765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c90565b6001600160a01b03831660009081526020819052604090205481811015611aee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c90565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361117b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b8957611b896120b1565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1f91906120f3565b81600181518110611c3257611c326120b1565b60200260200101906001600160a01b031690816001600160a01b031681525050611c7130737a250d5630b4cf539739df2c5dacb4c659f2488d84610f89565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611cb1908590600090869030904290600401612110565b600060405180830381600087803b158015611ccb57600080fd5b505af1158015611cdf573d6000803e3d6000fd5b505050505050565b611d0630737a250d5630b4cf539739df2c5dacb4c659f2488d84610f89565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273c8afc08747213da2ab68373e5b261dd30439027060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611d8d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e119190612181565b600060208083528351808285015260005b81811015611ddf57858101830151858201604001528201611dc3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109a557600080fd5b60008060408385031215611e2857600080fd5b8235611e3381611e00565b946020939093013593505050565b600060208284031215611e5357600080fd5b5035919050565b600080600060608486031215611e6f57600080fd5b8335611e7a81611e00565b92506020840135611e8a81611e00565b929592945050506040919091013590565b600060208284031215611ead57600080fd5b8135611eb881611e00565b9392505050565b60008060008060808587031215611ed557600080fd5b5050823594602084013594506040840135936060013592509050565b80151581146109a557600080fd5b60008060408385031215611f1257600080fd5b8235611f1d81611e00565b91506020830135611f2d81611ef1565b809150509250929050565b60008060208385031215611f4b57600080fd5b823567ffffffffffffffff80821115611f6357600080fd5b818501915085601f830112611f7757600080fd5b813581811115611f8657600080fd5b8660208260061b8501011115611f9b57600080fd5b60209290920196919550909350505050565b60008060408385031215611fc057600080fd5b8235611fcb81611e00565b91506020830135611f2d81611e00565b600060208284031215611fed57600080fd5b8135611eb881611ef1565b600181811c9082168061200c57607f821691505b60208210810361202c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091157610911612032565b60006020828403121561206d57600080fd5b8151611eb881611ef1565b60008261209557634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761091157610911612032565b634e487b7160e01b600052603260045260246000fd5b6000600182016120d9576120d9612032565b5060010190565b8181038181111561091157610911612032565b60006020828403121561210557600080fd5b8151611eb881611e00565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121605784516001600160a01b03168352938301939183019160010161213b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561219657600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220590d0b35072b903c807557374e930591584250870ebc1d4921ccb4296e4124c464736f6c63430008130033
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.