ERC-20
Overview
Max Total Supply
1,337,000,000 MUSK
Holders
275
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
773.313708783 MUSKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ElonMuskrat
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-19 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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); } library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } 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; } } library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Ownable is Context { address private _owner; address private _previousOwner; uint256 public _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } function owner() public view virtual 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; } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } //Locks the contract for owner for the amount of time provided function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = time; emit OwnershipTransferred(_owner, address(0)); } //Unlocks the contract for owner when _lockTime is exceeds function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock."); require(block.timestamp > _lockTime , "Contract is locked."); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } 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; } 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; } 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; } contract ElonMuskrat is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcluded; address[] private _excluded; address public _devWalletAddress; // TODO - team wallet here uint256 private constant MAX = ~uint256(0); uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; uint256 private _decimals; uint256 public _taxFee; uint256 private _previousTaxFee; uint256 public _devFee; uint256 private _previousDevFee; uint256 public _liquidityFee; uint256 private _previousLiquidityFee; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxTxAmount; uint256 public numTokensSellToAddToLiquidity; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); address private devWallet = 0xe5B6f2B71D19Ead69CEADC9c1b8Bb30C1069c512; uint256 private devTax = 100; modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor (string memory _NAME, string memory _SYMBOL, uint256 _DECIMALS, uint256 _supply, uint256 _txFee,uint256 _lpFee,uint256 _DexFee,address routerAddress,address feeaddress,address tokenOwner) public payable { _name = _NAME; _symbol = _SYMBOL; _decimals = _DECIMALS; _tTotal = _supply * 10 ** _decimals; _rTotal = (MAX - (MAX % _tTotal)); _taxFee = _txFee; _liquidityFee = _lpFee; _previousTaxFee = _txFee; _devFee = _DexFee; _previousDevFee = _devFee; _previousLiquidityFee = _lpFee; _maxTxAmount = (_tTotal * 5 / 1000) * 10 ** _decimals; numTokensSellToAddToLiquidity = (_tTotal * 5 / 10000) * 10 ** _decimals; _devWalletAddress = feeaddress; _rOwned[tokenOwner] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerAddress); // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; //exclude owner and this contract from fee _isExcludedFromFee[tokenOwner] = true; _isExcludedFromFee[address(this)] = true; require( msg.value >= devTax); payable(devWallet).transfer(msg.value); _transferOwnership(tokenOwner); emit Transfer(address(0), tokenOwner, _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint256) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public 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 isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,,,) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already included"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeDev(tDev); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; } function setDevFeePercent(uint256 devFee) external onlyOwner() { _devFee = devFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function setMaxTxPercent(uint256 maxTxPercent) public onlyOwner { _maxTxAmount = maxTxPercent * 10 ** _decimals; } function setDevWalletAddress(address _addr) public onlyOwner { _devWalletAddress = _addr; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tDev, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity, tDev); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tDev = calculateDevFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tDev); return (tTransferAmount, tFee, tLiquidity, tDev); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rDev = tDev.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rDev); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function _takeDev(uint256 tDev) private { uint256 currentRate = _getRate(); uint256 rDev = tDev.mul(currentRate); _rOwned[_devWalletAddress] = _rOwned[_devWalletAddress].add(rDev); if(_isExcluded[_devWalletAddress]) _tOwned[_devWalletAddress] = _tOwned[_devWalletAddress].add(tDev); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateDevFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_devFee).div( 10**2 ); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div( 10**2 ); } function removeAllFee() private { _previousTaxFee = _taxFee; _previousDevFee = _devFee; _previousLiquidityFee = _liquidityFee; _taxFee = 0; _devFee = 0; _liquidityFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _devFee = _previousDevFee; _liquidityFee = _previousLiquidityFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { 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 _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(from != owner() && to != owner()) require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; swapAndLiquify(contractTokenBalance); } bool takeFee = true; if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } _tokenTransfer(from,to,amount,takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); uint256 initialBalance = address(this).balance; swapTokensForEth(half); uint256 newBalance = address(this).balance.sub(initialBalance); addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeDev(tDev); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeDev(tDev); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tDev) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeDev(tDev); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function setRouterAddress(address newRouter) external onlyOwner { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouter); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; } function setNumTokensSellToAddToLiquidity(uint256 amountToUpdate) external onlyOwner { numTokensSellToAddToLiquidity = amountToUpdate; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_NAME","type":"string"},{"internalType":"string","name":"_SYMBOL","type":"string"},{"internalType":"uint256","name":"_DECIMALS","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_txFee","type":"uint256"},{"internalType":"uint256","name":"_lpFee","type":"uint256"},{"internalType":"uint256","name":"_DexFee","type":"uint256"},{"internalType":"address","name":"routerAddress","type":"address"},{"internalType":"address","name":"feeaddress","type":"address"},{"internalType":"address","name":"tokenOwner","type":"address"}],"stateMutability":"payable","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":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"devFee","type":"uint256"}],"name":"setDevFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setDevWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToUpdate","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060408190526017805460ff60a81b1916600160a81b179055601a80546001600160a01b03191673e5b6f2b71d19ead69ceadc9c1b8bb30c1069c5121790556064601b556200344938819003908190833981016040819052620000639162000548565b600080546001600160a01b03191633908117825560405190919060008051602062003429833981519152908290a3600d6200009f8b82620006ab565b50600e620000ae8a82620006ab565b50600f889055620000c188600a6200088c565b620000cd9088620008a1565b600a819055620000e090600019620008d1565b620000ee90600019620008e8565b600b55601086905560148590556011869055601284905560138490556015859055600f546200011f90600a6200088c565b6103e8600a546005620001339190620008a1565b6200013f9190620008fe565b6200014b9190620008a1565b601855600f546200015e90600a6200088c565b612710600a546005620001729190620008a1565b6200017e9190620008fe565b6200018a9190620008a1565b601955600980546001600160a01b0319166001600160a01b0384811691909117909155600b5482821660009081526003602090815260409182902092909255805163c45a015560e01b81529051869384169263c45a015592600480820193918290030181865afa15801562000203573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000229919062000915565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d919062000915565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000311919062000915565b601780546001600160a01b03199081166001600160a01b0393841617909155601680549091168383161790558216600090815260066020526040808220805460ff1990811660019081179092553084529190922080549091169091179055601b543410156200037f57600080fd5b601a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015620003b9573d6000803e3d6000fd5b50620003c58262000427565b816001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600a546040516200040e91815260200190565b60405180910390a3505050505050505050505062000933565b600080546001600160a01b038381166001600160a01b031983168117845560405191909216928391600080516020620034298339815191529190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200048e57600080fd5b81516001600160401b0380821115620004ab57620004ab62000466565b604051601f8301601f19908116603f01168101908282118183101715620004d657620004d662000466565b81604052838152602092508683858801011115620004f357600080fd5b600091505b83821015620005175785820183015181830184015290820190620004f8565b600093810190920192909252949350505050565b80516001600160a01b03811681146200054357600080fd5b919050565b6000806000806000806000806000806101408b8d0312156200056957600080fd5b8a516001600160401b03808211156200058157600080fd5b6200058f8e838f016200047c565b9b5060208d0151915080821115620005a657600080fd5b50620005b58d828e016200047c565b99505060408b0151975060608b0151965060808b0151955060a08b0151945060c08b01519350620005e960e08c016200052b565b9250620005fa6101008c016200052b565b91506200060b6101208c016200052b565b90509295989b9194979a5092959850565b600181811c908216806200063157607f821691505b6020821081036200065257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006a657600081815260208120601f850160051c81016020861015620006815750805b601f850160051c820191505b81811015620006a2578281556001016200068d565b5050505b505050565b81516001600160401b03811115620006c757620006c762000466565b620006df81620006d884546200061c565b8462000658565b602080601f831160018114620007175760008415620006fe5750858301515b600019600386901b1c1916600185901b178555620006a2565b600085815260208120601f198616915b82811015620007485788860151825594840194600190910190840162000727565b5085821015620007675787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620007ce578160001904821115620007b257620007b262000777565b80851615620007c057918102915b93841c939080029062000792565b509250929050565b600082620007e75750600162000886565b81620007f65750600062000886565b81600181146200080f57600281146200081a576200083a565b600191505062000886565b60ff8411156200082e576200082e62000777565b50506001821b62000886565b5060208310610133831016604e8410600b84101617156200085f575081810a62000886565b6200086b83836200078d565b806000190482111562000882576200088262000777565b0290505b92915050565b60006200089a8383620007d6565b9392505050565b808202811582820484141762000886576200088662000777565b634e487b7160e01b600052601260045260246000fd5b600082620008e357620008e3620008bb565b500690565b8181038181111562000886576200088662000777565b600082620009105762000910620008bb565b500490565b6000602082840312156200092857600080fd5b6200089a826200052b565b612ae680620009436000396000f3fe60806040526004361061026b5760003560e01c80636bc87c3a11610144578063a9059cbb116100b6578063d543dbeb1161007a578063d543dbeb14610729578063dd46706414610749578063dd62ed3e14610769578063ea2f0b37146107af578063f0f165af146107cf578063f2fde38b146107ef57600080fd5b8063a9059cbb1461069d578063aa45026b146106bd578063b425bac3146106d3578063c49b9a80146106f3578063d12a76881461071357600080fd5b806388f820201161010857806388f82020146105dc5780638da5cb5b146106155780638ee88c531461063357806395d89b4114610653578063a457c2d714610668578063a69df4b51461068857600080fd5b80636bc87c3a1461056557806370a082311461057b578063715018a61461059b57806379af25a6146105b05780637d1db4a5146105c657600080fd5b8063379e2919116101dd578063437823ec116101a1578063437823ec1461048b5780634549b039146104ab57806349bd5a5e146104cb5780634a74bb02146104eb57806352390c021461050c5780635342acb41461052c57600080fd5b8063379e2919146103f557806339509351146104155780633b124fe7146104355780633bd5d1731461044b57806341cb87fc1461046b57600080fd5b80631694505e1161022f5780631694505e1461033357806318160ddd1461036b57806323b872dd146103805780632d838119146103a0578063313ce567146103c05780633685d419146103d557600080fd5b8063061c82d01461027757806306fdde0314610299578063095ea7b3146102c4578063120a0612146102f457806313114a9d1461031457600080fd5b3661027257005b600080fd5b34801561028357600080fd5b506102976102923660046125d0565b61080f565b005b3480156102a557600080fd5b506102ae610847565b6040516102bb91906125e9565b60405180910390f35b3480156102d057600080fd5b506102e46102df36600461264f565b6108d9565b60405190151581526020016102bb565b34801561030057600080fd5b5061029761030f36600461267b565b6108f0565b34801561032057600080fd5b50600c545b6040519081526020016102bb565b34801561033f57600080fd5b50601654610353906001600160a01b031681565b6040516001600160a01b0390911681526020016102bb565b34801561037757600080fd5b50600a54610325565b34801561038c57600080fd5b506102e461039b366004612698565b61093c565b3480156103ac57600080fd5b506103256103bb3660046125d0565b6109a5565b3480156103cc57600080fd5b50600f54610325565b3480156103e157600080fd5b506102976103f036600461267b565b610a29565b34801561040157600080fd5b506102976104103660046125d0565b610bdf565b34801561042157600080fd5b506102e461043036600461264f565b610c0e565b34801561044157600080fd5b5061032560105481565b34801561045757600080fd5b506102976104663660046125d0565b610c44565b34801561047757600080fd5b5061029761048636600461267b565b610d30565b34801561049757600080fd5b506102976104a636600461267b565b610ed5565b3480156104b757600080fd5b506103256104c63660046126ee565b610f23565b3480156104d757600080fd5b50601754610353906001600160a01b031681565b3480156104f757600080fd5b506017546102e490600160a81b900460ff1681565b34801561051857600080fd5b5061029761052736600461267b565b610fb2565b34801561053857600080fd5b506102e461054736600461267b565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561057157600080fd5b5061032560145481565b34801561058757600080fd5b5061032561059636600461267b565b611105565b3480156105a757600080fd5b50610297611164565b3480156105bc57600080fd5b5061032560025481565b3480156105d257600080fd5b5061032560185481565b3480156105e857600080fd5b506102e46105f736600461267b565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561062157600080fd5b506000546001600160a01b0316610353565b34801561063f57600080fd5b5061029761064e3660046125d0565b6111c6565b34801561065f57600080fd5b506102ae6111f5565b34801561067457600080fd5b506102e461068336600461264f565b611204565b34801561069457600080fd5b50610297611253565b3480156106a957600080fd5b506102e46106b836600461264f565b61134f565b3480156106c957600080fd5b5061032560125481565b3480156106df57600080fd5b50600954610353906001600160a01b031681565b3480156106ff57600080fd5b5061029761070e36600461271a565b61135c565b34801561071f57600080fd5b5061032560195481565b34801561073557600080fd5b506102976107443660046125d0565b6113de565b34801561075557600080fd5b506102976107643660046125d0565b611426565b34801561077557600080fd5b50610325610784366004612735565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156107bb57600080fd5b506102976107ca36600461267b565b611495565b3480156107db57600080fd5b506102976107ea3660046125d0565b6114e0565b3480156107fb57600080fd5b5061029761080a36600461267b565b61150f565b6000546001600160a01b031633146108425760405162461bcd60e51b81526004016108399061276e565b60405180910390fd5b601055565b6060600d8054610856906127a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906127a3565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e63384846115e7565b5060015b92915050565b6000546001600160a01b0316331461091a5760405162461bcd60e51b81526004016108399061276e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600061094984848461170b565b61099b843361099685604051806060016040528060288152602001612a44602891396001600160a01b038a16600090815260056020908152604080832033845290915290205491906119a1565b6115e7565b5060019392505050565b6000600b54821115610a0c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610839565b6000610a166119cd565b9050610a2283826119f0565b9392505050565b6000546001600160a01b03163314610a535760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811660009081526007602052604090205460ff16610abb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610839565b60005b600854811015610bdb57816001600160a01b031660088281548110610ae557610ae56127dd565b6000918252602090912001546001600160a01b031603610bc95760088054610b0f90600190612809565b81548110610b1f57610b1f6127dd565b600091825260209091200154600880546001600160a01b039092169183908110610b4b57610b4b6127dd565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610ba357610ba361281c565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610bd381612832565b915050610abe565b5050565b6000546001600160a01b03163314610c095760405162461bcd60e51b81526004016108399061276e565b601255565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e691859061099690866119fc565b3360008181526007602052604090205460ff1615610cb95760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610839565b6000610cc483611a08565b5050506001600160a01b038616600090815260036020526040902054939450610cf293925084915050611a63565b6001600160a01b038316600090815260036020526040902055600b54610d189082611a63565b600b55600c54610d2890846119fc565b600c55505050565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016108399061276e565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc1919061284b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e32919061284b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea3919061284b565b601780546001600160a01b039283166001600160a01b0319918216179091556016805493909216921691909117905550565b6000546001600160a01b03163314610eff5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600a54831115610f775760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610839565b81610f97576000610f8784611a08565b509496506108ea95505050505050565b6000610fa284611a08565b509396506108ea95505050505050565b6000546001600160a01b03163314610fdc5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811660009081526007602052604090205460ff16156110455760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610839565b6001600160a01b0381166000908152600360205260409020541561109f576001600160a01b038116600090815260036020526040902054611085906109a5565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561114257506001600160a01b031660009081526004602052604090205490565b6001600160a01b0382166000908152600360205260409020546108ea906109a5565b6000546001600160a01b0316331461118e5760405162461bcd60e51b81526004016108399061276e565b600080546040516001600160a01b0390911690600080516020612a6c833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111f05760405162461bcd60e51b81526004016108399061276e565b601455565b6060600e8054610856906127a3565b60006108e6338461099685604051806060016040528060258152602001612a8c602591393360009081526005602090815260408083206001600160a01b038d16845290915290205491906119a1565b6001546001600160a01b031633146112b95760405162461bcd60e51b8152602060048201526024808201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c60448201526337b1b59760e11b6064820152608401610839565b60025442116113005760405162461bcd60e51b815260206004820152601360248201527221b7b73a3930b1ba1034b9903637b1b5b2b21760691b6044820152606401610839565b600154600080546040516001600160a01b039384169390911691600080516020612a6c83398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006108e633848461170b565b6000546001600160a01b031633146113865760405162461bcd60e51b81526004016108399061276e565b60178054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906113d390831515815260200190565b60405180910390a150565b6000546001600160a01b031633146114085760405162461bcd60e51b81526004016108399061276e565b600f5461141690600a61294c565b6114209082612958565b60185550565b6000546001600160a01b031633146114505760405162461bcd60e51b81526004016108399061276e565b60008054600180546001600160a01b03199081166001600160a01b0384161790915516815560028290556040518190600080516020612a6c833981519152908290a350565b6000546001600160a01b031633146114bf5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461150a5760405162461bcd60e51b81526004016108399061276e565b601955565b6000546001600160a01b031633146115395760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811661159e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610839565b600080546040516001600160a01b0380851693921691600080516020612a6c83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116495760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610839565b6001600160a01b0382166116aa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610839565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661176f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610839565b6001600160a01b0382166117d15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610839565b600081116118335760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610839565b6000546001600160a01b0384811691161480159061185f57506000546001600160a01b03838116911614155b156118c7576018548111156118c75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610839565b60006118d230611105565b905060185481106118e257506018545b601954811080159081906119005750601754600160a01b900460ff16155b801561191a57506017546001600160a01b03868116911614155b801561192f5750601754600160a81b900460ff165b1561194257601954915061194282611a6f565b6001600160a01b03851660009081526006602052604090205460019060ff168061198457506001600160a01b03851660009081526006602052604090205460ff165b1561198d575060005b61199986868684611b16565b505050505050565b600081848411156119c55760405162461bcd60e51b815260040161083991906125e9565b505050900390565b60008060006119da611cb6565b90925090506119e982826119f0565b9250505090565b6000610a22828461296f565b6000610a228284612991565b6000806000806000806000806000806000611a228c611e38565b93509350935093506000806000611a438f878787611a3e6119cd565b611e8d565b919f509d509b509599509397509195509350505050919395979092949650565b6000610a228284612809565b6017805460ff60a01b1916600160a01b1790556000611a8f8260026119f0565b90506000611a9d8383611a63565b905047611aa983611eef565b6000611ab54783611a63565b9050611ac18382612041565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff60a01b19169055505050565b80611b4057611b406010805460115560128054601355601480546015556000928390559082905555565b6001600160a01b03841660009081526007602052604090205460ff168015611b8157506001600160a01b03831660009081526007602052604090205460ff16155b15611b9657611b91848484612116565b611c94565b6001600160a01b03841660009081526007602052604090205460ff16158015611bd757506001600160a01b03831660009081526007602052604090205460ff165b15611be757611b9184848461225c565b6001600160a01b03841660009081526007602052604090205460ff16158015611c2957506001600160a01b03831660009081526007602052604090205460ff16155b15611c3957611b9184848461231b565b6001600160a01b03841660009081526007602052604090205460ff168015611c7957506001600160a01b03831660009081526007602052604090205460ff165b15611c8957611b91848484612375565b611c9484848461231b565b80611cb057611cb0601154601055601354601255601554601455565b50505050565b600b54600a546000918291825b600854811015611e0857826003600060088481548110611ce557611ce56127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611d505750816004600060088481548110611d2957611d296127dd565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611d6657600b54600a54945094505050509091565b611dac6003600060088481548110611d8057611d806127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a63565b9250611df46004600060088481548110611dc857611dc86127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a63565b915080611e0081612832565b915050611cc3565b50600a54600b54611e18916119f0565b821015611e2f57600b54600a549350935050509091565b90939092509050565b6000806000806000611e49866123fe565b90506000611e5687612420565b90506000611e638861243c565b90506000611e7d82611e7785818d89611a63565b90611a63565b9993985091965094509092505050565b6000808080611e9c8986612458565b90506000611eaa8987612458565b90506000611eb88988612458565b90506000611ec68989612458565b90506000611eda82611e7785818989611a63565b949d949c50929a509298505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2457611f246127dd565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa1919061284b565b81600181518110611fb457611fb46127dd565b6001600160a01b039283166020918202929092010152601654611fda91309116846115e7565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906120139085906000908690309042906004016129a4565b600060405180830381600087803b15801561202d57600080fd5b505af1158015611999573d6000803e3d6000fd5b6016546120599030906001600160a01b0316846115e7565b6016546001600160a01b031663f305d7198230856000806120826000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156120ea573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061210f9190612a15565b5050505050565b600080600080600080600061212a88611a08565b965096509650965096509650965061217088600460008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b038b1660009081526004602090815260408083209390935560039052205461219f9088611a63565b6001600160a01b03808c1660009081526003602052604080822093909355908b16815220546121ce90876119fc565b6001600160a01b038a166000908152600360205260409020556121f082612464565b6121f9816124ed565b61220385846125ac565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161224891815260200190565b60405180910390a350505050505050505050565b600080600080600080600061227088611a08565b96509650965096509650965096506122b687600360008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b03808c16600090815260036020908152604080832094909455918c168152600490915220546122ec90856119fc565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546121ce90876119fc565b600080600080600080600061232f88611a08565b965096509650965096509650965061219f87600360008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b600080600080600080600061238988611a08565b96509650965096509650965096506123cf88600460008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546122b69088611a63565b60006108ea606461241a6010548561245890919063ffffffff16565b906119f0565b60006108ea606461241a6014548561245890919063ffffffff16565b60006108ea606461241a6012548561245890919063ffffffff16565b6000610a228284612958565b600061246e6119cd565b9050600061247c8383612458565b3060009081526003602052604090205490915061249990826119fc565b3060009081526003602090815260408083209390935560079052205460ff16156124e857306000908152600460205260409020546124d790846119fc565b306000908152600460205260409020555b505050565b60006124f76119cd565b905060006125058383612458565b6009546001600160a01b031660009081526003602052604090205490915061252d90826119fc565b600980546001600160a01b03908116600090815260036020908152604080832095909555925490911681526007909152205460ff16156124e8576009546001600160a01b031660009081526004602052604090205461258c90846119fc565b6009546001600160a01b0316600090815260046020526040902055505050565b600b546125b99083611a63565b600b55600c546125c990826119fc565b600c555050565b6000602082840312156125e257600080fd5b5035919050565b600060208083528351808285015260005b81811015612616578581018301518582016040015282016125fa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461264c57600080fd5b50565b6000806040838503121561266257600080fd5b823561266d81612637565b946020939093013593505050565b60006020828403121561268d57600080fd5b8135610a2281612637565b6000806000606084860312156126ad57600080fd5b83356126b881612637565b925060208401356126c881612637565b929592945050506040919091013590565b803580151581146126e957600080fd5b919050565b6000806040838503121561270157600080fd5b82359150612711602084016126d9565b90509250929050565b60006020828403121561272c57600080fd5b610a22826126d9565b6000806040838503121561274857600080fd5b823561275381612637565b9150602083013561276381612637565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806127b757607f821691505b6020821081036127d757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156108ea576108ea6127f3565b634e487b7160e01b600052603160045260246000fd5b600060018201612844576128446127f3565b5060010190565b60006020828403121561285d57600080fd5b8151610a2281612637565b600181815b808511156128a3578160001904821115612889576128896127f3565b8085161561289657918102915b93841c939080029061286d565b509250929050565b6000826128ba575060016108ea565b816128c7575060006108ea565b81600181146128dd57600281146128e757612903565b60019150506108ea565b60ff8411156128f8576128f86127f3565b50506001821b6108ea565b5060208310610133831016604e8410600b8410161715612926575081810a6108ea565b6129308383612868565b8060001904821115612944576129446127f3565b029392505050565b6000610a2283836128ab565b80820281158282048414176108ea576108ea6127f3565b60008261298c57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108ea576108ea6127f3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129f45784516001600160a01b0316835293830193918301916001016129cf565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612a2a57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122022c94c9bef6baf5e5a6da5bad205192121d8c3c5413a0229d8c7d19553a97df064736f6c634300081300338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000004fb10040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eff92a263d31888d860bd50809a8d171709b7b1c00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f000000000000000000000000000000000000000000000000000000000000000b456c6f6e4d75736b72617400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d55534b00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061026b5760003560e01c80636bc87c3a11610144578063a9059cbb116100b6578063d543dbeb1161007a578063d543dbeb14610729578063dd46706414610749578063dd62ed3e14610769578063ea2f0b37146107af578063f0f165af146107cf578063f2fde38b146107ef57600080fd5b8063a9059cbb1461069d578063aa45026b146106bd578063b425bac3146106d3578063c49b9a80146106f3578063d12a76881461071357600080fd5b806388f820201161010857806388f82020146105dc5780638da5cb5b146106155780638ee88c531461063357806395d89b4114610653578063a457c2d714610668578063a69df4b51461068857600080fd5b80636bc87c3a1461056557806370a082311461057b578063715018a61461059b57806379af25a6146105b05780637d1db4a5146105c657600080fd5b8063379e2919116101dd578063437823ec116101a1578063437823ec1461048b5780634549b039146104ab57806349bd5a5e146104cb5780634a74bb02146104eb57806352390c021461050c5780635342acb41461052c57600080fd5b8063379e2919146103f557806339509351146104155780633b124fe7146104355780633bd5d1731461044b57806341cb87fc1461046b57600080fd5b80631694505e1161022f5780631694505e1461033357806318160ddd1461036b57806323b872dd146103805780632d838119146103a0578063313ce567146103c05780633685d419146103d557600080fd5b8063061c82d01461027757806306fdde0314610299578063095ea7b3146102c4578063120a0612146102f457806313114a9d1461031457600080fd5b3661027257005b600080fd5b34801561028357600080fd5b506102976102923660046125d0565b61080f565b005b3480156102a557600080fd5b506102ae610847565b6040516102bb91906125e9565b60405180910390f35b3480156102d057600080fd5b506102e46102df36600461264f565b6108d9565b60405190151581526020016102bb565b34801561030057600080fd5b5061029761030f36600461267b565b6108f0565b34801561032057600080fd5b50600c545b6040519081526020016102bb565b34801561033f57600080fd5b50601654610353906001600160a01b031681565b6040516001600160a01b0390911681526020016102bb565b34801561037757600080fd5b50600a54610325565b34801561038c57600080fd5b506102e461039b366004612698565b61093c565b3480156103ac57600080fd5b506103256103bb3660046125d0565b6109a5565b3480156103cc57600080fd5b50600f54610325565b3480156103e157600080fd5b506102976103f036600461267b565b610a29565b34801561040157600080fd5b506102976104103660046125d0565b610bdf565b34801561042157600080fd5b506102e461043036600461264f565b610c0e565b34801561044157600080fd5b5061032560105481565b34801561045757600080fd5b506102976104663660046125d0565b610c44565b34801561047757600080fd5b5061029761048636600461267b565b610d30565b34801561049757600080fd5b506102976104a636600461267b565b610ed5565b3480156104b757600080fd5b506103256104c63660046126ee565b610f23565b3480156104d757600080fd5b50601754610353906001600160a01b031681565b3480156104f757600080fd5b506017546102e490600160a81b900460ff1681565b34801561051857600080fd5b5061029761052736600461267b565b610fb2565b34801561053857600080fd5b506102e461054736600461267b565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561057157600080fd5b5061032560145481565b34801561058757600080fd5b5061032561059636600461267b565b611105565b3480156105a757600080fd5b50610297611164565b3480156105bc57600080fd5b5061032560025481565b3480156105d257600080fd5b5061032560185481565b3480156105e857600080fd5b506102e46105f736600461267b565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561062157600080fd5b506000546001600160a01b0316610353565b34801561063f57600080fd5b5061029761064e3660046125d0565b6111c6565b34801561065f57600080fd5b506102ae6111f5565b34801561067457600080fd5b506102e461068336600461264f565b611204565b34801561069457600080fd5b50610297611253565b3480156106a957600080fd5b506102e46106b836600461264f565b61134f565b3480156106c957600080fd5b5061032560125481565b3480156106df57600080fd5b50600954610353906001600160a01b031681565b3480156106ff57600080fd5b5061029761070e36600461271a565b61135c565b34801561071f57600080fd5b5061032560195481565b34801561073557600080fd5b506102976107443660046125d0565b6113de565b34801561075557600080fd5b506102976107643660046125d0565b611426565b34801561077557600080fd5b50610325610784366004612735565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156107bb57600080fd5b506102976107ca36600461267b565b611495565b3480156107db57600080fd5b506102976107ea3660046125d0565b6114e0565b3480156107fb57600080fd5b5061029761080a36600461267b565b61150f565b6000546001600160a01b031633146108425760405162461bcd60e51b81526004016108399061276e565b60405180910390fd5b601055565b6060600d8054610856906127a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906127a3565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e63384846115e7565b5060015b92915050565b6000546001600160a01b0316331461091a5760405162461bcd60e51b81526004016108399061276e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600061094984848461170b565b61099b843361099685604051806060016040528060288152602001612a44602891396001600160a01b038a16600090815260056020908152604080832033845290915290205491906119a1565b6115e7565b5060019392505050565b6000600b54821115610a0c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610839565b6000610a166119cd565b9050610a2283826119f0565b9392505050565b6000546001600160a01b03163314610a535760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811660009081526007602052604090205460ff16610abb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610839565b60005b600854811015610bdb57816001600160a01b031660088281548110610ae557610ae56127dd565b6000918252602090912001546001600160a01b031603610bc95760088054610b0f90600190612809565b81548110610b1f57610b1f6127dd565b600091825260209091200154600880546001600160a01b039092169183908110610b4b57610b4b6127dd565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610ba357610ba361281c565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610bd381612832565b915050610abe565b5050565b6000546001600160a01b03163314610c095760405162461bcd60e51b81526004016108399061276e565b601255565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916108e691859061099690866119fc565b3360008181526007602052604090205460ff1615610cb95760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610839565b6000610cc483611a08565b5050506001600160a01b038616600090815260036020526040902054939450610cf293925084915050611a63565b6001600160a01b038316600090815260036020526040902055600b54610d189082611a63565b600b55600c54610d2890846119fc565b600c55505050565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016108399061276e565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc1919061284b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e32919061284b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea3919061284b565b601780546001600160a01b039283166001600160a01b0319918216179091556016805493909216921691909117905550565b6000546001600160a01b03163314610eff5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600a54831115610f775760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610839565b81610f97576000610f8784611a08565b509496506108ea95505050505050565b6000610fa284611a08565b509396506108ea95505050505050565b6000546001600160a01b03163314610fdc5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811660009081526007602052604090205460ff16156110455760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610839565b6001600160a01b0381166000908152600360205260409020541561109f576001600160a01b038116600090815260036020526040902054611085906109a5565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561114257506001600160a01b031660009081526004602052604090205490565b6001600160a01b0382166000908152600360205260409020546108ea906109a5565b6000546001600160a01b0316331461118e5760405162461bcd60e51b81526004016108399061276e565b600080546040516001600160a01b0390911690600080516020612a6c833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111f05760405162461bcd60e51b81526004016108399061276e565b601455565b6060600e8054610856906127a3565b60006108e6338461099685604051806060016040528060258152602001612a8c602591393360009081526005602090815260408083206001600160a01b038d16845290915290205491906119a1565b6001546001600160a01b031633146112b95760405162461bcd60e51b8152602060048201526024808201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c60448201526337b1b59760e11b6064820152608401610839565b60025442116113005760405162461bcd60e51b815260206004820152601360248201527221b7b73a3930b1ba1034b9903637b1b5b2b21760691b6044820152606401610839565b600154600080546040516001600160a01b039384169390911691600080516020612a6c83398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006108e633848461170b565b6000546001600160a01b031633146113865760405162461bcd60e51b81526004016108399061276e565b60178054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906113d390831515815260200190565b60405180910390a150565b6000546001600160a01b031633146114085760405162461bcd60e51b81526004016108399061276e565b600f5461141690600a61294c565b6114209082612958565b60185550565b6000546001600160a01b031633146114505760405162461bcd60e51b81526004016108399061276e565b60008054600180546001600160a01b03199081166001600160a01b0384161790915516815560028290556040518190600080516020612a6c833981519152908290a350565b6000546001600160a01b031633146114bf5760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461150a5760405162461bcd60e51b81526004016108399061276e565b601955565b6000546001600160a01b031633146115395760405162461bcd60e51b81526004016108399061276e565b6001600160a01b03811661159e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610839565b600080546040516001600160a01b0380851693921691600080516020612a6c83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116495760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610839565b6001600160a01b0382166116aa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610839565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661176f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610839565b6001600160a01b0382166117d15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610839565b600081116118335760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610839565b6000546001600160a01b0384811691161480159061185f57506000546001600160a01b03838116911614155b156118c7576018548111156118c75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610839565b60006118d230611105565b905060185481106118e257506018545b601954811080159081906119005750601754600160a01b900460ff16155b801561191a57506017546001600160a01b03868116911614155b801561192f5750601754600160a81b900460ff165b1561194257601954915061194282611a6f565b6001600160a01b03851660009081526006602052604090205460019060ff168061198457506001600160a01b03851660009081526006602052604090205460ff165b1561198d575060005b61199986868684611b16565b505050505050565b600081848411156119c55760405162461bcd60e51b815260040161083991906125e9565b505050900390565b60008060006119da611cb6565b90925090506119e982826119f0565b9250505090565b6000610a22828461296f565b6000610a228284612991565b6000806000806000806000806000806000611a228c611e38565b93509350935093506000806000611a438f878787611a3e6119cd565b611e8d565b919f509d509b509599509397509195509350505050919395979092949650565b6000610a228284612809565b6017805460ff60a01b1916600160a01b1790556000611a8f8260026119f0565b90506000611a9d8383611a63565b905047611aa983611eef565b6000611ab54783611a63565b9050611ac18382612041565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506017805460ff60a01b19169055505050565b80611b4057611b406010805460115560128054601355601480546015556000928390559082905555565b6001600160a01b03841660009081526007602052604090205460ff168015611b8157506001600160a01b03831660009081526007602052604090205460ff16155b15611b9657611b91848484612116565b611c94565b6001600160a01b03841660009081526007602052604090205460ff16158015611bd757506001600160a01b03831660009081526007602052604090205460ff165b15611be757611b9184848461225c565b6001600160a01b03841660009081526007602052604090205460ff16158015611c2957506001600160a01b03831660009081526007602052604090205460ff16155b15611c3957611b9184848461231b565b6001600160a01b03841660009081526007602052604090205460ff168015611c7957506001600160a01b03831660009081526007602052604090205460ff165b15611c8957611b91848484612375565b611c9484848461231b565b80611cb057611cb0601154601055601354601255601554601455565b50505050565b600b54600a546000918291825b600854811015611e0857826003600060088481548110611ce557611ce56127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611d505750816004600060088481548110611d2957611d296127dd565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611d6657600b54600a54945094505050509091565b611dac6003600060088481548110611d8057611d806127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611a63565b9250611df46004600060088481548110611dc857611dc86127dd565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611a63565b915080611e0081612832565b915050611cc3565b50600a54600b54611e18916119f0565b821015611e2f57600b54600a549350935050509091565b90939092509050565b6000806000806000611e49866123fe565b90506000611e5687612420565b90506000611e638861243c565b90506000611e7d82611e7785818d89611a63565b90611a63565b9993985091965094509092505050565b6000808080611e9c8986612458565b90506000611eaa8987612458565b90506000611eb88988612458565b90506000611ec68989612458565b90506000611eda82611e7785818989611a63565b949d949c50929a509298505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f2457611f246127dd565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa1919061284b565b81600181518110611fb457611fb46127dd565b6001600160a01b039283166020918202929092010152601654611fda91309116846115e7565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906120139085906000908690309042906004016129a4565b600060405180830381600087803b15801561202d57600080fd5b505af1158015611999573d6000803e3d6000fd5b6016546120599030906001600160a01b0316846115e7565b6016546001600160a01b031663f305d7198230856000806120826000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156120ea573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061210f9190612a15565b5050505050565b600080600080600080600061212a88611a08565b965096509650965096509650965061217088600460008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b038b1660009081526004602090815260408083209390935560039052205461219f9088611a63565b6001600160a01b03808c1660009081526003602052604080822093909355908b16815220546121ce90876119fc565b6001600160a01b038a166000908152600360205260409020556121f082612464565b6121f9816124ed565b61220385846125ac565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161224891815260200190565b60405180910390a350505050505050505050565b600080600080600080600061227088611a08565b96509650965096509650965096506122b687600360008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b03808c16600090815260036020908152604080832094909455918c168152600490915220546122ec90856119fc565b6001600160a01b038a166000908152600460209081526040808320939093556003905220546121ce90876119fc565b600080600080600080600061232f88611a08565b965096509650965096509650965061219f87600360008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b600080600080600080600061238988611a08565b96509650965096509650965096506123cf88600460008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a6390919063ffffffff16565b6001600160a01b038b166000908152600460209081526040808320939093556003905220546122b69088611a63565b60006108ea606461241a6010548561245890919063ffffffff16565b906119f0565b60006108ea606461241a6014548561245890919063ffffffff16565b60006108ea606461241a6012548561245890919063ffffffff16565b6000610a228284612958565b600061246e6119cd565b9050600061247c8383612458565b3060009081526003602052604090205490915061249990826119fc565b3060009081526003602090815260408083209390935560079052205460ff16156124e857306000908152600460205260409020546124d790846119fc565b306000908152600460205260409020555b505050565b60006124f76119cd565b905060006125058383612458565b6009546001600160a01b031660009081526003602052604090205490915061252d90826119fc565b600980546001600160a01b03908116600090815260036020908152604080832095909555925490911681526007909152205460ff16156124e8576009546001600160a01b031660009081526004602052604090205461258c90846119fc565b6009546001600160a01b0316600090815260046020526040902055505050565b600b546125b99083611a63565b600b55600c546125c990826119fc565b600c555050565b6000602082840312156125e257600080fd5b5035919050565b600060208083528351808285015260005b81811015612616578581018301518582016040015282016125fa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461264c57600080fd5b50565b6000806040838503121561266257600080fd5b823561266d81612637565b946020939093013593505050565b60006020828403121561268d57600080fd5b8135610a2281612637565b6000806000606084860312156126ad57600080fd5b83356126b881612637565b925060208401356126c881612637565b929592945050506040919091013590565b803580151581146126e957600080fd5b919050565b6000806040838503121561270157600080fd5b82359150612711602084016126d9565b90509250929050565b60006020828403121561272c57600080fd5b610a22826126d9565b6000806040838503121561274857600080fd5b823561275381612637565b9150602083013561276381612637565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806127b757607f821691505b6020821081036127d757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156108ea576108ea6127f3565b634e487b7160e01b600052603160045260246000fd5b600060018201612844576128446127f3565b5060010190565b60006020828403121561285d57600080fd5b8151610a2281612637565b600181815b808511156128a3578160001904821115612889576128896127f3565b8085161561289657918102915b93841c939080029061286d565b509250929050565b6000826128ba575060016108ea565b816128c7575060006108ea565b81600181146128dd57600281146128e757612903565b60019150506108ea565b60ff8411156128f8576128f86127f3565b50506001821b6108ea565b5060208310610133831016604e8410600b8410161715612926575081810a6108ea565b6129308383612868565b8060001904821115612944576129446127f3565b029392505050565b6000610a2283836128ab565b80820281158282048414176108ea576108ea6127f3565b60008261298c57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108ea576108ea6127f3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129f45784516001600160a01b0316835293830193918301916001016129cf565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612a2a57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122022c94c9bef6baf5e5a6da5bad205192121d8c3c5413a0229d8c7d19553a97df064736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000004fb10040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eff92a263d31888d860bd50809a8d171709b7b1c00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f000000000000000000000000000000000000000000000000000000000000000b456c6f6e4d75736b72617400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d55534b00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _NAME (string): ElonMuskrat
Arg [1] : _SYMBOL (string): MUSK
Arg [2] : _DECIMALS (uint256): 9
Arg [3] : _supply (uint256): 1337000000
Arg [4] : _txFee (uint256): 1
Arg [5] : _lpFee (uint256): 1
Arg [6] : _DexFee (uint256): 0
Arg [7] : routerAddress (address): 0xEfF92A263d31888d860bD50809A8D171709b7b1c
Arg [8] : feeaddress (address): 0x73AecB5546F285A4Ec5bbcc21097d6739479Fa4F
Arg [9] : tokenOwner (address): 0x73AecB5546F285A4Ec5bbcc21097d6739479Fa4F
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 000000000000000000000000000000000000000000000000000000004fb10040
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000eff92a263d31888d860bd50809a8d171709b7b1c
Arg [8] : 00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f
Arg [9] : 00000000000000000000000073aecb5546f285a4ec5bbcc21097d6739479fa4f
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [11] : 456c6f6e4d75736b726174000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 4d55534b00000000000000000000000000000000000000000000000000000000
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.