Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
MEME
Overview
Max Total Supply
420,690,000,000 OKLG
Holders
1,280 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
243,192.886105511 OKLGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OKLG
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)
/* ok.let's.go. ($OKLG) Website = https://oklg.io Telegram = https://t.me/ok_lg Twitter = https://twitter.com/oklgio */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; import './interfaces/IConditional.sol'; contract OKLG is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public treasuryWallet = payable(0xDb3AC91239b79Fae75c21E1f75a189b1D75dD906); address public constant deadAddress = 0x000000000000000000000000000000000000dEaD; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isSniper; address[] private _confirmedSnipers; uint256 public rewardsClaimTimeSeconds = 60 * 60 * 4; // 4 hours mapping(address => uint256) private _rewardsLastClaim; mapping(address => bool) private _isExcludedFee; mapping(address => bool) private _isExcludedReward; address[] private _excluded; string private constant _name = 'ok.lets.go.'; string private constant _symbol = 'OKLG'; uint8 private constant _decimals = 9; uint256 private constant MAX = ~uint256(0); uint256 private constant _tTotal = 420690000000 * 10**_decimals; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; uint256 public reflectionFee = 2; uint256 private _previousReflectFee = reflectionFee; uint256 public treasuryFee = 4; uint256 private _previousTreasuryFee = treasuryFee; uint256 public ethRewardsFee = 2; uint256 private _previousETHRewardsFee = ethRewardsFee; uint256 public ethRewardsBalance; uint256 public buybackFee = 2; uint256 private _previousBuybackFee = buybackFee; address public buybackTokenAddress = address(this); address public buybackReceiver = deadAddress; uint256 public feeSellMultiplier = 1; uint256 public feeRate = 2; uint256 public launchTime; uint256 public boostRewardsPercent = 50; address public boostRewardsContract; address public feeExclusionContract; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isUniswapPair; // PancakeSwap: 0x10ED43C718714eb63d5aA57B78B54704E256024E // Uniswap V2: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D address private constant _uniswapRouterAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; bool private _inSwapAndLiquify; bool private _isSelling; bool private _tradingOpen = false; bool private _transferOpen = false; event SendETHRewards(address to, uint256 amountETH); event SendTokenRewards(address to, address token, uint256 amount); event SwapETHForTokens(address whereTo, uint256 amountIn, address[] path); event SwapTokensForETH(uint256 amountIn, address[] path); event SwapAndLiquify( uint256 tokensSwappedForEth, uint256 ethAddedForLp, uint256 tokensAddedForLp ); modifier lockTheSwap() { _inSwapAndLiquify = true; _; _inSwapAndLiquify = false; } constructor() { _rOwned[_msgSender()] = _rTotal; emit Transfer(address(0), _msgSender(), _tTotal); } function initContract() external onlyOwner { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( _uniswapRouterAddress ); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); uniswapV2Router = _uniswapV2Router; _isExcludedFee[owner()] = true; _isExcludedFee[address(this)] = true; } function openTrading() external onlyOwner { treasuryFee = _previousTreasuryFee; ethRewardsFee = _previousETHRewardsFee; reflectionFee = _previousReflectFee; buybackFee = _previousBuybackFee; _tradingOpen = true; _transferOpen = true; launchTime = block.timestamp; } function name() external pure returns (string memory) { return _name; } function symbol() external pure returns (string memory) { return _symbol; } function decimals() external pure returns (uint8) { return _decimals; } function totalSupply() external pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcludedReward[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) external view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) external override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) external 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) external virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, 'ERC20: decreased allowance below zero' ) ); return true; } function getLastETHRewardsClaim(address wallet) external view returns (uint256) { return _rewardsLastClaim[wallet]; } function totalFees() external view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) external { address sender = _msgSender(); require( !_isExcludedReward[sender], 'Excluded addresses cannot call this function' ); (uint256 rAmount, , , , , ) = _getValues(sender, tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) external view returns (uint256) { require(tAmount <= _tTotal, 'Amount must be less than supply'); if (!deductTransferFee) { (uint256 rAmount, , , , , ) = _getValues(address(0), tAmount); return rAmount; } else { (, uint256 rTransferAmount, , , , ) = _getValues(address(0), 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) external onlyOwner { require(!_isExcludedReward[account], 'Account is already excluded'); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcludedReward[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner { require(_isExcludedReward[account], 'Account is already included'); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcludedReward[account] = false; _excluded.pop(); break; } } } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), 'ERC20: approve from the zero address'); require(spender != address(0), 'ERC20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), 'ERC20: transfer from the zero address'); require(to != address(0), 'ERC20: transfer to the zero address'); require(amount > 0, 'Transfer amount must be greater than zero'); require(!_isSniper[to], 'Stop sniping!'); require(!_isSniper[from], 'Stop sniping!'); require(!_isSniper[_msgSender()], 'Stop sniping!'); require( _transferOpen || from == owner(), 'transferring tokens is not currently allowed' ); // reset receiver's timer to prevent users buying and // immmediately transferring to buypass timer _rewardsLastClaim[to] = block.timestamp; bool excludedFromFee = false; // buy if ( (from == uniswapV2Pair || _isUniswapPair[from]) && to != address(uniswapV2Router) ) { // normal buy, check for snipers if (!isExcludedFromFee(to)) { require(_tradingOpen, 'Trading not yet enabled.'); // antibot if (block.timestamp == launchTime) { _isSniper[to] = true; _confirmedSnipers.push(to); } _rewardsLastClaim[from] = block.timestamp; } else { // set excluded flag for takeFee below since buyer is excluded excludedFromFee = true; } } // sell if ( !_inSwapAndLiquify && _tradingOpen && (to == uniswapV2Pair || _isUniswapPair[to]) ) { uint256 _contractTokenBalance = balanceOf(address(this)); if (_contractTokenBalance > 0) { if ( _contractTokenBalance > balanceOf(uniswapV2Pair).mul(feeRate).div(100) ) { _contractTokenBalance = balanceOf(uniswapV2Pair).mul(feeRate).div( 100 ); } _swapTokens(_contractTokenBalance); } _rewardsLastClaim[from] = block.timestamp; _isSelling = true; excludedFromFee = isExcludedFromFee(from); } bool takeFee = false; // take fee only on swaps if ( (from == uniswapV2Pair || to == uniswapV2Pair || _isUniswapPair[to] || _isUniswapPair[from]) && !excludedFromFee ) { takeFee = true; } _tokenTransfer(from, to, amount, takeFee); _isSelling = false; } function _swapTokens(uint256 _contractTokenBalance) private lockTheSwap { uint256 ethBalanceBefore = address(this).balance; _swapTokensForEth(_contractTokenBalance); uint256 ethBalanceAfter = address(this).balance; uint256 ethBalanceUpdate = ethBalanceAfter.sub(ethBalanceBefore); uint256 _liquidityFeeTotal = _liquidityFeeAggregate(address(0)); ethRewardsBalance += ethBalanceUpdate.mul(ethRewardsFee).div( _liquidityFeeTotal ); // send ETH to treasury address uint256 treasuryETHBalance = ethBalanceUpdate.mul(treasuryFee).div( _liquidityFeeTotal ); if (treasuryETHBalance > 0) { _sendETHToTreasury(treasuryETHBalance); } // buy back uint256 buybackETHBalance = ethBalanceUpdate.mul(buybackFee).div( _liquidityFeeTotal ); if (buybackETHBalance > 0) { _buyBackTokens(buybackETHBalance); } } function _sendETHToTreasury(uint256 amount) private { treasuryWallet.call{ value: amount }(''); } function _buyBackTokens(uint256 amount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = uniswapV2Router.WETH(); path[1] = buybackTokenAddress; // make the swap uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{ value: amount }( 0, // accept any amount of tokens path, buybackReceiver, block.timestamp ); emit SwapETHForTokens(buybackReceiver, amount, path); } 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 _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) _removeAllFee(); if (_isExcludedReward[sender] && !_isExcludedReward[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcludedReward[sender] && _isExcludedReward[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (_isExcludedReward[sender] && _isExcludedReward[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(sender, 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(sender, 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(sender, 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(sender, 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(address seller, uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues( seller, tAmount ); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, _getRate() ); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(address seller, uint256 tAmount) private view returns ( uint256, uint256, uint256 ) { uint256 tFee = _calculateReflectFee(tAmount); uint256 tLiquidity = _calculateLiquidityFee(seller, 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 (_isExcludedReward[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function _calculateReflectFee(uint256 _amount) private view returns (uint256) { return _amount.mul(reflectionFee).div(10**2); } function _liquidityFeeAggregate(address seller) private view returns (uint256) { uint256 feeMultiplier = _isSelling && !canClaimRewards(seller) ? feeSellMultiplier : 1; return (treasuryFee.add(ethRewardsFee).add(buybackFee)).mul(feeMultiplier); } function _calculateLiquidityFee(address seller, uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFeeAggregate(seller)).div(10**2); } function _removeAllFee() private { if ( reflectionFee == 0 && treasuryFee == 0 && ethRewardsFee == 0 && buybackFee == 0 ) return; _previousReflectFee = reflectionFee; _previousTreasuryFee = treasuryFee; _previousETHRewardsFee = ethRewardsFee; _previousBuybackFee = buybackFee; reflectionFee = 0; treasuryFee = 0; ethRewardsFee = 0; buybackFee = 0; } function _restoreAllFee() private { reflectionFee = _previousReflectFee; treasuryFee = _previousTreasuryFee; ethRewardsFee = _previousETHRewardsFee; buybackFee = _previousBuybackFee; } function getSellSlippage(address seller) external view returns (uint256) { uint256 feeAgg = treasuryFee.add(ethRewardsFee).add(buybackFee); return isExcludedFromFee(seller) ? 0 : !canClaimRewards(seller) ? feeAgg.mul(feeSellMultiplier) : feeAgg; } function isUniswapPair(address _pair) external view returns (bool) { if (_pair == uniswapV2Pair) return true; return _isUniswapPair[_pair]; } function eligibleForRewardBooster(address wallet) public view returns (bool) { return boostRewardsContract != address(0) && IConditional(boostRewardsContract).passesTest(wallet); } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFee[account] || (feeExclusionContract != address(0) && IConditional(feeExclusionContract).passesTest(account)); } function isExcludedFromReward(address account) external view returns (bool) { return _isExcludedReward[account]; } function excludeFromFee(address account) external onlyOwner { _isExcludedFee[account] = true; } function includeInFee(address account) external onlyOwner { _isExcludedFee[account] = false; } function setRewardsClaimTimeSeconds(uint256 _seconds) external onlyOwner { rewardsClaimTimeSeconds = _seconds; } function setReflectionFeePercent(uint256 _newFee) external onlyOwner { require(_newFee <= 100, 'fee cannot exceed 100%'); reflectionFee = _newFee; } function setTreasuryFeePercent(uint256 _newFee) external onlyOwner { require(_newFee <= 100, 'fee cannot exceed 100%'); treasuryFee = _newFee; } function setETHRewardsFeeFeePercent(uint256 _newFee) external onlyOwner { require(_newFee <= 100, 'fee cannot exceed 100%'); ethRewardsFee = _newFee; } function setFeeSellMultiplier(uint256 multiplier) external onlyOwner { require( multiplier > 0 && multiplier <= 10, 'must be greater than 0 and less than or equal to 10' ); feeSellMultiplier = multiplier; } function setBuybackFeePercent(uint256 _newFee) external onlyOwner { require(_newFee <= 100, 'fee cannot exceed 100%'); buybackFee = _newFee; } function setTreasuryAddress(address _treasuryWallet) external onlyOwner { treasuryWallet = payable(_treasuryWallet); } function setBuybackTokenAddress(address _tokenAddress) external onlyOwner { buybackTokenAddress = _tokenAddress; } function setBuybackReceiver(address _receiver) external onlyOwner { buybackReceiver = _receiver; } function addUniswapPair(address _pair) external onlyOwner { _isUniswapPair[_pair] = true; } function removeUniswapPair(address _pair) external onlyOwner { _isUniswapPair[_pair] = false; } function setCanTransfer(bool _canTransfer) external onlyOwner { _transferOpen = _canTransfer; } function setBoostRewardsPercent(uint256 perc) external onlyOwner { boostRewardsPercent = perc; } function setBoostRewardsContract(address _contract) external onlyOwner { if (_contract != address(0)) { IConditional _contCheck = IConditional(_contract); // allow setting to zero address to effectively turn off check logic require( _contCheck.passesTest(address(0)) == true || _contCheck.passesTest(address(0)) == false, 'contract does not implement interface' ); } boostRewardsContract = _contract; } function setFeeExclusionContract(address _contract) external onlyOwner { if (_contract != address(0)) { IConditional _contCheck = IConditional(_contract); // allow setting to zero address to effectively turn off check logic require( _contCheck.passesTest(address(0)) == true || _contCheck.passesTest(address(0)) == false, 'contract does not implement interface' ); } feeExclusionContract = _contract; } function isRemovedSniper(address account) external view returns (bool) { return _isSniper[account]; } function removeSniper(address account) external onlyOwner { require(account != _uniswapRouterAddress, 'We can not blacklist Uniswap'); require(!_isSniper[account], 'Account is already blacklisted'); _isSniper[account] = true; _confirmedSnipers.push(account); } function amnestySniper(address account) external onlyOwner { require(_isSniper[account], 'Account is not blacklisted'); for (uint256 i = 0; i < _confirmedSnipers.length; i++) { if (_confirmedSnipers[i] == account) { _confirmedSnipers[i] = _confirmedSnipers[_confirmedSnipers.length - 1]; _isSniper[account] = false; _confirmedSnipers.pop(); break; } } } function calculateETHRewards(address wallet) public view returns (uint256) { uint256 baseRewards = ethRewardsBalance.mul(balanceOf(wallet)).div( _tTotal.sub(balanceOf(deadAddress)) // circulating supply ); uint256 rewardsWithBooster = eligibleForRewardBooster(wallet) ? baseRewards.add(baseRewards.mul(boostRewardsPercent).div(10**2)) : baseRewards; return rewardsWithBooster > ethRewardsBalance ? baseRewards : rewardsWithBooster; } function calculateTokenRewards(address wallet, address tokenAddress) public view returns (uint256) { IERC20 token = IERC20(tokenAddress); uint256 contractTokenBalance = token.balanceOf(address(this)); uint256 baseRewards = contractTokenBalance.mul(balanceOf(wallet)).div( _tTotal.sub(balanceOf(deadAddress)) // circulating supply ); uint256 rewardsWithBooster = eligibleForRewardBooster(wallet) ? baseRewards.add(baseRewards.mul(boostRewardsPercent).div(10**2)) : baseRewards; return rewardsWithBooster > contractTokenBalance ? baseRewards : rewardsWithBooster; } function claimETHRewards() external { require( balanceOf(_msgSender()) > 0, 'You must have a balance to claim ETH rewards' ); require( canClaimRewards(_msgSender()), 'Must wait claim period before claiming rewards' ); _rewardsLastClaim[_msgSender()] = block.timestamp; uint256 rewardsSent = calculateETHRewards(_msgSender()); ethRewardsBalance -= rewardsSent; _msgSender().call{ value: rewardsSent }(''); emit SendETHRewards(_msgSender(), rewardsSent); } function canClaimRewards(address user) public view returns (bool) { return block.timestamp > _rewardsLastClaim[user].add(rewardsClaimTimeSeconds); } function claimTokenRewards(address token) external { require( balanceOf(_msgSender()) > 0, 'You must have a balance to claim rewards' ); require( IERC20(token).balanceOf(address(this)) > 0, 'We must have a token balance to claim rewards' ); require( canClaimRewards(_msgSender()), 'Must wait claim period before claiming rewards' ); _rewardsLastClaim[_msgSender()] = block.timestamp; uint256 rewardsSent = calculateTokenRewards(_msgSender(), token); IERC20(token).transfer(_msgSender(), rewardsSent); emit SendTokenRewards(_msgSender(), token, rewardsSent); } function setFeeRate(uint256 _rate) external onlyOwner { feeRate = _rate; } function emergencyWithdraw() external onlyOwner { payable(owner()).send(address(this).balance); } // to recieve ETH from uniswapV2Router when swaping receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
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 Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @dev Interface for the Buy Back Reward contract that can be used to build * custom logic to elevate user rewards */ interface IConditional { /** * @dev Returns whether a wallet passes the test. */ function passesTest(address wallet) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
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); }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"}],"name":"SendETHRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendTokenRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwappedForEth","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAddedForLp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensAddedForLp","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"whereTo","type":"address"},{"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":[{"internalType":"address","name":"_pair","type":"address"}],"name":"addUniswapPair","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":"account","type":"address"}],"name":"amnestySniper","outputs":[],"stateMutability":"nonpayable","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":"boostRewardsContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostRewardsPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"calculateETHRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"calculateTokenRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"canClaimRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimETHRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimTokenRewards","outputs":[],"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":"pure","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":"wallet","type":"address"}],"name":"eligibleForRewardBooster","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethRewardsBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"feeExclusionContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSellMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getLastETHRewardsClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"seller","type":"address"}],"name":"getSellSlippage","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":[],"name":"initContract","outputs":[],"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":"address","name":"account","type":"address"}],"name":"isRemovedSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"isUniswapPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reflectionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"removeUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsClaimTimeSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setBoostRewardsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perc","type":"uint256"}],"name":"setBoostRewardsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setBuybackFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setBuybackReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"setBuybackTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_canTransfer","type":"bool"}],"name":"setCanTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setETHRewardsFeeFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setFeeExclusionContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplier","type":"uint256"}],"name":"setFeeSellMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setReflectionFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setRewardsClaimTimeSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setTreasuryFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600180546001600160a01b03191673db3ac91239b79fae75c21e1f75a189b1d75dd9061790556138406007556200003e6009600a620001f4565b6200004f906461f313f880620002c2565b6200005d90600019620002fe565b6200006b90600019620002e4565b600c556002600e819055600f819055600460108190556011556012819055601381905560158190556016819055601780546001600160a01b031990811630179091556018805490911661dead1790556001601955601a556032601c556022805463ffff000019169055348015620000e157600080fd5b50620000ed336200015b565b600c5433600081815260026020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001336009600a620001f4565b62000144906461f313f880620002c2565b60405190815260200160405180910390a362000335565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600181815b80851115620001ec578160001904821115620001d057620001d06200031f565b80851615620001de57918102915b93841c9390800290620001b0565b509250929050565b60006200020560ff8416836200020c565b9392505050565b6000826200021d57506001620002bc565b816200022c57506000620002bc565b8160018114620002455760028114620002505762000270565b6001915050620002bc565b60ff8411156200026457620002646200031f565b50506001821b620002bc565b5060208310610133831016604e8410600b841016171562000295575081810a620002bc565b620002a18383620001ab565b8060001904821115620002b857620002b86200031f565b0290505b92915050565b6000816000190483118215151615620002df57620002df6200031f565b500290565b600082821015620002f957620002f96200031f565b500390565b6000826200031a57634e487b7160e01b81526012600452602481fd5b500690565b634e487b7160e01b600052601160045260246000fd5b61441380620003456000396000f3fe60806040526004361061042a5760003560e01c8063610d5b1911610229578063a7f404e21161012e578063d0c48342116100b6578063ea2f0b371161007a578063ea2f0b3714610cd4578063f2fde38b14610cf4578063f4234ad714610d14578063f709300d14610d2a578063fda55a3d14610d4a57600080fd5b8063d0c4834214610c19578063d94fc43014610c39578063db2e21bc14610c59578063dc6571eb14610c6e578063dd62ed3e14610c8e57600080fd5b8063b74411e1116100fd578063b74411e114610b8e578063bd008d0414610bae578063c5b3442214610bce578063c9567bf914610bee578063cc32d17614610c0357600080fd5b8063a7f404e214610b19578063a9059cbb14610b39578063a9b47a6614610b59578063b4b72c1d14610b7957600080fd5b80638da5cb5b116101b1578063978bbdb911610180578063978bbdb914610a8d5780639a1313db14610aa35780639cece12e14610ab9578063a457c2d714610ad9578063a6931ed714610af957600080fd5b80638da5cb5b14610a025780638ef588fc14610a2057806392d9029d14610a4057806395d89b4114610a6057600080fd5b806375ae267d116101f857806375ae267d14610968578063790ca413146109885780638203f5fe1461099e57806383ad7994146109b357806388f82020146109c957600080fd5b8063610d5b19146108da5780636605bfda1461091357806370a0823114610933578063715018a61461095357600080fd5b806333251a0b1161032f578063437823ec116102b757806349bd5a5e1161028657806349bd5a5e146108445780634fa33dd71461086457806352390c021461087a5780635342acb41461089a57806356e1221c146108ba57600080fd5b8063437823ec146107c45780634549b039146107e457806345596e2e146108045780634626402b1461082457600080fd5b80633a17fd67116102fe5780633a17fd67146107225780633b2d081c146107425780633bd5d1731461075857806340ea75131461077857806343558a911461078e57600080fd5b806333251a0b146106a257806335e0edb0146106c25780633685d419146106e2578063395093511461070257600080fd5b80631df59e2f116103b25780632355c9f8116103815780632355c9f81461061057806323b872dd1461063057806327c8f835146106505780632d83811914610666578063313ce5671461068657600080fd5b80631df59e2f1461059a5780631f0cff72146105ba5780631f7ede2b146105da5780632014e5d6146105fa57600080fd5b80630e1c80b9116103f95780630e1c80b9146104ee57806313114a9d1461050e57806313c6d3db1461052d5780631694505e1461054d57806318160ddd1461058557600080fd5b806306aa52f91461043657806306fdde0314610458578063095ea7b31461049e5780630b2a808c146104ce57600080fd5b3661043157005b600080fd5b34801561044257600080fd5b50610456610451366004613e33565b610d6a565b005b34801561046457600080fd5b5060408051808201909152600b81526a37b5973632ba399733b79760a91b60208201525b6040516104959190614042565b60405180910390f35b3480156104aa57600080fd5b506104be6104b9366004613ee3565b610fd8565b6040519015158152602001610495565b3480156104da57600080fd5b506104566104e9366004613e33565b610fef565b3480156104fa57600080fd5b50610456610509366004613e33565b6111d5565b34801561051a57600080fd5b50600d545b604051908152602001610495565b34801561053957600080fd5b50610456610548366004613f46565b61134d565b34801561055957600080fd5b50601f5461056d906001600160a01b031681565b6040516001600160a01b039091168152602001610495565b34801561059157600080fd5b5061051f61139d565b3480156105a657600080fd5b5060185461056d906001600160a01b031681565b3480156105c657600080fd5b506104be6105d5366004613e33565b6113bf565b3480156105e657600080fd5b506104566105f5366004613f46565b611455565b34801561060657600080fd5b5061051f60125481565b34801561061c57600080fd5b5061045661062b366004613e33565b6114a5565b34801561063c57600080fd5b506104be61064b366004613ea3565b61161d565b34801561065c57600080fd5b5061056d61dead81565b34801561067257600080fd5b5061051f610681366004613f46565b611686565b34801561069257600080fd5b5060405160098152602001610495565b3480156106ae57600080fd5b506104566106bd366004613e33565b61170a565b3480156106ce57600080fd5b506104566106dd366004613f46565b611870565b3480156106ee57600080fd5b506104566106fd366004613e33565b611918565b34801561070e57600080fd5b506104be61071d366004613ee3565b611add565b34801561072e57600080fd5b5061051f61073d366004613e6b565b611b13565b34801561074e57600080fd5b5061051f60155481565b34801561076457600080fd5b50610456610773366004613f46565b611c37565b34801561078457600080fd5b5061051f60075481565b34801561079a57600080fd5b5061051f6107a9366004613e33565b6001600160a01b031660009081526008602052604090205490565b3480156107d057600080fd5b506104566107df366004613e33565b611d22565b3480156107f057600080fd5b5061051f6107ff366004613f76565b611d70565b34801561081057600080fd5b5061045661081f366004613f46565b611e19565b34801561083057600080fd5b5060015461056d906001600160a01b031681565b34801561085057600080fd5b5060205461056d906001600160a01b031681565b34801561087057600080fd5b5061051f60195481565b34801561088657600080fd5b50610456610895366004613e33565b611e48565b3480156108a657600080fd5b506104be6108b5366004613e33565b611f9b565b3480156108c657600080fd5b506104566108d5366004613f46565b612004565b3480156108e657600080fd5b506104be6108f5366004613e33565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561091f57600080fd5b5061045661092e366004613e33565b612054565b34801561093f57600080fd5b5061051f61094e366004613e33565b6120a0565b34801561095f57600080fd5b506104566120ff565b34801561097457600080fd5b50610456610983366004613f0e565b612135565b34801561099457600080fd5b5061051f601b5481565b3480156109aa57600080fd5b5061045661217d565b3480156109bf57600080fd5b5061051f600e5481565b3480156109d557600080fd5b506104be6109e4366004613e33565b6001600160a01b03166000908152600a602052604090205460ff1690565b348015610a0e57600080fd5b506000546001600160a01b031661056d565b348015610a2c57600080fd5b50610456610a3b366004613e33565b612396565b348015610a4c57600080fd5b50610456610a5b366004613f46565b6123e2565b348015610a6c57600080fd5b506040805180820190915260048152634f4b4c4760e01b6020820152610488565b348015610a9957600080fd5b5061051f601a5481565b348015610aaf57600080fd5b5061051f60145481565b348015610ac557600080fd5b506104be610ad4366004613e33565b612411565b348015610ae557600080fd5b506104be610af4366004613ee3565b612451565b348015610b0557600080fd5b50610456610b14366004613e33565b6124a0565b348015610b2557600080fd5b50610456610b34366004613e33565b6124eb565b348015610b4557600080fd5b506104be610b54366004613ee3565b612539565b348015610b6557600080fd5b506104be610b74366004613e33565b612546565b348015610b8557600080fd5b50610456612576565b348015610b9a57600080fd5b50610456610ba9366004613e33565b6126d1565b348015610bba57600080fd5b50610456610bc9366004613f46565b61271d565b348015610bda57600080fd5b50601d5461056d906001600160a01b031681565b348015610bfa57600080fd5b5061045661274c565b348015610c0f57600080fd5b5061051f60105481565b348015610c2557600080fd5b5061051f610c34366004613e33565b6127a7565b348015610c4557600080fd5b5060175461056d906001600160a01b031681565b348015610c6557600080fd5b5061045661281f565b348015610c7a57600080fd5b5061051f610c89366004613e33565b612874565b348015610c9a57600080fd5b5061051f610ca9366004613e6b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610ce057600080fd5b50610456610cef366004613e33565b6128d9565b348015610d0057600080fd5b50610456610d0f366004613e33565b612924565b348015610d2057600080fd5b5061051f601c5481565b348015610d3657600080fd5b50601e5461056d906001600160a01b031681565b348015610d5657600080fd5b50610456610d65366004613f46565b6129bf565b6000610d75336120a0565b11610dd85760405162461bcd60e51b815260206004820152602860248201527f596f75206d757374206861766520612062616c616e636520746f20636c61696d604482015267207265776172647360c01b60648201526084015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610e1a57600080fd5b505afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190613f5e565b11610eb55760405162461bcd60e51b815260206004820152602d60248201527f5765206d7573742068617665206120746f6b656e2062616c616e636520746f2060448201526c636c61696d207265776172647360981b6064820152608401610dcf565b610ebe33612546565b610eda5760405162461bcd60e51b8152600401610dcf90614095565b33600081815260086020526040812042905590610ef79083611b13565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b158015610f5157600080fd5b505af1158015610f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f899190613f2a565b50604080513381526001600160a01b03841660208201529081018290527f461310925e682d8354b34f2245c1ea43ea9a27ceea708a1be23757f31eb88b4f906060015b60405180910390a15050565b6000610fe5338484612a0f565b5060015b92915050565b6000546001600160a01b031633146110195760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03811660009081526005602052604090205460ff166110815760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610dcf565b60005b6006548110156111d157816001600160a01b0316600682815481106110b957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156111bf57600680546110e49060019061434e565b8154811061110257634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b03909216918390811061113c57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff19169055600680548061119957634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806111c981614365565b915050611084565b5050565b6000546001600160a01b031633146111ff5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381161561132b57604051632b35867560e11b81526000600482015281906001600160a01b0382169063566b0cea9060240160206040518083038186803b15801561125057600080fd5b505afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190613f2a565b15156001148061130d5750604051632b35867560e11b8152600060048201526001600160a01b0382169063566b0cea9060240160206040518083038186803b1580156112d357600080fd5b505afa1580156112e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130b9190613f2a565b155b6113295760405162461bcd60e51b8152600401610dcf90614118565b505b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113775760405162461bcd60e51b8152600401610dcf906140e3565b60648111156113985760405162461bcd60e51b8152600401610dcf90614184565b601255565b60006113ab6009600a614284565b6113ba906461f313f88061432f565b905090565b601d546000906001600160a01b031615801590610fe95750601d54604051632b35867560e11b81526001600160a01b0384811660048301529091169063566b0cea906024015b60206040518083038186803b15801561141d57600080fd5b505afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe99190613f2a565b6000546001600160a01b0316331461147f5760405162461bcd60e51b8152600401610dcf906140e3565b60648111156114a05760405162461bcd60e51b8152600401610dcf90614184565b600e55565b6000546001600160a01b031633146114cf5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b038116156115fb57604051632b35867560e11b81526000600482015281906001600160a01b0382169063566b0cea9060240160206040518083038186803b15801561152057600080fd5b505afa158015611534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115589190613f2a565b1515600114806115dd5750604051632b35867560e11b8152600060048201526001600160a01b0382169063566b0cea9060240160206040518083038186803b1580156115a357600080fd5b505afa1580156115b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115db9190613f2a565b155b6115f95760405162461bcd60e51b8152600401610dcf90614118565b505b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b600061162a848484612b33565b61167c8433611677856040518060600160405280602881526020016143ba602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061308e565b612a0f565b5060019392505050565b6000600c548211156116ed5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610dcf565b60006116f76130ba565b905061170383826130dd565b9392505050565b6000546001600160a01b031633146117345760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14156117a15760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610dcf565b6001600160a01b03811660009081526005602052604090205460ff161561180a5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610dcf565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b0316331461189a5760405162461bcd60e51b8152600401610dcf906140e3565b6000811180156118ab5750600a8111155b6119135760405162461bcd60e51b815260206004820152603360248201527f6d7573742062652067726561746572207468616e203020616e64206c6573732060448201527207468616e206f7220657175616c20746f20313606c1b6064820152608401610dcf565b601955565b6000546001600160a01b031633146119425760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166000908152600a602052604090205460ff166119aa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610dcf565b60005b600b548110156111d157816001600160a01b0316600b82815481106119e257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415611acb57600b8054611a0d9060019061434e565b81548110611a2b57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600b80546001600160a01b039092169183908110611a6557634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600a90925220805460ff19169055600b80548061119957634e487b7160e01b600052603160045260246000fd5b80611ad581614365565b9150506119ad565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610fe591859061167790866130e9565b6040516370a0823160e01b8152306004820152600090829082906001600160a01b038316906370a082319060240160206040518083038186803b158015611b5957600080fd5b505afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190613f5e565b90506000611be0611bc7611ba661dead6120a0565b611bb26009600a614284565b611bc1906461f313f88061432f565b906130f5565b611bda611bd3896120a0565b8590613101565b906130dd565b90506000611bed876113bf565b611bf75781611c1b565b611c1b611c146064611bda601c548661310190919063ffffffff16565b83906130e9565b9050828111611c2a5780611c2c565b815b979650505050505050565b336000818152600a602052604090205460ff1615611cac5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610dcf565b6000611cb8828461310d565b505050506001600160a01b038416600090815260026020526040902054919250611ce4919050826130f5565b6001600160a01b038316600090815260026020526040902055600c54611d0a90826130f5565b600c55600d54611d1a90846130e9565b600d55505050565b6000546001600160a01b03163314611d4c5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000611d7e6009600a614284565b611d8d906461f313f88061432f565b831115611ddc5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610dcf565b81611dfd576000611dee60008561310d565b50939550610fe9945050505050565b6000611e0a60008561310d565b50929550610fe9945050505050565b6000546001600160a01b03163314611e435760405162461bcd60e51b8152600401610dcf906140e3565b601a55565b6000546001600160a01b03163314611e725760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166000908152600a602052604090205460ff1615611edb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610dcf565b6001600160a01b03811660009081526002602052604090205415611f35576001600160a01b038116600090815260026020526040902054611f1b90611686565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319169091179055565b6001600160a01b03811660009081526009602052604081205460ff1680610fe95750601e546001600160a01b031615801590610fe95750601e54604051632b35867560e11b81526001600160a01b0384811660048301529091169063566b0cea90602401611405565b6000546001600160a01b0316331461202e5760405162461bcd60e51b8152600401610dcf906140e3565b606481111561204f5760405162461bcd60e51b8152600401610dcf90614184565b601055565b6000546001600160a01b0316331461207e5760405162461bcd60e51b8152600401610dcf906140e3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600a602052604081205460ff16156120dd57506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054610fe990611686565b6000546001600160a01b031633146121295760405162461bcd60e51b8152600401610dcf906140e3565b6121336000613160565b565b6000546001600160a01b0316331461215f5760405162461bcd60e51b8152600401610dcf906140e3565b6022805491151563010000000263ff00000019909216919091179055565b6000546001600160a01b031633146121a75760405162461bcd60e51b8152600401610dcf906140e3565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156121f957600080fd5b505afa15801561220d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122319190613e4f565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561227957600080fd5b505afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b19190613e4f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156122f957600080fd5b505af115801561230d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123319190613e4f565b602080546001600160a01b03199081166001600160a01b03938416178255601f80549091169383169390931790925560008054909116815260099091526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146123c05760405162461bcd60e51b8152600401610dcf906140e3565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461240c5760405162461bcd60e51b8152600401610dcf906140e3565b600755565b6020546000906001600160a01b038381169116141561243257506001919050565b506001600160a01b031660009081526021602052604090205460ff1690565b6000610fe53384611677856040518060600160405280602581526020016143e2602591393360009081526004602090815260408083206001600160a01b038d168452909152902054919061308e565b6000546001600160a01b031633146124ca5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152602160205260409020805460ff19169055565b6000546001600160a01b031633146125155760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152602160205260409020805460ff19166001179055565b6000610fe5338484612b33565b6007546001600160a01b038216600090815260086020526040812054909161256e91906130e9565b421192915050565b6000612581336120a0565b116125e35760405162461bcd60e51b815260206004820152602c60248201527f596f75206d757374206861766520612062616c616e636520746f20636c61696d60448201526b20455448207265776172647360a01b6064820152608401610dcf565b6125ec33612546565b6126085760405162461bcd60e51b8152600401610dcf90614095565b33600081815260086020526040812042905590612624906127a7565b90508060146000828254612638919061434e565b909155505060405133908290600081818185875af1925050503d806000811461267d576040519150601f19603f3d011682016040523d82523d6000602084013e612682565b606091505b5050507f7d8a5d8268a1c264e8bb2e0a542db0263a9f1ab2759a8594a1302e73c8096ce76126ad3390565b604080516001600160a01b039092168252602082018490520160405180910390a150565b6000546001600160a01b031633146126fb5760405162461bcd60e51b8152600401610dcf906140e3565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146127475760405162461bcd60e51b8152600401610dcf906140e3565b601c55565b6000546001600160a01b031633146127765760405162461bcd60e51b8152600401610dcf906140e3565b601154601055601354601255600f54600e556016546015556022805463ffff00001916630101000017905542601b55565b6000806127d06127bb611ba661dead6120a0565b611bda6127c7866120a0565b60145490613101565b905060006127dd846113bf565b6127e75781612804565b612804611c146064611bda601c548661310190919063ffffffff16565b905060145481116128155780612817565b815b949350505050565b6000546001600160a01b031633146128495760405162461bcd60e51b8152600401610dcf906140e3565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b60008061289a6015546128946012546010546130e990919063ffffffff16565b906130e9565b90506128a583611f9b565b6128d0576128b283612546565b156128bd5780611703565b6019546128cb908290613101565b611703565b60009392505050565b6000546001600160a01b031633146129035760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b0316331461294e5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166129b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dcf565b6129bc81613160565b50565b6000546001600160a01b031633146129e95760405162461bcd60e51b8152600401610dcf906140e3565b6064811115612a0a5760405162461bcd60e51b8152600401610dcf90614184565b601555565b6001600160a01b038316612a715760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dcf565b6001600160a01b038216612ad25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dcf565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612b975760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610dcf565b6001600160a01b038216612bf95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610dcf565b60008111612c5b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610dcf565b6001600160a01b03821660009081526005602052604090205460ff1615612c945760405162461bcd60e51b8152600401610dcf9061415d565b6001600160a01b03831660009081526005602052604090205460ff1615612ccd5760405162461bcd60e51b8152600401610dcf9061415d565b3360009081526005602052604090205460ff1615612cfd5760405162461bcd60e51b8152600401610dcf9061415d565b6022546301000000900460ff1680612d2257506000546001600160a01b038481169116145b612d835760405162461bcd60e51b815260206004820152602c60248201527f7472616e7366657272696e6720746f6b656e73206973206e6f7420637572726560448201526b1b9d1b1e48185b1b1bddd95960a21b6064820152608401610dcf565b6001600160a01b038083166000908152600860209081526040822042905554909185811691161480612dcd57506001600160a01b03841660009081526021602052604090205460ff165b8015612de75750601f546001600160a01b03848116911614155b15612ee557612df583611f9b565b612ee15760225462010000900460ff16612e515760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610dcf565b601b54421415612ec1576001600160a01b0383166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6001600160a01b0384166000908152600860205260409020429055612ee5565b5060015b60225460ff16158015612f00575060225462010000900460ff165b8015612f3b57506020546001600160a01b0384811691161480612f3b57506001600160a01b03831660009081526021602052604090205460ff165b15612feb576000612f4b306120a0565b90508015612fb457601a54602054612f7d91606491611bda9190612f77906001600160a01b03166120a0565b90613101565b811115612fab57601a54602054612fa891606491611bda9190612f77906001600160a01b03166120a0565b90505b612fb4816131b0565b6001600160a01b03851660009081526008602052604090204290556022805461ff001916610100179055612fe785611f9b565b9150505b6020546000906001600160a01b038681169116148061301757506020546001600160a01b038581169116145b8061303a57506001600160a01b03841660009081526021602052604090205460ff165b8061305d57506001600160a01b03851660009081526021602052604090205460ff165b8015613067575081155b15613070575060015b61307c85858584613280565b50506022805461ff0019169055505050565b600081848411156130b25760405162461bcd60e51b8152600401610dcf9190614042565b505050900390565b60008060006130c76133b7565b90925090506130d682826130dd565b9250505090565b60006117038284614221565b60006117038284614209565b6000611703828461434e565b6000611703828461432f565b60008060008060008060008060006131258b8b6135d5565b92509250925060008060006131438d868661313e6130ba565b613613565b919d509b5099509497509295509093505050509295509295509295565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6022805460ff19166001179055476131c782613663565b4760006131d482846130f5565b905060006131e26000613815565b90506131fd81611bda6012548561310190919063ffffffff16565b6014600082825461320e9190614209565b92505081905550600061323082611bda6010548661310190919063ffffffff16565b905080156132415761324181613869565b600061325c83611bda6015548761310190919063ffffffff16565b9050801561326d5761326d816138b6565b50506022805460ff191690555050505050565b8061328d5761328d613a72565b6001600160a01b0384166000908152600a602052604090205460ff1680156132ce57506001600160a01b0383166000908152600a602052604090205460ff16155b156132e3576132de848484613acd565b61338f565b6001600160a01b0384166000908152600a602052604090205460ff1615801561332457506001600160a01b0383166000908152600a602052604090205460ff165b15613334576132de848484613bf4565b6001600160a01b0384166000908152600a602052604090205460ff16801561337457506001600160a01b0383166000908152600a602052604090205460ff165b15613384576132de848484613c9e565b61338f848484613d12565b806133b1576133b1600f54600e55601154601055601354601255601654601555565b50505050565b600c546000908190816133cc6009600a614284565b6133db906461f313f88061432f565b905060005b600b54811015613575578260026000600b848154811061341057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061348957508160036000600b848154811061346257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156134b757600c5461349d6009600a614284565b6134ac906461f313f88061432f565b945094505050509091565b61350b60026000600b84815481106134df57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906130f5565b925061356160036000600b848154811061353557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906130f5565b91508061356d81614365565b9150506133e0565b5061359d6135856009600a614284565b613594906461f313f88061432f565b600c54906130dd565b8210156135cc57600c546135b36009600a614284565b6135c2906461f313f88061432f565b9350935050509091565b90939092509050565b6000806000806135e485613d57565b905060006135f28787613d73565b9050600061360482611bc189866130f5565b95509193509150509250925092565b60008080806136228886613101565b905060006136308887613101565b9050600061363e8888613101565b9050600061365082611bc186866130f5565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106136a657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601f54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156136fa57600080fd5b505afa15801561370e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137329190613e4f565b8160018151811061375357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601f546137799130911684612a0f565b601f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906137b29085906000908690309042906004016141cd565b600060405180830381600087803b1580156137cc57600080fd5b505af11580156137e0573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051610fcc9291906141b4565b6022546000908190610100900460ff168015613837575061383583612546565b155b613842576001613846565b6019545b905061170381612f776015546128946012546010546130e990919063ffffffff16565b6001546040516001600160a01b03909116908290600081818185875af1925050503d80600081146133b1576040519150601f19603f3d011682016040523d82523d6000602084013e6133b1565b6040805160028082526060820183526000926020830190803683375050601f54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561391b57600080fd5b505afa15801561392f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139539190613e4f565b8160008151811061397457634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526017548251911690829060019081106139b357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601f5460185460405163b6f9de9560e01b81529183169263b6f9de959286926139ff92600092889290911690429060040161400d565b6000604051808303818588803b158015613a1857600080fd5b505af1158015613a2c573d6000803e3d6000fd5b50506018546040517fe9d8c77238db27a9c74786624137d346727f868e8e54d82636abf1a2a83448199450610fcc93506001600160a01b03909116915085908590613fdd565b600e54158015613a825750601054155b8015613a8e5750601254155b8015613a9a5750601554155b15613aa157565b600e8054600f556010805460115560128054601355601580546016556000938490559183905582905555565b600080600080600080613ae0898861310d565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150613b1290886130f5565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054613b4190876130f5565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054613b7090866130e9565b6001600160a01b038916600090815260026020526040902055613b9281613d86565b613b9c8483613e0f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613be191815260200190565b60405180910390a3505050505050505050565b600080600080600080613c07898861310d565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150613c3990876130f5565b6001600160a01b03808b16600090815260026020908152604080832094909455918b16815260039091522054613c6f90846130e9565b6001600160a01b038916600090815260036020908152604080832093909355600290522054613b7090866130e9565b600080600080600080613cb1898861310d565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150613ce390886130f5565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054613c3990876130f5565b600080600080600080613d25898861310d565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150613b4190876130f5565b6000610fe96064611bda600e548561310190919063ffffffff16565b60006117036064611bda611bd386613815565b6000613d906130ba565b90506000613d9e8383613101565b30600090815260026020526040902054909150613dbb90826130e9565b30600090815260026020908152604080832093909355600a9052205460ff1615613e0a5730600090815260036020526040902054613df990846130e9565b306000908152600360205260409020555b505050565b600c54613e1c90836130f5565b600c55600d54613e2c90826130e9565b600d555050565b600060208284031215613e44578081fd5b813561170381614396565b600060208284031215613e60578081fd5b815161170381614396565b60008060408385031215613e7d578081fd5b8235613e8881614396565b91506020830135613e9881614396565b809150509250929050565b600080600060608486031215613eb7578081fd5b8335613ec281614396565b92506020840135613ed281614396565b929592945050506040919091013590565b60008060408385031215613ef5578182fd5b8235613f0081614396565b946020939093013593505050565b600060208284031215613f1f578081fd5b8135611703816143ab565b600060208284031215613f3b578081fd5b8151611703816143ab565b600060208284031215613f57578081fd5b5035919050565b600060208284031215613f6f578081fd5b5051919050565b60008060408385031215613f88578182fd5b823591506020830135613e98816143ab565b6000815180845260208085019450808401835b83811015613fd25781516001600160a01b031687529582019590820190600101613fad565b509495945050505050565b60018060a01b03841681528260208201526060604082015260006140046060830184613f9a565b95945050505050565b8481526080602082015260006140266080830186613f9a565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b8181101561406e57858101830151858201604001528201614052565b8181111561407f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602e908201527f4d757374207761697420636c61696d20706572696f64206265666f726520636c60408201526d61696d696e67207265776172647360901b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f636f6e747261637420646f6573206e6f7420696d706c656d656e7420696e7465604082015264726661636560d81b606082015260800190565b6020808252600d908201526c53746f7020736e6970696e672160981b604082015260600190565b6020808252601690820152756665652063616e6e6f7420657863656564203130302560501b604082015260600190565b8281526040602082015260006128176040830184613f9a565b85815284602082015260a0604082015260006141ec60a0830186613f9a565b6001600160a01b0394909416606083015250608001529392505050565b6000821982111561421c5761421c614380565b500190565b60008261423c57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561427c57816000190482111561426257614262614380565b8085161561426f57918102915b93841c9390800290614246565b509250929050565b600061170360ff84168360008261429d57506001610fe9565b816142aa57506000610fe9565b81600181146142c057600281146142ca576142e6565b6001915050610fe9565b60ff8411156142db576142db614380565b50506001821b610fe9565b5060208310610133831016604e8410600b8410161715614309575081810a610fe9565b6143138383614241565b806000190482111561432757614327614380565b029392505050565b600081600019048311821515161561434957614349614380565b500290565b60008282101561436057614360614380565b500390565b600060001982141561437957614379614380565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146129bc57600080fd5b80151581146129bc57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
Deployed Bytecode
0x60806040526004361061042a5760003560e01c8063610d5b1911610229578063a7f404e21161012e578063d0c48342116100b6578063ea2f0b371161007a578063ea2f0b3714610cd4578063f2fde38b14610cf4578063f4234ad714610d14578063f709300d14610d2a578063fda55a3d14610d4a57600080fd5b8063d0c4834214610c19578063d94fc43014610c39578063db2e21bc14610c59578063dc6571eb14610c6e578063dd62ed3e14610c8e57600080fd5b8063b74411e1116100fd578063b74411e114610b8e578063bd008d0414610bae578063c5b3442214610bce578063c9567bf914610bee578063cc32d17614610c0357600080fd5b8063a7f404e214610b19578063a9059cbb14610b39578063a9b47a6614610b59578063b4b72c1d14610b7957600080fd5b80638da5cb5b116101b1578063978bbdb911610180578063978bbdb914610a8d5780639a1313db14610aa35780639cece12e14610ab9578063a457c2d714610ad9578063a6931ed714610af957600080fd5b80638da5cb5b14610a025780638ef588fc14610a2057806392d9029d14610a4057806395d89b4114610a6057600080fd5b806375ae267d116101f857806375ae267d14610968578063790ca413146109885780638203f5fe1461099e57806383ad7994146109b357806388f82020146109c957600080fd5b8063610d5b19146108da5780636605bfda1461091357806370a0823114610933578063715018a61461095357600080fd5b806333251a0b1161032f578063437823ec116102b757806349bd5a5e1161028657806349bd5a5e146108445780634fa33dd71461086457806352390c021461087a5780635342acb41461089a57806356e1221c146108ba57600080fd5b8063437823ec146107c45780634549b039146107e457806345596e2e146108045780634626402b1461082457600080fd5b80633a17fd67116102fe5780633a17fd67146107225780633b2d081c146107425780633bd5d1731461075857806340ea75131461077857806343558a911461078e57600080fd5b806333251a0b146106a257806335e0edb0146106c25780633685d419146106e2578063395093511461070257600080fd5b80631df59e2f116103b25780632355c9f8116103815780632355c9f81461061057806323b872dd1461063057806327c8f835146106505780632d83811914610666578063313ce5671461068657600080fd5b80631df59e2f1461059a5780631f0cff72146105ba5780631f7ede2b146105da5780632014e5d6146105fa57600080fd5b80630e1c80b9116103f95780630e1c80b9146104ee57806313114a9d1461050e57806313c6d3db1461052d5780631694505e1461054d57806318160ddd1461058557600080fd5b806306aa52f91461043657806306fdde0314610458578063095ea7b31461049e5780630b2a808c146104ce57600080fd5b3661043157005b600080fd5b34801561044257600080fd5b50610456610451366004613e33565b610d6a565b005b34801561046457600080fd5b5060408051808201909152600b81526a37b5973632ba399733b79760a91b60208201525b6040516104959190614042565b60405180910390f35b3480156104aa57600080fd5b506104be6104b9366004613ee3565b610fd8565b6040519015158152602001610495565b3480156104da57600080fd5b506104566104e9366004613e33565b610fef565b3480156104fa57600080fd5b50610456610509366004613e33565b6111d5565b34801561051a57600080fd5b50600d545b604051908152602001610495565b34801561053957600080fd5b50610456610548366004613f46565b61134d565b34801561055957600080fd5b50601f5461056d906001600160a01b031681565b6040516001600160a01b039091168152602001610495565b34801561059157600080fd5b5061051f61139d565b3480156105a657600080fd5b5060185461056d906001600160a01b031681565b3480156105c657600080fd5b506104be6105d5366004613e33565b6113bf565b3480156105e657600080fd5b506104566105f5366004613f46565b611455565b34801561060657600080fd5b5061051f60125481565b34801561061c57600080fd5b5061045661062b366004613e33565b6114a5565b34801561063c57600080fd5b506104be61064b366004613ea3565b61161d565b34801561065c57600080fd5b5061056d61dead81565b34801561067257600080fd5b5061051f610681366004613f46565b611686565b34801561069257600080fd5b5060405160098152602001610495565b3480156106ae57600080fd5b506104566106bd366004613e33565b61170a565b3480156106ce57600080fd5b506104566106dd366004613f46565b611870565b3480156106ee57600080fd5b506104566106fd366004613e33565b611918565b34801561070e57600080fd5b506104be61071d366004613ee3565b611add565b34801561072e57600080fd5b5061051f61073d366004613e6b565b611b13565b34801561074e57600080fd5b5061051f60155481565b34801561076457600080fd5b50610456610773366004613f46565b611c37565b34801561078457600080fd5b5061051f60075481565b34801561079a57600080fd5b5061051f6107a9366004613e33565b6001600160a01b031660009081526008602052604090205490565b3480156107d057600080fd5b506104566107df366004613e33565b611d22565b3480156107f057600080fd5b5061051f6107ff366004613f76565b611d70565b34801561081057600080fd5b5061045661081f366004613f46565b611e19565b34801561083057600080fd5b5060015461056d906001600160a01b031681565b34801561085057600080fd5b5060205461056d906001600160a01b031681565b34801561087057600080fd5b5061051f60195481565b34801561088657600080fd5b50610456610895366004613e33565b611e48565b3480156108a657600080fd5b506104be6108b5366004613e33565b611f9b565b3480156108c657600080fd5b506104566108d5366004613f46565b612004565b3480156108e657600080fd5b506104be6108f5366004613e33565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561091f57600080fd5b5061045661092e366004613e33565b612054565b34801561093f57600080fd5b5061051f61094e366004613e33565b6120a0565b34801561095f57600080fd5b506104566120ff565b34801561097457600080fd5b50610456610983366004613f0e565b612135565b34801561099457600080fd5b5061051f601b5481565b3480156109aa57600080fd5b5061045661217d565b3480156109bf57600080fd5b5061051f600e5481565b3480156109d557600080fd5b506104be6109e4366004613e33565b6001600160a01b03166000908152600a602052604090205460ff1690565b348015610a0e57600080fd5b506000546001600160a01b031661056d565b348015610a2c57600080fd5b50610456610a3b366004613e33565b612396565b348015610a4c57600080fd5b50610456610a5b366004613f46565b6123e2565b348015610a6c57600080fd5b506040805180820190915260048152634f4b4c4760e01b6020820152610488565b348015610a9957600080fd5b5061051f601a5481565b348015610aaf57600080fd5b5061051f60145481565b348015610ac557600080fd5b506104be610ad4366004613e33565b612411565b348015610ae557600080fd5b506104be610af4366004613ee3565b612451565b348015610b0557600080fd5b50610456610b14366004613e33565b6124a0565b348015610b2557600080fd5b50610456610b34366004613e33565b6124eb565b348015610b4557600080fd5b506104be610b54366004613ee3565b612539565b348015610b6557600080fd5b506104be610b74366004613e33565b612546565b348015610b8557600080fd5b50610456612576565b348015610b9a57600080fd5b50610456610ba9366004613e33565b6126d1565b348015610bba57600080fd5b50610456610bc9366004613f46565b61271d565b348015610bda57600080fd5b50601d5461056d906001600160a01b031681565b348015610bfa57600080fd5b5061045661274c565b348015610c0f57600080fd5b5061051f60105481565b348015610c2557600080fd5b5061051f610c34366004613e33565b6127a7565b348015610c4557600080fd5b5060175461056d906001600160a01b031681565b348015610c6557600080fd5b5061045661281f565b348015610c7a57600080fd5b5061051f610c89366004613e33565b612874565b348015610c9a57600080fd5b5061051f610ca9366004613e6b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b348015610ce057600080fd5b50610456610cef366004613e33565b6128d9565b348015610d0057600080fd5b50610456610d0f366004613e33565b612924565b348015610d2057600080fd5b5061051f601c5481565b348015610d3657600080fd5b50601e5461056d906001600160a01b031681565b348015610d5657600080fd5b50610456610d65366004613f46565b6129bf565b6000610d75336120a0565b11610dd85760405162461bcd60e51b815260206004820152602860248201527f596f75206d757374206861766520612062616c616e636520746f20636c61696d604482015267207265776172647360c01b60648201526084015b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610e1a57600080fd5b505afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190613f5e565b11610eb55760405162461bcd60e51b815260206004820152602d60248201527f5765206d7573742068617665206120746f6b656e2062616c616e636520746f2060448201526c636c61696d207265776172647360981b6064820152608401610dcf565b610ebe33612546565b610eda5760405162461bcd60e51b8152600401610dcf90614095565b33600081815260086020526040812042905590610ef79083611b13565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b158015610f5157600080fd5b505af1158015610f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f899190613f2a565b50604080513381526001600160a01b03841660208201529081018290527f461310925e682d8354b34f2245c1ea43ea9a27ceea708a1be23757f31eb88b4f906060015b60405180910390a15050565b6000610fe5338484612a0f565b5060015b92915050565b6000546001600160a01b031633146110195760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03811660009081526005602052604090205460ff166110815760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610dcf565b60005b6006548110156111d157816001600160a01b0316600682815481106110b957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156111bf57600680546110e49060019061434e565b8154811061110257634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b03909216918390811061113c57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff19169055600680548061119957634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806111c981614365565b915050611084565b5050565b6000546001600160a01b031633146111ff5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381161561132b57604051632b35867560e11b81526000600482015281906001600160a01b0382169063566b0cea9060240160206040518083038186803b15801561125057600080fd5b505afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190613f2a565b15156001148061130d5750604051632b35867560e11b8152600060048201526001600160a01b0382169063566b0cea9060240160206040518083038186803b1580156112d357600080fd5b505afa1580156112e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130b9190613f2a565b155b6113295760405162461bcd60e51b8152600401610dcf90614118565b505b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113775760405162461bcd60e51b8152600401610dcf906140e3565b60648111156113985760405162461bcd60e51b8152600401610dcf90614184565b601255565b60006113ab6009600a614284565b6113ba906461f313f88061432f565b905090565b601d546000906001600160a01b031615801590610fe95750601d54604051632b35867560e11b81526001600160a01b0384811660048301529091169063566b0cea906024015b60206040518083038186803b15801561141d57600080fd5b505afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe99190613f2a565b6000546001600160a01b0316331461147f5760405162461bcd60e51b8152600401610dcf906140e3565b60648111156114a05760405162461bcd60e51b8152600401610dcf90614184565b600e55565b6000546001600160a01b031633146114cf5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b038116156115fb57604051632b35867560e11b81526000600482015281906001600160a01b0382169063566b0cea9060240160206040518083038186803b15801561152057600080fd5b505afa158015611534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115589190613f2a565b1515600114806115dd5750604051632b35867560e11b8152600060048201526001600160a01b0382169063566b0cea9060240160206040518083038186803b1580156115a357600080fd5b505afa1580156115b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115db9190613f2a565b155b6115f95760405162461bcd60e51b8152600401610dcf90614118565b505b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b600061162a848484612b33565b61167c8433611677856040518060600160405280602881526020016143ba602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061308e565b612a0f565b5060019392505050565b6000600c548211156116ed5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610dcf565b60006116f76130ba565b905061170383826130dd565b9392505050565b6000546001600160a01b031633146117345760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14156117a15760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610dcf565b6001600160a01b03811660009081526005602052604090205460ff161561180a5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610dcf565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6000546001600160a01b0316331461189a5760405162461bcd60e51b8152600401610dcf906140e3565b6000811180156118ab5750600a8111155b6119135760405162461bcd60e51b815260206004820152603360248201527f6d7573742062652067726561746572207468616e203020616e64206c6573732060448201527207468616e206f7220657175616c20746f20313606c1b6064820152608401610dcf565b601955565b6000546001600160a01b031633146119425760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166000908152600a602052604090205460ff166119aa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610dcf565b60005b600b548110156111d157816001600160a01b0316600b82815481106119e257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415611acb57600b8054611a0d9060019061434e565b81548110611a2b57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600b80546001600160a01b039092169183908110611a6557634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600a90925220805460ff19169055600b80548061119957634e487b7160e01b600052603160045260246000fd5b80611ad581614365565b9150506119ad565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091610fe591859061167790866130e9565b6040516370a0823160e01b8152306004820152600090829082906001600160a01b038316906370a082319060240160206040518083038186803b158015611b5957600080fd5b505afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190613f5e565b90506000611be0611bc7611ba661dead6120a0565b611bb26009600a614284565b611bc1906461f313f88061432f565b906130f5565b611bda611bd3896120a0565b8590613101565b906130dd565b90506000611bed876113bf565b611bf75781611c1b565b611c1b611c146064611bda601c548661310190919063ffffffff16565b83906130e9565b9050828111611c2a5780611c2c565b815b979650505050505050565b336000818152600a602052604090205460ff1615611cac5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610dcf565b6000611cb8828461310d565b505050506001600160a01b038416600090815260026020526040902054919250611ce4919050826130f5565b6001600160a01b038316600090815260026020526040902055600c54611d0a90826130f5565b600c55600d54611d1a90846130e9565b600d55505050565b6000546001600160a01b03163314611d4c5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000611d7e6009600a614284565b611d8d906461f313f88061432f565b831115611ddc5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610dcf565b81611dfd576000611dee60008561310d565b50939550610fe9945050505050565b6000611e0a60008561310d565b50929550610fe9945050505050565b6000546001600160a01b03163314611e435760405162461bcd60e51b8152600401610dcf906140e3565b601a55565b6000546001600160a01b03163314611e725760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166000908152600a602052604090205460ff1615611edb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610dcf565b6001600160a01b03811660009081526002602052604090205415611f35576001600160a01b038116600090815260026020526040902054611f1b90611686565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319169091179055565b6001600160a01b03811660009081526009602052604081205460ff1680610fe95750601e546001600160a01b031615801590610fe95750601e54604051632b35867560e11b81526001600160a01b0384811660048301529091169063566b0cea90602401611405565b6000546001600160a01b0316331461202e5760405162461bcd60e51b8152600401610dcf906140e3565b606481111561204f5760405162461bcd60e51b8152600401610dcf90614184565b601055565b6000546001600160a01b0316331461207e5760405162461bcd60e51b8152600401610dcf906140e3565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600a602052604081205460ff16156120dd57506001600160a01b031660009081526003602052604090205490565b6001600160a01b038216600090815260026020526040902054610fe990611686565b6000546001600160a01b031633146121295760405162461bcd60e51b8152600401610dcf906140e3565b6121336000613160565b565b6000546001600160a01b0316331461215f5760405162461bcd60e51b8152600401610dcf906140e3565b6022805491151563010000000263ff00000019909216919091179055565b6000546001600160a01b031633146121a75760405162461bcd60e51b8152600401610dcf906140e3565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156121f957600080fd5b505afa15801561220d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122319190613e4f565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561227957600080fd5b505afa15801561228d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b19190613e4f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156122f957600080fd5b505af115801561230d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123319190613e4f565b602080546001600160a01b03199081166001600160a01b03938416178255601f80549091169383169390931790925560008054909116815260099091526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146123c05760405162461bcd60e51b8152600401610dcf906140e3565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461240c5760405162461bcd60e51b8152600401610dcf906140e3565b600755565b6020546000906001600160a01b038381169116141561243257506001919050565b506001600160a01b031660009081526021602052604090205460ff1690565b6000610fe53384611677856040518060600160405280602581526020016143e2602591393360009081526004602090815260408083206001600160a01b038d168452909152902054919061308e565b6000546001600160a01b031633146124ca5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152602160205260409020805460ff19169055565b6000546001600160a01b031633146125155760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152602160205260409020805460ff19166001179055565b6000610fe5338484612b33565b6007546001600160a01b038216600090815260086020526040812054909161256e91906130e9565b421192915050565b6000612581336120a0565b116125e35760405162461bcd60e51b815260206004820152602c60248201527f596f75206d757374206861766520612062616c616e636520746f20636c61696d60448201526b20455448207265776172647360a01b6064820152608401610dcf565b6125ec33612546565b6126085760405162461bcd60e51b8152600401610dcf90614095565b33600081815260086020526040812042905590612624906127a7565b90508060146000828254612638919061434e565b909155505060405133908290600081818185875af1925050503d806000811461267d576040519150601f19603f3d011682016040523d82523d6000602084013e612682565b606091505b5050507f7d8a5d8268a1c264e8bb2e0a542db0263a9f1ab2759a8594a1302e73c8096ce76126ad3390565b604080516001600160a01b039092168252602082018490520160405180910390a150565b6000546001600160a01b031633146126fb5760405162461bcd60e51b8152600401610dcf906140e3565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146127475760405162461bcd60e51b8152600401610dcf906140e3565b601c55565b6000546001600160a01b031633146127765760405162461bcd60e51b8152600401610dcf906140e3565b601154601055601354601255600f54600e556016546015556022805463ffff00001916630101000017905542601b55565b6000806127d06127bb611ba661dead6120a0565b611bda6127c7866120a0565b60145490613101565b905060006127dd846113bf565b6127e75781612804565b612804611c146064611bda601c548661310190919063ffffffff16565b905060145481116128155780612817565b815b949350505050565b6000546001600160a01b031633146128495760405162461bcd60e51b8152600401610dcf906140e3565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b60008061289a6015546128946012546010546130e990919063ffffffff16565b906130e9565b90506128a583611f9b565b6128d0576128b283612546565b156128bd5780611703565b6019546128cb908290613101565b611703565b60009392505050565b6000546001600160a01b031633146129035760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b0316331461294e5760405162461bcd60e51b8152600401610dcf906140e3565b6001600160a01b0381166129b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dcf565b6129bc81613160565b50565b6000546001600160a01b031633146129e95760405162461bcd60e51b8152600401610dcf906140e3565b6064811115612a0a5760405162461bcd60e51b8152600401610dcf90614184565b601555565b6001600160a01b038316612a715760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dcf565b6001600160a01b038216612ad25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dcf565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612b975760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610dcf565b6001600160a01b038216612bf95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610dcf565b60008111612c5b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610dcf565b6001600160a01b03821660009081526005602052604090205460ff1615612c945760405162461bcd60e51b8152600401610dcf9061415d565b6001600160a01b03831660009081526005602052604090205460ff1615612ccd5760405162461bcd60e51b8152600401610dcf9061415d565b3360009081526005602052604090205460ff1615612cfd5760405162461bcd60e51b8152600401610dcf9061415d565b6022546301000000900460ff1680612d2257506000546001600160a01b038481169116145b612d835760405162461bcd60e51b815260206004820152602c60248201527f7472616e7366657272696e6720746f6b656e73206973206e6f7420637572726560448201526b1b9d1b1e48185b1b1bddd95960a21b6064820152608401610dcf565b6001600160a01b038083166000908152600860209081526040822042905554909185811691161480612dcd57506001600160a01b03841660009081526021602052604090205460ff165b8015612de75750601f546001600160a01b03848116911614155b15612ee557612df583611f9b565b612ee15760225462010000900460ff16612e515760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610dcf565b601b54421415612ec1576001600160a01b0383166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6001600160a01b0384166000908152600860205260409020429055612ee5565b5060015b60225460ff16158015612f00575060225462010000900460ff165b8015612f3b57506020546001600160a01b0384811691161480612f3b57506001600160a01b03831660009081526021602052604090205460ff165b15612feb576000612f4b306120a0565b90508015612fb457601a54602054612f7d91606491611bda9190612f77906001600160a01b03166120a0565b90613101565b811115612fab57601a54602054612fa891606491611bda9190612f77906001600160a01b03166120a0565b90505b612fb4816131b0565b6001600160a01b03851660009081526008602052604090204290556022805461ff001916610100179055612fe785611f9b565b9150505b6020546000906001600160a01b038681169116148061301757506020546001600160a01b038581169116145b8061303a57506001600160a01b03841660009081526021602052604090205460ff165b8061305d57506001600160a01b03851660009081526021602052604090205460ff165b8015613067575081155b15613070575060015b61307c85858584613280565b50506022805461ff0019169055505050565b600081848411156130b25760405162461bcd60e51b8152600401610dcf9190614042565b505050900390565b60008060006130c76133b7565b90925090506130d682826130dd565b9250505090565b60006117038284614221565b60006117038284614209565b6000611703828461434e565b6000611703828461432f565b60008060008060008060008060006131258b8b6135d5565b92509250925060008060006131438d868661313e6130ba565b613613565b919d509b5099509497509295509093505050509295509295509295565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6022805460ff19166001179055476131c782613663565b4760006131d482846130f5565b905060006131e26000613815565b90506131fd81611bda6012548561310190919063ffffffff16565b6014600082825461320e9190614209565b92505081905550600061323082611bda6010548661310190919063ffffffff16565b905080156132415761324181613869565b600061325c83611bda6015548761310190919063ffffffff16565b9050801561326d5761326d816138b6565b50506022805460ff191690555050505050565b8061328d5761328d613a72565b6001600160a01b0384166000908152600a602052604090205460ff1680156132ce57506001600160a01b0383166000908152600a602052604090205460ff16155b156132e3576132de848484613acd565b61338f565b6001600160a01b0384166000908152600a602052604090205460ff1615801561332457506001600160a01b0383166000908152600a602052604090205460ff165b15613334576132de848484613bf4565b6001600160a01b0384166000908152600a602052604090205460ff16801561337457506001600160a01b0383166000908152600a602052604090205460ff165b15613384576132de848484613c9e565b61338f848484613d12565b806133b1576133b1600f54600e55601154601055601354601255601654601555565b50505050565b600c546000908190816133cc6009600a614284565b6133db906461f313f88061432f565b905060005b600b54811015613575578260026000600b848154811061341057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061348957508160036000600b848154811061346257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156134b757600c5461349d6009600a614284565b6134ac906461f313f88061432f565b945094505050509091565b61350b60026000600b84815481106134df57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906130f5565b925061356160036000600b848154811061353557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906130f5565b91508061356d81614365565b9150506133e0565b5061359d6135856009600a614284565b613594906461f313f88061432f565b600c54906130dd565b8210156135cc57600c546135b36009600a614284565b6135c2906461f313f88061432f565b9350935050509091565b90939092509050565b6000806000806135e485613d57565b905060006135f28787613d73565b9050600061360482611bc189866130f5565b95509193509150509250925092565b60008080806136228886613101565b905060006136308887613101565b9050600061363e8888613101565b9050600061365082611bc186866130f5565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106136a657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601f54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156136fa57600080fd5b505afa15801561370e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137329190613e4f565b8160018151811061375357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601f546137799130911684612a0f565b601f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906137b29085906000908690309042906004016141cd565b600060405180830381600087803b1580156137cc57600080fd5b505af11580156137e0573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051610fcc9291906141b4565b6022546000908190610100900460ff168015613837575061383583612546565b155b613842576001613846565b6019545b905061170381612f776015546128946012546010546130e990919063ffffffff16565b6001546040516001600160a01b03909116908290600081818185875af1925050503d80600081146133b1576040519150601f19603f3d011682016040523d82523d6000602084013e6133b1565b6040805160028082526060820183526000926020830190803683375050601f54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561391b57600080fd5b505afa15801561392f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139539190613e4f565b8160008151811061397457634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526017548251911690829060019081106139b357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601f5460185460405163b6f9de9560e01b81529183169263b6f9de959286926139ff92600092889290911690429060040161400d565b6000604051808303818588803b158015613a1857600080fd5b505af1158015613a2c573d6000803e3d6000fd5b50506018546040517fe9d8c77238db27a9c74786624137d346727f868e8e54d82636abf1a2a83448199450610fcc93506001600160a01b03909116915085908590613fdd565b600e54158015613a825750601054155b8015613a8e5750601254155b8015613a9a5750601554155b15613aa157565b600e8054600f556010805460115560128054601355601580546016556000938490559183905582905555565b600080600080600080613ae0898861310d565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150613b1290886130f5565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054613b4190876130f5565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054613b7090866130e9565b6001600160a01b038916600090815260026020526040902055613b9281613d86565b613b9c8483613e0f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051613be191815260200190565b60405180910390a3505050505050505050565b600080600080600080613c07898861310d565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150613c3990876130f5565b6001600160a01b03808b16600090815260026020908152604080832094909455918b16815260039091522054613c6f90846130e9565b6001600160a01b038916600090815260036020908152604080832093909355600290522054613b7090866130e9565b600080600080600080613cb1898861310d565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150613ce390886130f5565b6001600160a01b038a16600090815260036020908152604080832093909355600290522054613c3990876130f5565b600080600080600080613d25898861310d565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150613b4190876130f5565b6000610fe96064611bda600e548561310190919063ffffffff16565b60006117036064611bda611bd386613815565b6000613d906130ba565b90506000613d9e8383613101565b30600090815260026020526040902054909150613dbb90826130e9565b30600090815260026020908152604080832093909355600a9052205460ff1615613e0a5730600090815260036020526040902054613df990846130e9565b306000908152600360205260409020555b505050565b600c54613e1c90836130f5565b600c55600d54613e2c90826130e9565b600d555050565b600060208284031215613e44578081fd5b813561170381614396565b600060208284031215613e60578081fd5b815161170381614396565b60008060408385031215613e7d578081fd5b8235613e8881614396565b91506020830135613e9881614396565b809150509250929050565b600080600060608486031215613eb7578081fd5b8335613ec281614396565b92506020840135613ed281614396565b929592945050506040919091013590565b60008060408385031215613ef5578182fd5b8235613f0081614396565b946020939093013593505050565b600060208284031215613f1f578081fd5b8135611703816143ab565b600060208284031215613f3b578081fd5b8151611703816143ab565b600060208284031215613f57578081fd5b5035919050565b600060208284031215613f6f578081fd5b5051919050565b60008060408385031215613f88578182fd5b823591506020830135613e98816143ab565b6000815180845260208085019450808401835b83811015613fd25781516001600160a01b031687529582019590820190600101613fad565b509495945050505050565b60018060a01b03841681528260208201526060604082015260006140046060830184613f9a565b95945050505050565b8481526080602082015260006140266080830186613f9a565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b8181101561406e57858101830151858201604001528201614052565b8181111561407f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602e908201527f4d757374207761697420636c61696d20706572696f64206265666f726520636c60408201526d61696d696e67207265776172647360901b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f636f6e747261637420646f6573206e6f7420696d706c656d656e7420696e7465604082015264726661636560d81b606082015260800190565b6020808252600d908201526c53746f7020736e6970696e672160981b604082015260600190565b6020808252601690820152756665652063616e6e6f7420657863656564203130302560501b604082015260600190565b8281526040602082015260006128176040830184613f9a565b85815284602082015260a0604082015260006141ec60a0830186613f9a565b6001600160a01b0394909416606083015250608001529392505050565b6000821982111561421c5761421c614380565b500190565b60008261423c57634e487b7160e01b81526012600452602481fd5b500490565b600181815b8085111561427c57816000190482111561426257614262614380565b8085161561426f57918102915b93841c9390800290614246565b509250929050565b600061170360ff84168360008261429d57506001610fe9565b816142aa57506000610fe9565b81600181146142c057600281146142ca576142e6565b6001915050610fe9565b60ff8411156142db576142db614380565b50506001821b610fe9565b5060208310610133831016604e8410600b8410161715614309575081810a610fe9565b6143138383614241565b806000190482111561432757614327614380565b029392505050565b600081600019048311821515161561434957614349614380565b500290565b60008282101561436057614360614380565b500390565b600060001982141561437957614379614380565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146129bc57600080fd5b80151581146129bc57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
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.