ERC-20
Overview
Max Total Supply
420,000,000 BEERS
Holders
88
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
530,051.43897288 BEERSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DOGEBEER
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ _____|$$ __$$\ $$ _____|$$ _____|$$ __$$\ $$ | $$ |$$ / $$ |$$ / \__|$$ | $$ | $$ |$$ | $$ | $$ | $$ | $$ | $$ |$$ | $$ |$$ |$$$$\ $$$$$\ $$$$$$$\ |$$$$$\ $$$$$\ $$$$$$$ | $$ | $$ |$$ | $$ |$$ |\_$$ |$$ __| $$ __$$\ $$ __| $$ __| $$ __$$< $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ |$$ | $$ | $$ | $$ | $$$$$$$ | $$$$$$ |\$$$$$$ |$$$$$$$$\ $$$$$$$ |$$$$$$$$\ $$$$$$$$\ $$ | $$ | \_______/ \______/ \______/ \________|\_______/ \________|\________|\__| \__| */ 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); } /* Removed cuz never used. 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 DOGEBEER is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public LPAddress = payable(0x777E50de173a3A2CF43706E72fAacd79366650e8); // LP Provider Address 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; uint256 private constant MAX = ~uint256(0); uint256 private constant _tTotal = 420 * 10**6 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private constant _name = "DOGEBEER"; string private constant _symbol = "BEERS"; uint8 private constant _decimals = 9; struct AddressFee { bool enable; uint256 _taxFee; uint256 _liquidityFee; uint256 _buyTaxFee; uint256 _buyLiquidityFee; uint256 _sellTaxFee; uint256 _sellLiquidityFee; } struct SellHistories { uint256 time; uint256 bnbAmount; } uint256 public _taxFee = 3; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 6; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _buyTaxFee = 3; uint256 public _buyLiquidityFee = 6; uint256 public _sellTaxFee = 3; uint256 public _sellLiquidityFee = 9; uint256 public _startTimeForSwap; uint256 public _intervalMinutesForSwap = 1 * 1 minutes; uint256 public _buyBackRangeRate = 80; // Fee per address mapping (address => AddressFee) public _addressFees; uint256 public LPDivisor = 3; uint256 public _maxTxAmount = 420 * 10**6 * 10**9; uint256 private minimumTokensBeforeSwap = 42 * 10**3 * 10**9; uint256 public buyBackSellLimit = 420 * 10**3; // LookBack into historical sale data SellHistories[] public _sellHistories; bool public _isAutoBuyBack = true; uint256 public _buyBackDivisor = 3; uint256 public _buyBackTimeInterval = 5 minutes; uint256 public _buyBackMaxTimeForHistories = 24 * 60 minutes; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = false; bool public buyBackEnabled = true; bool public _isEnabledBuyBackAndBurn = true; event RewardLiquidityProviders(uint256 tokenAmount); event BuyBackEnabledUpdated(bool enabled); event AutoBuyBackEnabledUpdated(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; // Pancake Router Testnet v1 // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // uniswap Router Testnet v2 - Not existing I guess IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _startTimeForSwap = block.timestamp; 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 buyBackSellLimitAmount() public view returns (uint256) { return buyBackSellLimit; } 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 not 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"); if(from != owner() && to != owner()) { require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= minimumTokensBeforeSwap; if (to == uniswapV2Pair && balanceOf(uniswapV2Pair) > 0) { SellHistories memory sellHistory; sellHistory.time = block.timestamp; sellHistory.bnbAmount = _getSellBnBAmount(amount); _sellHistories.push(sellHistory); } // Sell tokens for ETH if (!inSwapAndLiquify && swapAndLiquifyEnabled && balanceOf(uniswapV2Pair) > 0) { if (to == uniswapV2Pair) { if (overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp) { _startTimeForSwap = block.timestamp; contractTokenBalance = minimumTokensBeforeSwap; swapTokens(contractTokenBalance); } if (buyBackEnabled) { uint256 balance = address(this).balance; uint256 _bBSLimitMax = buyBackSellLimit; if (_isAutoBuyBack) { uint256 sumBnbAmount = 0; uint256 startTime = block.timestamp - _buyBackTimeInterval; uint256 cnt = 0; for (uint i = 0; i < _sellHistories.length; i ++) { if (_sellHistories[i].time >= startTime) { sumBnbAmount = sumBnbAmount.add(_sellHistories[i].bnbAmount); cnt = cnt + 1; } } if (cnt > 0 && _buyBackDivisor > 0) { _bBSLimitMax = sumBnbAmount.div(cnt).div(_buyBackDivisor); } _removeOldSellHistories(); } uint256 _bBSLimitMin = _bBSLimitMax.mul(_buyBackRangeRate).div(100); uint256 _bBSLimit = _bBSLimitMin + uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1); if (balance > _bBSLimit) { buyBackTokens(_bBSLimit); } } } } bool takeFee = true; // If any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } else{ // Buy if(from == uniswapV2Pair){ removeAllFee(); _taxFee = _buyTaxFee; _liquidityFee = _buyLiquidityFee; } // Sell if(to == uniswapV2Pair){ removeAllFee(); _taxFee = _sellTaxFee; _liquidityFee = _sellLiquidityFee; } // If send account has a special fee if(_addressFees[from].enable){ removeAllFee(); _taxFee = _addressFees[from]._taxFee; _liquidityFee = _addressFees[from]._liquidityFee; // Sell if(to == uniswapV2Pair){ _taxFee = _addressFees[from]._sellTaxFee; _liquidityFee = _addressFees[from]._sellLiquidityFee; } } else{ // If buy account has a special fee if(_addressFees[to].enable){ //buy removeAllFee(); if(from == uniswapV2Pair){ _taxFee = _addressFees[to]._buyTaxFee; _liquidityFee = _addressFees[to]._buyLiquidityFee; } } } } _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 LP address transferToAddressETH(LPAddress, transferredBalance.mul(LPDivisor).div(100)); } 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); } /* Removed because never used. 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 _getSellBnBAmount(uint256 tokenAmount) private view returns(uint256) { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uint[] memory amounts = uniswapV2Router.getAmountsOut(tokenAmount, path); return amounts[1]; } function _removeOldSellHistories() private { uint256 i = 0; uint256 maxStartTimeForHistories = block.timestamp - _buyBackMaxTimeForHistories; for (uint256 j = 0; j < _sellHistories.length; j ++) { if (_sellHistories[j].time >= maxStartTimeForHistories) { _sellHistories[i].time = _sellHistories[j].time; _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount; i = i + 1; } } uint256 removedCnt = _sellHistories.length - i; for (uint256 j = 0; j < removedCnt; j ++) { _sellHistories.pop(); } } /* Owner can't change _buyBackMaxTimeForHistories function SetBuyBackMaxTimeForHistories(uint256 newMinutes) external onlyOwner { _buyBackMaxTimeForHistories = newMinutes * 1 minutes; } */ function SetBuyBackDivisor(uint256 newDivisor) external onlyOwner { _buyBackDivisor = newDivisor; } function GetBuyBackTimeInterval() public view returns(uint256) { return _buyBackTimeInterval.div(60); } /* Owner can't change _buyBackTimeInterval. function SetBuyBackTimeInterval(uint256 newMinutes) external onlyOwner { _buyBackTimeInterval = newMinutes * 1 minutes; } */ function SetBuyBackRangeRate(uint256 newPercent) external onlyOwner { require(newPercent <= 100, "The value must not be larger than 100."); _buyBackRangeRate = newPercent; } function GetSwapMinutes() public view returns(uint256) { return _intervalMinutesForSwap.div(60); } function SetSwapMinutes(uint256 newMinutes) external onlyOwner { _intervalMinutesForSwap = newMinutes * 1 minutes; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; } function setBuyFee(uint256 buyTaxFee, uint256 buyLiquidityFee) external onlyOwner { _buyTaxFee = buyTaxFee; _buyLiquidityFee = buyLiquidityFee; } function setSellFee(uint256 sellTaxFee, uint256 sellLiquidityFee) external onlyOwner { // Added maximum level of 25% to the sell and liquidity fees. require((sellTaxFee + sellLiquidityFee) <= 25, "TOO_MUCH_FEE"); _sellTaxFee = sellTaxFee; _sellLiquidityFee = sellLiquidityFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner { _liquidityFee = liquidityFee; } function setBuyBackSellLimit(uint256 buyBackSellSetLimit) external onlyOwner { buyBackSellLimit = buyBackSellSetLimit; } function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner { require(maxTxAmount >= (_tTotal / 100), "TOO_LOW_MAX_TX"); _maxTxAmount = maxTxAmount; } function setLPDivisor(uint256 divisor) external onlyOwner { LPDivisor = divisor; } function setNumTokensSellToAddToBuyBack(uint256 _minimumTokensBeforeSwap) external onlyOwner { minimumTokensBeforeSwap = _minimumTokensBeforeSwap; } function setLPAddress(address _LPAddress) external onlyOwner { LPAddress = payable(_LPAddress); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setBuyBackEnabled(bool _enabled) external onlyOwner { buyBackEnabled = _enabled; emit BuyBackEnabledUpdated(_enabled); } function setAutoBuyBackEnabled(bool _enabled) external onlyOwner { _isAutoBuyBack = _enabled; emit AutoBuyBackEnabledUpdated(_enabled); } function prepareForPreSale() external onlyOwner { setSwapAndLiquifyEnabled(false); _taxFee = 0; _liquidityFee = 0; _maxTxAmount = 420 * 10**6 * 10**9; } function afterPreSale() external onlyOwner { setSwapAndLiquifyEnabled(true); _taxFee = 3; _liquidityFee = 6; _maxTxAmount = 420 * 10**6 * 10**9; } function transferToAddressETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } function changeRouterVersion(address _router) external onlyOwner returns(address _pair) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_router); _pair = IUniswapV2Factory(_uniswapV2Router.factory()).getPair(address(this), _uniswapV2Router.WETH()); if(_pair == address(0)){ // Pair doesn't exist _pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); } uniswapV2Pair = _pair; // Set the router of the contract variables uniswapV2Router = _uniswapV2Router; } // To recieve ETH from uniswapV2Router when swapping receive() external payable {} function transferForeignToken(address _token, address _to) external onlyOwner returns(bool _sent){ require(_token != address(this), "Can't let you take all native token"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); _sent = IERC20(_token).transfer(_to, _contractBalance); } function Sweep() external onlyOwner { uint256 balance = address(this).balance; payable(owner()).transfer(balance); } function setAddressFee(address _address, bool _enable, uint256 _addressTaxFee, uint256 _addressLiquidityFee) external onlyOwner { require(_addressTaxFee <= 25, "TOO_MUCH_FEE"); require(_addressLiquidityFee <= 25, "TOO_MUCH_FEE"); _addressFees[_address].enable = _enable; _addressFees[_address]._taxFee = _addressTaxFee; _addressFees[_address]._liquidityFee = _addressLiquidityFee; } function setBuyAddressFee(address _address, bool _enable, uint256 _addressTaxFee, uint256 _addressLiquidityFee) external onlyOwner { require(_addressTaxFee <= 25, "TOO_MUCH_FEE"); require(_addressLiquidityFee <= 25, "TOO_MUCH_FEE"); _addressFees[_address].enable = _enable; _addressFees[_address]._buyTaxFee = _addressTaxFee; _addressFees[_address]._buyLiquidityFee = _addressLiquidityFee; } function setSellAddressFee(address _address, bool _enable, uint256 _addressTaxFee, uint256 _addressLiquidityFee) external onlyOwner { require(_addressTaxFee <= 25, "TOO_MUCH_FEE"); require(_addressLiquidityFee <= 25, "TOO_MUCH_FEE"); _addressFees[_address].enable = _enable; _addressFees[_address]._sellTaxFee = _addressTaxFee; _addressFees[_address]._sellLiquidityFee = _addressLiquidityFee; } } // SPDX-License-Identifier: Unlicensed
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"AutoBuyBackEnabledUpdated","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":"GetBuyBackTimeInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GetSwapMinutes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LPAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LPDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDivisor","type":"uint256"}],"name":"SetBuyBackDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"SetBuyBackRangeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinutes","type":"uint256"}],"name":"SetSwapMinutes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_addressFees","outputs":[{"internalType":"bool","name":"enable","type":"bool"},{"internalType":"uint256","name":"_taxFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_buyTaxFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellTaxFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyBackDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyBackMaxTimeForHistories","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyBackRangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyBackTimeInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_intervalMinutesForSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isAutoBuyBack","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isEnabledBuyBackAndBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_sellHistories","outputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"bnbAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_startTimeForSwap","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":[],"name":"buyBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackSellLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackSellLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"changeRouterVersion","outputs":[{"internalType":"address","name":"_pair","type":"address"}],"stateMutability":"nonpayable","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":"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":"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":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_enable","type":"bool"},{"internalType":"uint256","name":"_addressTaxFee","type":"uint256"},{"internalType":"uint256","name":"_addressLiquidityFee","type":"uint256"}],"name":"setAddressFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setAutoBuyBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_enable","type":"bool"},{"internalType":"uint256","name":"_addressTaxFee","type":"uint256"},{"internalType":"uint256","name":"_addressLiquidityFee","type":"uint256"}],"name":"setBuyAddressFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBuyBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackSellSetLimit","type":"uint256"}],"name":"setBuyBackSellLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyTaxFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_LPAddress","type":"address"}],"name":"setLPAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"setLPDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","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":"setNumTokensSellToAddToBuyBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_enable","type":"bool"},{"internalType":"uint256","name":"_addressTaxFee","type":"uint256"},{"internalType":"uint256","name":"_addressLiquidityFee","type":"uint256"}],"name":"setSellAddressFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sellTaxFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600380546001600160a01b03191673777e50de173a3a2cf43706e72faacd79366650e81790556ddead000000000000000000000000608052620000526705d423c655aa000060001962000425565b620000609060001962000401565b600a556003600c819055600d8190556006600e819055600f819055601082905560115560128190556009601355603c601555605060165560188190556705d423c655aa0000601955652632e314a000601a55620668a0601b55601d805460ff19166001179055601e5561012c601f55620151806020556022805461010160b01b62ffffff60a81b19909116179055348015620000fb57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a543360009081526004602081815260409283902093909355815163c45a015560e01b81529151737a250d5630b4cf539739df2c5dacb4c659f2488d93849363c45a0155938181019391829003018186803b1580156200019d57600080fd5b505afa158015620001b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d89190620003d1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200022157600080fd5b505afa15801562000236573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025c9190620003d1565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002a557600080fd5b505af1158015620002ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e09190620003d1565b602280546001600160a01b03199081166001600160a01b039384161790915560218054909116918316919091179055600160076000620003286000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600790925290208054909116600117905542601455620003743390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6705d423c655aa0000604051620003c291815260200190565b60405180910390a35062000446565b600060208284031215620003e3578081fd5b81516001600160a01b0381168114620003fa578182fd5b9392505050565b6000828210156200042057634e487b7160e01b81526011600452602481fd5b500390565b6000826200044157634e487b7160e01b81526012600452602481fd5b500690565b60805160601c61442f6200046c6000396000818161066c0152613a74015261442f6000f3fe6080604052600436106104775760003560e01c80636bc87c3a1161024a578063a69df4b511610139578063dd62ed3e116100b6578063ec28438a1161007a578063ec28438a14610e26578063efcc52de14610e46578063f2fde38b14610e5c578063faccd1d714610e7c578063fb0ecfa414610e9257600080fd5b8063dd62ed3e14610d6a578063df7d391914610db0578063e3df003414610dc6578063e79b032214610de6578063ea2f0b3714610e0657600080fd5b8063c49b9a80116100fd578063c49b9a8014610cd3578063c4a9baed14610cf3578063d5a3eb5014610d13578063dc44b6a014610d34578063dd46706414610d4a57600080fd5b8063a69df4b514610c3e578063a9059cbb14610c53578063afabc8c614610c73578063b14869fb14610c93578063baf9035014610cb357600080fd5b80638366e79a116101c757806395d89b411161018b57806395d89b4114610ba65780639715298e14610bd45780639f39e4c114610bf4578063a073d37f14610c09578063a457c2d714610c1e57600080fd5b80638366e79a14610af957806388790a6814610b1957806388f8202014610b2f5780638da5cb5b14610b685780638ee88c5314610b8657600080fd5b80637a351a1d1161020e5780637a351a1d14610a055780637b5a931a14610a255780637d00173214610a3a5780637d1db4a514610acd57806380c1244514610ae357600080fd5b80636bc87c3a1461098f5780637088fb7f146109a55780637090d9ae146109ba57806370a08231146109d0578063715018a6146109f057600080fd5b806339509351116103665780635342acb4116102e3578063602bc62b116102a7578063602bc62b1461090d5780636053a0e31461092257806365be043814610943578063690c22ca146109595780636ac9a8701461096f57600080fd5b80635342acb41461086b578063535acb7f146108a4578063557ed1ba146108c45780635881f3ef146108d75780635fa9ce3a146108f757600080fd5b80634906b5601161032a5780634906b560146107d557806349bd5a5e146107f55780634a74bb02146108155780635134f6ab1461083657806352390c021461084b57600080fd5b8063395093511461073f5780633b124fe71461075f5780633bd5d17314610775578063437823ec146107955780634549b039146107b557600080fd5b80631908226e116103f457806329370cc6116103b857806329370cc61461068e5780632d838119146106ae5780632deb50fb146106ce578063313ce567146107035780633685d4191461071f57600080fd5b80631908226e146105ee578063200a692d14610604578063239a093a1461061a57806323b872dd1461063a57806327c8f8351461065a57600080fd5b8063120f2eda1161043b578063120f2eda1461054757806313114a9d1461057f578063137ae83e1461059e5780631694505e146105b357806318160ddd146105d357600080fd5b8063061c82d01461048357806306fdde03146104a557806307efbfdc146104e8578063095ea7b3146104fd5780630f9b10e91461052d57600080fd5b3661047e57005b600080fd5b34801561048f57600080fd5b506104a361049e3660046140a3565b610eb2565b005b3480156104b157600080fd5b506040805180820190915260088152672227a3a2a122a2a960c11b60208201525b6040516104df9190614190565b60405180910390f35b3480156104f457600080fd5b506104a3610eea565b34801561050957600080fd5b5061051d610518366004613f80565b610f36565b60405190151581526020016104df565b34801561053957600080fd5b50601d5461051d9060ff1681565b34801561055357600080fd5b50600354610567906001600160a01b031681565b6040516001600160a01b0390911681526020016104df565b34801561058b57600080fd5b50600b545b6040519081526020016104df565b3480156105aa57600080fd5b50610590610f4d565b3480156105bf57600080fd5b50602154610567906001600160a01b031681565b3480156105df57600080fd5b506705d423c655aa0000610590565b3480156105fa57600080fd5b50610590601b5481565b34801561061057600080fd5b5061059060125481565b34801561062657600080fd5b506104a36106353660046140a3565b610f63565b34801561064657600080fd5b5061051d610655366004613efb565b610ff2565b34801561066657600080fd5b506105677f000000000000000000000000000000000000000000000000000000000000000081565b34801561069a57600080fd5b506104a36106a936600461406b565b61105b565b3480156106ba57600080fd5b506105906106c93660046140a3565b6110dd565b3480156106da57600080fd5b506106ee6106e93660046140a3565b611161565b604080519283526020830191909152016104df565b34801561070f57600080fd5b50604051600981526020016104df565b34801561072b57600080fd5b506104a361073a366004613e8b565b61118f565b34801561074b57600080fd5b5061051d61075a366004613f80565b61137e565b34801561076b57600080fd5b50610590600c5481565b34801561078157600080fd5b506104a36107903660046140a3565b6113b4565b3480156107a157600080fd5b506104a36107b0366004613e8b565b61149e565b3480156107c157600080fd5b506105906107d03660046140d3565b6114ec565b3480156107e157600080fd5b506104a36107f0366004613f3b565b61157f565b34801561080157600080fd5b50602254610567906001600160a01b031681565b34801561082157600080fd5b5060225461051d90600160a81b900460ff1681565b34801561084257600080fd5b506104a361161f565b34801561085757600080fd5b506104a3610866366004613e8b565b61166b565b34801561087757600080fd5b5061051d610886366004613e8b565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156108b057600080fd5b506104a36108bf3660046140a3565b6117be565b3480156108d057600080fd5b5042610590565b3480156108e357600080fd5b506105676108f2366004613e8b565b6117ed565b34801561090357600080fd5b5061059060155481565b34801561091957600080fd5b50600254610590565b34801561092e57600080fd5b5060225461051d90600160b01b900460ff1681565b34801561094f57600080fd5b5061059060165481565b34801561096557600080fd5b5061059060145481565b34801561097b57600080fd5b506104a361098a3660046140f7565b611b44565b34801561099b57600080fd5b50610590600e5481565b3480156109b157600080fd5b506104a3611ba3565b3480156109c657600080fd5b5061059060205481565b3480156109dc57600080fd5b506105906109eb366004613e8b565b611c18565b3480156109fc57600080fd5b506104a3611c77565b348015610a1157600080fd5b506104a3610a20366004613e8b565b611cd9565b348015610a3157600080fd5b50601b54610590565b348015610a4657600080fd5b50610a96610a55366004613e8b565b601760205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff9095169593949293919290919087565b6040805197151588526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016104df565b348015610ad957600080fd5b5061059060195481565b348015610aef57600080fd5b50610590601f5481565b348015610b0557600080fd5b5061051d610b14366004613ec3565b611d25565b348015610b2557600080fd5b5061059060135481565b348015610b3b57600080fd5b5061051d610b4a366004613e8b565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610b7457600080fd5b506000546001600160a01b0316610567565b348015610b9257600080fd5b506104a3610ba13660046140a3565b611ebd565b348015610bb257600080fd5b50604080518082019091526005815264424545525360d81b60208201526104d2565b348015610be057600080fd5b506104a3610bef3660046140a3565b611eec565b348015610c0057600080fd5b50610590611f1b565b348015610c1557600080fd5b50601a54610590565b348015610c2a57600080fd5b5061051d610c39366004613f80565b611f2c565b348015610c4a57600080fd5b506104a3611f7b565b348015610c5f57600080fd5b5061051d610c6e366004613f80565b612081565b348015610c7f57600080fd5b506104a3610c8e366004613f3b565b61208e565b348015610c9f57600080fd5b506104a3610cae3660046140a3565b61212e565b348015610cbf57600080fd5b506104a3610cce3660046140a3565b61215d565b348015610cdf57600080fd5b506104a3610cee36600461406b565b612198565b348015610cff57600080fd5b506104a3610d0e366004613f3b565b61220f565b348015610d1f57600080fd5b5060225461051d90600160b81b900460ff1681565b348015610d4057600080fd5b5061059060115481565b348015610d5657600080fd5b506104a3610d653660046140a3565b6122af565b348015610d7657600080fd5b50610590610d85366004613ec3565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610dbc57600080fd5b5061059060185481565b348015610dd257600080fd5b506104a3610de136600461406b565b612334565b348015610df257600080fd5b506104a3610e013660046140a3565b61239f565b348015610e1257600080fd5b506104a3610e21366004613e8b565b6123ce565b348015610e3257600080fd5b506104a3610e413660046140a3565b612419565b348015610e5257600080fd5b5061059060105481565b348015610e6857600080fd5b506104a3610e77366004613e8b565b61249b565b348015610e8857600080fd5b50610590601e5481565b348015610e9e57600080fd5b506104a3610ead3660046140f7565b612573565b6000546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610edc90614209565b60405180910390fd5b600c55565b6000546001600160a01b03163314610f145760405162461bcd60e51b8152600401610edc90614209565b610f1e6001612198565b6003600c556006600e556705d423c655aa0000601955565b6000610f433384846125a8565b5060015b92915050565b601554600090610f5e90603c6126cc565b905090565b6000546001600160a01b03163314610f8d5760405162461bcd60e51b8152600401610edc90614209565b6064811115610fed5760405162461bcd60e51b815260206004820152602660248201527f5468652076616c7565206d757374206e6f74206265206c61726765722074686160448201526537101898181760d11b6064820152608401610edc565b601655565b6000610fff84848461270e565b611051843361104c8560405180606001604052806028815260200161438d602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190612d8c565b6125a8565b5060019392505050565b6000546001600160a01b031633146110855760405162461bcd60e51b8152600401610edc90614209565b60228054821515600160b01b0260ff60b01b199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c0906110d290831515815260200190565b60405180910390a150565b6000600a548211156111445760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610edc565b600061114e612dc6565b905061115a83826126cc565b9392505050565b601c818154811061117157600080fd5b60009182526020909120600290910201805460019091015490915082565b6000546001600160a01b031633146111b95760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811660009081526008602052604090205460ff166112215760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610edc565b60005b60095481101561137a57816001600160a01b03166009828154811061125957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156113685760098054611284906001906142de565b815481106112a257634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b0390921691839081106112dc57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600890925220805460ff19169055600980548061134257634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80611372816142f5565b915050611224565b5050565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610f4391859061104c9086612de9565b3360008181526008602052604090205460ff16156114295760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610edc565b600061143483612e48565b505050506001600160a01b03841660009081526004602052604090205491925061146091905082612e97565b6001600160a01b038316600090815260046020526040902055600a546114869082612e97565b600a55600b546114969084612de9565b600b55505050565b6000546001600160a01b031633146114c85760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60006705d423c655aa00008311156115465760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610edc565b8161156557600061155684612e48565b50939550610f47945050505050565b600061157084612e48565b50929550610f47945050505050565b6000546001600160a01b031633146115a95760405162461bcd60e51b8152600401610edc90614209565b60198211156115ca5760405162461bcd60e51b8152600401610edc906141e3565b60198111156115eb5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600582015560060155565b6000546001600160a01b031633146116495760405162461bcd60e51b8152600401610edc90614209565b6116536000612198565b6000600c819055600e556705d423c655aa0000601955565b6000546001600160a01b031633146116955760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811660009081526008602052604090205460ff16156116fe5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610edc565b6001600160a01b03811660009081526004602052604090205415611758576001600160a01b03811660009081526004602052604090205461173e906110dd565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6000546001600160a01b031633146117e85760405162461bcd60e51b8152600401610edc90614209565b601b55565b600080546001600160a01b031633146118185760405162461bcd60e51b8152600401610edc90614209565b6000829050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561185657600080fd5b505afa15801561186a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188e9190613ea7565b6001600160a01b031663e6a4390530836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156118d657600080fd5b505afa1580156118ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190e9190613ea7565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b15801561195457600080fd5b505afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c9190613ea7565b91506001600160a01b038216611b1057806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d557600080fd5b505afa1580156119e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0d9190613ea7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611a5557600080fd5b505afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d9190613ea7565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611ad557600080fd5b505af1158015611ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0d9190613ea7565b91505b602280546001600160a01b038085166001600160a01b03199283161790925560218054939092169216919091179055919050565b6000546001600160a01b03163314611b6e5760405162461bcd60e51b8152600401610edc90614209565b6019611b7a8284614293565b1115611b985760405162461bcd60e51b8152600401610edc906141e3565b601291909155601355565b6000546001600160a01b03163314611bcd5760405162461bcd60e51b8152600401610edc90614209565b47611be06000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801561137a573d6000803e3d6000fd5b6001600160a01b03811660009081526008602052604081205460ff1615611c5557506001600160a01b031660009081526005602052604090205490565b6001600160a01b038216600090815260046020526040902054610f47906110dd565b6000546001600160a01b03163314611ca15760405162461bcd60e51b8152600401610edc90614209565b600080546040516001600160a01b03909116906000805160206143b5833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611d035760405162461bcd60e51b8152600401610edc90614209565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b03163314611d505760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b038316301415611db55760405162461bcd60e51b815260206004820152602360248201527f43616e2774206c657420796f752074616b6520616c6c206e617469766520746f60448201526235b2b760e91b6064820152608401610edc565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b158015611df757600080fd5b505afa158015611e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2f91906140bb565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b158015611e7d57600080fd5b505af1158015611e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb59190614087565b949350505050565b6000546001600160a01b03163314611ee75760405162461bcd60e51b8152600401610edc90614209565b600e55565b6000546001600160a01b03163314611f165760405162461bcd60e51b8152600401610edc90614209565b601855565b601f54600090610f5e90603c6126cc565b6000610f43338461104c856040518060600160405280602581526020016143d5602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190612d8c565b6001546001600160a01b03163314611fe15760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610edc565b60025442116120325760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610edc565b600154600080546040516001600160a01b0393841693909116916000805160206143b583398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610f4333848461270e565b6000546001600160a01b031633146120b85760405162461bcd60e51b8152600401610edc90614209565b60198211156120d95760405162461bcd60e51b8152600401610edc906141e3565b60198111156120fa5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600382015560040155565b6000546001600160a01b031633146121585760405162461bcd60e51b8152600401610edc90614209565b601a55565b6000546001600160a01b031633146121875760405162461bcd60e51b8152600401610edc90614209565b61219281603c6142bf565b60155550565b6000546001600160a01b031633146121c25760405162461bcd60e51b8152600401610edc90614209565b60228054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906110d290831515815260200190565b6000546001600160a01b031633146122395760405162461bcd60e51b8152600401610edc90614209565b601982111561225a5760405162461bcd60e51b8152600401610edc906141e3565b601981111561227b5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600182015560020155565b6000546001600160a01b031633146122d95760405162461bcd60e51b8152600401610edc90614209565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556123088142614293565b600255600080546040516001600160a01b03909116906000805160206143b5833981519152908390a350565b6000546001600160a01b0316331461235e5760405162461bcd60e51b8152600401610edc90614209565b601d805460ff19168215159081179091556040519081527fa53c6be1202d17d11e250c717d12c9ab9ccb8f62ee9f34c8b8e2173e3d9c2c03906020016110d2565b6000546001600160a01b031633146123c95760405162461bcd60e51b8152600401610edc90614209565b601e55565b6000546001600160a01b031633146123f85760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146124435760405162461bcd60e51b8152600401610edc90614209565b61245660646705d423c655aa00006142ab565b8110156124965760405162461bcd60e51b815260206004820152600e60248201526d0a89e9ebe989eaebe9a82b0bea8b60931b6044820152606401610edc565b601955565b6000546001600160a01b031633146124c55760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811661252a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610edc565b600080546040516001600160a01b03808516939216916000805160206143b583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461259d5760405162461bcd60e51b8152600401610edc90614209565b601091909155601155565b6001600160a01b03831661260a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610edc565b6001600160a01b03821661266b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610edc565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061115a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612ed9565b6001600160a01b0383166127725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610edc565b6001600160a01b0382166127d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610edc565b600081116128365760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610edc565b6000546001600160a01b0384811691161480159061286257506000546001600160a01b03838116911614155b156128ca576019548111156128ca5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610edc565b60006128d530611c18565b601a54602254919250821015906001600160a01b038581169116148015612911575060225460009061290f906001600160a01b0316611c18565b115b1561299d57604080518082019091526000602082015242815261293384612f07565b60208201908152601c805460018101825560009190915291517f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a211600290930292830155517f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a212909101555b602254600160a01b900460ff161580156129c05750602254600160a81b900460ff165b80156129e157506022546000906129df906001600160a01b0316611c18565b115b15612be0576022546001600160a01b0385811691161415612be057808015612a18575042601554601454612a159190614293565b11155b15612a2f5742601455601a549150612a2f826130c7565b602254600160b01b900460ff1615612be057601b54601d5447919060ff1615612b5157600080601f5442612a6391906142de565b90506000805b601c54811015612b135782601c8281548110612a9557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016000015410612b0157612af1601c8281548110612ad057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015485612de990919063ffffffff16565b9350612afe826001614293565b91505b80612b0b816142f5565b915050612a69565b50600081118015612b2657506000601e54115b15612b4557601e54612b4290612b3c85846126cc565b906126cc565b93505b612b4d613132565b5050505b6000612b6d6064612b3c601654856132f090919063ffffffff16565b90506000612b7b82846142de565b612b86906001614293565b6040805142602082015244918101919091526060016040516020818303038152906040528051906020012060001c612bbe9190614310565b612bc89083614293565b905080841115612bdb57612bdb8161336f565b505050505b6001600160a01b03851660009081526007602052604090205460019060ff1680612c2257506001600160a01b03851660009081526007602052604090205460ff165b15612c2f57506000612d78565b6022546001600160a01b0387811691161415612c5a57612c4d6133a1565b601054600c55601154600e555b6022546001600160a01b0386811691161415612c8557612c786133a1565b601254600c55601354600e555b6001600160a01b03861660009081526017602052604090205460ff1615612d1157612cae6133a1565b6001600160a01b0380871660009081526017602052604090206001810154600c5560020154600e5560225486821691161415612d0c576001600160a01b03861660009081526017602052604090206005810154600c5560060154600e555b612d78565b6001600160a01b03851660009081526017602052604090205460ff1615612d7857612d3a6133a1565b6022546001600160a01b0387811691161415612d78576001600160a01b03851660009081526017602052604090206003810154600c5560040154600e555b612d84868686846133cf565b505050505050565b60008184841115612db05760405162461bcd60e51b8152600401610edc9190614190565b506000612dbd84866142de565b95945050505050565b6000806000612dd36134f4565b9092509050612de282826126cc565b9250505090565b600080612df68385614293565b90508381101561115a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610edc565b6000806000806000806000806000612e5f8a6136c4565b9250925092506000806000612e7d8d8686612e78612dc6565b613706565b919f909e50909c50959a5093985091965092945050505050565b600061115a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d8c565b60008183612efa5760405162461bcd60e51b8152600401610edc9190614190565b506000612dbd84866142ab565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110612f4e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612fa257600080fd5b505afa158015612fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fda9190613ea7565b81600181518110612ffb57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260215460405163d06ca61f60e01b8152600092919091169063d06ca61f9061303f908790869060040161423e565b60006040518083038186803b15801561305757600080fd5b505afa15801561306b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130939190810190613fab565b9050806001815181106130b657634e487b7160e01b600052603260045260246000fd5b602002602001015192505050919050565b6022805460ff60a01b1916600160a01b179055476130e482613756565b60006130f04783612e97565b600354601854919250613120916001600160a01b039091169061311b90606490612b3c9086906132f0565b613914565b50506022805460ff60a01b1916905550565b6000806020544261314391906142de565b905060005b601c5481101561327c5781601c828154811061317457634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600001541061326a57601c81815481106131ac57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154601c84815481106131df57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060029091020155601c80548290811061321257634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160010154601c848154811061324557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055508260016132679190614293565b92505b80613274816142f5565b915050613148565b50601c5460009061328e9084906142de565b905060005b818110156132ea57601c8054806132ba57634e487b7160e01b600052603160045260246000fd5b600082815260208120600260001990930192830201818155600101559055806132e2816142f5565b915050613293565b50505050565b6000826132ff57506000610f47565b600061330b83856142bf565b90508261331885836142ab565b1461115a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610edc565b6022805460ff60a01b1916600160a01b1790558015613391576133918161394f565b506022805460ff60a01b19169055565b600c541580156133b15750600e54155b156133b857565b600c8054600d55600e8054600f5560009182905555565b806133dc576133dc6133a1565b6001600160a01b03841660009081526008602052604090205460ff16801561341d57506001600160a01b03831660009081526008602052604090205460ff16155b156134325761342d848484613b21565b6134de565b6001600160a01b03841660009081526008602052604090205460ff1615801561347357506001600160a01b03831660009081526008602052604090205460ff165b156134835761342d848484613c47565b6001600160a01b03841660009081526008602052604090205460ff1680156134c357506001600160a01b03831660009081526008602052604090205460ff165b156134d35761342d848484613cf0565b6134de848484613d63565b806132ea576132ea600d54600c55600f54600e55565b600a5460009081906705d423c655aa0000825b6009548110156136895782600460006009848154811061353757634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806135b0575081600560006009848154811061358957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156135cb575050600a54936705d423c655aa00009350915050565b61361f60046000600984815481106135f357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612e97565b9250613675600560006009848154811061364957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612e97565b915080613681816142f5565b915050613507565b50600a5461369f906705d423c655aa00006126cc565b8210156136bb575050600a54926705d423c655aa000092509050565b90939092509050565b6000806000806136d385613da7565b905060006136e086613dc3565b905060006136f8826136f28986612e97565b90612e97565b979296509094509092505050565b600080808061371588866132f0565b9050600061372388876132f0565b9050600061373188886132f0565b90506000613743826136f28686612e97565b939b939a50919850919650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061379957634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156137ed57600080fd5b505afa158015613801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138259190613ea7565b8160018151811061384657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260215461386c91309116846125a8565b60215460405163791ac94760e01b81526001600160a01b039091169063791ac947906138a5908590600090869030904290600401614257565b600060405180830381600087803b1580156138bf57600080fd5b505af11580156138d3573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a7828260405161390892919061423e565b60405180910390a15050565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561394a573d6000803e3d6000fd5b505050565b6040805160028082526060820183526000926020830190803683375050602154604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b1580156139b457600080fd5b505afa1580156139c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ec9190613ea7565b81600081518110613a0d57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613a4f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526021541663b6f9de95836000847f0000000000000000000000000000000000000000000000000000000000000000613a9f4261012c612de9565b6040518663ffffffff1660e01b8152600401613abe949392919061415b565b6000604051808303818588803b158015613ad757600080fd5b505af1158015613aeb573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a9624828260405161390892919061423e565b600080600080600080613b3387612e48565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150613b659088612e97565b6001600160a01b038a16600090815260056020908152604080832093909355600490522054613b949087612e97565b6001600160a01b03808b1660009081526004602052604080822093909355908a1681522054613bc39086612de9565b6001600160a01b038916600090815260046020526040902055613be581613ddf565b613bef8483613e67565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613c3491815260200190565b60405180910390a3505050505050505050565b600080600080600080613c5987612e48565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150613c8b9087612e97565b6001600160a01b03808b16600090815260046020908152604080832094909455918b16815260059091522054613cc19084612de9565b6001600160a01b038916600090815260056020908152604080832093909355600490522054613bc39086612de9565b600080600080600080613d0287612e48565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150613d349088612e97565b6001600160a01b038a16600090815260056020908152604080832093909355600490522054613c8b9087612e97565b600080600080600080613d7587612e48565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150613b949087612e97565b6000610f476064612b3c600c54856132f090919063ffffffff16565b6000610f476064612b3c600e54856132f090919063ffffffff16565b6000613de9612dc6565b90506000613df783836132f0565b30600090815260046020526040902054909150613e149082612de9565b3060009081526004602090815260408083209390935560089052205460ff161561394a5730600090815260056020526040902054613e529084612de9565b30600090815260056020526040902055505050565b600a54613e749083612e97565b600a55600b54613e849082612de9565b600b555050565b600060208284031215613e9c578081fd5b813561115a81614366565b600060208284031215613eb8578081fd5b815161115a81614366565b60008060408385031215613ed5578081fd5b8235613ee081614366565b91506020830135613ef081614366565b809150509250929050565b600080600060608486031215613f0f578081fd5b8335613f1a81614366565b92506020840135613f2a81614366565b929592945050506040919091013590565b60008060008060808587031215613f50578081fd5b8435613f5b81614366565b93506020850135613f6b8161437e565b93969395505050506040820135916060013590565b60008060408385031215613f92578182fd5b8235613f9d81614366565b946020939093013593505050565b60006020808385031215613fbd578182fd5b825167ffffffffffffffff80821115613fd4578384fd5b818501915085601f830112613fe7578384fd5b815181811115613ff957613ff9614350565b8060051b604051601f19603f8301168101818110858211171561401e5761401e614350565b604052828152858101935084860182860187018a101561403c578788fd5b8795505b8386101561405e578051855260019590950194938601938601614040565b5098975050505050505050565b60006020828403121561407c578081fd5b813561115a8161437e565b600060208284031215614098578081fd5b815161115a8161437e565b6000602082840312156140b4578081fd5b5035919050565b6000602082840312156140cc578081fd5b5051919050565b600080604083850312156140e5578182fd5b823591506020830135613ef08161437e565b60008060408385031215614109578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156141505781516001600160a01b03168752958201959082019060010161412b565b509495945050505050565b8481526080602082015260006141746080830186614118565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b818110156141bc578581018301518582016040015282016141a0565b818111156141cd5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252600c908201526b544f4f5f4d5543485f46454560a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b828152604060208201526000611eb56040830184614118565b85815284602082015260a06040820152600061427660a0830186614118565b6001600160a01b0394909416606083015250608001529392505050565b600082198211156142a6576142a6614324565b500190565b6000826142ba576142ba61433a565b500490565b60008160001904831182151516156142d9576142d9614324565b500290565b6000828210156142f0576142f0614324565b500390565b600060001982141561430957614309614324565b5060010190565b60008261431f5761431f61433a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461437b57600080fd5b50565b801515811461437b57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207698eb3a6f285f58561fbf76f2fddde955c39cfeb2f3222f49c7d2c75cb1eb4764736f6c63430008040033
Deployed Bytecode
0x6080604052600436106104775760003560e01c80636bc87c3a1161024a578063a69df4b511610139578063dd62ed3e116100b6578063ec28438a1161007a578063ec28438a14610e26578063efcc52de14610e46578063f2fde38b14610e5c578063faccd1d714610e7c578063fb0ecfa414610e9257600080fd5b8063dd62ed3e14610d6a578063df7d391914610db0578063e3df003414610dc6578063e79b032214610de6578063ea2f0b3714610e0657600080fd5b8063c49b9a80116100fd578063c49b9a8014610cd3578063c4a9baed14610cf3578063d5a3eb5014610d13578063dc44b6a014610d34578063dd46706414610d4a57600080fd5b8063a69df4b514610c3e578063a9059cbb14610c53578063afabc8c614610c73578063b14869fb14610c93578063baf9035014610cb357600080fd5b80638366e79a116101c757806395d89b411161018b57806395d89b4114610ba65780639715298e14610bd45780639f39e4c114610bf4578063a073d37f14610c09578063a457c2d714610c1e57600080fd5b80638366e79a14610af957806388790a6814610b1957806388f8202014610b2f5780638da5cb5b14610b685780638ee88c5314610b8657600080fd5b80637a351a1d1161020e5780637a351a1d14610a055780637b5a931a14610a255780637d00173214610a3a5780637d1db4a514610acd57806380c1244514610ae357600080fd5b80636bc87c3a1461098f5780637088fb7f146109a55780637090d9ae146109ba57806370a08231146109d0578063715018a6146109f057600080fd5b806339509351116103665780635342acb4116102e3578063602bc62b116102a7578063602bc62b1461090d5780636053a0e31461092257806365be043814610943578063690c22ca146109595780636ac9a8701461096f57600080fd5b80635342acb41461086b578063535acb7f146108a4578063557ed1ba146108c45780635881f3ef146108d75780635fa9ce3a146108f757600080fd5b80634906b5601161032a5780634906b560146107d557806349bd5a5e146107f55780634a74bb02146108155780635134f6ab1461083657806352390c021461084b57600080fd5b8063395093511461073f5780633b124fe71461075f5780633bd5d17314610775578063437823ec146107955780634549b039146107b557600080fd5b80631908226e116103f457806329370cc6116103b857806329370cc61461068e5780632d838119146106ae5780632deb50fb146106ce578063313ce567146107035780633685d4191461071f57600080fd5b80631908226e146105ee578063200a692d14610604578063239a093a1461061a57806323b872dd1461063a57806327c8f8351461065a57600080fd5b8063120f2eda1161043b578063120f2eda1461054757806313114a9d1461057f578063137ae83e1461059e5780631694505e146105b357806318160ddd146105d357600080fd5b8063061c82d01461048357806306fdde03146104a557806307efbfdc146104e8578063095ea7b3146104fd5780630f9b10e91461052d57600080fd5b3661047e57005b600080fd5b34801561048f57600080fd5b506104a361049e3660046140a3565b610eb2565b005b3480156104b157600080fd5b506040805180820190915260088152672227a3a2a122a2a960c11b60208201525b6040516104df9190614190565b60405180910390f35b3480156104f457600080fd5b506104a3610eea565b34801561050957600080fd5b5061051d610518366004613f80565b610f36565b60405190151581526020016104df565b34801561053957600080fd5b50601d5461051d9060ff1681565b34801561055357600080fd5b50600354610567906001600160a01b031681565b6040516001600160a01b0390911681526020016104df565b34801561058b57600080fd5b50600b545b6040519081526020016104df565b3480156105aa57600080fd5b50610590610f4d565b3480156105bf57600080fd5b50602154610567906001600160a01b031681565b3480156105df57600080fd5b506705d423c655aa0000610590565b3480156105fa57600080fd5b50610590601b5481565b34801561061057600080fd5b5061059060125481565b34801561062657600080fd5b506104a36106353660046140a3565b610f63565b34801561064657600080fd5b5061051d610655366004613efb565b610ff2565b34801561066657600080fd5b506105677f000000000000000000000000000000000000000000000000000000000000dead81565b34801561069a57600080fd5b506104a36106a936600461406b565b61105b565b3480156106ba57600080fd5b506105906106c93660046140a3565b6110dd565b3480156106da57600080fd5b506106ee6106e93660046140a3565b611161565b604080519283526020830191909152016104df565b34801561070f57600080fd5b50604051600981526020016104df565b34801561072b57600080fd5b506104a361073a366004613e8b565b61118f565b34801561074b57600080fd5b5061051d61075a366004613f80565b61137e565b34801561076b57600080fd5b50610590600c5481565b34801561078157600080fd5b506104a36107903660046140a3565b6113b4565b3480156107a157600080fd5b506104a36107b0366004613e8b565b61149e565b3480156107c157600080fd5b506105906107d03660046140d3565b6114ec565b3480156107e157600080fd5b506104a36107f0366004613f3b565b61157f565b34801561080157600080fd5b50602254610567906001600160a01b031681565b34801561082157600080fd5b5060225461051d90600160a81b900460ff1681565b34801561084257600080fd5b506104a361161f565b34801561085757600080fd5b506104a3610866366004613e8b565b61166b565b34801561087757600080fd5b5061051d610886366004613e8b565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156108b057600080fd5b506104a36108bf3660046140a3565b6117be565b3480156108d057600080fd5b5042610590565b3480156108e357600080fd5b506105676108f2366004613e8b565b6117ed565b34801561090357600080fd5b5061059060155481565b34801561091957600080fd5b50600254610590565b34801561092e57600080fd5b5060225461051d90600160b01b900460ff1681565b34801561094f57600080fd5b5061059060165481565b34801561096557600080fd5b5061059060145481565b34801561097b57600080fd5b506104a361098a3660046140f7565b611b44565b34801561099b57600080fd5b50610590600e5481565b3480156109b157600080fd5b506104a3611ba3565b3480156109c657600080fd5b5061059060205481565b3480156109dc57600080fd5b506105906109eb366004613e8b565b611c18565b3480156109fc57600080fd5b506104a3611c77565b348015610a1157600080fd5b506104a3610a20366004613e8b565b611cd9565b348015610a3157600080fd5b50601b54610590565b348015610a4657600080fd5b50610a96610a55366004613e8b565b601760205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff9095169593949293919290919087565b6040805197151588526020880196909652948601939093526060850191909152608084015260a083015260c082015260e0016104df565b348015610ad957600080fd5b5061059060195481565b348015610aef57600080fd5b50610590601f5481565b348015610b0557600080fd5b5061051d610b14366004613ec3565b611d25565b348015610b2557600080fd5b5061059060135481565b348015610b3b57600080fd5b5061051d610b4a366004613e8b565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610b7457600080fd5b506000546001600160a01b0316610567565b348015610b9257600080fd5b506104a3610ba13660046140a3565b611ebd565b348015610bb257600080fd5b50604080518082019091526005815264424545525360d81b60208201526104d2565b348015610be057600080fd5b506104a3610bef3660046140a3565b611eec565b348015610c0057600080fd5b50610590611f1b565b348015610c1557600080fd5b50601a54610590565b348015610c2a57600080fd5b5061051d610c39366004613f80565b611f2c565b348015610c4a57600080fd5b506104a3611f7b565b348015610c5f57600080fd5b5061051d610c6e366004613f80565b612081565b348015610c7f57600080fd5b506104a3610c8e366004613f3b565b61208e565b348015610c9f57600080fd5b506104a3610cae3660046140a3565b61212e565b348015610cbf57600080fd5b506104a3610cce3660046140a3565b61215d565b348015610cdf57600080fd5b506104a3610cee36600461406b565b612198565b348015610cff57600080fd5b506104a3610d0e366004613f3b565b61220f565b348015610d1f57600080fd5b5060225461051d90600160b81b900460ff1681565b348015610d4057600080fd5b5061059060115481565b348015610d5657600080fd5b506104a3610d653660046140a3565b6122af565b348015610d7657600080fd5b50610590610d85366004613ec3565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610dbc57600080fd5b5061059060185481565b348015610dd257600080fd5b506104a3610de136600461406b565b612334565b348015610df257600080fd5b506104a3610e013660046140a3565b61239f565b348015610e1257600080fd5b506104a3610e21366004613e8b565b6123ce565b348015610e3257600080fd5b506104a3610e413660046140a3565b612419565b348015610e5257600080fd5b5061059060105481565b348015610e6857600080fd5b506104a3610e77366004613e8b565b61249b565b348015610e8857600080fd5b50610590601e5481565b348015610e9e57600080fd5b506104a3610ead3660046140f7565b612573565b6000546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610edc90614209565b60405180910390fd5b600c55565b6000546001600160a01b03163314610f145760405162461bcd60e51b8152600401610edc90614209565b610f1e6001612198565b6003600c556006600e556705d423c655aa0000601955565b6000610f433384846125a8565b5060015b92915050565b601554600090610f5e90603c6126cc565b905090565b6000546001600160a01b03163314610f8d5760405162461bcd60e51b8152600401610edc90614209565b6064811115610fed5760405162461bcd60e51b815260206004820152602660248201527f5468652076616c7565206d757374206e6f74206265206c61726765722074686160448201526537101898181760d11b6064820152608401610edc565b601655565b6000610fff84848461270e565b611051843361104c8560405180606001604052806028815260200161438d602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190612d8c565b6125a8565b5060019392505050565b6000546001600160a01b031633146110855760405162461bcd60e51b8152600401610edc90614209565b60228054821515600160b01b0260ff60b01b199091161790556040517f3794234fa370c9f3b948dda3e3040530785b2ef1eb27dda3ffde478f4e2643c0906110d290831515815260200190565b60405180910390a150565b6000600a548211156111445760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610edc565b600061114e612dc6565b905061115a83826126cc565b9392505050565b601c818154811061117157600080fd5b60009182526020909120600290910201805460019091015490915082565b6000546001600160a01b031633146111b95760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811660009081526008602052604090205460ff166112215760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c756465640000000000000000006044820152606401610edc565b60005b60095481101561137a57816001600160a01b03166009828154811061125957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156113685760098054611284906001906142de565b815481106112a257634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b0390921691839081106112dc57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600582526040808220829055600890925220805460ff19169055600980548061134257634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80611372816142f5565b915050611224565b5050565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610f4391859061104c9086612de9565b3360008181526008602052604090205460ff16156114295760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610edc565b600061143483612e48565b505050506001600160a01b03841660009081526004602052604090205491925061146091905082612e97565b6001600160a01b038316600090815260046020526040902055600a546114869082612e97565b600a55600b546114969084612de9565b600b55505050565b6000546001600160a01b031633146114c85760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60006705d423c655aa00008311156115465760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610edc565b8161156557600061155684612e48565b50939550610f47945050505050565b600061157084612e48565b50929550610f47945050505050565b6000546001600160a01b031633146115a95760405162461bcd60e51b8152600401610edc90614209565b60198211156115ca5760405162461bcd60e51b8152600401610edc906141e3565b60198111156115eb5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600582015560060155565b6000546001600160a01b031633146116495760405162461bcd60e51b8152600401610edc90614209565b6116536000612198565b6000600c819055600e556705d423c655aa0000601955565b6000546001600160a01b031633146116955760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811660009081526008602052604090205460ff16156116fe5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610edc565b6001600160a01b03811660009081526004602052604090205415611758576001600160a01b03811660009081526004602052604090205461173e906110dd565b6001600160a01b0382166000908152600560205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6000546001600160a01b031633146117e85760405162461bcd60e51b8152600401610edc90614209565b601b55565b600080546001600160a01b031633146118185760405162461bcd60e51b8152600401610edc90614209565b6000829050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561185657600080fd5b505afa15801561186a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188e9190613ea7565b6001600160a01b031663e6a4390530836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156118d657600080fd5b505afa1580156118ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190e9190613ea7565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b15801561195457600080fd5b505afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c9190613ea7565b91506001600160a01b038216611b1057806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d557600080fd5b505afa1580156119e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0d9190613ea7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611a5557600080fd5b505afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d9190613ea7565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611ad557600080fd5b505af1158015611ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0d9190613ea7565b91505b602280546001600160a01b038085166001600160a01b03199283161790925560218054939092169216919091179055919050565b6000546001600160a01b03163314611b6e5760405162461bcd60e51b8152600401610edc90614209565b6019611b7a8284614293565b1115611b985760405162461bcd60e51b8152600401610edc906141e3565b601291909155601355565b6000546001600160a01b03163314611bcd5760405162461bcd60e51b8152600401610edc90614209565b47611be06000546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801561137a573d6000803e3d6000fd5b6001600160a01b03811660009081526008602052604081205460ff1615611c5557506001600160a01b031660009081526005602052604090205490565b6001600160a01b038216600090815260046020526040902054610f47906110dd565b6000546001600160a01b03163314611ca15760405162461bcd60e51b8152600401610edc90614209565b600080546040516001600160a01b03909116906000805160206143b5833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314611d035760405162461bcd60e51b8152600401610edc90614209565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b03163314611d505760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b038316301415611db55760405162461bcd60e51b815260206004820152602360248201527f43616e2774206c657420796f752074616b6520616c6c206e617469766520746f60448201526235b2b760e91b6064820152608401610edc565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b158015611df757600080fd5b505afa158015611e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2f91906140bb565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb90604401602060405180830381600087803b158015611e7d57600080fd5b505af1158015611e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb59190614087565b949350505050565b6000546001600160a01b03163314611ee75760405162461bcd60e51b8152600401610edc90614209565b600e55565b6000546001600160a01b03163314611f165760405162461bcd60e51b8152600401610edc90614209565b601855565b601f54600090610f5e90603c6126cc565b6000610f43338461104c856040518060600160405280602581526020016143d5602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190612d8c565b6001546001600160a01b03163314611fe15760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610edc565b60025442116120325760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610edc565b600154600080546040516001600160a01b0393841693909116916000805160206143b583398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000610f4333848461270e565b6000546001600160a01b031633146120b85760405162461bcd60e51b8152600401610edc90614209565b60198211156120d95760405162461bcd60e51b8152600401610edc906141e3565b60198111156120fa5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600382015560040155565b6000546001600160a01b031633146121585760405162461bcd60e51b8152600401610edc90614209565b601a55565b6000546001600160a01b031633146121875760405162461bcd60e51b8152600401610edc90614209565b61219281603c6142bf565b60155550565b6000546001600160a01b031633146121c25760405162461bcd60e51b8152600401610edc90614209565b60228054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906110d290831515815260200190565b6000546001600160a01b031633146122395760405162461bcd60e51b8152600401610edc90614209565b601982111561225a5760405162461bcd60e51b8152600401610edc906141e3565b601981111561227b5760405162461bcd60e51b8152600401610edc906141e3565b6001600160a01b03939093166000908152601760205260409020805460ff1916921515929092178255600182015560020155565b6000546001600160a01b031633146122d95760405162461bcd60e51b8152600401610edc90614209565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556123088142614293565b600255600080546040516001600160a01b03909116906000805160206143b5833981519152908390a350565b6000546001600160a01b0316331461235e5760405162461bcd60e51b8152600401610edc90614209565b601d805460ff19168215159081179091556040519081527fa53c6be1202d17d11e250c717d12c9ab9ccb8f62ee9f34c8b8e2173e3d9c2c03906020016110d2565b6000546001600160a01b031633146123c95760405162461bcd60e51b8152600401610edc90614209565b601e55565b6000546001600160a01b031633146123f85760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146124435760405162461bcd60e51b8152600401610edc90614209565b61245660646705d423c655aa00006142ab565b8110156124965760405162461bcd60e51b815260206004820152600e60248201526d0a89e9ebe989eaebe9a82b0bea8b60931b6044820152606401610edc565b601955565b6000546001600160a01b031633146124c55760405162461bcd60e51b8152600401610edc90614209565b6001600160a01b03811661252a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610edc565b600080546040516001600160a01b03808516939216916000805160206143b583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461259d5760405162461bcd60e51b8152600401610edc90614209565b601091909155601155565b6001600160a01b03831661260a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610edc565b6001600160a01b03821661266b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610edc565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061115a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612ed9565b6001600160a01b0383166127725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610edc565b6001600160a01b0382166127d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610edc565b600081116128365760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610edc565b6000546001600160a01b0384811691161480159061286257506000546001600160a01b03838116911614155b156128ca576019548111156128ca5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610edc565b60006128d530611c18565b601a54602254919250821015906001600160a01b038581169116148015612911575060225460009061290f906001600160a01b0316611c18565b115b1561299d57604080518082019091526000602082015242815261293384612f07565b60208201908152601c805460018101825560009190915291517f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a211600290930292830155517f0e4562a10381dec21b205ed72637e6b1b523bdd0e4d4d50af5cd23dd4500a212909101555b602254600160a01b900460ff161580156129c05750602254600160a81b900460ff165b80156129e157506022546000906129df906001600160a01b0316611c18565b115b15612be0576022546001600160a01b0385811691161415612be057808015612a18575042601554601454612a159190614293565b11155b15612a2f5742601455601a549150612a2f826130c7565b602254600160b01b900460ff1615612be057601b54601d5447919060ff1615612b5157600080601f5442612a6391906142de565b90506000805b601c54811015612b135782601c8281548110612a9557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016000015410612b0157612af1601c8281548110612ad057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015485612de990919063ffffffff16565b9350612afe826001614293565b91505b80612b0b816142f5565b915050612a69565b50600081118015612b2657506000601e54115b15612b4557601e54612b4290612b3c85846126cc565b906126cc565b93505b612b4d613132565b5050505b6000612b6d6064612b3c601654856132f090919063ffffffff16565b90506000612b7b82846142de565b612b86906001614293565b6040805142602082015244918101919091526060016040516020818303038152906040528051906020012060001c612bbe9190614310565b612bc89083614293565b905080841115612bdb57612bdb8161336f565b505050505b6001600160a01b03851660009081526007602052604090205460019060ff1680612c2257506001600160a01b03851660009081526007602052604090205460ff165b15612c2f57506000612d78565b6022546001600160a01b0387811691161415612c5a57612c4d6133a1565b601054600c55601154600e555b6022546001600160a01b0386811691161415612c8557612c786133a1565b601254600c55601354600e555b6001600160a01b03861660009081526017602052604090205460ff1615612d1157612cae6133a1565b6001600160a01b0380871660009081526017602052604090206001810154600c5560020154600e5560225486821691161415612d0c576001600160a01b03861660009081526017602052604090206005810154600c5560060154600e555b612d78565b6001600160a01b03851660009081526017602052604090205460ff1615612d7857612d3a6133a1565b6022546001600160a01b0387811691161415612d78576001600160a01b03851660009081526017602052604090206003810154600c5560040154600e555b612d84868686846133cf565b505050505050565b60008184841115612db05760405162461bcd60e51b8152600401610edc9190614190565b506000612dbd84866142de565b95945050505050565b6000806000612dd36134f4565b9092509050612de282826126cc565b9250505090565b600080612df68385614293565b90508381101561115a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610edc565b6000806000806000806000806000612e5f8a6136c4565b9250925092506000806000612e7d8d8686612e78612dc6565b613706565b919f909e50909c50959a5093985091965092945050505050565b600061115a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d8c565b60008183612efa5760405162461bcd60e51b8152600401610edc9190614190565b506000612dbd84866142ab565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110612f4e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612fa257600080fd5b505afa158015612fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fda9190613ea7565b81600181518110612ffb57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260215460405163d06ca61f60e01b8152600092919091169063d06ca61f9061303f908790869060040161423e565b60006040518083038186803b15801561305757600080fd5b505afa15801561306b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526130939190810190613fab565b9050806001815181106130b657634e487b7160e01b600052603260045260246000fd5b602002602001015192505050919050565b6022805460ff60a01b1916600160a01b179055476130e482613756565b60006130f04783612e97565b600354601854919250613120916001600160a01b039091169061311b90606490612b3c9086906132f0565b613914565b50506022805460ff60a01b1916905550565b6000806020544261314391906142de565b905060005b601c5481101561327c5781601c828154811061317457634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600001541061326a57601c81815481106131ac57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154601c84815481106131df57634e487b7160e01b600052603260045260246000fd5b6000918252602090912060029091020155601c80548290811061321257634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160010154601c848154811061324557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055508260016132679190614293565b92505b80613274816142f5565b915050613148565b50601c5460009061328e9084906142de565b905060005b818110156132ea57601c8054806132ba57634e487b7160e01b600052603160045260246000fd5b600082815260208120600260001990930192830201818155600101559055806132e2816142f5565b915050613293565b50505050565b6000826132ff57506000610f47565b600061330b83856142bf565b90508261331885836142ab565b1461115a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610edc565b6022805460ff60a01b1916600160a01b1790558015613391576133918161394f565b506022805460ff60a01b19169055565b600c541580156133b15750600e54155b156133b857565b600c8054600d55600e8054600f5560009182905555565b806133dc576133dc6133a1565b6001600160a01b03841660009081526008602052604090205460ff16801561341d57506001600160a01b03831660009081526008602052604090205460ff16155b156134325761342d848484613b21565b6134de565b6001600160a01b03841660009081526008602052604090205460ff1615801561347357506001600160a01b03831660009081526008602052604090205460ff165b156134835761342d848484613c47565b6001600160a01b03841660009081526008602052604090205460ff1680156134c357506001600160a01b03831660009081526008602052604090205460ff165b156134d35761342d848484613cf0565b6134de848484613d63565b806132ea576132ea600d54600c55600f54600e55565b600a5460009081906705d423c655aa0000825b6009548110156136895782600460006009848154811061353757634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806135b0575081600560006009848154811061358957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156135cb575050600a54936705d423c655aa00009350915050565b61361f60046000600984815481106135f357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612e97565b9250613675600560006009848154811061364957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612e97565b915080613681816142f5565b915050613507565b50600a5461369f906705d423c655aa00006126cc565b8210156136bb575050600a54926705d423c655aa000092509050565b90939092509050565b6000806000806136d385613da7565b905060006136e086613dc3565b905060006136f8826136f28986612e97565b90612e97565b979296509094509092505050565b600080808061371588866132f0565b9050600061372388876132f0565b9050600061373188886132f0565b90506000613743826136f28686612e97565b939b939a50919850919650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061379957634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152602154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156137ed57600080fd5b505afa158015613801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138259190613ea7565b8160018151811061384657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260215461386c91309116846125a8565b60215460405163791ac94760e01b81526001600160a01b039091169063791ac947906138a5908590600090869030904290600401614257565b600060405180830381600087803b1580156138bf57600080fd5b505af11580156138d3573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a7828260405161390892919061423e565b60405180910390a15050565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561394a573d6000803e3d6000fd5b505050565b6040805160028082526060820183526000926020830190803683375050602154604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b1580156139b457600080fd5b505afa1580156139c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ec9190613ea7565b81600081518110613a0d57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613a4f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526021541663b6f9de95836000847f000000000000000000000000000000000000000000000000000000000000dead613a9f4261012c612de9565b6040518663ffffffff1660e01b8152600401613abe949392919061415b565b6000604051808303818588803b158015613ad757600080fd5b505af1158015613aeb573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a9624828260405161390892919061423e565b600080600080600080613b3387612e48565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150613b659088612e97565b6001600160a01b038a16600090815260056020908152604080832093909355600490522054613b949087612e97565b6001600160a01b03808b1660009081526004602052604080822093909355908a1681522054613bc39086612de9565b6001600160a01b038916600090815260046020526040902055613be581613ddf565b613bef8483613e67565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613c3491815260200190565b60405180910390a3505050505050505050565b600080600080600080613c5987612e48565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150613c8b9087612e97565b6001600160a01b03808b16600090815260046020908152604080832094909455918b16815260059091522054613cc19084612de9565b6001600160a01b038916600090815260056020908152604080832093909355600490522054613bc39086612de9565b600080600080600080613d0287612e48565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150613d349088612e97565b6001600160a01b038a16600090815260056020908152604080832093909355600490522054613c8b9087612e97565b600080600080600080613d7587612e48565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150613b949087612e97565b6000610f476064612b3c600c54856132f090919063ffffffff16565b6000610f476064612b3c600e54856132f090919063ffffffff16565b6000613de9612dc6565b90506000613df783836132f0565b30600090815260046020526040902054909150613e149082612de9565b3060009081526004602090815260408083209390935560089052205460ff161561394a5730600090815260056020526040902054613e529084612de9565b30600090815260056020526040902055505050565b600a54613e749083612e97565b600a55600b54613e849082612de9565b600b555050565b600060208284031215613e9c578081fd5b813561115a81614366565b600060208284031215613eb8578081fd5b815161115a81614366565b60008060408385031215613ed5578081fd5b8235613ee081614366565b91506020830135613ef081614366565b809150509250929050565b600080600060608486031215613f0f578081fd5b8335613f1a81614366565b92506020840135613f2a81614366565b929592945050506040919091013590565b60008060008060808587031215613f50578081fd5b8435613f5b81614366565b93506020850135613f6b8161437e565b93969395505050506040820135916060013590565b60008060408385031215613f92578182fd5b8235613f9d81614366565b946020939093013593505050565b60006020808385031215613fbd578182fd5b825167ffffffffffffffff80821115613fd4578384fd5b818501915085601f830112613fe7578384fd5b815181811115613ff957613ff9614350565b8060051b604051601f19603f8301168101818110858211171561401e5761401e614350565b604052828152858101935084860182860187018a101561403c578788fd5b8795505b8386101561405e578051855260019590950194938601938601614040565b5098975050505050505050565b60006020828403121561407c578081fd5b813561115a8161437e565b600060208284031215614098578081fd5b815161115a8161437e565b6000602082840312156140b4578081fd5b5035919050565b6000602082840312156140cc578081fd5b5051919050565b600080604083850312156140e5578182fd5b823591506020830135613ef08161437e565b60008060408385031215614109578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156141505781516001600160a01b03168752958201959082019060010161412b565b509495945050505050565b8481526080602082015260006141746080830186614118565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b818110156141bc578581018301518582016040015282016141a0565b818111156141cd5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252600c908201526b544f4f5f4d5543485f46454560a01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b828152604060208201526000611eb56040830184614118565b85815284602082015260a06040820152600061427660a0830186614118565b6001600160a01b0394909416606083015250608001529392505050565b600082198211156142a6576142a6614324565b500190565b6000826142ba576142ba61433a565b500490565b60008160001904831182151516156142d9576142d9614324565b500290565b6000828210156142f0576142f0614324565b500390565b600060001982141561430957614309614324565b5060010190565b60008261431f5761431f61433a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461437b57600080fd5b50565b801515811461437b57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207698eb3a6f285f58561fbf76f2fddde955c39cfeb2f3222f49c7d2c75cb1eb4764736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.