CRC-20
Overview
Max Total Supply
100,000,000 CROSPELL
Holders
234
Market
Price
$0.00 @ 0.000000 CRO
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,052.354083158 CROSPELLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
CroSpell
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ,----.. .--.--. ,--, ,--, / / \ / / '. ,-.----. ,--.'| ,--.'| | : : __ ,-. ,---. | : /`. / \ / \ | | : | | : . | ;. /,' ,'/ /| ' ,'\; | |--` | : | : : ' : : ' . ; /--` ' | |' | / / | : ;_ | | .\ : ,---. | ' | | ' | ; | ; | | ,'. ; ,. :\ \ `. . : |: | / \ ' | | ' | | | : | ' : / ' | |: : `----. \| | \ : / / || | : | | : . | '___ | | ' ' | .; : __ \ \ || : . |. ' / |' : |__' : |__ ' ; : .'|; : | | : |/ /`--' /: |`-'' ; /|| | '.'| | '.'| ' | '/ :| , ; \ \ /'--'. / : : : ' | / |; : ; : ; | : / ---' `----' `--'---' | | : | : || , /| , / \ \ .' `---'.| \ \ / ---`-' ---`-' `---` `---` `----' */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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 add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address private _owner; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function getUnlockTime() public view returns (uint256) { return _lockTime; } function getTime() public view returns (uint256) { return block.timestamp; } function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = block.timestamp + time; emit OwnershipTransferred(_owner, address(0)); } function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock"); require(block.timestamp > _lockTime , "Contract is locked until 7 days"); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event 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 burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; 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 CroSpell is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public marketingAddress = payable(0x6FE3091CB5F9FAfc8240c98a7C9D9F35588d016E); address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD; 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; mapping (address => bool) private _isBlackListed; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 100000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "CroSpell"; string private _symbol = "CROSPELL"; uint8 private _decimals = 9; uint256 public _taxFee = 3; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 7; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public marketingDivisor = 3; uint256 public _maxTxAmount = 3000000 * 10**9; uint256 private minimumTokensBeforeSwap = 200000 * 10**9; uint256 private buyBackUpperLimit = 1000 * 10**18; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = false; bool public buyBackEnabled = true; event RewardLiquidityProviders(uint256 tokenAmount); event BuyBackEnabledUpdated(bool enabled); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SwapETHForTokens( uint256 amountIn, address[] path ); event SwapTokensForETH( uint256 amountIn, address[] path ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () { _rOwned[_msgSender()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x145677FC4d9b8F19B5D56d1820c48e0443049a30); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { 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 minimumTokensBeforeSwapAmount() public view returns (uint256) { return minimumTokensBeforeSwap; } function buyBackUpperLimitAmount() public view returns (uint256) { return buyBackUpperLimit; } 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 excluded"); 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 _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"); require(!_isBlackListed[from], "in_blacklist"); if(from != owner() && to != owner()) { require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= minimumTokensBeforeSwap; if (!inSwapAndLiquify && swapAndLiquifyEnabled && to == uniswapV2Pair) { if (overMinimumTokenBalance) { contractTokenBalance = minimumTokensBeforeSwap; swapTokens(contractTokenBalance); } uint256 balance = address(this).balance; if (buyBackEnabled && balance > uint256(1000 * 10**18)) { if (balance > buyBackUpperLimit) balance = buyBackUpperLimit; buyBackTokens(balance.div(100)); } } bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } _tokenTransfer(from,to,amount,takeFee); } function swapTokens(uint256 contractTokenBalance) private lockTheSwap { uint256 initialBalance = address(this).balance; swapTokensForEth(contractTokenBalance); uint256 transferredBalance = address(this).balance.sub(initialBalance); //Send to Marketing address transferToAddressETH(marketingAddress, transferredBalance.div(_liquidityFee).mul(marketingDivisor)); } function buyBackTokens(uint256 amount) private lockTheSwap { if (amount > 0) { swapETHForTokens(amount); } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), // The contract block.timestamp ); emit SwapTokensForETH(tokenAmount, path); } function swapETHForTokens(uint256 amount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = address(this); // make the swap uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}( 0, // accept any amount of Tokens path, deadAddress, // Burn address block.timestamp.add(300) ); emit SwapETHForTokens(amount, path); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function _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]) { _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) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _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) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _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) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _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); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } 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 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); 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 calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div( 10**2 ); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _taxFee = 0; _liquidityFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function isBlackList(address account) public view returns(bool) { return _isBlackListed[account]; } function blackList(address account) public onlyOwner { _isBlackListed[account] = true; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() { _maxTxAmount = maxTxAmount; } function setMarketingDivisor(uint256 divisor) external onlyOwner() { marketingDivisor = divisor; } function setNumTokensSellToAddToLiquidity(uint256 _minimumTokensBeforeSwap) external onlyOwner() { minimumTokensBeforeSwap = _minimumTokensBeforeSwap; } function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner() { buyBackUpperLimit = buyBackLimit * 10**18; } function setMarketingAddress(address _marketingAddress) external onlyOwner() { marketingAddress = payable(_marketingAddress); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setBuyBackEnabled(bool _enabled) public onlyOwner { buyBackEnabled = _enabled; emit BuyBackEnabledUpdated(_enabled); } function prepareForPreSale() external onlyOwner { setSwapAndLiquifyEnabled(false); _taxFee = 0; _liquidityFee = 0; _maxTxAmount = 100000000 * 10**9; } function afterPreSale() external onlyOwner { setSwapAndLiquifyEnabled(true); _taxFee = 3; _liquidityFee = 7; _maxTxAmount = 3000000 * 10**9; } function transferToAddressETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } function transferERC20(IERC20 token, address _treasury, uint256 _amount) public onlyOwner { token.transfer(_treasury, _amount); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"BuyBackEnabledUpdated","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":"tokenAmount","type":"uint256"}],"name":"RewardLiquidityProviders","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":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":"_liquidityFee","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":[],"name":"afterPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"getTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"isBlackList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokensBeforeSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareForPreSale","outputs":[],"stateMutability":"nonpayable","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":"bool","name":"_enabled","type":"bool"}],"name":"setBuyBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"setMarketingDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumTokensBeforeSwap","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","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":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferERC20","outputs":[],"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
60e0604052600380546001600160a01b031916736fe3091cb5f9fafc8240c98a7c9d9f35588d016e17905561dead60805267016345785d8a0000600b8190556200004c906000196200047d565b6200005a90600019620004a0565b600c556040805180820190915260088082526710dc9bd4dc195b1b60c21b60209092019182526200008e91600e91620003d7565b506040805180820190915260088082526710d493d4d411531360c21b6020909201918252620000c091600f91620003d7565b506010805460ff1916600917905560036011819055601281905560076013819055601455601555660aa87bee53800060165565b5e620f48000601755683635c9adc5dea000006018556019805462ffff001916620100001790553480156200012757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600c543360009081526004602081815260409283902093909355815163c45a015560e01b8152915173145677fc4d9b8f19b5d56d1820c48e0443049a3093849363c45a0155938181019391829003018186803b158015620001c957600080fd5b505afa158015620001de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002049190620004c6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200024d57600080fd5b505afa15801562000262573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002889190620004c6565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002d157600080fd5b505af1158015620002e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030c9190620004c6565b6001600160a01b0390811660c052811660a052600160076000620003386000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526007909252902080549091166001179055620003803390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600b54604051620003c891815260200190565b60405180910390a35062000535565b828054620003e590620004f8565b90600052602060002090601f01602090048101928262000409576000855562000454565b82601f106200042457805160ff191683800117855562000454565b8280016001018555821562000454579182015b828111156200045457825182559160200191906001019062000437565b506200046292915062000466565b5090565b5b8082111562000462576000815560010162000467565b6000826200049b57634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620004c157634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620004d957600080fd5b81516001600160a01b0381168114620004f157600080fd5b9392505050565b600181811c908216806200050d57607f821691505b602082108114156200052f57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612f8f62000596600039600081816105f50152611c3e01526000818161040801528181612314015281816123dc01528181612418015281816125a2015261269001526000818161048901526126bb0152612f8f6000f3fe6080604052600436106103395760003560e01c80636bc87c3a116101ab578063a5ece941116100f7578063d6b513cf11610095578063ea2f0b371161006f578063ea2f0b37146109cd578063ec28438a146109ed578063f0f165af14610a0d578063f2fde38b14610a2d57600080fd5b8063d6b513cf14610951578063dd46706414610967578063dd62ed3e1461098757600080fd5b8063b0cb81f1116100d1578063b0cb81f1146108c3578063b36d6919146108e3578063bdc653ef1461091c578063c49b9a801461093157600080fd5b8063a5ece9411461086e578063a69df4b51461088e578063a9059cbb146108a357600080fd5b80638da5cb5b1161016457806395d89b411161013e57806395d89b41146108045780639db5dbe414610819578063a073d37f14610839578063a457c2d71461084e57600080fd5b80638da5cb5b146107a65780638ee88c53146107c4578063906e9dd0146107e457600080fd5b80636bc87c3a146106ec57806370a0823114610702578063715018a6146107225780637d1db4a51461073757806382d2a4bb1461074d57806388f820201461076d57600080fd5b806339509351116102855780634a74bb02116102235780635342acb4116101fd5780635342acb41461066b578063557ed1ba146106a4578063602bc62b146106b75780636053a0e3146106cc57600080fd5b80634a74bb02146106175780635134f6ab1461063657806352390c021461064b57600080fd5b8063437823ec1161025f578063437823ec146105835780634549b039146105a35780634838d165146105c357806349bd5a5e146105e357600080fd5b8063395093511461052d5780633b124fe71461054d5780633bd5d1731461056357600080fd5b806318160ddd116102f257806329370cc6116102cc57806329370cc6146104ab5780632d838119146104cb578063313ce567146104eb5780633685d4191461050d57600080fd5b806318160ddd1461044257806323b872dd1461045757806327c8f8351461047757600080fd5b8063061c82d01461034557806306fdde031461036757806307efbfdc14610392578063095ea7b3146103a757806313114a9d146103d75780631694505e146103f657600080fd5b3661034057005b600080fd5b34801561035157600080fd5b50610365610360366004612b06565b610a4d565b005b34801561037357600080fd5b5061037c610a85565b6040516103899190612b1f565b60405180910390f35b34801561039e57600080fd5b50610365610b17565b3480156103b357600080fd5b506103c76103c2366004612b8c565b610b62565b6040519015158152602001610389565b3480156103e357600080fd5b50600d545b604051908152602001610389565b34801561040257600080fd5b5061042a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610389565b34801561044e57600080fd5b50600b546103e8565b34801561046357600080fd5b506103c7610472366004612bb8565b610b79565b34801561048357600080fd5b5061042a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104b757600080fd5b506103656104c6366004612c07565b610be2565b3480156104d757600080fd5b506103e86104e6366004612b06565b610c62565b3480156104f757600080fd5b5060105460405160ff9091168152602001610389565b34801561051957600080fd5b50610365610528366004612c24565b610ce6565b34801561053957600080fd5b506103c7610548366004612b8c565b610e9d565b34801561055957600080fd5b506103e860115481565b34801561056f57600080fd5b5061036561057e366004612b06565b610ed3565b34801561058f57600080fd5b5061036561059e366004612c24565b610fbd565b3480156105af57600080fd5b506103e86105be366004612c41565b61100b565b3480156105cf57600080fd5b506103656105de366004612c24565b611098565b3480156105ef57600080fd5b5061042a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561062357600080fd5b506019546103c790610100900460ff1681565b34801561064257600080fd5b506103656110e6565b34801561065757600080fd5b50610365610666366004612c24565b611132565b34801561067757600080fd5b506103c7610686366004612c24565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156106b057600080fd5b50426103e8565b3480156106c357600080fd5b506002546103e8565b3480156106d857600080fd5b506019546103c79062010000900460ff1681565b3480156106f857600080fd5b506103e860135481565b34801561070e57600080fd5b506103e861071d366004612c24565b611285565b34801561072e57600080fd5b506103656112e4565b34801561074357600080fd5b506103e860165481565b34801561075957600080fd5b50610365610768366004612b06565b611346565b34801561077957600080fd5b506103c7610788366004612c24565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156107b257600080fd5b506000546001600160a01b031661042a565b3480156107d057600080fd5b506103656107df366004612b06565b611388565b3480156107f057600080fd5b506103656107ff366004612c24565b6113b7565b34801561081057600080fd5b5061037c611403565b34801561082557600080fd5b50610365610834366004612bb8565b611412565b34801561084557600080fd5b506017546103e8565b34801561085a57600080fd5b506103c7610869366004612b8c565b6114c4565b34801561087a57600080fd5b5060035461042a906001600160a01b031681565b34801561089a57600080fd5b50610365611513565b3480156108af57600080fd5b506103c76108be366004612b8c565b611619565b3480156108cf57600080fd5b506103656108de366004612b06565b611626565b3480156108ef57600080fd5b506103c76108fe366004612c24565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561092857600080fd5b506018546103e8565b34801561093d57600080fd5b5061036561094c366004612c07565b611655565b34801561095d57600080fd5b506103e860155481565b34801561097357600080fd5b50610365610982366004612b06565b6116c8565b34801561099357600080fd5b506103e86109a2366004612c71565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156109d957600080fd5b506103656109e8366004612c24565b61174d565b3480156109f957600080fd5b50610365610a08366004612b06565b611798565b348015610a1957600080fd5b50610365610a28366004612b06565b6117c7565b348015610a3957600080fd5b50610365610a48366004612c24565b6117f6565b6000546001600160a01b03163314610a805760405162461bcd60e51b8152600401610a7790612c9f565b60405180910390fd5b601155565b6060600e8054610a9490612cd4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac090612cd4565b8015610b0d5780601f10610ae257610100808354040283529160200191610b0d565b820191906000526020600020905b815481529060010190602001808311610af057829003601f168201915b5050505050905090565b6000546001600160a01b03163314610b415760405162461bcd60e51b8152600401610a7790612c9f565b610b4b6001611655565b60036011556007601355660aa87bee538000601655565b6000610b6f3384846118ce565b5060015b92915050565b6000610b868484846119f2565b610bd88433610bd385604051806060016040528060288152602001612eed602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190611d35565b6118ce565b5060019392505050565b6000546001600160a01b03163314610c0c5760405162461bcd60e51b8152600401610a7790612c9f565b60198054821515620100000262ff0000199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c090610c5790831515815260200190565b60405180910390a150565b6000600c54821115610cc95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610a77565b6000610cd3611d6f565b9050610cdf8382611d92565b9392505050565b6000546001600160a01b03163314610d105760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03811660009081526008602052604090205460ff16610d785760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a77565b60005b600954811015610e9957816001600160a01b031660098281548110610da257610da2612d0f565b6000918252602090912001546001600160a01b03161415610e875760098054610dcd90600190612d3b565b81548110610ddd57610ddd612d0f565b600091825260209091200154600980546001600160a01b039092169183908110610e0957610e09612d0f565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600890925220805460ff191690556009805480610e6157610e61612d52565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e9181612d68565b915050610d7b565b5050565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610b6f918590610bd39086611dd4565b3360008181526008602052604090205460ff1615610f485760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610a77565b6000610f5383611e33565b505050506001600160a01b038416600090815260046020526040902054919250610f7f91905082611e82565b6001600160a01b038316600090815260046020526040902055600c54610fa59082611e82565b600c55600d54610fb59084611dd4565b600d55505050565b6000546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600b5483111561105f5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610a77565b8161107e57600061106f84611e33565b50939550610b73945050505050565b600061108984611e33565b50929550610b73945050505050565b6000546001600160a01b031633146110c25760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6000546001600160a01b031633146111105760405162461bcd60e51b8152600401610a7790612c9f565b61111a6000611655565b6000601181905560135567016345785d8a0000601655565b6000546001600160a01b0316331461115c5760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03811660009081526008602052604090205460ff16156111c55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a77565b6001600160a01b0381166000908152600460205260409020541561121f576001600160a01b03811660009081526004602052604090205461120590610c62565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff16156112c257506001600160a01b031660009081526005602052604090205490565b6001600160a01b038216600090815260046020526040902054610b7390610c62565b6000546001600160a01b0316331461130e5760405162461bcd60e51b8152600401610a7790612c9f565b600080546040516001600160a01b0390911690600080516020612f15833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146113705760405162461bcd60e51b8152600401610a7790612c9f565b61138281670de0b6b3a7640000612d83565b60185550565b6000546001600160a01b031633146113b25760405162461bcd60e51b8152600401610a7790612c9f565b601355565b6000546001600160a01b031633146113e15760405162461bcd60e51b8152600401610a7790612c9f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600f8054610a9490612cd4565b6000546001600160a01b0316331461143c5760405162461bcd60e51b8152600401610a7790612c9f565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561148657600080fd5b505af115801561149a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114be9190612da2565b50505050565b6000610b6f3384610bd385604051806060016040528060258152602001612f35602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190611d35565b6001546001600160a01b031633146115795760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610a77565b60025442116115ca5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610a77565b600154600080546040516001600160a01b039384169390911691600080516020612f1583398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610b6f3384846119f2565b6000546001600160a01b031633146116505760405162461bcd60e51b8152600401610a7790612c9f565b601555565b6000546001600160a01b0316331461167f5760405162461bcd60e51b8152600401610a7790612c9f565b601980548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610c5790831515815260200190565b6000546001600160a01b031633146116f25760405162461bcd60e51b8152600401610a7790612c9f565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556117218142612dbf565b600255600080546040516001600160a01b0390911690600080516020612f15833981519152908390a350565b6000546001600160a01b031633146117775760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117c25760405162461bcd60e51b8152600401610a7790612c9f565b601655565b6000546001600160a01b031633146117f15760405162461bcd60e51b8152600401610a7790612c9f565b601755565b6000546001600160a01b031633146118205760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b0381166118855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a77565b600080546040516001600160a01b0380851693921691600080516020612f1583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166119305760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a77565b6001600160a01b0382166119915760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a77565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a565760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a77565b6001600160a01b038216611ab85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a77565b60008111611b1a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a77565b6001600160a01b0383166000908152600a602052604090205460ff1615611b725760405162461bcd60e51b815260206004820152600c60248201526b1a5b97d89b1858dadb1a5cdd60a21b6044820152606401610a77565b6000546001600160a01b03848116911614801590611b9e57506000546001600160a01b03838116911614155b15611c0657601654811115611c065760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610a77565b6000611c1130611285565b6017546019549192508210159060ff16158015611c355750601954610100900460ff165b8015611c7257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b15611cd6578015611c8b576017549150611c8b82611ec4565b601954479062010000900460ff168015611cad5750683635c9adc5dea0000081115b15611cd457601854811115611cc157506018545b611cd4611ccf826064611d92565b611f2d565b505b6001600160a01b03851660009081526007602052604090205460019060ff1680611d1857506001600160a01b03851660009081526007602052604090205460ff165b15611d21575060005b611d2d86868684611f56565b505050505050565b60008184841115611d595760405162461bcd60e51b8152600401610a779190612b1f565b506000611d668486612d3b565b95945050505050565b6000806000611d7c61207b565b9092509050611d8b8282611d92565b9250505090565b6000610cdf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121fd565b600080611de18385612dbf565b905083811015610cdf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a77565b6000806000806000806000806000611e4a8a61222b565b9250925092506000806000611e688d8686611e63611d6f565b61226d565b919f909e50909c50959a5093985091965092945050505050565b6000610cdf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d35565b6019805460ff1916600117905547611edb826122bd565b6000611ee74783611e82565b600354601554601354929350611f1e926001600160a01b0390921691611f199190611f13908690611d92565b906124c5565b612544565b50506019805460ff1916905550565b6019805460ff191660011790558015611f4957611f498161257f565b506019805460ff19169055565b80611f6357611f63612768565b6001600160a01b03841660009081526008602052604090205460ff168015611fa457506001600160a01b03831660009081526008602052604090205460ff16155b15611fb957611fb4848484612796565b612065565b6001600160a01b03841660009081526008602052604090205460ff16158015611ffa57506001600160a01b03831660009081526008602052604090205460ff165b1561200a57611fb48484846128bc565b6001600160a01b03841660009081526008602052604090205460ff16801561204a57506001600160a01b03831660009081526008602052604090205460ff165b1561205a57611fb4848484612965565b6120658484846129d8565b806114be576114be601254601155601454601355565b600c54600b546000918291825b6009548110156121cd578260046000600984815481106120aa576120aa612d0f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061211557508160056000600984815481106120ee576120ee612d0f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561212b57600c54600b54945094505050509091565b612171600460006009848154811061214557612145612d0f565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611e82565b92506121b9600560006009848154811061218d5761218d612d0f565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611e82565b9150806121c581612d68565b915050612088565b50600b54600c546121dd91611d92565b8210156121f457600c54600b549350935050509091565b90939092509050565b6000818361221e5760405162461bcd60e51b8152600401610a779190612b1f565b506000611d668486612dd7565b60008060008061223a85612a1c565b9050600061224786612a3e565b9050600061225f826122598986611e82565b90611e82565b979296509094509092505050565b600080808061227c88866124c5565b9050600061228a88876124c5565b9050600061229888886124c5565b905060006122aa826122598686611e82565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122f2576122f2612d0f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561236b57600080fd5b505afa15801561237f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a39190612df9565b816001815181106123b6576123b6612d0f565b60200260200101906001600160a01b031690816001600160a01b031681525050612401307f0000000000000000000000000000000000000000000000000000000000000000846118ce565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612456908590600090869030904290600401612e5a565b600060405180830381600087803b15801561247057600080fd5b505af1158015612484573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516124b9929190612e96565b60405180910390a15050565b6000826124d457506000610b73565b60006124e08385612d83565b9050826124ed8583612dd7565b14610cdf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a77565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561257a573d6000803e3d6000fd5b505050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156125f957600080fd5b505afa15801561260d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126319190612df9565b8160008151811061264457612644612d0f565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061267857612678612d0f565b6001600160a01b0392831660209182029290920101527f00000000000000000000000000000000000000000000000000000000000000001663b6f9de95836000847f00000000000000000000000000000000000000000000000000000000000000006126e64261012c611dd4565b6040518663ffffffff1660e01b81526004016127059493929190612eb7565b6000604051808303818588803b15801561271e57600080fd5b505af1158015612732573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a962482826040516124b9929190612e96565b6011541580156127785750601354155b1561277f57565b601180546012556013805460145560009182905555565b6000806000806000806127a887611e33565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506127da9088611e82565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546128099087611e82565b6001600160a01b03808b1660009081526004602052604080822093909355908a16815220546128389086611dd4565b6001600160a01b03891660009081526004602052604090205561285a81612a5a565b6128648483612ae2565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516128a991815260200190565b60405180910390a3505050505050505050565b6000806000806000806128ce87611e33565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506129009087611e82565b6001600160a01b03808b16600090815260046020908152604080832094909455918b168152600590915220546129369084611dd4565b6001600160a01b0389166000908152600560209081526040808320939093556004905220546128389086611dd4565b60008060008060008061297787611e33565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506129a99088611e82565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546129009087611e82565b6000806000806000806129ea87611e33565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506128099087611e82565b6000610b736064612a38601154856124c590919063ffffffff16565b90611d92565b6000610b736064612a38601354856124c590919063ffffffff16565b6000612a64611d6f565b90506000612a7283836124c5565b30600090815260046020526040902054909150612a8f9082611dd4565b3060009081526004602090815260408083209390935560089052205460ff161561257a5730600090815260056020526040902054612acd9084611dd4565b30600090815260056020526040902055505050565b600c54612aef9083611e82565b600c55600d54612aff9082611dd4565b600d555050565b600060208284031215612b1857600080fd5b5035919050565b600060208083528351808285015260005b81811015612b4c57858101830151858201604001528201612b30565b81811115612b5e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114612b8957600080fd5b50565b60008060408385031215612b9f57600080fd5b8235612baa81612b74565b946020939093013593505050565b600080600060608486031215612bcd57600080fd5b8335612bd881612b74565b92506020840135612be881612b74565b929592945050506040919091013590565b8015158114612b8957600080fd5b600060208284031215612c1957600080fd5b8135610cdf81612bf9565b600060208284031215612c3657600080fd5b8135610cdf81612b74565b60008060408385031215612c5457600080fd5b823591506020830135612c6681612bf9565b809150509250929050565b60008060408385031215612c8457600080fd5b8235612c8f81612b74565b91506020830135612c6681612b74565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612ce857607f821691505b60208210811415612d0957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612d4d57612d4d612d25565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612d7c57612d7c612d25565b5060010190565b6000816000190483118215151615612d9d57612d9d612d25565b500290565b600060208284031215612db457600080fd5b8151610cdf81612bf9565b60008219821115612dd257612dd2612d25565b500190565b600082612df457634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612e0b57600080fd5b8151610cdf81612b74565b600081518084526020808501945080840160005b83811015612e4f5781516001600160a01b031687529582019590820190600101612e2a565b509495945050505050565b85815284602082015260a060408201526000612e7960a0830186612e16565b6001600160a01b0394909416606083015250608001529392505050565b828152604060208201526000612eaf6040830184612e16565b949350505050565b848152608060208201526000612ed06080830186612e16565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208a457eaec016de02760c22b63731a11648d3a5c951e78bacbc16242caf0643c864736f6c63430008090033
Deployed Bytecode
0x6080604052600436106103395760003560e01c80636bc87c3a116101ab578063a5ece941116100f7578063d6b513cf11610095578063ea2f0b371161006f578063ea2f0b37146109cd578063ec28438a146109ed578063f0f165af14610a0d578063f2fde38b14610a2d57600080fd5b8063d6b513cf14610951578063dd46706414610967578063dd62ed3e1461098757600080fd5b8063b0cb81f1116100d1578063b0cb81f1146108c3578063b36d6919146108e3578063bdc653ef1461091c578063c49b9a801461093157600080fd5b8063a5ece9411461086e578063a69df4b51461088e578063a9059cbb146108a357600080fd5b80638da5cb5b1161016457806395d89b411161013e57806395d89b41146108045780639db5dbe414610819578063a073d37f14610839578063a457c2d71461084e57600080fd5b80638da5cb5b146107a65780638ee88c53146107c4578063906e9dd0146107e457600080fd5b80636bc87c3a146106ec57806370a0823114610702578063715018a6146107225780637d1db4a51461073757806382d2a4bb1461074d57806388f820201461076d57600080fd5b806339509351116102855780634a74bb02116102235780635342acb4116101fd5780635342acb41461066b578063557ed1ba146106a4578063602bc62b146106b75780636053a0e3146106cc57600080fd5b80634a74bb02146106175780635134f6ab1461063657806352390c021461064b57600080fd5b8063437823ec1161025f578063437823ec146105835780634549b039146105a35780634838d165146105c357806349bd5a5e146105e357600080fd5b8063395093511461052d5780633b124fe71461054d5780633bd5d1731461056357600080fd5b806318160ddd116102f257806329370cc6116102cc57806329370cc6146104ab5780632d838119146104cb578063313ce567146104eb5780633685d4191461050d57600080fd5b806318160ddd1461044257806323b872dd1461045757806327c8f8351461047757600080fd5b8063061c82d01461034557806306fdde031461036757806307efbfdc14610392578063095ea7b3146103a757806313114a9d146103d75780631694505e146103f657600080fd5b3661034057005b600080fd5b34801561035157600080fd5b50610365610360366004612b06565b610a4d565b005b34801561037357600080fd5b5061037c610a85565b6040516103899190612b1f565b60405180910390f35b34801561039e57600080fd5b50610365610b17565b3480156103b357600080fd5b506103c76103c2366004612b8c565b610b62565b6040519015158152602001610389565b3480156103e357600080fd5b50600d545b604051908152602001610389565b34801561040257600080fd5b5061042a7f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a3081565b6040516001600160a01b039091168152602001610389565b34801561044e57600080fd5b50600b546103e8565b34801561046357600080fd5b506103c7610472366004612bb8565b610b79565b34801561048357600080fd5b5061042a7f000000000000000000000000000000000000000000000000000000000000dead81565b3480156104b757600080fd5b506103656104c6366004612c07565b610be2565b3480156104d757600080fd5b506103e86104e6366004612b06565b610c62565b3480156104f757600080fd5b5060105460405160ff9091168152602001610389565b34801561051957600080fd5b50610365610528366004612c24565b610ce6565b34801561053957600080fd5b506103c7610548366004612b8c565b610e9d565b34801561055957600080fd5b506103e860115481565b34801561056f57600080fd5b5061036561057e366004612b06565b610ed3565b34801561058f57600080fd5b5061036561059e366004612c24565b610fbd565b3480156105af57600080fd5b506103e86105be366004612c41565b61100b565b3480156105cf57600080fd5b506103656105de366004612c24565b611098565b3480156105ef57600080fd5b5061042a7f000000000000000000000000678c79b10aa63a8c945d688507a9a3501ae0614b81565b34801561062357600080fd5b506019546103c790610100900460ff1681565b34801561064257600080fd5b506103656110e6565b34801561065757600080fd5b50610365610666366004612c24565b611132565b34801561067757600080fd5b506103c7610686366004612c24565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156106b057600080fd5b50426103e8565b3480156106c357600080fd5b506002546103e8565b3480156106d857600080fd5b506019546103c79062010000900460ff1681565b3480156106f857600080fd5b506103e860135481565b34801561070e57600080fd5b506103e861071d366004612c24565b611285565b34801561072e57600080fd5b506103656112e4565b34801561074357600080fd5b506103e860165481565b34801561075957600080fd5b50610365610768366004612b06565b611346565b34801561077957600080fd5b506103c7610788366004612c24565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156107b257600080fd5b506000546001600160a01b031661042a565b3480156107d057600080fd5b506103656107df366004612b06565b611388565b3480156107f057600080fd5b506103656107ff366004612c24565b6113b7565b34801561081057600080fd5b5061037c611403565b34801561082557600080fd5b50610365610834366004612bb8565b611412565b34801561084557600080fd5b506017546103e8565b34801561085a57600080fd5b506103c7610869366004612b8c565b6114c4565b34801561087a57600080fd5b5060035461042a906001600160a01b031681565b34801561089a57600080fd5b50610365611513565b3480156108af57600080fd5b506103c76108be366004612b8c565b611619565b3480156108cf57600080fd5b506103656108de366004612b06565b611626565b3480156108ef57600080fd5b506103c76108fe366004612c24565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561092857600080fd5b506018546103e8565b34801561093d57600080fd5b5061036561094c366004612c07565b611655565b34801561095d57600080fd5b506103e860155481565b34801561097357600080fd5b50610365610982366004612b06565b6116c8565b34801561099357600080fd5b506103e86109a2366004612c71565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156109d957600080fd5b506103656109e8366004612c24565b61174d565b3480156109f957600080fd5b50610365610a08366004612b06565b611798565b348015610a1957600080fd5b50610365610a28366004612b06565b6117c7565b348015610a3957600080fd5b50610365610a48366004612c24565b6117f6565b6000546001600160a01b03163314610a805760405162461bcd60e51b8152600401610a7790612c9f565b60405180910390fd5b601155565b6060600e8054610a9490612cd4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac090612cd4565b8015610b0d5780601f10610ae257610100808354040283529160200191610b0d565b820191906000526020600020905b815481529060010190602001808311610af057829003601f168201915b5050505050905090565b6000546001600160a01b03163314610b415760405162461bcd60e51b8152600401610a7790612c9f565b610b4b6001611655565b60036011556007601355660aa87bee538000601655565b6000610b6f3384846118ce565b5060015b92915050565b6000610b868484846119f2565b610bd88433610bd385604051806060016040528060288152602001612eed602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190611d35565b6118ce565b5060019392505050565b6000546001600160a01b03163314610c0c5760405162461bcd60e51b8152600401610a7790612c9f565b60198054821515620100000262ff0000199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c090610c5790831515815260200190565b60405180910390a150565b6000600c54821115610cc95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610a77565b6000610cd3611d6f565b9050610cdf8382611d92565b9392505050565b6000546001600160a01b03163314610d105760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03811660009081526008602052604090205460ff16610d785760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a77565b60005b600954811015610e9957816001600160a01b031660098281548110610da257610da2612d0f565b6000918252602090912001546001600160a01b03161415610e875760098054610dcd90600190612d3b565b81548110610ddd57610ddd612d0f565b600091825260209091200154600980546001600160a01b039092169183908110610e0957610e09612d0f565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600890925220805460ff191690556009805480610e6157610e61612d52565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e9181612d68565b915050610d7b565b5050565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610b6f918590610bd39086611dd4565b3360008181526008602052604090205460ff1615610f485760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610a77565b6000610f5383611e33565b505050506001600160a01b038416600090815260046020526040902054919250610f7f91905082611e82565b6001600160a01b038316600090815260046020526040902055600c54610fa59082611e82565b600c55600d54610fb59084611dd4565b600d55505050565b6000546001600160a01b03163314610fe75760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600b5483111561105f5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610a77565b8161107e57600061106f84611e33565b50939550610b73945050505050565b600061108984611e33565b50929550610b73945050505050565b6000546001600160a01b031633146110c25760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6000546001600160a01b031633146111105760405162461bcd60e51b8152600401610a7790612c9f565b61111a6000611655565b6000601181905560135567016345785d8a0000601655565b6000546001600160a01b0316331461115c5760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03811660009081526008602052604090205460ff16156111c55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610a77565b6001600160a01b0381166000908152600460205260409020541561121f576001600160a01b03811660009081526004602052604090205461120590610c62565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff16156112c257506001600160a01b031660009081526005602052604090205490565b6001600160a01b038216600090815260046020526040902054610b7390610c62565b6000546001600160a01b0316331461130e5760405162461bcd60e51b8152600401610a7790612c9f565b600080546040516001600160a01b0390911690600080516020612f15833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146113705760405162461bcd60e51b8152600401610a7790612c9f565b61138281670de0b6b3a7640000612d83565b60185550565b6000546001600160a01b031633146113b25760405162461bcd60e51b8152600401610a7790612c9f565b601355565b6000546001600160a01b031633146113e15760405162461bcd60e51b8152600401610a7790612c9f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600f8054610a9490612cd4565b6000546001600160a01b0316331461143c5760405162461bcd60e51b8152600401610a7790612c9f565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561148657600080fd5b505af115801561149a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114be9190612da2565b50505050565b6000610b6f3384610bd385604051806060016040528060258152602001612f35602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190611d35565b6001546001600160a01b031633146115795760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610a77565b60025442116115ca5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610a77565b600154600080546040516001600160a01b039384169390911691600080516020612f1583398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610b6f3384846119f2565b6000546001600160a01b031633146116505760405162461bcd60e51b8152600401610a7790612c9f565b601555565b6000546001600160a01b0316331461167f5760405162461bcd60e51b8152600401610a7790612c9f565b601980548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610c5790831515815260200190565b6000546001600160a01b031633146116f25760405162461bcd60e51b8152600401610a7790612c9f565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556117218142612dbf565b600255600080546040516001600160a01b0390911690600080516020612f15833981519152908390a350565b6000546001600160a01b031633146117775760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117c25760405162461bcd60e51b8152600401610a7790612c9f565b601655565b6000546001600160a01b031633146117f15760405162461bcd60e51b8152600401610a7790612c9f565b601755565b6000546001600160a01b031633146118205760405162461bcd60e51b8152600401610a7790612c9f565b6001600160a01b0381166118855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a77565b600080546040516001600160a01b0380851693921691600080516020612f1583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166119305760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a77565b6001600160a01b0382166119915760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a77565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a565760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a77565b6001600160a01b038216611ab85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a77565b60008111611b1a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a77565b6001600160a01b0383166000908152600a602052604090205460ff1615611b725760405162461bcd60e51b815260206004820152600c60248201526b1a5b97d89b1858dadb1a5cdd60a21b6044820152606401610a77565b6000546001600160a01b03848116911614801590611b9e57506000546001600160a01b03838116911614155b15611c0657601654811115611c065760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610a77565b6000611c1130611285565b6017546019549192508210159060ff16158015611c355750601954610100900460ff165b8015611c7257507f000000000000000000000000678c79b10aa63a8c945d688507a9a3501ae0614b6001600160a01b0316846001600160a01b0316145b15611cd6578015611c8b576017549150611c8b82611ec4565b601954479062010000900460ff168015611cad5750683635c9adc5dea0000081115b15611cd457601854811115611cc157506018545b611cd4611ccf826064611d92565b611f2d565b505b6001600160a01b03851660009081526007602052604090205460019060ff1680611d1857506001600160a01b03851660009081526007602052604090205460ff165b15611d21575060005b611d2d86868684611f56565b505050505050565b60008184841115611d595760405162461bcd60e51b8152600401610a779190612b1f565b506000611d668486612d3b565b95945050505050565b6000806000611d7c61207b565b9092509050611d8b8282611d92565b9250505090565b6000610cdf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121fd565b600080611de18385612dbf565b905083811015610cdf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a77565b6000806000806000806000806000611e4a8a61222b565b9250925092506000806000611e688d8686611e63611d6f565b61226d565b919f909e50909c50959a5093985091965092945050505050565b6000610cdf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d35565b6019805460ff1916600117905547611edb826122bd565b6000611ee74783611e82565b600354601554601354929350611f1e926001600160a01b0390921691611f199190611f13908690611d92565b906124c5565b612544565b50506019805460ff1916905550565b6019805460ff191660011790558015611f4957611f498161257f565b506019805460ff19169055565b80611f6357611f63612768565b6001600160a01b03841660009081526008602052604090205460ff168015611fa457506001600160a01b03831660009081526008602052604090205460ff16155b15611fb957611fb4848484612796565b612065565b6001600160a01b03841660009081526008602052604090205460ff16158015611ffa57506001600160a01b03831660009081526008602052604090205460ff165b1561200a57611fb48484846128bc565b6001600160a01b03841660009081526008602052604090205460ff16801561204a57506001600160a01b03831660009081526008602052604090205460ff165b1561205a57611fb4848484612965565b6120658484846129d8565b806114be576114be601254601155601454601355565b600c54600b546000918291825b6009548110156121cd578260046000600984815481106120aa576120aa612d0f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061211557508160056000600984815481106120ee576120ee612d0f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561212b57600c54600b54945094505050509091565b612171600460006009848154811061214557612145612d0f565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611e82565b92506121b9600560006009848154811061218d5761218d612d0f565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611e82565b9150806121c581612d68565b915050612088565b50600b54600c546121dd91611d92565b8210156121f457600c54600b549350935050509091565b90939092509050565b6000818361221e5760405162461bcd60e51b8152600401610a779190612b1f565b506000611d668486612dd7565b60008060008061223a85612a1c565b9050600061224786612a3e565b9050600061225f826122598986611e82565b90611e82565b979296509094509092505050565b600080808061227c88866124c5565b9050600061228a88876124c5565b9050600061229888886124c5565b905060006122aa826122598686611e82565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122f2576122f2612d0f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a306001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561236b57600080fd5b505afa15801561237f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a39190612df9565b816001815181106123b6576123b6612d0f565b60200260200101906001600160a01b031690816001600160a01b031681525050612401307f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a30846118ce565b60405163791ac94760e01b81526001600160a01b037f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a30169063791ac94790612456908590600090869030904290600401612e5a565b600060405180830381600087803b15801561247057600080fd5b505af1158015612484573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516124b9929190612e96565b60405180910390a15050565b6000826124d457506000610b73565b60006124e08385612d83565b9050826124ed8583612dd7565b14610cdf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a77565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561257a573d6000803e3d6000fd5b505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a306001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156125f957600080fd5b505afa15801561260d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126319190612df9565b8160008151811061264457612644612d0f565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061267857612678612d0f565b6001600160a01b0392831660209182029290920101527f000000000000000000000000145677fc4d9b8f19b5d56d1820c48e0443049a301663b6f9de95836000847f000000000000000000000000000000000000000000000000000000000000dead6126e64261012c611dd4565b6040518663ffffffff1660e01b81526004016127059493929190612eb7565b6000604051808303818588803b15801561271e57600080fd5b505af1158015612732573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a962482826040516124b9929190612e96565b6011541580156127785750601354155b1561277f57565b601180546012556013805460145560009182905555565b6000806000806000806127a887611e33565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506127da9088611e82565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546128099087611e82565b6001600160a01b03808b1660009081526004602052604080822093909355908a16815220546128389086611dd4565b6001600160a01b03891660009081526004602052604090205561285a81612a5a565b6128648483612ae2565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516128a991815260200190565b60405180910390a3505050505050505050565b6000806000806000806128ce87611e33565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506129009087611e82565b6001600160a01b03808b16600090815260046020908152604080832094909455918b168152600590915220546129369084611dd4565b6001600160a01b0389166000908152600560209081526040808320939093556004905220546128389086611dd4565b60008060008060008061297787611e33565b6001600160a01b038f16600090815260056020526040902054959b509399509197509550935091506129a99088611e82565b6001600160a01b038a166000908152600560209081526040808320939093556004905220546129009087611e82565b6000806000806000806129ea87611e33565b6001600160a01b038f16600090815260046020526040902054959b509399509197509550935091506128099087611e82565b6000610b736064612a38601154856124c590919063ffffffff16565b90611d92565b6000610b736064612a38601354856124c590919063ffffffff16565b6000612a64611d6f565b90506000612a7283836124c5565b30600090815260046020526040902054909150612a8f9082611dd4565b3060009081526004602090815260408083209390935560089052205460ff161561257a5730600090815260056020526040902054612acd9084611dd4565b30600090815260056020526040902055505050565b600c54612aef9083611e82565b600c55600d54612aff9082611dd4565b600d555050565b600060208284031215612b1857600080fd5b5035919050565b600060208083528351808285015260005b81811015612b4c57858101830151858201604001528201612b30565b81811115612b5e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114612b8957600080fd5b50565b60008060408385031215612b9f57600080fd5b8235612baa81612b74565b946020939093013593505050565b600080600060608486031215612bcd57600080fd5b8335612bd881612b74565b92506020840135612be881612b74565b929592945050506040919091013590565b8015158114612b8957600080fd5b600060208284031215612c1957600080fd5b8135610cdf81612bf9565b600060208284031215612c3657600080fd5b8135610cdf81612b74565b60008060408385031215612c5457600080fd5b823591506020830135612c6681612bf9565b809150509250929050565b60008060408385031215612c8457600080fd5b8235612c8f81612b74565b91506020830135612c6681612b74565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612ce857607f821691505b60208210811415612d0957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612d4d57612d4d612d25565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612d7c57612d7c612d25565b5060010190565b6000816000190483118215151615612d9d57612d9d612d25565b500290565b600060208284031215612db457600080fd5b8151610cdf81612bf9565b60008219821115612dd257612dd2612d25565b500190565b600082612df457634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612e0b57600080fd5b8151610cdf81612b74565b600081518084526020808501945080840160005b83811015612e4f5781516001600160a01b031687529582019590820190600101612e2a565b509495945050505050565b85815284602082015260a060408201526000612e7960a0830186612e16565b6001600160a01b0394909416606083015250608001529392505050565b828152604060208201526000612eaf6040830184612e16565b949350505050565b848152608060208201526000612ed06080830186612e16565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208a457eaec016de02760c22b63731a11648d3a5c951e78bacbc16242caf0643c864736f6c63430008090033
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.