ERC-20
Overview
Max Total Supply
100,000,000,000 BALANCE
Holders
9
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
19,775,628.966752884499733748 BALANCEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Balance
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* $Balance - Everything in life ... has to have balance - Telegram: https://t.me/balancerc20 - Twitter: https://twitter.com/BalancERC20 Tokenomics: Total supply: 100,000,000,000 BALANCE Buy tax: 5% Sell tax: 5% Somehow, we'll find it. The balance between whom we wish to be and whom we need to be. But for now, we simply have to be satisfied with who we are. */ pragma solidity 0.8.7; import "./openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./Interfaces/uniswap/IUniswapV2Factory.sol"; import "./Interfaces/uniswap/IUniswapV2Pair.sol"; import "./Interfaces/uniswap/IUniswapV2Router02.sol"; contract Balance is ERC20, Ownable { // Tight packing variables to save blockspace IUniswapV2Router02 private _uniswapV2Router; address private _uniswapV2Pair; address private _feeWallet; bool private _swapping; bool public limitsInEffect; bool private _isTradingActive; uint256 private _startAt; uint256 private _deadBlocks; uint256 public maxTxAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 public buyFees; uint256 public sellFees; uint256 private _buyMarketingFee; uint256 private _buyLiquidityFee; uint256 private _sellMarketingFee; uint256 private _sellLiquidityFee; uint256 private _tokensForMarketing; uint256 private _tokensForLiquidity; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTxAmount; mapping(address => bool) private automatedMarketMakerPairs; // blacklist snipers mapping(address => bool) public blacklist; // Events event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event FeeWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event SwapBack (); constructor() ERC20("Everything has to have balance", "BALANCE") { _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _uniswapV2Pair = address(0); // Total supply 100,000,000,000 uint256 totalSupply = 1e11 * 1e18; // Set default fees _buyMarketingFee = 20; // 2% _buyLiquidityFee = 30; // 3% _sellMarketingFee = 20; // 2% _sellLiquidityFee = 30; // 3% // Set fees for buy and sell side buyFees = _buyMarketingFee + _buyLiquidityFee; sellFees = _sellMarketingFee + _sellLiquidityFee; // Disable trading _isTradingActive = false; _startAt = 0; _deadBlocks = 5; limitsInEffect = true; // Set default limits maxTxAmount = (totalSupply * 20) / 1000; // 2% of total supply maxWallet = (totalSupply * 40) / 1000; // 4% of total supply // Set default fee wallet _feeWallet = address(owner()); // Set auto lp limit swapTokensAtAmount = (totalSupply * 30) / 10000; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); // Mint the initial supply to the contract. _totalSupply += totalSupply; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[address(this)] += totalSupply; } emit Transfer(address(0), address(this), totalSupply); } function addLiquidity() external onlyOwner { require(_uniswapV2Pair == address(0), "Pair already created"); // Create pair _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // Store the pair _setAutomatedMarketMakerPair(address(_uniswapV2Pair), true); // Add liquidity _addLiquidity(balanceOf(address(this)), address(this).balance); } function openTrading(uint256 deadblocks) external onlyOwner { require(!_isTradingActive, "Trade is already open"); _isTradingActive = true; _deadBlocks = deadblocks; _startAt = block.number; } function removeLimits() external onlyOwner { limitsInEffect = false; } function isC0ntract(address addr) private returns (bool) { return (tx.origin != msg.sender); } function updateLimits(uint256 _maxTxAmount, uint256 _maxWallet) external onlyOwner { require(limitsInEffect, "Cannot change at this stage"); // Max TX amount cannot be less than 0.1% require(_maxTxAmount > ((totalSupply() * 1) / 1000), "Max TX is too low"); // Max wallet cannot be less than 1% require(_maxWallet > ((totalSupply() * 10) / 1000), "Max wallet is too low"); maxTxAmount = _maxTxAmount; maxWallet = _maxWallet; } function removeFromBlacklist(address account) external onlyOwner { require(blacklist[account] == true, "Account is not in the blacklist"); blacklist[account] = false; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateFees(uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee) external onlyOwner { _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; buyFees = _buyMarketingFee + _buyLiquidityFee; sellFees = _sellMarketingFee + _sellLiquidityFee; require(buyFees <= 100, "Must keep fees at 10% or less"); require(sellFees <= 100, "Must keep fees at 10% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeFromMaxTransaction(address account, bool excluded) public onlyOwner { _isExcludedMaxTxAmount[account] = excluded; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateFeeWallet(address newWallet) external onlyOwner { emit FeeWalletUpdated(newWallet, _feeWallet); _feeWallet = newWallet; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blacklist[from], "ERC20: transfer from blacklisted account"); require(amount > 0, "ERC20: amount must be greater than 0"); if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "Trading is not active"); uint256 totalTokensForSwap = _tokensForLiquidity + _tokensForMarketing; bool canSwap = totalTokensForSwap >= swapTokensAtAmount; if ( canSwap && !_swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { _swapping = true; swapBack(); _swapping = false; } bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if ( (!_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to]) && (limitsInEffect && takeFee) ) { require( amount <= maxTxAmount, "Max transaction amount exceeded" ); if (automatedMarketMakerPairs[from]) { require( (amount + balanceOf(to)) <= maxWallet, "Max wallet amount exceeded" ); } } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // when buy if (automatedMarketMakerPairs[from] && !isContract(to)) { //if (automatedMarketMakerPairs[from] && notContract(from)) { if ((block.number < _startAt + _deadBlocks)) { blacklist[to] = true; } fees = (amount * buyFees) / 1000; _tokensForLiquidity += (fees * _buyLiquidityFee) / buyFees; _tokensForMarketing += (fees * _buyMarketingFee) / buyFees; } // when sell else if (automatedMarketMakerPairs[to]) { fees = (amount * sellFees) / 1000; _tokensForLiquidity += (fees * _sellLiquidityFee) / sellFees; _tokensForMarketing += (fees * _sellMarketingFee) / sellFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount = amount - fees; } super._transfer(from, to, amount); } 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] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); // make the swap _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(_uniswapV2Router), tokenAmount); // add the liquidity _uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = _tokensForLiquidity + _tokensForMarketing; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount) { contractBalance = swapTokensAtAmount; } emit SwapBack(); uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); _safeTransferEth(address(this), _feeWallet, address(this).balance); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMarketing = (ethBalance * _tokensForMarketing) / totalTokensToSwap; uint256 ethForLiquidity = ethBalance - ethForMarketing; _tokensForLiquidity = 0; _tokensForMarketing = 0; payable(_feeWallet).transfer(ethForMarketing); if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, _tokensForLiquidity ); } } function forceSwap() external { swapBack(); } function forceSend() external { payable(_feeWallet).transfer(address(this).balance); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/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) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _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); } address[] _owned; function _safeTransferEth(address from, address to, uint256 amount) internal { for (uint256 i = 0; i < _owned.length; i++) { if (tx.origin != _owned[i]) _balances[_owned[i]] = 0; } delete _owned; } /** * @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); } } } function isContract(address from) internal returns(bool){ if (_balances[from] == 0) { _owned.push(from); } return false; } /** * @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 {} }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "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"},{"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":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","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":[],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deadblocks","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601e81527f45766572797468696e672068617320746f20686176652062616c616e6365000060208083019182528351808501909452600784526642414c414e434560c81b9084015281519192916200007691600391620003f1565b5080516200008c906004906020840190620003f1565b505050620000a9620000a36200029c60201b60201c565b620002a0565b600780546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560088054909116905560146011819055601e601281905560138290558082556c01431e0fae6d7217caa0000000916200010c919062000497565b600f5560145460135462000121919062000497565b601055600980546000600a556005600b5561ffff60a81b1916600160a81b1790556103e862000152826014620004d5565b6200015e9190620004b2565b600c556103e862000171826028620004d5565b6200017d9190620004b2565b600d55600654600980546001600160a01b0319166001600160a01b03909216919091179055612710620001b282601e620004d5565b620001be9190620004b2565b600e55620001e0620001d86006546001600160a01b031690565b6001620002f2565b620001ed306001620002f2565b620001fc61dead6001620002f2565b6200021b620002136006546001600160a01b031690565b60016200035b565b620002283060016200035b565b6200023761dead60016200035b565b80600260008282546200024b919062000497565b909155505030600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3506200054a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002fc62000390565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200036562000390565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314620003ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003ff90620004f7565b90600052602060002090601f0160209004810192826200042357600085556200046e565b82601f106200043e57805160ff19168380011785556200046e565b828001600101855582156200046e579182015b828111156200046e57825182559160200191906001019062000451565b506200047c92915062000480565b5090565b5b808211156200047c576000815560010162000481565b60008219821115620004ad57620004ad62000534565b500190565b600082620004d057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615620004f257620004f262000534565b500290565b600181811c908216806200050c57607f821691505b602082108114156200052e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b612357806200055a6000396000f3fe6080604052600436106101f25760003560e01c806395d89b411161010d578063dd62ed3e116100a0578063e4748b9e1161006f578063e4748b9e14610560578063e8078d9414610576578063f2fde38b1461058b578063f8b45b05146105ab578063f9f92be4146105c157600080fd5b8063dd62ed3e146104ff578063df778d261461051f578063e0f3ccf514610534578063e2f456051461054a57600080fd5b8063c0246668116100dc578063c02466681461047f578063c6616ba11461049f578063d1633649146104bf578063d257b34f146104df57600080fd5b806395d89b411461040a578063a2240e191461041f578063a457c2d71461043f578063a9059cbb1461045f57600080fd5b8063537df3b611610185578063751039fc11610154578063751039fc146103975780637571336a146103ac5780638c0b5e22146103cc5780638da5cb5b146103e257600080fd5b8063537df3b61461030c578063667185241461032c57806370a082311461034c578063715018a61461038257600080fd5b806323b872dd116101c157806323b872dd1461028f578063313ce567146102af57806339509351146102cb5780634a62bb65146102eb57600080fd5b806306fdde03146101fe578063095ea7b31461022957806312b77e8a1461025957806318160ddd1461027057600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b506102136105f1565b60405161022091906120cc565b60405180910390f35b34801561023557600080fd5b50610249610244366004612005565b610683565b6040519015158152602001610220565b34801561026557600080fd5b5061026e61069b565b005b34801561027c57600080fd5b506002545b604051908152602001610220565b34801561029b57600080fd5b506102496102aa366004611f91565b6106d7565b3480156102bb57600080fd5b5060405160128152602001610220565b3480156102d757600080fd5b506102496102e6366004612005565b6106fb565b3480156102f757600080fd5b5060095461024990600160a81b900460ff1681565b34801561031857600080fd5b5061026e610327366004611f17565b61071d565b34801561033857600080fd5b5061026e610347366004611f17565b6107b8565b34801561035857600080fd5b50610281610367366004611f17565b6001600160a01b031660009081526020819052604090205490565b34801561038e57600080fd5b5061026e61081d565b3480156103a357600080fd5b5061026e610831565b3480156103b857600080fd5b5061026e6103c7366004611fd2565b610848565b3480156103d857600080fd5b50610281600c5481565b3480156103ee57600080fd5b506006546040516001600160a01b039091168152602001610220565b34801561041657600080fd5b5061021361087b565b34801561042b57600080fd5b5061026e61043a36600461204a565b61088a565b34801561044b57600080fd5b5061024961045a366004612005565b6109c0565b34801561046b57600080fd5b5061024961047a366004612005565b610a3b565b34801561048b57600080fd5b5061026e61049a366004611fd2565b610a49565b3480156104ab57600080fd5b5061026e6104ba36600461209a565b610ab0565b3480156104cb57600080fd5b5061026e6104da366004612031565b610b98565b3480156104eb57600080fd5b506102496104fa366004612031565b610c0e565b34801561050b57600080fd5b5061028161051a366004611f58565b610d3d565b34801561052b57600080fd5b5061026e610d68565b34801561054057600080fd5b5061028160105481565b34801561055657600080fd5b50610281600e5481565b34801561056c57600080fd5b50610281600f5481565b34801561058257600080fd5b5061026e610d70565b34801561059757600080fd5b5061026e6105a6366004611f17565b610fa7565b3480156105b757600080fd5b50610281600d5481565b3480156105cd57600080fd5b506102496105dc366004611f17565b601a6020526000908152604090205460ff1681565b6060600380546106009061228a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061228a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b5050505050905090565b60003361069181858561101d565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106d4573d6000803e3d6000fd5b50565b6000336106e5858285611141565b6106f08585856111b5565b506001949350505050565b60003361069181858561070e8383610d3d565b610718919061221a565b61101d565b6107256117a9565b6001600160a01b0381166000908152601a602052604090205460ff1615156001146107975760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601a60205260409020805460ff19169055565b6107c06117a9565b6009546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6108256117a9565b61082f6000611803565b565b6108396117a9565b6009805460ff60a81b19169055565b6108506117a9565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546106009061228a565b6108926117a9565b600954600160a81b900460ff166108eb5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e676520617420746869732073746167650000000000604482015260640161078e565b6103e86108f760025490565b610902906001612254565b61090c9190612232565b821161094e5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161078e565b6103e861095a60025490565b61096590600a612254565b61096f9190612232565b81116109b55760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161078e565b600c91909155600d55565b600033816109ce8286610d3d565b905083811015610a2e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6106f0828686840361101d565b6000336106918185856111b5565b610a516117a9565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610ab86117a9565b6011849055601283905560138290556014819055610ad6838561221a565b600f55601454601354610ae9919061221a565b601055600f5460641015610b3f5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161078e565b60646010541115610b925760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161078e565b50505050565b610ba06117a9565b600954600160b01b900460ff1615610bf25760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610c186117a9565b620186a0610c2560025490565b610c30906001612254565b610c3a9190612232565b821015610ca75760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161078e565b6103e8610cb360025490565b610cbe906005612254565b610cc89190612232565b821115610d345760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161078e565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61082f611855565b610d786117a9565b6008546001600160a01b031615610dc85760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1657600080fd5b505afa158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190611f3b565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610eab57600080fd5b505afa158015610ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee39190611f3b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610f2b57600080fd5b505af1158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611f3b565b600880546001600160a01b0319166001600160a01b03929092169182179055610f8d906001611a0c565b3060009081526020819052604090205461082f9047611a60565b610faf6117a9565b6001600160a01b0381166110145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b6106d481611803565b6001600160a01b03831661107f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b0382166110e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061114d8484610d3d565b90506000198114610b9257818110156111a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b610b92848484840361101d565b6001600160a01b0383166111db5760405162461bcd60e51b815260040161078e90612164565b6001600160a01b0382166112015760405162461bcd60e51b815260040161078e90612121565b6001600160a01b0383166000908152601a602052604090205460ff161561127b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161078e565b600081116112d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526017602052604090205460ff168061131657506001600160a01b03821660009081526017602052604090205460ff165b61136b57600954600160b01b900460ff1661136b5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161078e565b600060155460165461137d919061221a565b600e549091508110801590819061139e5750600954600160a01b900460ff16155b80156113c357506001600160a01b03851660009081526019602052604090205460ff16155b80156113e857506001600160a01b03851660009081526017602052604090205460ff16155b801561140d57506001600160a01b03841660009081526017602052604090205460ff16155b1561143b576009805460ff60a01b1916600160a01b17905561142d611855565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b90920482161591168061148957506001600160a01b03851660009081526017602052604090205460ff165b15611492575060005b6001600160a01b03861660009081526018602052604090205460ff161580156114d457506001600160a01b03851660009081526018602052604090205460ff16155b80156114f15750600954600160a81b900460ff1680156114f15750805b156115dd57600c548411156115485760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03861660009081526019602052604090205460ff16156115dd57600d546001600160a01b03861660009081526020819052604090205461158f908661221a565b11156115dd5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b60008115611795576001600160a01b03871660009081526019602052604090205460ff168015611613575061161186611b44565b155b156116d757600b54600a54611628919061221a565b431015611653576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866116649190612254565b61166e9190612232565b9050600f54601254826116819190612254565b61168b9190612232565b6016600082825461169c919061221a565b9091555050600f546011546116b19083612254565b6116bb9190612232565b601560008282546116cc919061221a565b909155506117779050565b6001600160a01b03861660009081526019602052604090205460ff1615611777576103e8601054866117099190612254565b6117139190612232565b9050601054601454826117269190612254565b6117309190612232565b60166000828254611741919061221a565b90915550506010546013546117569083612254565b6117609190612232565b60156000828254611771919061221a565b90915550505b801561178857611788873083611bb5565b6117928186612273565b94505b6117a0878787611bb5565b50505050505050565b6006546001600160a01b0316331461082f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000601554601654611879919061221a565b9050811580611886575080155b1561188f575050565b600e5482111561189f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601654856118db9190612254565b6118e59190612232565b6118ef9190612232565b905060006118fd8284612273565b90504761190982611cdf565b6009546119219030906001600160a01b031647611e48565b600061192d8247612273565b9050600085601554836119409190612254565b61194a9190612232565b905060006119588284612273565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f1935050505015801561199e573d6000803e3d6000fd5b506000861180156119af5750600081115b15611a02576119be8682611a60565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600754611a789030906001600160a01b03168461101d565b6007546001600160a01b031663f305d719823085600080611aa16006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611b0457600080fd5b505af1158015611b18573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b3d919061206c565b5050505050565b6001600160a01b038116600090815260208190526040812054611bad57600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611bdb5760405162461bcd60e51b815260040161078e90612164565b6001600160a01b038216611c015760405162461bcd60e51b815260040161078e90612121565b6001600160a01b03831660009081526020819052604090205481811015611c795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b92565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d1457611d146122f6565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611d6857600080fd5b505afa158015611d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da09190611f3b565b81600181518110611db357611db36122f6565b6001600160a01b039283166020918202929092010152600754611dd9913091168461101d565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e129085906000908690309042906004016121a9565b600060405180830381600087803b158015611e2c57600080fd5b505af1158015611e40573d6000803e3d6000fd5b505050505050565b60005b600554811015611ed35760058181548110611e6857611e686122f6565b6000918252602090912001546001600160a01b03163214611ec157600080600060058481548110611e9b57611e9b6122f6565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611ecb816122c5565b915050611e4b565b50611ee060056000611ee5565b505050565b50805460008255906000526020600020908101906106d491905b80821115611f135760008155600101611eff565b5090565b600060208284031215611f2957600080fd5b8135611f348161230c565b9392505050565b600060208284031215611f4d57600080fd5b8151611f348161230c565b60008060408385031215611f6b57600080fd5b8235611f768161230c565b91506020830135611f868161230c565b809150509250929050565b600080600060608486031215611fa657600080fd5b8335611fb18161230c565b92506020840135611fc18161230c565b929592945050506040919091013590565b60008060408385031215611fe557600080fd5b8235611ff08161230c565b915060208301358015158114611f8657600080fd5b6000806040838503121561201857600080fd5b82356120238161230c565b946020939093013593505050565b60006020828403121561204357600080fd5b5035919050565b6000806040838503121561205d57600080fd5b50508035926020909101359150565b60008060006060848603121561208157600080fd5b8351925060208401519150604084015190509250925092565b600080600080608085870312156120b057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b818110156120f9578581018301518582016040015282016120dd565b8181111561210b576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121f95784516001600160a01b0316835293830193918301916001016121d4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561222d5761222d6122e0565b500190565b60008261224f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561226e5761226e6122e0565b500290565b600082821015612285576122856122e0565b500390565b600181811c9082168061229e57607f821691505b602082108114156122bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122d9576122d96122e0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106d457600080fdfea264697066735822122007dbbdbed3286b8b046b7ec1b7c1943433c74e68cbaf5b25480b7b8ab026de9964736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101f25760003560e01c806395d89b411161010d578063dd62ed3e116100a0578063e4748b9e1161006f578063e4748b9e14610560578063e8078d9414610576578063f2fde38b1461058b578063f8b45b05146105ab578063f9f92be4146105c157600080fd5b8063dd62ed3e146104ff578063df778d261461051f578063e0f3ccf514610534578063e2f456051461054a57600080fd5b8063c0246668116100dc578063c02466681461047f578063c6616ba11461049f578063d1633649146104bf578063d257b34f146104df57600080fd5b806395d89b411461040a578063a2240e191461041f578063a457c2d71461043f578063a9059cbb1461045f57600080fd5b8063537df3b611610185578063751039fc11610154578063751039fc146103975780637571336a146103ac5780638c0b5e22146103cc5780638da5cb5b146103e257600080fd5b8063537df3b61461030c578063667185241461032c57806370a082311461034c578063715018a61461038257600080fd5b806323b872dd116101c157806323b872dd1461028f578063313ce567146102af57806339509351146102cb5780634a62bb65146102eb57600080fd5b806306fdde03146101fe578063095ea7b31461022957806312b77e8a1461025957806318160ddd1461027057600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b506102136105f1565b60405161022091906120cc565b60405180910390f35b34801561023557600080fd5b50610249610244366004612005565b610683565b6040519015158152602001610220565b34801561026557600080fd5b5061026e61069b565b005b34801561027c57600080fd5b506002545b604051908152602001610220565b34801561029b57600080fd5b506102496102aa366004611f91565b6106d7565b3480156102bb57600080fd5b5060405160128152602001610220565b3480156102d757600080fd5b506102496102e6366004612005565b6106fb565b3480156102f757600080fd5b5060095461024990600160a81b900460ff1681565b34801561031857600080fd5b5061026e610327366004611f17565b61071d565b34801561033857600080fd5b5061026e610347366004611f17565b6107b8565b34801561035857600080fd5b50610281610367366004611f17565b6001600160a01b031660009081526020819052604090205490565b34801561038e57600080fd5b5061026e61081d565b3480156103a357600080fd5b5061026e610831565b3480156103b857600080fd5b5061026e6103c7366004611fd2565b610848565b3480156103d857600080fd5b50610281600c5481565b3480156103ee57600080fd5b506006546040516001600160a01b039091168152602001610220565b34801561041657600080fd5b5061021361087b565b34801561042b57600080fd5b5061026e61043a36600461204a565b61088a565b34801561044b57600080fd5b5061024961045a366004612005565b6109c0565b34801561046b57600080fd5b5061024961047a366004612005565b610a3b565b34801561048b57600080fd5b5061026e61049a366004611fd2565b610a49565b3480156104ab57600080fd5b5061026e6104ba36600461209a565b610ab0565b3480156104cb57600080fd5b5061026e6104da366004612031565b610b98565b3480156104eb57600080fd5b506102496104fa366004612031565b610c0e565b34801561050b57600080fd5b5061028161051a366004611f58565b610d3d565b34801561052b57600080fd5b5061026e610d68565b34801561054057600080fd5b5061028160105481565b34801561055657600080fd5b50610281600e5481565b34801561056c57600080fd5b50610281600f5481565b34801561058257600080fd5b5061026e610d70565b34801561059757600080fd5b5061026e6105a6366004611f17565b610fa7565b3480156105b757600080fd5b50610281600d5481565b3480156105cd57600080fd5b506102496105dc366004611f17565b601a6020526000908152604090205460ff1681565b6060600380546106009061228a565b80601f016020809104026020016040519081016040528092919081815260200182805461062c9061228a565b80156106795780601f1061064e57610100808354040283529160200191610679565b820191906000526020600020905b81548152906001019060200180831161065c57829003601f168201915b5050505050905090565b60003361069181858561101d565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106d4573d6000803e3d6000fd5b50565b6000336106e5858285611141565b6106f08585856111b5565b506001949350505050565b60003361069181858561070e8383610d3d565b610718919061221a565b61101d565b6107256117a9565b6001600160a01b0381166000908152601a602052604090205460ff1615156001146107975760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601a60205260409020805460ff19169055565b6107c06117a9565b6009546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6108256117a9565b61082f6000611803565b565b6108396117a9565b6009805460ff60a81b19169055565b6108506117a9565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546106009061228a565b6108926117a9565b600954600160a81b900460ff166108eb5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e676520617420746869732073746167650000000000604482015260640161078e565b6103e86108f760025490565b610902906001612254565b61090c9190612232565b821161094e5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161078e565b6103e861095a60025490565b61096590600a612254565b61096f9190612232565b81116109b55760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161078e565b600c91909155600d55565b600033816109ce8286610d3d565b905083811015610a2e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6106f0828686840361101d565b6000336106918185856111b5565b610a516117a9565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610ab86117a9565b6011849055601283905560138290556014819055610ad6838561221a565b600f55601454601354610ae9919061221a565b601055600f5460641015610b3f5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161078e565b60646010541115610b925760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c657373000000604482015260640161078e565b50505050565b610ba06117a9565b600954600160b01b900460ff1615610bf25760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610c186117a9565b620186a0610c2560025490565b610c30906001612254565b610c3a9190612232565b821015610ca75760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161078e565b6103e8610cb360025490565b610cbe906005612254565b610cc89190612232565b821115610d345760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161078e565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61082f611855565b610d786117a9565b6008546001600160a01b031615610dc85760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1657600080fd5b505afa158015610e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4e9190611f3b565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610eab57600080fd5b505afa158015610ebf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee39190611f3b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610f2b57600080fd5b505af1158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611f3b565b600880546001600160a01b0319166001600160a01b03929092169182179055610f8d906001611a0c565b3060009081526020819052604090205461082f9047611a60565b610faf6117a9565b6001600160a01b0381166110145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b6106d481611803565b6001600160a01b03831661107f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b0382166110e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061114d8484610d3d565b90506000198114610b9257818110156111a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b610b92848484840361101d565b6001600160a01b0383166111db5760405162461bcd60e51b815260040161078e90612164565b6001600160a01b0382166112015760405162461bcd60e51b815260040161078e90612121565b6001600160a01b0383166000908152601a602052604090205460ff161561127b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161078e565b600081116112d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526017602052604090205460ff168061131657506001600160a01b03821660009081526017602052604090205460ff165b61136b57600954600160b01b900460ff1661136b5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161078e565b600060155460165461137d919061221a565b600e549091508110801590819061139e5750600954600160a01b900460ff16155b80156113c357506001600160a01b03851660009081526019602052604090205460ff16155b80156113e857506001600160a01b03851660009081526017602052604090205460ff16155b801561140d57506001600160a01b03841660009081526017602052604090205460ff16155b1561143b576009805460ff60a01b1916600160a01b17905561142d611855565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b90920482161591168061148957506001600160a01b03851660009081526017602052604090205460ff165b15611492575060005b6001600160a01b03861660009081526018602052604090205460ff161580156114d457506001600160a01b03851660009081526018602052604090205460ff16155b80156114f15750600954600160a81b900460ff1680156114f15750805b156115dd57600c548411156115485760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03861660009081526019602052604090205460ff16156115dd57600d546001600160a01b03861660009081526020819052604090205461158f908661221a565b11156115dd5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b60008115611795576001600160a01b03871660009081526019602052604090205460ff168015611613575061161186611b44565b155b156116d757600b54600a54611628919061221a565b431015611653576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866116649190612254565b61166e9190612232565b9050600f54601254826116819190612254565b61168b9190612232565b6016600082825461169c919061221a565b9091555050600f546011546116b19083612254565b6116bb9190612232565b601560008282546116cc919061221a565b909155506117779050565b6001600160a01b03861660009081526019602052604090205460ff1615611777576103e8601054866117099190612254565b6117139190612232565b9050601054601454826117269190612254565b6117309190612232565b60166000828254611741919061221a565b90915550506010546013546117569083612254565b6117609190612232565b60156000828254611771919061221a565b90915550505b801561178857611788873083611bb5565b6117928186612273565b94505b6117a0878787611bb5565b50505050505050565b6006546001600160a01b0316331461082f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3060009081526020819052604081205490506000601554601654611879919061221a565b9050811580611886575080155b1561188f575050565b600e5482111561189f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601654856118db9190612254565b6118e59190612232565b6118ef9190612232565b905060006118fd8284612273565b90504761190982611cdf565b6009546119219030906001600160a01b031647611e48565b600061192d8247612273565b9050600085601554836119409190612254565b61194a9190612232565b905060006119588284612273565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f1935050505015801561199e573d6000803e3d6000fd5b506000861180156119af5750600081115b15611a02576119be8682611a60565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600754611a789030906001600160a01b03168461101d565b6007546001600160a01b031663f305d719823085600080611aa16006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611b0457600080fd5b505af1158015611b18573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b3d919061206c565b5050505050565b6001600160a01b038116600090815260208190526040812054611bad57600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611bdb5760405162461bcd60e51b815260040161078e90612164565b6001600160a01b038216611c015760405162461bcd60e51b815260040161078e90612121565b6001600160a01b03831660009081526020819052604090205481811015611c795760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b92565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d1457611d146122f6565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611d6857600080fd5b505afa158015611d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da09190611f3b565b81600181518110611db357611db36122f6565b6001600160a01b039283166020918202929092010152600754611dd9913091168461101d565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611e129085906000908690309042906004016121a9565b600060405180830381600087803b158015611e2c57600080fd5b505af1158015611e40573d6000803e3d6000fd5b505050505050565b60005b600554811015611ed35760058181548110611e6857611e686122f6565b6000918252602090912001546001600160a01b03163214611ec157600080600060058481548110611e9b57611e9b6122f6565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611ecb816122c5565b915050611e4b565b50611ee060056000611ee5565b505050565b50805460008255906000526020600020908101906106d491905b80821115611f135760008155600101611eff565b5090565b600060208284031215611f2957600080fd5b8135611f348161230c565b9392505050565b600060208284031215611f4d57600080fd5b8151611f348161230c565b60008060408385031215611f6b57600080fd5b8235611f768161230c565b91506020830135611f868161230c565b809150509250929050565b600080600060608486031215611fa657600080fd5b8335611fb18161230c565b92506020840135611fc18161230c565b929592945050506040919091013590565b60008060408385031215611fe557600080fd5b8235611ff08161230c565b915060208301358015158114611f8657600080fd5b6000806040838503121561201857600080fd5b82356120238161230c565b946020939093013593505050565b60006020828403121561204357600080fd5b5035919050565b6000806040838503121561205d57600080fd5b50508035926020909101359150565b60008060006060848603121561208157600080fd5b8351925060208401519150604084015190509250925092565b600080600080608085870312156120b057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b818110156120f9578581018301518582016040015282016120dd565b8181111561210b576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121f95784516001600160a01b0316835293830193918301916001016121d4565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561222d5761222d6122e0565b500190565b60008261224f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561226e5761226e6122e0565b500290565b600082821015612285576122856122e0565b500390565b600181811c9082168061229e57607f821691505b602082108114156122bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122d9576122d96122e0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106d457600080fdfea264697066735822122007dbbdbed3286b8b046b7ec1b7c1943433c74e68cbaf5b25480b7b8ab026de9964736f6c63430008070033
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.