Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000,000 BLX
Holders
319
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BOLIX
Compiler Version
v0.8.15+commit.e14f2714
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.15; // Context.sol - Used to set msg.sender/msg.data as Needed for checks - Who is the sender/what is being sent. abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Uniswap Interface for BLX/ETH Pair 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; } // Uniswap V2 Factory 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; } // IERC20 Interface for token supply, balances, transfers, allowances and approval functionality. interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } //Token Meta data interface to store Name, Symbol, Decimals interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } //File: ERC20.sol // ERC20 Token Contract Interface, Mappings and Funcitons. contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } // state Variables and Public Functions that return data/values based on name, sym, supply ECT function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 9; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } 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); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // Safemath library - **NOTE Solidity version >=0.8.0 includes checked arithmetic operations and underflow/overflow by default*** library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* @Dev Ownable section- BLX is ownable - Owner/only owner - renounce/transfer contract ownership****cannot be undone use with caution. Renounceing sends ownership to the 0xdead*** */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Safemath Int256 library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } function div(int256 a, int256 b) internal pure returns (int256) { require(b != -1 || a != MIN_INT256); return a / b; } function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } // Uniswap Router Interfaces 01 and 02 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); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } //File: Bolix_Token.sol 5/13/2022 /* * BOLIX Token is Ownable - * begin token contract * * */ contract BOLIX is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; mapping (address => bool) private _isSniper; bool private _swapping; address public feeWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 private _buyMarketingFee; uint256 private _buyLiquidityFee; uint256 public sellTotalFees; 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) 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; 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 tradingEnabled(bool tradingActive); event MaxTxnUpdated(uint256 newNum); event MaxWalletAmount(uint256 newNum); event MaxTxnExcluded(address updAds); event BuyFeeUpdated(uint256 marketingFee, uint256 liquidityFee); event SellFeeUpdated(uint256 marketingFee, uint256 liquidityFee); event ExcludedFromFee(address account, bool excluded); constructor() ERC20("Bolix", "BLX") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 buyMarketingFee = 4; uint256 buyLiquidityFee = 1; uint256 sellMarketingFee = 8; uint256 sellLiquidityFee = 2; uint256 totalSupply = 1e12 * 1e9; // 1 trillion 1e12 = 1(000,000,000,000) * 1e9 ((9).000000000 decimals) // Initial Deployed settings maybe be changed later with individual functions - Set all fees, Max AMTs maxTransactionAmount = totalSupply * 1 / 100; // 1% maxTransactionAmountTxn maxWallet = totalSupply * 2 / 100; // 2% maxWallet swapTokensAtAmount = totalSupply * 5 / 10000; // 0.05% swap wallet _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; buyTotalFees = _buyMarketingFee + _buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; sellTotalFees = _sellMarketingFee + _sellLiquidityFee; feeWallet = address(owner()); // set as fee wallet // exclude from paying fees or having max transaction amount Owner/this/dead excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again and if used to Issue the initial Supply */ _mint(msg.sender, totalSupply); } //clear lost stuck tokens in contract, or remove tokens sent in error function removeTokens(IERC20 tokenAddress, address walletaddress) external onlyOwner() { tokenAddress.transfer(walletaddress, tokenAddress.balanceOf(address(this))); } // Enable public trading/contract interaction. function enableTrading() external onlyOwner { tradingActive = true; emit tradingEnabled(tradingActive); } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } // 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; } //Max txn followed by MaxWallet functions callable only by contract owner function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 1 / 1000) / 1e9, "Cannot set maxTransactionAmount lower than 0.1%"); maxTransactionAmount = newNum * 1e9; emit MaxTxnUpdated(newNum); } // set new max wallet size amounts function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 5 / 1000)/1e9, "Cannot set maxWallet lower than 0.5%"); maxWallet = newNum * 1e9; emit MaxWalletAmount(newNum); } // exclude an address from the max transaction restriction function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; emit MaxTxnExcluded(updAds); } // Update Fees functions for after deployment- Buy Fees, Sell Fees also exclude wallets from fees function updateBuyFees(uint256 marketingFee, uint256 liquidityFee) external onlyOwner { _buyMarketingFee = marketingFee; _buyLiquidityFee = liquidityFee; buyTotalFees = _buyMarketingFee + _buyLiquidityFee; require(buyTotalFees <= 10, "Must keep fees at 10% or less"); emit BuyFeeUpdated(marketingFee, liquidityFee); } // sell fee update function function updateSellFees(uint256 marketingFee, uint256 liquidityFee) external onlyOwner { _sellMarketingFee = marketingFee; _sellLiquidityFee = liquidityFee; sellTotalFees = _sellMarketingFee + _sellLiquidityFee; require(sellTotalFees <= 15, "Must keep fees at 15% or less"); emit SellFeeUpdated(marketingFee, liquidityFee); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludedFromFee(account, excluded); } // function for setting AMM Pairs in the future note external from puclic function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } // Change Marketing/Developement Wallet to recieve fees from trades function updateFeeWallet(address newWallet) external onlyOwner { feeWallet = newWallet; emit feeWalletUpdated(newWallet, feeWallet); } function isExcludedFromFees(address account) external view returns(bool) { return _isExcludedFromFees[account]; } //note external from puclic // blacklist an address and label as "sniper" (naming is sniper but universal - meaning Snipers including Bots, MEVS, FlashLoan Attacks, Hacks, Harmful Bad Actors) function setSnipers(address[] calldata snipers_) external onlyOwner() { for (uint i = 0; i < snipers_.length; i++) { if (snipers_[i] != uniswapV2Pair && snipers_[i] != address(uniswapV2Router)) { _isSniper[snipers_[i]] = true; } } } // DeBlacklist an address and remove from Sniper Log note external from puclic function delSnipers(address[] calldata snipers_) external onlyOwner() { for (uint i = 0; i < snipers_.length; i++) { _isSniper[snipers_[i]] = false; } } // Public function to check if an address is Banned/Blacklisted in Sniper log function isSniper(address addr) public view returns (bool) { return _isSniper[addr]; } // transfer function with required checks 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(!_isSniper[from], "Your address has been marked as a sniper, you are unable to transfer or swap."); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_swapping ) { if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } // when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } // when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } else if (!_isExcludedMaxTransactionAmount[to]){ require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= 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; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); _tokensForLiquidity += fees * _sellLiquidityFee / sellTotalFees; _tokensForMarketing += fees * _sellMarketingFee / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); _tokensForLiquidity += fees * _buyLiquidityFee / buyTotalFees; _tokensForMarketing += fees * _buyMarketingFee / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } 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; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = contractBalance * _tokensForLiquidity / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = ethBalance.mul(_tokensForMarketing).div(totalTokensToSwap); uint256 ethForLiquidity = ethBalance - ethForMarketing; _tokensForLiquidity = 0; _tokensForMarketing = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, _tokensForLiquidity); } if (ethForMarketing > 0) { (success, ) = address(feeWallet).call{value: ethForMarketing}(""); } } // manual withdrawl eth to fee wallet function withdrawFees() external onlyOwner { bool success; (success, ) = address(feeWallet).call{value: address(this).balance}(""); require(success, "Error on Transfer, Reverted"); } //fallback to recieve ether in receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"BuyFeeUpdated","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludedFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"updAds","type":"address"}],"name":"MaxTxnExcluded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"MaxTxnUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"MaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"SellFeeUpdated","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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"feeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"tradingActive","type":"bool"}],"name":"tradingEnabled","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"buyTotalFees","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":"snipers_","type":"address[]"}],"name":"delSnipers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"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":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","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":[],"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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenAddress","type":"address"},{"internalType":"address","name":"walletaddress","type":"address"}],"name":"removeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"snipers_","type":"address[]"}],"name":"setSnipers","outputs":[],"stateMutability":"nonpayable","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":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600b805461ffff19166001908117909155600d805460ff191690911790553480156200002f57600080fd5b5060405180604001604052806005815260200164084ded8d2f60db1b8152506040518060400160405280600381526020016208498b60eb1b81525081600390816200007b919062000790565b5060046200008a828262000790565b50505060006200009f620003d560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d6200010f816001620003d9565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200015a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018091906200085c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f491906200085c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000242573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026891906200085c565b6001600160a01b031660a081905262000283906001620003d9565b60a0516200029390600162000485565b6004600160086002683635c9adc5dea000006064620002b382866200089d565b620002bf9190620008bf565b6008556064620002d18260026200089d565b620002dd9190620008bf565b600a55612710620002f08260056200089d565b620002fc9190620008bf565b600955600f8590556010849055620003158486620008e2565b600e55601283905560138290556200032e8284620008e2565b601155600554600780546101006001600160a01b03909316928302610100600160a81b031990911617905562000366906001620004d9565b62000373306001620004d9565b6200038261dead6001620004d9565b620003a1620003996005546001600160a01b031690565b6001620003d9565b620003ae306001620003d9565b620003bd61dead6001620003d9565b620003c9338262000581565b505050505050620008fd565b3390565b6005546001600160a01b03163314620004285760405162461bcd60e51b81526020600482018190526024820152600080516020620037d883398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260176020908152604091829020805460ff191685151517905590519182527fc65aa989ecbad45c4af70755a3bde58cd7317cd04a213b0304ad619add45d4fb91015b60405180910390a15050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005245760405162461bcd60e51b81526020600482018190526024820152600080516020620037d883398151915260448201526064016200041f565b6001600160a01b038216600081815260166020908152604091829020805460ff19168515159081179091558251938452908301527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa9910162000479565b6001600160a01b038216620005d95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200041f565b620005f5816002546200068260201b620017d81790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000628918390620017d862000682821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600080620006918385620008e2565b905083811015620006e55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200041f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200071757607f821691505b6020821081036200073857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200067d57600081815260208120601f850160051c81016020861015620007675750805b601f850160051c820191505b81811015620007885782815560010162000773565b505050505050565b81516001600160401b03811115620007ac57620007ac620006ec565b620007c481620007bd845462000702565b846200073e565b602080601f831160018114620007fc5760008415620007e35750858301515b600019600386901b1c1916600185901b17855562000788565b600085815260208120601f198616915b828110156200082d578886015182559484019460019091019084016200080c565b50858210156200084c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200086f57600080fd5b81516001600160a01b0381168114620006e557600080fd5b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620008ba57620008ba62000887565b500290565b600082620008dd57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008f857620008f862000887565b500190565b60805160a051612e6f620009696000396000818161047601528181610cc3015281816111c80152611bd501526000818161037a01528181610d2601528181611b97015281816126720152818161272b01528181612767015281816127e101526128080152612e6f6000f3fe6080604052600436106102765760003560e01c80637571336a1161014f578063c18bc195116100c1578063e2f456051161007a578063e2f45605146107e4578063e70a9132146107fa578063e884f2601461081a578063f25f4b561461082f578063f2fde38b14610854578063f8b45b051461087457600080fd5b8063c18bc19514610718578063c876d0b914610738578063c8c8ebe414610752578063d257b34f14610768578063d85ba06314610788578063dd62ed3e1461079e57600080fd5b80639a7a23d6116101135780639a7a23d614610649578063a457c2d714610669578063a9059cbb14610689578063b62496f5146106a9578063bbc0c742146106d9578063c0246668146106f857600080fd5b80637571336a146105c1578063892ba408146105e15780638a8c523c146106015780638da5cb5b1461061657806395d89b411461063457600080fd5b8063476343ee116101e857806366718524116101ac578063667185241461050b57806366ca9b831461052b5780636a486a8e1461054b57806370a0823114610561578063715018a614610597578063751039fc146105ac57600080fd5b8063476343ee1461044f57806349bd5a5e146104645780634a62bb65146104985780634fbee193146104b25780635e80148e146104eb57600080fd5b80631694505e1161023a5780631694505e1461036857806318160ddd146103b4578063203e727e146103d357806323b872dd146103f3578063313ce56714610413578063395093511461042f57600080fd5b806302dbd8f81461028257806306fdde03146102a4578063095ea7b3146102cf5780630f3a325f146102ff57806310d5de531461033857600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b506102a261029d36600461290f565b61088a565b005b3480156102b057600080fd5b506102b9610964565b6040516102c69190612931565b60405180910390f35b3480156102db57600080fd5b506102ef6102ea36600461299b565b6109f6565b60405190151581526020016102c6565b34801561030b57600080fd5b506102ef61031a3660046129c7565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561034457600080fd5b506102ef6103533660046129c7565b60176020526000908152604090205460ff1681565b34801561037457600080fd5b5061039c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102c6565b3480156103c057600080fd5b506002545b6040519081526020016102c6565b3480156103df57600080fd5b506102a26103ee3660046129e4565b610a0d565b3480156103ff57600080fd5b506102ef61040e3660046129fd565b610b16565b34801561041f57600080fd5b50604051600981526020016102c6565b34801561043b57600080fd5b506102ef61044a36600461299b565b610b7f565b34801561045b57600080fd5b506102a2610bb5565b34801561047057600080fd5b5061039c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a457600080fd5b50600b546102ef9060ff1681565b3480156104be57600080fd5b506102ef6104cd3660046129c7565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156104f757600080fd5b506102a2610506366004612a3e565b610c8c565b34801561051757600080fd5b506102a26105263660046129c7565b610df3565b34801561053757600080fd5b506102a261054636600461290f565b610e79565b34801561055757600080fd5b506103c560115481565b34801561056d57600080fd5b506103c561057c3660046129c7565b6001600160a01b031660009081526020819052604090205490565b3480156105a357600080fd5b506102a2610f42565b3480156105b857600080fd5b506102ef610fb6565b3480156105cd57600080fd5b506102a26105dc366004612ac1565b610ff3565b3480156105ed57600080fd5b506102a26105fc366004612a3e565b611072565b34801561060d57600080fd5b506102a261110e565b34801561062257600080fd5b506005546001600160a01b031661039c565b34801561064057600080fd5b506102b961118d565b34801561065557600080fd5b506102a2610664366004612ac1565b61119c565b34801561067557600080fd5b506102ef61068436600461299b565b61127b565b34801561069557600080fd5b506102ef6106a436600461299b565b6112ca565b3480156106b557600080fd5b506102ef6106c43660046129c7565b60186020526000908152604090205460ff1681565b3480156106e557600080fd5b50600b546102ef90610100900460ff1681565b34801561070457600080fd5b506102a2610713366004612ac1565b6112d7565b34801561072457600080fd5b506102a26107333660046129e4565b61135d565b34801561074457600080fd5b50600d546102ef9060ff1681565b34801561075e57600080fd5b506103c560085481565b34801561077457600080fd5b506102ef6107833660046129e4565b611453565b34801561079457600080fd5b506103c5600e5481565b3480156107aa57600080fd5b506103c56107b9366004612afa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107f057600080fd5b506103c560095481565b34801561080657600080fd5b506102a2610815366004612afa565b6115a5565b34801561082657600080fd5b506102ef6116b0565b34801561083b57600080fd5b5060075461039c9061010090046001600160a01b031681565b34801561086057600080fd5b506102a261086f3660046129c7565b6116ed565b34801561088057600080fd5b506103c5600a5481565b6005546001600160a01b031633146108bd5760405162461bcd60e51b81526004016108b490612b28565b60405180910390fd5b601282905560138190556108d18183612b73565b6011819055600f10156109265760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c65737300000060448201526064016108b4565b60408051838152602081018390527f5bafec153d96f8ef37761b64348732b41a6b477401d244a5070f9f82d689adce91015b60405180910390a15050565b60606003805461097390612b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461099f90612b8b565b80156109ec5780601f106109c1576101008083540402835291602001916109ec565b820191906000526020600020905b8154815290600101906020018083116109cf57829003601f168201915b5050505050905090565b6000610a0333848461183e565b5060015b92915050565b6005546001600160a01b03163314610a375760405162461bcd60e51b81526004016108b490612b28565b633b9aca006103e8610a4860025490565b610a53906001612bc5565b610a5d9190612be4565b610a679190612be4565b811015610ace5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016108b4565b610adc81633b9aca00612bc5565b6008556040518181527fe5b4bfc380c3a1aee22ea479849c75117cc58c467670fd4c6427016d3998f2e0906020015b60405180910390a150565b6000610b23848484611963565b610b758433610b7085604051806060016040528060288152602001612ded602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906121c8565b61183e565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a03918590610b7090866117d8565b6005546001600160a01b03163314610bdf5760405162461bcd60e51b81526004016108b490612b28565b60075460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114610c31576040519150601f19603f3d011682016040523d82523d6000602084013e610c36565b606091505b50508091505080610c895760405162461bcd60e51b815260206004820152601b60248201527f4572726f72206f6e205472616e736665722c205265766572746564000000000060448201526064016108b4565b50565b6005546001600160a01b03163314610cb65760405162461bcd60e51b81526004016108b490612b28565b60005b81811015610dee577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316838383818110610cfd57610cfd612c06565b9050602002016020810190610d1291906129c7565b6001600160a01b031614158015610d8157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316838383818110610d6057610d60612c06565b9050602002016020810190610d7591906129c7565b6001600160a01b031614155b15610ddc57600160066000858585818110610d9e57610d9e612c06565b9050602002016020810190610db391906129c7565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b80610de681612c1c565b915050610cb9565b505050565b6005546001600160a01b03163314610e1d5760405162461bcd60e51b81526004016108b490612b28565b60078054610100600160a81b0319166101006001600160a01b03848116828102939093179384905560405191909304909216917f5deb5ef622431f0df5a39b72dd556892f68ba42aa0f3aaf0800e166ce866492890600090a350565b6005546001600160a01b03163314610ea35760405162461bcd60e51b81526004016108b490612b28565b600f8290556010819055610eb78183612b73565b600e819055600a1015610f0c5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016108b4565b60408051838152602081018390527f28e297c7c282931a994191b735b01eaf17558295f761512a7047f4e1b8dc3b0b9101610958565b6005546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108b490612b28565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610fe35760405162461bcd60e51b81526004016108b490612b28565b50600b805460ff19169055600190565b6005546001600160a01b0316331461101d5760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151517905590519182527fc65aa989ecbad45c4af70755a3bde58cd7317cd04a213b0304ad619add45d4fb9101610958565b6005546001600160a01b0316331461109c5760405162461bcd60e51b81526004016108b490612b28565b60005b81811015610dee576000600660008585858181106110bf576110bf612c06565b90506020020160208101906110d491906129c7565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061110681612c1c565b91505061109f565b6005546001600160a01b031633146111385760405162461bcd60e51b81526004016108b490612b28565b600b805461ff001916610100908117918290556040517f2de3f956844815ec700c656bcec4ca8c7c939372f954dd09ec0c7fd0a751f8199261118392900460ff161515815260200190565b60405180910390a1565b60606004805461097390612b8b565b6005546001600160a01b031633146111c65760405162461bcd60e51b81526004016108b490612b28565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361126d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108b4565b6112778282612202565b5050565b6000610a033384610b7085604051806060016040528060258152602001612e15602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906121c8565b6000610a03338484611963565b6005546001600160a01b031633146113015760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b038216600081815260166020908152604091829020805460ff19168515159081179091558251938452908301527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa99101610958565b6005546001600160a01b031633146113875760405162461bcd60e51b81526004016108b490612b28565b633b9aca006103e861139860025490565b6113a3906005612bc5565b6113ad9190612be4565b6113b79190612be4565b8110156114125760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016108b4565b61142081633b9aca00612bc5565b600a556040518181527f22c83a5ec34271153086583a02141e6d8afa47085fffe4f3c546e7011357aa0990602001610b0b565b6005546000906001600160a01b031633146114805760405162461bcd60e51b81526004016108b490612b28565b620186a061148d60025490565b611498906001612bc5565b6114a29190612be4565b82101561150f5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016108b4565b6103e861151b60025490565b611526906005612bc5565b6115309190612be4565b82111561159c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016108b4565b50600955600190565b6005546001600160a01b031633146115cf5760405162461bcd60e51b81526004016108b490612b28565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a0823190602401602060405180830381865afa15801561161d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116419190612c35565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561168c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dee9190612c4e565b6005546000906001600160a01b031633146116dd5760405162461bcd60e51b81526004016108b490612b28565b50600d805460ff19169055600190565b6005546001600160a01b031633146117175760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b03811661177c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b4565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806117e58385612b73565b9050838110156118375760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108b4565b9392505050565b6001600160a01b0383166118a05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b4565b6001600160a01b0382166119015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119895760405162461bcd60e51b81526004016108b490612c6b565b6001600160a01b0382166119af5760405162461bcd60e51b81526004016108b490612cb0565b6001600160a01b03831660009081526006602052604090205460ff1615611a545760405162461bcd60e51b815260206004820152604d60248201527f596f7572206164647265737320686173206265656e206d61726b65642061732060448201527f6120736e697065722c20796f752061726520756e61626c6520746f207472616e60648201526c39b332b91037b91039bbb0b81760991b608482015260a4016108b4565b80600003611a6857610dee83836000612256565b600b5460ff1615611f1e576005546001600160a01b03848116911614801590611a9f57506005546001600160a01b03838116911614155b8015611ab357506001600160a01b03821615155b8015611aca57506001600160a01b03821661dead14155b8015611ad9575060075460ff16155b15611f1e57600b54610100900460ff16611b71576001600160a01b03831660009081526016602052604090205460ff1680611b2c57506001600160a01b03821660009081526016602052604090205460ff165b611b715760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108b4565b600d5460ff1615611cb8576005546001600160a01b03838116911614801590611bcc57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611c0a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611cb857326000908152600c60205260409020544311611ca55760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016108b4565b326000908152600c602052604090204390555b6001600160a01b03831660009081526018602052604090205460ff168015611cf957506001600160a01b03821660009081526017602052604090205460ff16155b15611ddd57600854811115611d6e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108b4565b600a546001600160a01b038316600090815260208190526040902054611d949083612b73565b1115611dd85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b4565b611f1e565b6001600160a01b03821660009081526018602052604090205460ff168015611e1e57506001600160a01b03831660009081526017602052604090205460ff16155b15611e9457600854811115611dd85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108b4565b6001600160a01b03821660009081526017602052604090205460ff16611f1e57600a546001600160a01b038316600090815260208190526040902054611eda9083612b73565b1115611f1e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b4565b3060009081526020819052604090205460095481108015908190611f45575060075460ff16155b8015611f6a57506001600160a01b03851660009081526018602052604090205460ff16155b8015611f8f57506001600160a01b03851660009081526016602052604090205460ff16155b8015611fb457506001600160a01b03841660009081526016602052604090205460ff16155b15611fd9576007805460ff19166001179055611fce61235f565b6007805460ff191690555b6007546001600160a01b03861660009081526016602052604090205460ff9182161591168061202057506001600160a01b03851660009081526016602052604090205460ff165b15612029575060005b600081156121b4576001600160a01b03861660009081526018602052604090205460ff16801561205b57506000601154115b156120e957612080606461207a6011548861251590919063ffffffff16565b90612597565b9050601154601354826120939190612bc5565b61209d9190612be4565b601560008282546120ae9190612b73565b90915550506011546012546120c39083612bc5565b6120cd9190612be4565b601460008282546120de9190612b73565b909155506121969050565b6001600160a01b03871660009081526018602052604090205460ff16801561211357506000600e54115b1561219657612132606461207a600e548861251590919063ffffffff16565b9050600e54601054826121459190612bc5565b61214f9190612be4565b601560008282546121609190612b73565b9091555050600e54600f546121759083612bc5565b61217f9190612be4565b601460008282546121909190612b73565b90915550505b80156121a7576121a7873083612256565b6121b18186612cf3565b94505b6121bf878787612256565b50505050505050565b600081848411156121ec5760405162461bcd60e51b81526004016108b49190612931565b5060006121f98486612cf3565b95945050505050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661227c5760405162461bcd60e51b81526004016108b490612c6b565b6001600160a01b0382166122a25760405162461bcd60e51b81526004016108b490612cb0565b6122df81604051806060016040528060268152602001612dc7602691396001600160a01b03861660009081526020819052604090205491906121c8565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461230e90826117d8565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611956565b30600090815260208190526040812054905060006014546015546123839190612b73565b90506000821580612392575081155b1561239c57505050565b6009546123aa906014612bc5565b8311156123c2576009546123bf906014612bc5565b92505b6000600283601554866123d59190612bc5565b6123df9190612be4565b6123e99190612be4565b905060006123f785836125d9565b9050476124038261261b565b600061240f47836125d9565b9050600061242c8761207a6014548561251590919063ffffffff16565b9050600061243a8284612cf3565b60006015819055601455905085158015906124555750600081115b156124a85761246486826127db565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b811561250a576007546040516101009091046001600160a01b0316908390600081818185875af1925050503d80600081146124ff576040519150601f19603f3d011682016040523d82523d6000602084013e612504565b606091505b50909750505b505050505050505050565b60008260000361252757506000610a07565b60006125338385612bc5565b9050826125408583612be4565b146118375760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108b4565b600061183783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128e1565b600061183783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506121c8565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061265057612650612c06565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f29190612d0a565b8160018151811061270557612705612c06565b60200260200101906001600160a01b031690816001600160a01b031681525050612750307f00000000000000000000000000000000000000000000000000000000000000008461183e565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906127a5908590600090869030904290600401612d27565b600060405180830381600087803b1580156127bf57600080fd5b505af11580156127d3573d6000803e3d6000fd5b505050505050565b612806307f00000000000000000000000000000000000000000000000000000000000000008461183e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71982308560008061284d6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156128b5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906128da9190612d98565b5050505050565b600081836129025760405162461bcd60e51b81526004016108b49190612931565b5060006121f98486612be4565b6000806040838503121561292257600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561295e57858101830151858201604001528201612942565b81811115612970576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c8957600080fd5b600080604083850312156129ae57600080fd5b82356129b981612986565b946020939093013593505050565b6000602082840312156129d957600080fd5b813561183781612986565b6000602082840312156129f657600080fd5b5035919050565b600080600060608486031215612a1257600080fd5b8335612a1d81612986565b92506020840135612a2d81612986565b929592945050506040919091013590565b60008060208385031215612a5157600080fd5b823567ffffffffffffffff80821115612a6957600080fd5b818501915085601f830112612a7d57600080fd5b813581811115612a8c57600080fd5b8660208260051b8501011115612aa157600080fd5b60209290920196919550909350505050565b8015158114610c8957600080fd5b60008060408385031215612ad457600080fd5b8235612adf81612986565b91506020830135612aef81612ab3565b809150509250929050565b60008060408385031215612b0d57600080fd5b8235612b1881612986565b91506020830135612aef81612986565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612b8657612b86612b5d565b500190565b600181811c90821680612b9f57607f821691505b602082108103612bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000816000190483118215151615612bdf57612bdf612b5d565b500290565b600082612c0157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612c2e57612c2e612b5d565b5060010190565b600060208284031215612c4757600080fd5b5051919050565b600060208284031215612c6057600080fd5b815161183781612ab3565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612d0557612d05612b5d565b500390565b600060208284031215612d1c57600080fd5b815161183781612986565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d775784516001600160a01b031683529383019391830191600101612d52565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612dad57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208b3eb394c0a741c325fe5e58e81e39e74fe77696edcfddfa2e22e2e3a57dac7c64736f6c634300080f00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102765760003560e01c80637571336a1161014f578063c18bc195116100c1578063e2f456051161007a578063e2f45605146107e4578063e70a9132146107fa578063e884f2601461081a578063f25f4b561461082f578063f2fde38b14610854578063f8b45b051461087457600080fd5b8063c18bc19514610718578063c876d0b914610738578063c8c8ebe414610752578063d257b34f14610768578063d85ba06314610788578063dd62ed3e1461079e57600080fd5b80639a7a23d6116101135780639a7a23d614610649578063a457c2d714610669578063a9059cbb14610689578063b62496f5146106a9578063bbc0c742146106d9578063c0246668146106f857600080fd5b80637571336a146105c1578063892ba408146105e15780638a8c523c146106015780638da5cb5b1461061657806395d89b411461063457600080fd5b8063476343ee116101e857806366718524116101ac578063667185241461050b57806366ca9b831461052b5780636a486a8e1461054b57806370a0823114610561578063715018a614610597578063751039fc146105ac57600080fd5b8063476343ee1461044f57806349bd5a5e146104645780634a62bb65146104985780634fbee193146104b25780635e80148e146104eb57600080fd5b80631694505e1161023a5780631694505e1461036857806318160ddd146103b4578063203e727e146103d357806323b872dd146103f3578063313ce56714610413578063395093511461042f57600080fd5b806302dbd8f81461028257806306fdde03146102a4578063095ea7b3146102cf5780630f3a325f146102ff57806310d5de531461033857600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b506102a261029d36600461290f565b61088a565b005b3480156102b057600080fd5b506102b9610964565b6040516102c69190612931565b60405180910390f35b3480156102db57600080fd5b506102ef6102ea36600461299b565b6109f6565b60405190151581526020016102c6565b34801561030b57600080fd5b506102ef61031a3660046129c7565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561034457600080fd5b506102ef6103533660046129c7565b60176020526000908152604090205460ff1681565b34801561037457600080fd5b5061039c7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102c6565b3480156103c057600080fd5b506002545b6040519081526020016102c6565b3480156103df57600080fd5b506102a26103ee3660046129e4565b610a0d565b3480156103ff57600080fd5b506102ef61040e3660046129fd565b610b16565b34801561041f57600080fd5b50604051600981526020016102c6565b34801561043b57600080fd5b506102ef61044a36600461299b565b610b7f565b34801561045b57600080fd5b506102a2610bb5565b34801561047057600080fd5b5061039c7f000000000000000000000000bcff372cafb967835191631cfb9e9ef85fd2394581565b3480156104a457600080fd5b50600b546102ef9060ff1681565b3480156104be57600080fd5b506102ef6104cd3660046129c7565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156104f757600080fd5b506102a2610506366004612a3e565b610c8c565b34801561051757600080fd5b506102a26105263660046129c7565b610df3565b34801561053757600080fd5b506102a261054636600461290f565b610e79565b34801561055757600080fd5b506103c560115481565b34801561056d57600080fd5b506103c561057c3660046129c7565b6001600160a01b031660009081526020819052604090205490565b3480156105a357600080fd5b506102a2610f42565b3480156105b857600080fd5b506102ef610fb6565b3480156105cd57600080fd5b506102a26105dc366004612ac1565b610ff3565b3480156105ed57600080fd5b506102a26105fc366004612a3e565b611072565b34801561060d57600080fd5b506102a261110e565b34801561062257600080fd5b506005546001600160a01b031661039c565b34801561064057600080fd5b506102b961118d565b34801561065557600080fd5b506102a2610664366004612ac1565b61119c565b34801561067557600080fd5b506102ef61068436600461299b565b61127b565b34801561069557600080fd5b506102ef6106a436600461299b565b6112ca565b3480156106b557600080fd5b506102ef6106c43660046129c7565b60186020526000908152604090205460ff1681565b3480156106e557600080fd5b50600b546102ef90610100900460ff1681565b34801561070457600080fd5b506102a2610713366004612ac1565b6112d7565b34801561072457600080fd5b506102a26107333660046129e4565b61135d565b34801561074457600080fd5b50600d546102ef9060ff1681565b34801561075e57600080fd5b506103c560085481565b34801561077457600080fd5b506102ef6107833660046129e4565b611453565b34801561079457600080fd5b506103c5600e5481565b3480156107aa57600080fd5b506103c56107b9366004612afa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107f057600080fd5b506103c560095481565b34801561080657600080fd5b506102a2610815366004612afa565b6115a5565b34801561082657600080fd5b506102ef6116b0565b34801561083b57600080fd5b5060075461039c9061010090046001600160a01b031681565b34801561086057600080fd5b506102a261086f3660046129c7565b6116ed565b34801561088057600080fd5b506103c5600a5481565b6005546001600160a01b031633146108bd5760405162461bcd60e51b81526004016108b490612b28565b60405180910390fd5b601282905560138190556108d18183612b73565b6011819055600f10156109265760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c65737300000060448201526064016108b4565b60408051838152602081018390527f5bafec153d96f8ef37761b64348732b41a6b477401d244a5070f9f82d689adce91015b60405180910390a15050565b60606003805461097390612b8b565b80601f016020809104026020016040519081016040528092919081815260200182805461099f90612b8b565b80156109ec5780601f106109c1576101008083540402835291602001916109ec565b820191906000526020600020905b8154815290600101906020018083116109cf57829003601f168201915b5050505050905090565b6000610a0333848461183e565b5060015b92915050565b6005546001600160a01b03163314610a375760405162461bcd60e51b81526004016108b490612b28565b633b9aca006103e8610a4860025490565b610a53906001612bc5565b610a5d9190612be4565b610a679190612be4565b811015610ace5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016108b4565b610adc81633b9aca00612bc5565b6008556040518181527fe5b4bfc380c3a1aee22ea479849c75117cc58c467670fd4c6427016d3998f2e0906020015b60405180910390a150565b6000610b23848484611963565b610b758433610b7085604051806060016040528060288152602001612ded602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906121c8565b61183e565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a03918590610b7090866117d8565b6005546001600160a01b03163314610bdf5760405162461bcd60e51b81526004016108b490612b28565b60075460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114610c31576040519150601f19603f3d011682016040523d82523d6000602084013e610c36565b606091505b50508091505080610c895760405162461bcd60e51b815260206004820152601b60248201527f4572726f72206f6e205472616e736665722c205265766572746564000000000060448201526064016108b4565b50565b6005546001600160a01b03163314610cb65760405162461bcd60e51b81526004016108b490612b28565b60005b81811015610dee577f000000000000000000000000bcff372cafb967835191631cfb9e9ef85fd239456001600160a01b0316838383818110610cfd57610cfd612c06565b9050602002016020810190610d1291906129c7565b6001600160a01b031614158015610d8157507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316838383818110610d6057610d60612c06565b9050602002016020810190610d7591906129c7565b6001600160a01b031614155b15610ddc57600160066000858585818110610d9e57610d9e612c06565b9050602002016020810190610db391906129c7565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b80610de681612c1c565b915050610cb9565b505050565b6005546001600160a01b03163314610e1d5760405162461bcd60e51b81526004016108b490612b28565b60078054610100600160a81b0319166101006001600160a01b03848116828102939093179384905560405191909304909216917f5deb5ef622431f0df5a39b72dd556892f68ba42aa0f3aaf0800e166ce866492890600090a350565b6005546001600160a01b03163314610ea35760405162461bcd60e51b81526004016108b490612b28565b600f8290556010819055610eb78183612b73565b600e819055600a1015610f0c5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016108b4565b60408051838152602081018390527f28e297c7c282931a994191b735b01eaf17558295f761512a7047f4e1b8dc3b0b9101610958565b6005546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108b490612b28565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610fe35760405162461bcd60e51b81526004016108b490612b28565b50600b805460ff19169055600190565b6005546001600160a01b0316331461101d5760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151517905590519182527fc65aa989ecbad45c4af70755a3bde58cd7317cd04a213b0304ad619add45d4fb9101610958565b6005546001600160a01b0316331461109c5760405162461bcd60e51b81526004016108b490612b28565b60005b81811015610dee576000600660008585858181106110bf576110bf612c06565b90506020020160208101906110d491906129c7565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061110681612c1c565b91505061109f565b6005546001600160a01b031633146111385760405162461bcd60e51b81526004016108b490612b28565b600b805461ff001916610100908117918290556040517f2de3f956844815ec700c656bcec4ca8c7c939372f954dd09ec0c7fd0a751f8199261118392900460ff161515815260200190565b60405180910390a1565b60606004805461097390612b8b565b6005546001600160a01b031633146111c65760405162461bcd60e51b81526004016108b490612b28565b7f000000000000000000000000bcff372cafb967835191631cfb9e9ef85fd239456001600160a01b0316826001600160a01b03160361126d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108b4565b6112778282612202565b5050565b6000610a033384610b7085604051806060016040528060258152602001612e15602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906121c8565b6000610a03338484611963565b6005546001600160a01b031633146113015760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b038216600081815260166020908152604091829020805460ff19168515159081179091558251938452908301527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa99101610958565b6005546001600160a01b031633146113875760405162461bcd60e51b81526004016108b490612b28565b633b9aca006103e861139860025490565b6113a3906005612bc5565b6113ad9190612be4565b6113b79190612be4565b8110156114125760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016108b4565b61142081633b9aca00612bc5565b600a556040518181527f22c83a5ec34271153086583a02141e6d8afa47085fffe4f3c546e7011357aa0990602001610b0b565b6005546000906001600160a01b031633146114805760405162461bcd60e51b81526004016108b490612b28565b620186a061148d60025490565b611498906001612bc5565b6114a29190612be4565b82101561150f5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016108b4565b6103e861151b60025490565b611526906005612bc5565b6115309190612be4565b82111561159c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016108b4565b50600955600190565b6005546001600160a01b031633146115cf5760405162461bcd60e51b81526004016108b490612b28565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a0823190602401602060405180830381865afa15801561161d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116419190612c35565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561168c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dee9190612c4e565b6005546000906001600160a01b031633146116dd5760405162461bcd60e51b81526004016108b490612b28565b50600d805460ff19169055600190565b6005546001600160a01b031633146117175760405162461bcd60e51b81526004016108b490612b28565b6001600160a01b03811661177c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b4565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806117e58385612b73565b9050838110156118375760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108b4565b9392505050565b6001600160a01b0383166118a05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b4565b6001600160a01b0382166119015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119895760405162461bcd60e51b81526004016108b490612c6b565b6001600160a01b0382166119af5760405162461bcd60e51b81526004016108b490612cb0565b6001600160a01b03831660009081526006602052604090205460ff1615611a545760405162461bcd60e51b815260206004820152604d60248201527f596f7572206164647265737320686173206265656e206d61726b65642061732060448201527f6120736e697065722c20796f752061726520756e61626c6520746f207472616e60648201526c39b332b91037b91039bbb0b81760991b608482015260a4016108b4565b80600003611a6857610dee83836000612256565b600b5460ff1615611f1e576005546001600160a01b03848116911614801590611a9f57506005546001600160a01b03838116911614155b8015611ab357506001600160a01b03821615155b8015611aca57506001600160a01b03821661dead14155b8015611ad9575060075460ff16155b15611f1e57600b54610100900460ff16611b71576001600160a01b03831660009081526016602052604090205460ff1680611b2c57506001600160a01b03821660009081526016602052604090205460ff165b611b715760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108b4565b600d5460ff1615611cb8576005546001600160a01b03838116911614801590611bcc57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611c0a57507f000000000000000000000000bcff372cafb967835191631cfb9e9ef85fd239456001600160a01b0316826001600160a01b031614155b15611cb857326000908152600c60205260409020544311611ca55760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016108b4565b326000908152600c602052604090204390555b6001600160a01b03831660009081526018602052604090205460ff168015611cf957506001600160a01b03821660009081526017602052604090205460ff16155b15611ddd57600854811115611d6e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108b4565b600a546001600160a01b038316600090815260208190526040902054611d949083612b73565b1115611dd85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b4565b611f1e565b6001600160a01b03821660009081526018602052604090205460ff168015611e1e57506001600160a01b03831660009081526017602052604090205460ff16155b15611e9457600854811115611dd85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108b4565b6001600160a01b03821660009081526017602052604090205460ff16611f1e57600a546001600160a01b038316600090815260208190526040902054611eda9083612b73565b1115611f1e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b4565b3060009081526020819052604090205460095481108015908190611f45575060075460ff16155b8015611f6a57506001600160a01b03851660009081526018602052604090205460ff16155b8015611f8f57506001600160a01b03851660009081526016602052604090205460ff16155b8015611fb457506001600160a01b03841660009081526016602052604090205460ff16155b15611fd9576007805460ff19166001179055611fce61235f565b6007805460ff191690555b6007546001600160a01b03861660009081526016602052604090205460ff9182161591168061202057506001600160a01b03851660009081526016602052604090205460ff165b15612029575060005b600081156121b4576001600160a01b03861660009081526018602052604090205460ff16801561205b57506000601154115b156120e957612080606461207a6011548861251590919063ffffffff16565b90612597565b9050601154601354826120939190612bc5565b61209d9190612be4565b601560008282546120ae9190612b73565b90915550506011546012546120c39083612bc5565b6120cd9190612be4565b601460008282546120de9190612b73565b909155506121969050565b6001600160a01b03871660009081526018602052604090205460ff16801561211357506000600e54115b1561219657612132606461207a600e548861251590919063ffffffff16565b9050600e54601054826121459190612bc5565b61214f9190612be4565b601560008282546121609190612b73565b9091555050600e54600f546121759083612bc5565b61217f9190612be4565b601460008282546121909190612b73565b90915550505b80156121a7576121a7873083612256565b6121b18186612cf3565b94505b6121bf878787612256565b50505050505050565b600081848411156121ec5760405162461bcd60e51b81526004016108b49190612931565b5060006121f98486612cf3565b95945050505050565b6001600160a01b038216600081815260186020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661227c5760405162461bcd60e51b81526004016108b490612c6b565b6001600160a01b0382166122a25760405162461bcd60e51b81526004016108b490612cb0565b6122df81604051806060016040528060268152602001612dc7602691396001600160a01b03861660009081526020819052604090205491906121c8565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461230e90826117d8565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611956565b30600090815260208190526040812054905060006014546015546123839190612b73565b90506000821580612392575081155b1561239c57505050565b6009546123aa906014612bc5565b8311156123c2576009546123bf906014612bc5565b92505b6000600283601554866123d59190612bc5565b6123df9190612be4565b6123e99190612be4565b905060006123f785836125d9565b9050476124038261261b565b600061240f47836125d9565b9050600061242c8761207a6014548561251590919063ffffffff16565b9050600061243a8284612cf3565b60006015819055601455905085158015906124555750600081115b156124a85761246486826127db565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b811561250a576007546040516101009091046001600160a01b0316908390600081818185875af1925050503d80600081146124ff576040519150601f19603f3d011682016040523d82523d6000602084013e612504565b606091505b50909750505b505050505050505050565b60008260000361252757506000610a07565b60006125338385612bc5565b9050826125408583612be4565b146118375760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108b4565b600061183783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128e1565b600061183783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506121c8565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061265057612650612c06565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f29190612d0a565b8160018151811061270557612705612c06565b60200260200101906001600160a01b031690816001600160a01b031681525050612750307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461183e565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906127a5908590600090869030904290600401612d27565b600060405180830381600087803b1580156127bf57600080fd5b505af11580156127d3573d6000803e3d6000fd5b505050505050565b612806307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461183e565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71982308560008061284d6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156128b5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906128da9190612d98565b5050505050565b600081836129025760405162461bcd60e51b81526004016108b49190612931565b5060006121f98486612be4565b6000806040838503121561292257600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561295e57858101830151858201604001528201612942565b81811115612970576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610c8957600080fd5b600080604083850312156129ae57600080fd5b82356129b981612986565b946020939093013593505050565b6000602082840312156129d957600080fd5b813561183781612986565b6000602082840312156129f657600080fd5b5035919050565b600080600060608486031215612a1257600080fd5b8335612a1d81612986565b92506020840135612a2d81612986565b929592945050506040919091013590565b60008060208385031215612a5157600080fd5b823567ffffffffffffffff80821115612a6957600080fd5b818501915085601f830112612a7d57600080fd5b813581811115612a8c57600080fd5b8660208260051b8501011115612aa157600080fd5b60209290920196919550909350505050565b8015158114610c8957600080fd5b60008060408385031215612ad457600080fd5b8235612adf81612986565b91506020830135612aef81612ab3565b809150509250929050565b60008060408385031215612b0d57600080fd5b8235612b1881612986565b91506020830135612aef81612986565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612b8657612b86612b5d565b500190565b600181811c90821680612b9f57607f821691505b602082108103612bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000816000190483118215151615612bdf57612bdf612b5d565b500290565b600082612c0157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612c2e57612c2e612b5d565b5060010190565b600060208284031215612c4757600080fd5b5051919050565b600060208284031215612c6057600080fd5b815161183781612ab3565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015612d0557612d05612b5d565b500390565b600060208284031215612d1c57600080fd5b815161183781612986565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d775784516001600160a01b031683529383019391830191600101612d52565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612dad57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208b3eb394c0a741c325fe5e58e81e39e74fe77696edcfddfa2e22e2e3a57dac7c64736f6c634300080f0033
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.