Overview
ETH Balance
0.501014159124591468 ETH
Eth Value
$1,266.41 (@ $2,527.70/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,109 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20636240 | 7 hrs ago | IN | 0 ETH | 0.00017446 | ||||
Approve | 20588042 | 7 days ago | IN | 0 ETH | 0.00002432 | ||||
Approve | 20477025 | 22 days ago | IN | 0 ETH | 0.00025018 | ||||
Approve | 20416280 | 31 days ago | IN | 0 ETH | 0.00016949 | ||||
Approve | 20405920 | 32 days ago | IN | 0 ETH | 0.00015285 | ||||
Approve | 20335792 | 42 days ago | IN | 0 ETH | 0.00036028 | ||||
Approve | 20250973 | 54 days ago | IN | 0 ETH | 0.00010352 | ||||
Approve | 20250451 | 54 days ago | IN | 0 ETH | 0.00006432 | ||||
Approve | 20209006 | 59 days ago | IN | 0 ETH | 0.00015536 | ||||
Approve | 20160618 | 66 days ago | IN | 0 ETH | 0.00025352 | ||||
Transfer | 20155116 | 67 days ago | IN | 0 ETH | 0.00037454 | ||||
Approve | 20091625 | 76 days ago | IN | 0 ETH | 0.00049511 | ||||
Approve | 20090665 | 76 days ago | IN | 0 ETH | 0.00098645 | ||||
Approve | 20079337 | 78 days ago | IN | 0 ETH | 0.00047636 | ||||
Approve | 19996620 | 89 days ago | IN | 0 ETH | 0.00010853 | ||||
Approve | 19949073 | 96 days ago | IN | 0 ETH | 0.00022951 | ||||
Approve | 19904152 | 102 days ago | IN | 0 ETH | 0.0001347 | ||||
Approve | 19832640 | 112 days ago | IN | 0 ETH | 0.00025877 | ||||
Approve | 19829714 | 112 days ago | IN | 0 ETH | 0.00022133 | ||||
Approve | 19828631 | 113 days ago | IN | 0 ETH | 0.0001687 | ||||
Approve | 19772511 | 120 days ago | IN | 0 ETH | 0.00065247 | ||||
Approve | 19697622 | 131 days ago | IN | 0 ETH | 0.00055858 | ||||
Approve | 19694828 | 131 days ago | IN | 0 ETH | 0.00040786 | ||||
Approve | 19544232 | 152 days ago | IN | 0 ETH | 0.00079252 | ||||
Transfer | 19498598 | 159 days ago | IN | 0 ETH | 0.00217256 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20160621 | 66 days ago | 0.03907568 ETH | ||||
20160621 | 66 days ago | 0.03907568 ETH | ||||
19053679 | 221 days ago | 0.03987356 ETH | ||||
19053679 | 221 days ago | 0.03987356 ETH | ||||
19027546 | 225 days ago | 0.03991967 ETH | ||||
19027546 | 225 days ago | 0.03991967 ETH | ||||
19026949 | 225 days ago | 0.04474579 ETH | ||||
19026949 | 225 days ago | 0.04474579 ETH | ||||
19026948 | 225 days ago | 0.04567458 ETH | ||||
19026948 | 225 days ago | 0.04567458 ETH | ||||
19026931 | 225 days ago | 0.04584477 ETH | ||||
19026931 | 225 days ago | 0.04584477 ETH | ||||
17367103 | 458 days ago | 0.04002617 ETH | ||||
17367103 | 458 days ago | 0.04002617 ETH | ||||
17159224 | 487 days ago | 0.04116862 ETH | ||||
17159224 | 487 days ago | 0.04116862 ETH | ||||
17159177 | 487 days ago | 0.04431915 ETH | ||||
17159177 | 487 days ago | 0.04431915 ETH | ||||
17158957 | 487 days ago | 0.04745792 ETH | ||||
17158957 | 487 days ago | 0.04745792 ETH | ||||
17158916 | 487 days ago | 0.05118686 ETH | ||||
17158916 | 487 days ago | 0.05118686 ETH | ||||
16724124 | 548 days ago | 0.05470098 ETH | ||||
16724124 | 548 days ago | 0.05470098 ETH | ||||
16150103 | 629 days ago | 0.05706106 ETH |
Loading...
Loading
Contract Name:
Metacrypt_B_TR_TAX_NC_X
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./helpers/ERC20Ownable.sol"; import "../service/MetacryptHelper.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; contract Metacrypt_B_TR_TAX_NC_X is IERC20, ERC20Ownable, MetacryptHelper { using SafeMath for uint256; address dead = 0x000000000000000000000000000000000000dEaD; address zero = address(0); uint8 public maxLiqFee = 10; uint8 public maxTaxFee = 10; uint8 public maxBurnFee = 10; uint8 public maxWalletFee = 10; uint8 public maxBuybackFee = 10; uint8 public minMxTxPercentage = 1; uint8 public minMxWalletPercentage = 1; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 public _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string public _name; string public _symbol; uint8 private _decimals = 18; uint8 public _taxFee = 0; // Fee for Reflection uint8 private _previousTaxFee = _taxFee; uint8 public _liquidityFee = 0; // Fee for Liquidity uint8 private _previousLiquidityFee = _liquidityFee; uint8 public _burnFee = 0; // Fee for burning uint8 private _previousBurnFee = _burnFee; uint8 public _walletFee = 0; // Fee to marketing/charity wallet uint8 private _previousWalletFee = _walletFee; uint8 public _buybackFee = 0; // Fee for buyback of tokens uint8 private _previousBuybackFee = _buybackFee; IUniswapV2Router02 public immutable pcsV2Router; address public immutable pcsV2Pair; address payable public feeWallet; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public numTokensSellToAddToLiquidity; uint256 private buyBackUpperLimit = 1 * 10**18; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor( address __metacrypt_target, string memory __metacrypt_name, string memory __metacrypt_symbol, uint8 __metacrypt_decimals, uint256 __metacrypt_initial, address __metacrypt_router, uint8 __metacrypt_tax_reflection, uint8 __metacrypt_tax_wallet, uint8 __metacrypt_tax_burn, uint8 __metacrypt_tax_liquidity, uint8 __metacrypt_tax_buyback ) payable MetacryptHelper("Metacrypt_B_TR_TAX_NC_X", __metacrypt_target) { _name = __metacrypt_name; _symbol = __metacrypt_symbol; _decimals = __metacrypt_decimals; _tTotal = __metacrypt_initial; _rTotal = (MAX - (MAX % _tTotal)); buyBackUpperLimit = __metacrypt_initial.mul(1).div(10000); _rOwned[_msgSender()] = _rTotal; feeWallet = payable(_msgSender()); numTokensSellToAddToLiquidity = __metacrypt_initial.mul(1).div(1000); IUniswapV2Router02 _pcsV2Router = IUniswapV2Router02(__metacrypt_router); // Create a uniswap pair for this new token pcsV2Pair = IUniswapV2Factory(_pcsV2Router.factory()).createPair(address(this), _pcsV2Router.WETH()); // set the rest of the contract variables pcsV2Router = _pcsV2Router; _isExcludedFromFee[_msgSender()] = true; _isExcludedFromFee[address(this)] = true; _taxFee = __metacrypt_tax_reflection; _liquidityFee = __metacrypt_tax_liquidity; _burnFee = __metacrypt_tax_burn; _buybackFee = __metacrypt_tax_buyback; _walletFee = __metacrypt_tax_wallet; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view override returns (string memory) { return _name; } function symbol() public view override returns (string memory) { return _symbol; } function decimals() public view override returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance") ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero") ); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount, , , , , ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) { require(tAmount <= _tTotal, "Amt must be less than supply"); if (!deductTransferFee) { (uint256 rAmount, , , , , ) = _getValues(tAmount); return rAmount; } else { (, uint256 rTransferAmount, , , , ) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require(rAmount <= _rTotal, "Amt must be less than tot refl"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner { if (!_isExcluded[account]) { if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } } function includeInReward(address account) external onlyOwner { require(_isExcluded[account], "Already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setAllFeePercent( uint8 taxFee, uint8 liquidityFee, uint8 burnFee, uint8 walletFee, uint8 buybackFee ) external onlyOwner { require(taxFee >= 0 && taxFee <= maxTaxFee, "TF error"); require(liquidityFee >= 0 && liquidityFee <= maxLiqFee, "LF error"); require(burnFee >= 0 && burnFee <= maxBurnFee, "BF error"); require(walletFee >= 0 && walletFee <= maxWalletFee, "WF error"); require(buybackFee >= 0 && buybackFee <= maxBuybackFee, "BBF error"); _taxFee = taxFee; _liquidityFee = liquidityFee; _burnFee = burnFee; _buybackFee = buybackFee; _walletFee = walletFee; } function buyBackUpperLimitAmount() public view returns (uint256) { return buyBackUpperLimit; } function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner { buyBackUpperLimit = buyBackLimit * 10**_decimals; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setFeeWallet(address payable newFeeWallet) external onlyOwner { require(newFeeWallet != address(0), "ZERO ADDRESS"); excludeFromReward(newFeeWallet); feeWallet = newFeeWallet; } //to recieve ETH from pcsV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256 ) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate ) private pure returns ( uint256, uint256, uint256 ) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if (_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10**2); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee + _burnFee + _walletFee + _buybackFee).div(10**2); } function removeAllFee() private { if (_taxFee == 0 && _liquidityFee == 0 && _burnFee == 0 && _walletFee == 0 && _buybackFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousBurnFee = _burnFee; _previousWalletFee = _walletFee; _previousBuybackFee = _buybackFee; _taxFee = 0; _liquidityFee = 0; _burnFee = 0; _walletFee = 0; _buybackFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _burnFee = _previousBurnFee; _walletFee = _previousWalletFee; _buybackFee = _previousBuybackFee; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "ERC20: approve from zero address"); require(spender != address(0), "ERC20: approve to 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 zero address"); require(to != address(0), "ERC20: transfer to zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwapAndLiquify && to == pcsV2Pair && swapAndLiquifyEnabled) { if (contractTokenBalance >= numTokensSellToAddToLiquidity) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapAndLiquify(contractTokenBalance); } if (_buybackFee != 0) { uint256 balance = address(this).balance; if (balance > uint256(1 * 10**_decimals)) { if (balance > buyBackUpperLimit) { balance = buyBackUpperLimit; } buyBackTokens(balance.mul(50).div(100)); } } } //indicates if fee should be deducted from transfer bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { takeFee = false; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from, to, amount, takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { //This needs to be distributed among burn, wallet and liquidity //burn uint8 totFee = _burnFee + _walletFee + _liquidityFee + _buybackFee; uint256 spentAmount = 0; uint256 totSpentAmount = 0; if (_burnFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_burnFee); _tokenTransferNoFee(address(this), dead, spentAmount); totSpentAmount = spentAmount; } if (_walletFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_walletFee); _tokenTransferNoFee(address(this), feeWallet, spentAmount); totSpentAmount = totSpentAmount + spentAmount; } if (_buybackFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_buybackFee); swapTokensForBNB(spentAmount); totSpentAmount = totSpentAmount + spentAmount; } if (_liquidityFee != 0) { contractTokenBalance = contractTokenBalance.sub(totSpentAmount); // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForBNB(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } } function buyBackTokens(uint256 amount) private lockTheSwap { if (amount > 0) { swapBNBForTokens(amount); } } function swapTokensForBNB(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = pcsV2Router.WETH(); _approve(address(this), address(pcsV2Router), tokenAmount); // make the swap pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp.add(300) ); } function swapBNBForTokens(uint256 amount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = pcsV2Router.WETH(); path[1] = address(this); // make the swap pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}( 0, // accept any amount of Tokens path, dead, // Burn address block.timestamp.add(300) ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(pcsV2Router), tokenAmount); // add the liquidity pcsV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable dead, block.timestamp.add(300) ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if (!takeFee) restoreAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _tokenTransferNoFee( address sender, address recipient, uint256 amount ) private { _rOwned[sender] = _rOwned[sender].sub(amount); _rOwned[recipient] = _rOwned[recipient].add(amount); if (_isExcluded[sender]) { _tOwned[sender] = _tOwned[sender].sub(amount); } if (_isExcluded[recipient]) { _tOwned[recipient] = _tOwned[recipient].add(amount); } emit Transfer(sender, recipient, amount); } function recoverToken(address tokenAddress, uint256 tokenAmount) public onlyOwner { // do not allow recovering self token require(tokenAddress != address(this), "Self withdraw"); IERC20(tokenAddress).transfer(owner(), tokenAmount); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract MetacryptHelper { address private __target; string private __identifier; constructor(string memory __metacrypt_id, address __metacrypt_target) payable { __target = __metacrypt_target; __identifier = __metacrypt_id; payable(__metacrypt_target).transfer(msg.value); } function createdByMetacrypt() public pure returns (bool) { return true; } function getIdentifier() public view returns (string memory) { return __identifier; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract ERC20Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "ERC20Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "ERC20Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// 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. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * 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; } } }
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 IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view 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); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; 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; }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"__metacrypt_target","type":"address"},{"internalType":"string","name":"__metacrypt_name","type":"string"},{"internalType":"string","name":"__metacrypt_symbol","type":"string"},{"internalType":"uint8","name":"__metacrypt_decimals","type":"uint8"},{"internalType":"uint256","name":"__metacrypt_initial","type":"uint256"},{"internalType":"address","name":"__metacrypt_router","type":"address"},{"internalType":"uint8","name":"__metacrypt_tax_reflection","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_wallet","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_burn","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_liquidity","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_buyback","type":"uint8"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdByMetacrypt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIdentifier","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBurnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiqFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxTxPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxWalletPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"taxFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"burnFee","type":"uint8"},{"internalType":"uint8","name":"walletFee","type":"uint8"},{"internalType":"uint8","name":"buybackFee","type":"uint8"}],"name":"setAllFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060408190526003805461dead6001600160a01b0319909116179055600480546001600160d81b0319166580850505050560a11b1790556010805463ffffffff60381b1966ffffffff0000001962ffffff19831660ff610100601261ffff19909616861704811662010000029190911790931790811661ffff60281b19630100000063ff00000019841604851664010000000002908116919091176501000000000065ffffff0000001990931660ff60281b1992909216919091179190910483166601000000000000021790811661ffff60481b1967010000000000000060ff60381b198416048416680100000000000000000290811691909117690100000000000000000062ffffff60381b1990931660ff60481b199290921691909117919091049091166a0100000000000000000000021790556011805460ff19166001179055670de0b6b3a764000060135562003dec388190039081908339810160408190526200016e91620007cf565b604080518082018252601781527f4d65746163727970745f425f54525f5441585f4e435f580000000000000000006020820152600080546001600160a01b031916339081178255925191928e92909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b0383161790558151620002159060029060208501906200062d565b506040516001600160a01b038216903480156108fc02916000818181858888f193505050501580156200024c573d6000803e3d6000fd5b50508a51620002649150600e9060208d01906200062d565b5088516200027a90600f9060208c01906200062d565b506010805460ff191660ff8a16179055600b8790556200029d87600019620008f8565b620002ab9060001962000925565b600c55620002e2612710620002ce8960016200060a602090811b620017ee17901c565b6200061f60201b620017fa1790919060201c565b601355600c543360008181526005602090815260409091209290925560108054600160581b600160f81b0319166b01000000000000000000000090920291909117905562000347906103e890620002ce908a906001906200060a811b620017ee17901c565b6012819055506000869050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200038c57600080fd5b505afa158015620003a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c791906200093f565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200041057600080fd5b505afa15801562000425573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200044b91906200093f565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200049457600080fd5b505af1158015620004a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004cf91906200093f565b6001600160a01b0390811660a0528116608052600160086000336001600160a01b0316815260208082019290925260409081016000908120805460ff1990811695151595909517905530815260089092529020805490911660011790556010805463ff00ff00191661010060ff8981169190910263ff0000001916919091176301000000868316021764ff000000ff60281b1916650100000000008783160260ff60481b1916176901000000000000000000858316021760ff60381b191667010000000000000091881691909102179055620005a83390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600b54604051620005f091815260200190565b60405180910390a3505050505050505050505050620009d3565b60006200061882846200095d565b9392505050565b60006200061882846200097f565b8280546200063b9062000996565b90600052602060002090601f0160209004810192826200065f5760008555620006aa565b82601f106200067a57805160ff1916838001178555620006aa565b82800160010185558215620006aa579182015b82811115620006aa5782518255916020019190600101906200068d565b50620006b8929150620006bc565b5090565b5b80821115620006b85760008155600101620006bd565b80516001600160a01b0381168114620006eb57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200071857600080fd5b81516001600160401b0380821115620007355762000735620006f0565b604051601f8301601f19908116603f01168101908282118183101715620007605762000760620006f0565b816040528381526020925086838588010111156200077d57600080fd5b600091505b83821015620007a1578582018301518183018401529082019062000782565b83821115620007b35760008385830101525b9695505050505050565b805160ff81168114620006eb57600080fd5b60008060008060008060008060008060006101608c8e031215620007f257600080fd5b620007fd8c620006d3565b60208d0151909b506001600160401b038111156200081a57600080fd5b620008288e828f0162000706565b60408e0151909b5090506001600160401b038111156200084757600080fd5b620008558e828f0162000706565b9950506200086660608d01620007bd565b975060808c015196506200087d60a08d01620006d3565b95506200088d60c08d01620007bd565b94506200089d60e08d01620007bd565b9350620008ae6101008d01620007bd565b9250620008bf6101208d01620007bd565b9150620008d06101408d01620007bd565b90509295989b509295989b9093969950565b634e487b7160e01b600052601260045260246000fd5b6000826200090a576200090a620008e2565b500690565b634e487b7160e01b600052601160045260246000fd5b6000828210156200093a576200093a6200090f565b500390565b6000602082840312156200095257600080fd5b6200061882620006d3565b60008160001904831182151516156200097a576200097a6200090f565b500290565b600082620009915762000991620008e2565b500490565b600181811c90821680620009ab57607f821691505b60208210811415620009cd57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516133bb62000a31600039600081816106070152611a51015260008181610424015281816124750152818161253d0152818161256c015281816125fe0152818161263001528181612734015261282501526133bb6000f3fe6080604052600436106103035760003560e01c806370690b1111610190578063b29a8140116100dc578063d12a768811610095578063ea2f0b371161006f578063ea2f0b3714610962578063f25f4b5614610982578063f2fde38b146109a9578063f6a3c9a9146109c957600080fd5b8063d12a7688146108f1578063d28d885214610907578063dd62ed3e1461091c57600080fd5b8063b29a814014610846578063bdc653ef14610866578063c0b0fda21461087b578063c2e7d95c1461089c578063c49b9a80146108b0578063c7992f9a146108d057600080fd5b806390d49b9d11610149578063a9059cbb11610123578063a9059cbb146107e6578063aa23e03d14610806578063af465a271461081b578063b09f12661461083157600080fd5b806390d49b9d1461079157806395d89b41146107b1578063a457c2d7146107c657600080fd5b806370690b11146106c457806370a08231146106e5578063715018a61461070557806382d2a4bb1461071a57806388f820201461073a5780638da5cb5b1461077357600080fd5b80633b124fe71161024f5780634a74bb021161020857806352390c02116101e257806352390c02146106295780635342acb41461064957806354ce6578146106825780636bc87c3a146106a357600080fd5b80634a74bb02146105ba57806351330a19146105d457806352143290146105f557600080fd5b80633b124fe7146104f95780633bd5d173146105185780633c81385c14610538578063430ca09014610559578063437823ec1461057a5780634549b0391461059a57600080fd5b806323b872dd116102bc578063313ce56711610296578063313ce5671461047e578063324f8dbf146104965780633685d419146104b757806339509351146104d957600080fd5b806323b872dd146103f25780632d6abf87146104125780632d8381191461045e57600080fd5b806306fdde031461030f578063095ea7b31461033a57806313114a9d1461036a57806315fa749a1461038957806318160ddd146103bc57806319de79ab146103d157600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b506103246109e9565b6040516103319190612da5565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612e0f565b610a7b565b6040519015158152602001610331565b34801561037657600080fd5b50600d545b604051908152602001610331565b34801561039557600080fd5b506004546103aa90600160c01b900460ff1681565b60405160ff9091168152602001610331565b3480156103c857600080fd5b50600b5461037b565b3480156103dd57600080fd5b506010546103aa90600160481b900460ff1681565b3480156103fe57600080fd5b5061035a61040d366004612e3b565b610a92565b34801561041e57600080fd5b506104467f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610331565b34801561046a57600080fd5b5061037b610479366004612e7c565b610afb565b34801561048a57600080fd5b5060105460ff166103aa565b3480156104a257600080fd5b506004546103aa90600160c81b900460ff1681565b3480156104c357600080fd5b506104d76104d2366004612e95565b610b71565b005b3480156104e557600080fd5b5061035a6104f4366004612e0f565b610d1b565b34801561050557600080fd5b506010546103aa90610100900460ff1681565b34801561052457600080fd5b506104d7610533366004612e7c565b610d51565b34801561054457600080fd5b506004546103aa90600160b01b900460ff1681565b34801561056557600080fd5b506004546103aa90600160a01b900460ff1681565b34801561058657600080fd5b506104d7610595366004612e95565b610e3b565b3480156105a657600080fd5b5061037b6105b5366004612ec0565b610e89565b3480156105c657600080fd5b5060115461035a9060ff1681565b3480156105e057600080fd5b506004546103aa90600160b81b900460ff1681565b34801561060157600080fd5b506104467f000000000000000000000000000000000000000000000000000000000000000081565b34801561063557600080fd5b506104d7610644366004612e95565b610f16565b34801561065557600080fd5b5061035a610664366004612e95565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561068e57600080fd5b506010546103aa90600160381b900460ff1681565b3480156106af57600080fd5b506010546103aa906301000000900460ff1681565b3480156106d057600080fd5b506004546103aa90600160d01b900460ff1681565b3480156106f157600080fd5b5061037b610700366004612e95565b611023565b34801561071157600080fd5b506104d7611082565b34801561072657600080fd5b506104d7610735366004612e7c565b6110f6565b34801561074657600080fd5b5061035a610755366004612e95565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561077f57600080fd5b506000546001600160a01b0316610446565b34801561079d57600080fd5b506104d76107ac366004612e95565b611141565b3480156107bd57600080fd5b506103246111fa565b3480156107d257600080fd5b5061035a6107e1366004612e0f565b611209565b3480156107f257600080fd5b5061035a610801366004612e0f565b611258565b34801561081257600080fd5b50610324611265565b34801561082757600080fd5b5061037b600b5481565b34801561083d57600080fd5b50610324611274565b34801561085257600080fd5b506104d7610861366004612e0f565b611302565b34801561087257600080fd5b5060135461037b565b34801561088757600080fd5b506010546103aa90600160281b900460ff1681565b3480156108a857600080fd5b50600161035a565b3480156108bc57600080fd5b506104d76108cb366004612ef0565b61141b565b3480156108dc57600080fd5b506004546103aa90600160a81b900460ff1681565b3480156108fd57600080fd5b5061037b60125481565b34801561091357600080fd5b5061032461148c565b34801561092857600080fd5b5061037b610937366004612f0d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561096e57600080fd5b506104d761097d366004612e95565b611499565b34801561098e57600080fd5b5060105461044690600160581b90046001600160a01b031681565b3480156109b557600080fd5b506104d76109c4366004612e95565b6114e4565b3480156109d557600080fd5b506104d76109e4366004612f51565b6115d3565b6060600e80546109f890612fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490612fb6565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a88338484611806565b5060015b92915050565b6000610a9f848484611914565b610af18433610aec85604051806060016040528060288152602001613339602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190611b72565b611806565b5060019392505050565b6000600c54821115610b545760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b6000610b5e611b9e565b9050610b6a83826117fa565b9392505050565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03811660009081526009602052604090205460ff16610bf65760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401610b4b565b60005b600a54811015610d1757816001600160a01b0316600a8281548110610c2057610c20613036565b6000918252602090912001546001600160a01b03161415610d0557600a8054610c4b90600190613062565b81548110610c5b57610c5b613036565b600091825260209091200154600a80546001600160a01b039092169183908110610c8757610c87613036565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600682526040808220829055600990925220805460ff19169055600a805480610cdf57610cdf613079565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d0f8161308f565b915050610bf9565b5050565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a88918590610aec9086611bc1565b3360008181526009602052604090205460ff1615610dc65760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610b4b565b6000610dd183611bcd565b505050506001600160a01b038416600090815260056020526040902054919250610dfd91905082611c1c565b6001600160a01b038316600090815260056020526040902055600c54610e239082611c1c565b600c55600d54610e339084611bc1565b600d55505050565b6000546001600160a01b03163314610e655760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000600b54831115610edd5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401610b4b565b81610efc576000610eed84611bcd565b50939550610a8c945050505050565b6000610f0784611bcd565b50929550610a8c945050505050565b6000546001600160a01b03163314610f405760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03811660009081526009602052604090205460ff16611020576001600160a01b03811660009081526005602052604090205415610fba576001600160a01b038116600090815260056020526040902054610fa090610afb565b6001600160a01b0382166000908152600660205260409020555b6001600160a01b0381166000818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b50565b6001600160a01b03811660009081526009602052604081205460ff161561106057506001600160a01b031660009081526006602052604090205490565b6001600160a01b038216600090815260056020526040902054610a8c90610afb565b6000546001600160a01b031633146110ac5760405162461bcd60e51b8152600401610b4b90612ff1565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111205760405162461bcd60e51b8152600401610b4b90612ff1565b6010546111319060ff16600a61318e565b61113b908261319d565b60135550565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0381166111b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401610b4b565b6111b981610f16565b601080546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6060600f80546109f890612fb6565b6000610a883384610aec85604051806060016040528060258152602001613361602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190611b72565b6000610a88338484611914565b6060600280546109f890612fb6565b600f805461128190612fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad90612fb6565b80156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160a01b0316331461132c5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0382163014156113755760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b6044820152606401610b4b565b816001600160a01b031663a9059cbb6113966000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141691906131bc565b505050565b6000546001600160a01b031633146114455760405162461bcd60e51b8152600401610b4b90612ff1565b6011805460ff19168215159081179091556040519081527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599060200160405180910390a150565b600e805461128190612fb6565b6000546001600160a01b031633146114c35760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461150e5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0381166115785760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610b4b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fd5760405162461bcd60e51b8152600401610b4b90612ff1565b60045460ff600160a81b909104811690861611156116485760405162461bcd60e51b81526020600482015260086024820152672a231032b93937b960c11b6044820152606401610b4b565b60045460ff600160a01b909104811690851611156116935760405162461bcd60e51b815260206004820152600860248201526726231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b01b909104811690841611156116de5760405162461bcd60e51b815260206004820152600860248201526721231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b81b909104811690831611156117295760405162461bcd60e51b81526020600482015260086024820152672ba31032b93937b960c11b6044820152606401610b4b565b60045460ff600160c01b909104811690821611156117755760405162461bcd60e51b81526020600482015260096024820152682121231032b93937b960b91b6044820152606401610b4b565b6010805463ff00ff00191661010060ff9788160263ff0000001916176301000000958716959095029490941769ff000000ff00000000001916600160281b9386169390930260ff60481b191692909217600160481b928516929092029190911760ff60381b1916600160381b9190931602919091179055565b6000610b6a828461319d565b6000610b6a82846131d9565b6001600160a01b03831661185c5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401610b4b565b6001600160a01b0382166118b25760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401610b4b565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119745760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401610b4b565b6001600160a01b0382166119ca5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401610b4b565b60008111611a2c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b4b565b6000611a3730611023565b601054909150600160f81b900460ff16158015611a8557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b8015611a93575060115460ff165b15611b14576012548110611aae5750601254611aae81611c28565b601054600160481b900460ff1615611b14576010544790611ad39060ff16600a61318e565b611ade90600161319d565b811115611b1257601354811115611af457506013545b611b12611b0d6064611b078460326117ee565b906117fa565b611e4d565b505b6001600160a01b03841660009081526008602052604090205460019060ff1680611b5657506001600160a01b03841660009081526008602052604090205460ff165b15611b5f575060005b611b6b85858584611e83565b5050505050565b60008184841115611b965760405162461bcd60e51b8152600401610b4b9190612da5565b505050900390565b6000806000611bab6120a4565b9092509050611bba82826117fa565b9250505090565b6000610b6a82846131fb565b6000806000806000806000806000611be48a612226565b9250925092506000806000611c028d8686611bfd611b9e565b612268565b919f909e50909c50959a5093985091965092945050505050565b6000610b6a8284613062565b601080546001600160f81b0316600160f81b1790819055600090600160481b810460ff9081169163010000008104821691611c7591600160381b8104821691600160281b90910416613213565b611c7f9190613213565b611c899190613213565b6010549091506000908190600160281b900460ff1615611ce857601054611cca9060ff600160281b909104811690611cc490879087166117fa565b906117ee565b600354909250611ce59030906001600160a01b0316846122b8565b50805b601054600160381b900460ff1615611d4a57601054611d1b9060ff600160381b909104811690611cc490879087166117fa565b9150611d3d306010600b9054906101000a90046001600160a01b0316846122b8565b611d4782826131fb565b90505b601054600160481b900460ff1615611d9557601054611d7d9060ff600160481b909104811690611cc490879087166117fa565b9150611d888261241e565b611d9282826131fb565b90505b6010546301000000900460ff1615611e3857611db18482611c1c565b93506000611dc08560026117fa565b90506000611dce8683611c1c565b905047611dda8361241e565b6000611de64783611c1c565b9050611df283826125f8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b5050601080546001600160f81b031690555050565b601080546001600160f81b0316600160f81b1790558015611e7157611e7181612711565b50601080546001600160f81b03169055565b80611e9057611e906128b6565b6001600160a01b03841660009081526009602052604090205460ff168015611ed157506001600160a01b03831660009081526009602052604090205460ff16155b15611ee657611ee18484846129f2565b611fe4565b6001600160a01b03841660009081526009602052604090205460ff16158015611f2757506001600160a01b03831660009081526009602052604090205460ff165b15611f3757611ee1848484612b18565b6001600160a01b03841660009081526009602052604090205460ff16158015611f7957506001600160a01b03831660009081526009602052604090205460ff16155b15611f8957611ee1848484612bc1565b6001600160a01b03841660009081526009602052604090205460ff168015611fc957506001600160a01b03831660009081526009602052604090205460ff165b15611fd957611ee1848484612c05565b611fe4848484612bc1565b8061209e576010805460ff60481b1967ff00ff00000000001963ff00ff0019831663ff0000001961010062010000860460ff908116919091029182169290921764010000000061ff00199096169091179490940481166301000000029390931790811660ff60381b19660100000000000083048516600160281b0290811691909117600160401b65ff000000000019909316909117919091048316600160381b0217908116600160501b909104909116600160481b021790555b50505050565b600c54600b546000918291825b600a548110156121f6578260056000600a84815481106120d3576120d3613036565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061213e57508160066000600a848154811061211757612117613036565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561215457600c54600b54945094505050509091565b61219a60056000600a848154811061216e5761216e613036565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611c1c565b92506121e260066000600a84815481106121b6576121b6613036565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611c1c565b9150806121ee8161308f565b9150506120b1565b50600b54600c54612206916117fa565b82101561221d57600c54600b549350935050509091565b90939092509050565b60008060008061223585612c78565b9050600061224286612c98565b9050600061225a826122548986611c1c565b90611c1c565b979296509094509092505050565b600080808061227788866117ee565b9050600061228588876117ee565b9050600061229388886117ee565b905060006122a5826122548686611c1c565b939b939a50919850919650505050505050565b6001600160a01b0383166000908152600560205260409020546122db9082611c1c565b6001600160a01b03808516600090815260056020526040808220939093559084168152205461230a9082611bc1565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526009909152205460ff161561237b576001600160a01b0383166000908152600660205260409020546123619082611c1c565b6001600160a01b0384166000908152600660205260409020555b6001600160a01b03821660009081526009602052604090205460ff16156123d9576001600160a01b0382166000908152600660205260409020546123bf9082611bc1565b6001600160a01b0383166000908152600660205260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190791815260200190565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061245357612453613036565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156124cc57600080fd5b505afa1580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190613238565b8160018151811061251757612517613036565b60200260200101906001600160a01b031690816001600160a01b031681525050612562307f000000000000000000000000000000000000000000000000000000000000000084611806565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663791ac94783600084306125a24261012c611bc1565b6040518663ffffffff1660e01b81526004016125c2959493929190613299565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050505050565b612623307f000000000000000000000000000000000000000000000000000000000000000084611806565b6003546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163f305d719918491309187916000918291166126704261012c611bc1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b1580156126d857600080fd5b505af11580156126ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b6b91906132d5565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561278b57600080fd5b505afa15801561279f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c39190613238565b816000815181106127d6576127d6613036565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061280a5761280a613036565b6001600160a01b0392831660209182029290920101526003547f000000000000000000000000000000000000000000000000000000000000000082169163b6f9de959185916000918691166128614261012c611bc1565b6040518663ffffffff1660e01b81526004016128809493929190613303565b6000604051808303818588803b15801561289957600080fd5b505af11580156128ad573d6000803e3d6000fd5b50505050505050565b601054610100900460ff161580156128d857506010546301000000900460ff16155b80156128ee5750601054600160281b900460ff16155b80156129045750601054600160381b900460ff16155b801561291a5750601054600160481b900460ff16155b1561292157565b601080546affff00ff00ff00ff00ff001968ff00ff0000000000001964ff00ff000019831664ff0000000019610100850460ff908116620100000291821692909217630100000062ff000019909616909117949094048116640100000000029390931790811668ff000000000000000019600160281b8304851666010000000000000290811691909117600160381b66ff00000000000019909316909117919091048316600160401b0217908116600160481b909104909116600160501b0269ff00ff00ff00ff00ff001916179055565b600080600080600080612a0487611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612a369088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612a659087611c1c565b6001600160a01b03808b1660009081526005602052604080822093909355908a1681522054612a949086611bc1565b6001600160a01b038916600090815260056020526040902055612ab681612cf9565b612ac08483612d81565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b0591815260200190565b60405180910390a3505050505050505050565b600080600080600080612b2a87611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612b5c9087611c1c565b6001600160a01b03808b16600090815260056020908152604080832094909455918b16815260069091522054612b929084611bc1565b6001600160a01b038916600090815260066020908152604080832093909355600590522054612a949086611bc1565b600080600080600080612bd387611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612a659087611c1c565b600080600080600080612c1787611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c499088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612b5c9087611c1c565b601054600090610a8c90606490611b07908590610100900460ff166117ee565b601054600090610a8c90606490611b079060ff600160481b8204811691600160381b8104821691612cdb91600160281b8104821691630100000090910416613213565b612ce59190613213565b612cef9190613213565b859060ff166117ee565b6000612d03611b9e565b90506000612d1183836117ee565b30600090815260056020526040902054909150612d2e9082611bc1565b3060009081526005602090815260408083209390935560099052205460ff16156114165730600090815260066020526040902054612d6c9084611bc1565b30600090815260066020526040902055505050565b600c54612d8e9083611c1c565b600c55600d54612d9e9082611bc1565b600d555050565b600060208083528351808285015260005b81811015612dd257858101830151858201604001528201612db6565b81811115612de4576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461102057600080fd5b60008060408385031215612e2257600080fd5b8235612e2d81612dfa565b946020939093013593505050565b600080600060608486031215612e5057600080fd5b8335612e5b81612dfa565b92506020840135612e6b81612dfa565b929592945050506040919091013590565b600060208284031215612e8e57600080fd5b5035919050565b600060208284031215612ea757600080fd5b8135610b6a81612dfa565b801515811461102057600080fd5b60008060408385031215612ed357600080fd5b823591506020830135612ee581612eb2565b809150509250929050565b600060208284031215612f0257600080fd5b8135610b6a81612eb2565b60008060408385031215612f2057600080fd5b8235612f2b81612dfa565b91506020830135612ee581612dfa565b803560ff81168114612f4c57600080fd5b919050565b600080600080600060a08688031215612f6957600080fd5b612f7286612f3b565b9450612f8060208701612f3b565b9350612f8e60408701612f3b565b9250612f9c60608701612f3b565b9150612faa60808701612f3b565b90509295509295909350565b600181811c90821680612fca57607f821691505b60208210811415612feb57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156130745761307461304c565b500390565b634e487b7160e01b600052603160045260246000fd5b60006000198214156130a3576130a361304c565b5060010190565b600181815b808511156130e55781600019048211156130cb576130cb61304c565b808516156130d857918102915b93841c93908002906130af565b509250929050565b6000826130fc57506001610a8c565b8161310957506000610a8c565b816001811461311f576002811461312957613145565b6001915050610a8c565b60ff84111561313a5761313a61304c565b50506001821b610a8c565b5060208310610133831016604e8410600b8410161715613168575081810a610a8c565b61317283836130aa565b80600019048211156131865761318661304c565b029392505050565b6000610b6a60ff8416836130ed565b60008160001904831182151516156131b7576131b761304c565b500290565b6000602082840312156131ce57600080fd5b8151610b6a81612eb2565b6000826131f657634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561320e5761320e61304c565b500190565b600060ff821660ff84168060ff038211156132305761323061304c565b019392505050565b60006020828403121561324a57600080fd5b8151610b6a81612dfa565b600081518084526020808501945080840160005b8381101561328e5781516001600160a01b031687529582019590820190600101613269565b509495945050505050565b85815284602082015260a0604082015260006132b860a0830186613255565b6001600160a01b0394909416606083015250608001529392505050565b6000806000606084860312156132ea57600080fd5b8351925060208401519150604084015190509250925092565b84815260806020820152600061331c6080830186613255565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092d85ec7efecba29862b28aea538dabd630f3ee0cfc55edce58f36dfb56b758964736f6c634300080900330000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000007e381a06b007cdb540242000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094f6e6520506561726c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000428ce942900000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103035760003560e01c806370690b1111610190578063b29a8140116100dc578063d12a768811610095578063ea2f0b371161006f578063ea2f0b3714610962578063f25f4b5614610982578063f2fde38b146109a9578063f6a3c9a9146109c957600080fd5b8063d12a7688146108f1578063d28d885214610907578063dd62ed3e1461091c57600080fd5b8063b29a814014610846578063bdc653ef14610866578063c0b0fda21461087b578063c2e7d95c1461089c578063c49b9a80146108b0578063c7992f9a146108d057600080fd5b806390d49b9d11610149578063a9059cbb11610123578063a9059cbb146107e6578063aa23e03d14610806578063af465a271461081b578063b09f12661461083157600080fd5b806390d49b9d1461079157806395d89b41146107b1578063a457c2d7146107c657600080fd5b806370690b11146106c457806370a08231146106e5578063715018a61461070557806382d2a4bb1461071a57806388f820201461073a5780638da5cb5b1461077357600080fd5b80633b124fe71161024f5780634a74bb021161020857806352390c02116101e257806352390c02146106295780635342acb41461064957806354ce6578146106825780636bc87c3a146106a357600080fd5b80634a74bb02146105ba57806351330a19146105d457806352143290146105f557600080fd5b80633b124fe7146104f95780633bd5d173146105185780633c81385c14610538578063430ca09014610559578063437823ec1461057a5780634549b0391461059a57600080fd5b806323b872dd116102bc578063313ce56711610296578063313ce5671461047e578063324f8dbf146104965780633685d419146104b757806339509351146104d957600080fd5b806323b872dd146103f25780632d6abf87146104125780632d8381191461045e57600080fd5b806306fdde031461030f578063095ea7b31461033a57806313114a9d1461036a57806315fa749a1461038957806318160ddd146103bc57806319de79ab146103d157600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b506103246109e9565b6040516103319190612da5565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612e0f565b610a7b565b6040519015158152602001610331565b34801561037657600080fd5b50600d545b604051908152602001610331565b34801561039557600080fd5b506004546103aa90600160c01b900460ff1681565b60405160ff9091168152602001610331565b3480156103c857600080fd5b50600b5461037b565b3480156103dd57600080fd5b506010546103aa90600160481b900460ff1681565b3480156103fe57600080fd5b5061035a61040d366004612e3b565b610a92565b34801561041e57600080fd5b506104467f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610331565b34801561046a57600080fd5b5061037b610479366004612e7c565b610afb565b34801561048a57600080fd5b5060105460ff166103aa565b3480156104a257600080fd5b506004546103aa90600160c81b900460ff1681565b3480156104c357600080fd5b506104d76104d2366004612e95565b610b71565b005b3480156104e557600080fd5b5061035a6104f4366004612e0f565b610d1b565b34801561050557600080fd5b506010546103aa90610100900460ff1681565b34801561052457600080fd5b506104d7610533366004612e7c565b610d51565b34801561054457600080fd5b506004546103aa90600160b01b900460ff1681565b34801561056557600080fd5b506004546103aa90600160a01b900460ff1681565b34801561058657600080fd5b506104d7610595366004612e95565b610e3b565b3480156105a657600080fd5b5061037b6105b5366004612ec0565b610e89565b3480156105c657600080fd5b5060115461035a9060ff1681565b3480156105e057600080fd5b506004546103aa90600160b81b900460ff1681565b34801561060157600080fd5b506104467f000000000000000000000000688c56c2a19b88e46b008aaaa268a29f1772b79b81565b34801561063557600080fd5b506104d7610644366004612e95565b610f16565b34801561065557600080fd5b5061035a610664366004612e95565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561068e57600080fd5b506010546103aa90600160381b900460ff1681565b3480156106af57600080fd5b506010546103aa906301000000900460ff1681565b3480156106d057600080fd5b506004546103aa90600160d01b900460ff1681565b3480156106f157600080fd5b5061037b610700366004612e95565b611023565b34801561071157600080fd5b506104d7611082565b34801561072657600080fd5b506104d7610735366004612e7c565b6110f6565b34801561074657600080fd5b5061035a610755366004612e95565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561077f57600080fd5b506000546001600160a01b0316610446565b34801561079d57600080fd5b506104d76107ac366004612e95565b611141565b3480156107bd57600080fd5b506103246111fa565b3480156107d257600080fd5b5061035a6107e1366004612e0f565b611209565b3480156107f257600080fd5b5061035a610801366004612e0f565b611258565b34801561081257600080fd5b50610324611265565b34801561082757600080fd5b5061037b600b5481565b34801561083d57600080fd5b50610324611274565b34801561085257600080fd5b506104d7610861366004612e0f565b611302565b34801561087257600080fd5b5060135461037b565b34801561088757600080fd5b506010546103aa90600160281b900460ff1681565b3480156108a857600080fd5b50600161035a565b3480156108bc57600080fd5b506104d76108cb366004612ef0565b61141b565b3480156108dc57600080fd5b506004546103aa90600160a81b900460ff1681565b3480156108fd57600080fd5b5061037b60125481565b34801561091357600080fd5b5061032461148c565b34801561092857600080fd5b5061037b610937366004612f0d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561096e57600080fd5b506104d761097d366004612e95565b611499565b34801561098e57600080fd5b5060105461044690600160581b90046001600160a01b031681565b3480156109b557600080fd5b506104d76109c4366004612e95565b6114e4565b3480156109d557600080fd5b506104d76109e4366004612f51565b6115d3565b6060600e80546109f890612fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490612fb6565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a88338484611806565b5060015b92915050565b6000610a9f848484611914565b610af18433610aec85604051806060016040528060288152602001613339602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190611b72565b611806565b5060019392505050565b6000600c54821115610b545760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b6000610b5e611b9e565b9050610b6a83826117fa565b9392505050565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03811660009081526009602052604090205460ff16610bf65760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401610b4b565b60005b600a54811015610d1757816001600160a01b0316600a8281548110610c2057610c20613036565b6000918252602090912001546001600160a01b03161415610d0557600a8054610c4b90600190613062565b81548110610c5b57610c5b613036565b600091825260209091200154600a80546001600160a01b039092169183908110610c8757610c87613036565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600682526040808220829055600990925220805460ff19169055600a805480610cdf57610cdf613079565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d0f8161308f565b915050610bf9565b5050565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a88918590610aec9086611bc1565b3360008181526009602052604090205460ff1615610dc65760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610b4b565b6000610dd183611bcd565b505050506001600160a01b038416600090815260056020526040902054919250610dfd91905082611c1c565b6001600160a01b038316600090815260056020526040902055600c54610e239082611c1c565b600c55600d54610e339084611bc1565b600d55505050565b6000546001600160a01b03163314610e655760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000600b54831115610edd5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401610b4b565b81610efc576000610eed84611bcd565b50939550610a8c945050505050565b6000610f0784611bcd565b50929550610a8c945050505050565b6000546001600160a01b03163314610f405760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03811660009081526009602052604090205460ff16611020576001600160a01b03811660009081526005602052604090205415610fba576001600160a01b038116600090815260056020526040902054610fa090610afb565b6001600160a01b0382166000908152600660205260409020555b6001600160a01b0381166000818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b50565b6001600160a01b03811660009081526009602052604081205460ff161561106057506001600160a01b031660009081526006602052604090205490565b6001600160a01b038216600090815260056020526040902054610a8c90610afb565b6000546001600160a01b031633146110ac5760405162461bcd60e51b8152600401610b4b90612ff1565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111205760405162461bcd60e51b8152600401610b4b90612ff1565b6010546111319060ff16600a61318e565b61113b908261319d565b60135550565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0381166111b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401610b4b565b6111b981610f16565b601080546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6060600f80546109f890612fb6565b6000610a883384610aec85604051806060016040528060258152602001613361602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190611b72565b6000610a88338484611914565b6060600280546109f890612fb6565b600f805461128190612fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad90612fb6565b80156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160a01b0316331461132c5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0382163014156113755760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b6044820152606401610b4b565b816001600160a01b031663a9059cbb6113966000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141691906131bc565b505050565b6000546001600160a01b031633146114455760405162461bcd60e51b8152600401610b4b90612ff1565b6011805460ff19168215159081179091556040519081527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599060200160405180910390a150565b600e805461128190612fb6565b6000546001600160a01b031633146114c35760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461150e5760405162461bcd60e51b8152600401610b4b90612ff1565b6001600160a01b0381166115785760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610b4b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fd5760405162461bcd60e51b8152600401610b4b90612ff1565b60045460ff600160a81b909104811690861611156116485760405162461bcd60e51b81526020600482015260086024820152672a231032b93937b960c11b6044820152606401610b4b565b60045460ff600160a01b909104811690851611156116935760405162461bcd60e51b815260206004820152600860248201526726231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b01b909104811690841611156116de5760405162461bcd60e51b815260206004820152600860248201526721231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b81b909104811690831611156117295760405162461bcd60e51b81526020600482015260086024820152672ba31032b93937b960c11b6044820152606401610b4b565b60045460ff600160c01b909104811690821611156117755760405162461bcd60e51b81526020600482015260096024820152682121231032b93937b960b91b6044820152606401610b4b565b6010805463ff00ff00191661010060ff9788160263ff0000001916176301000000958716959095029490941769ff000000ff00000000001916600160281b9386169390930260ff60481b191692909217600160481b928516929092029190911760ff60381b1916600160381b9190931602919091179055565b6000610b6a828461319d565b6000610b6a82846131d9565b6001600160a01b03831661185c5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401610b4b565b6001600160a01b0382166118b25760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401610b4b565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119745760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401610b4b565b6001600160a01b0382166119ca5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401610b4b565b60008111611a2c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b4b565b6000611a3730611023565b601054909150600160f81b900460ff16158015611a8557507f000000000000000000000000688c56c2a19b88e46b008aaaa268a29f1772b79b6001600160a01b0316836001600160a01b0316145b8015611a93575060115460ff165b15611b14576012548110611aae5750601254611aae81611c28565b601054600160481b900460ff1615611b14576010544790611ad39060ff16600a61318e565b611ade90600161319d565b811115611b1257601354811115611af457506013545b611b12611b0d6064611b078460326117ee565b906117fa565b611e4d565b505b6001600160a01b03841660009081526008602052604090205460019060ff1680611b5657506001600160a01b03841660009081526008602052604090205460ff165b15611b5f575060005b611b6b85858584611e83565b5050505050565b60008184841115611b965760405162461bcd60e51b8152600401610b4b9190612da5565b505050900390565b6000806000611bab6120a4565b9092509050611bba82826117fa565b9250505090565b6000610b6a82846131fb565b6000806000806000806000806000611be48a612226565b9250925092506000806000611c028d8686611bfd611b9e565b612268565b919f909e50909c50959a5093985091965092945050505050565b6000610b6a8284613062565b601080546001600160f81b0316600160f81b1790819055600090600160481b810460ff9081169163010000008104821691611c7591600160381b8104821691600160281b90910416613213565b611c7f9190613213565b611c899190613213565b6010549091506000908190600160281b900460ff1615611ce857601054611cca9060ff600160281b909104811690611cc490879087166117fa565b906117ee565b600354909250611ce59030906001600160a01b0316846122b8565b50805b601054600160381b900460ff1615611d4a57601054611d1b9060ff600160381b909104811690611cc490879087166117fa565b9150611d3d306010600b9054906101000a90046001600160a01b0316846122b8565b611d4782826131fb565b90505b601054600160481b900460ff1615611d9557601054611d7d9060ff600160481b909104811690611cc490879087166117fa565b9150611d888261241e565b611d9282826131fb565b90505b6010546301000000900460ff1615611e3857611db18482611c1c565b93506000611dc08560026117fa565b90506000611dce8683611c1c565b905047611dda8361241e565b6000611de64783611c1c565b9050611df283826125f8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b5050601080546001600160f81b031690555050565b601080546001600160f81b0316600160f81b1790558015611e7157611e7181612711565b50601080546001600160f81b03169055565b80611e9057611e906128b6565b6001600160a01b03841660009081526009602052604090205460ff168015611ed157506001600160a01b03831660009081526009602052604090205460ff16155b15611ee657611ee18484846129f2565b611fe4565b6001600160a01b03841660009081526009602052604090205460ff16158015611f2757506001600160a01b03831660009081526009602052604090205460ff165b15611f3757611ee1848484612b18565b6001600160a01b03841660009081526009602052604090205460ff16158015611f7957506001600160a01b03831660009081526009602052604090205460ff16155b15611f8957611ee1848484612bc1565b6001600160a01b03841660009081526009602052604090205460ff168015611fc957506001600160a01b03831660009081526009602052604090205460ff165b15611fd957611ee1848484612c05565b611fe4848484612bc1565b8061209e576010805460ff60481b1967ff00ff00000000001963ff00ff0019831663ff0000001961010062010000860460ff908116919091029182169290921764010000000061ff00199096169091179490940481166301000000029390931790811660ff60381b19660100000000000083048516600160281b0290811691909117600160401b65ff000000000019909316909117919091048316600160381b0217908116600160501b909104909116600160481b021790555b50505050565b600c54600b546000918291825b600a548110156121f6578260056000600a84815481106120d3576120d3613036565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061213e57508160066000600a848154811061211757612117613036565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561215457600c54600b54945094505050509091565b61219a60056000600a848154811061216e5761216e613036565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611c1c565b92506121e260066000600a84815481106121b6576121b6613036565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611c1c565b9150806121ee8161308f565b9150506120b1565b50600b54600c54612206916117fa565b82101561221d57600c54600b549350935050509091565b90939092509050565b60008060008061223585612c78565b9050600061224286612c98565b9050600061225a826122548986611c1c565b90611c1c565b979296509094509092505050565b600080808061227788866117ee565b9050600061228588876117ee565b9050600061229388886117ee565b905060006122a5826122548686611c1c565b939b939a50919850919650505050505050565b6001600160a01b0383166000908152600560205260409020546122db9082611c1c565b6001600160a01b03808516600090815260056020526040808220939093559084168152205461230a9082611bc1565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526009909152205460ff161561237b576001600160a01b0383166000908152600660205260409020546123619082611c1c565b6001600160a01b0384166000908152600660205260409020555b6001600160a01b03821660009081526009602052604090205460ff16156123d9576001600160a01b0382166000908152600660205260409020546123bf9082611bc1565b6001600160a01b0383166000908152600660205260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190791815260200190565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061245357612453613036565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156124cc57600080fd5b505afa1580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190613238565b8160018151811061251757612517613036565b60200260200101906001600160a01b031690816001600160a01b031681525050612562307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611806565b6001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94783600084306125a24261012c611bc1565b6040518663ffffffff1660e01b81526004016125c2959493929190613299565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050505050565b612623307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611806565b6003546001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169163f305d719918491309187916000918291166126704261012c611bc1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b1580156126d857600080fd5b505af11580156126ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b6b91906132d5565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561278b57600080fd5b505afa15801561279f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c39190613238565b816000815181106127d6576127d6613036565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061280a5761280a613036565b6001600160a01b0392831660209182029290920101526003547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d82169163b6f9de959185916000918691166128614261012c611bc1565b6040518663ffffffff1660e01b81526004016128809493929190613303565b6000604051808303818588803b15801561289957600080fd5b505af11580156128ad573d6000803e3d6000fd5b50505050505050565b601054610100900460ff161580156128d857506010546301000000900460ff16155b80156128ee5750601054600160281b900460ff16155b80156129045750601054600160381b900460ff16155b801561291a5750601054600160481b900460ff16155b1561292157565b601080546affff00ff00ff00ff00ff001968ff00ff0000000000001964ff00ff000019831664ff0000000019610100850460ff908116620100000291821692909217630100000062ff000019909616909117949094048116640100000000029390931790811668ff000000000000000019600160281b8304851666010000000000000290811691909117600160381b66ff00000000000019909316909117919091048316600160401b0217908116600160481b909104909116600160501b0269ff00ff00ff00ff00ff001916179055565b600080600080600080612a0487611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612a369088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612a659087611c1c565b6001600160a01b03808b1660009081526005602052604080822093909355908a1681522054612a949086611bc1565b6001600160a01b038916600090815260056020526040902055612ab681612cf9565b612ac08483612d81565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b0591815260200190565b60405180910390a3505050505050505050565b600080600080600080612b2a87611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612b5c9087611c1c565b6001600160a01b03808b16600090815260056020908152604080832094909455918b16815260069091522054612b929084611bc1565b6001600160a01b038916600090815260066020908152604080832093909355600590522054612a949086611bc1565b600080600080600080612bd387611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612a659087611c1c565b600080600080600080612c1787611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c499088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612b5c9087611c1c565b601054600090610a8c90606490611b07908590610100900460ff166117ee565b601054600090610a8c90606490611b079060ff600160481b8204811691600160381b8104821691612cdb91600160281b8104821691630100000090910416613213565b612ce59190613213565b612cef9190613213565b859060ff166117ee565b6000612d03611b9e565b90506000612d1183836117ee565b30600090815260056020526040902054909150612d2e9082611bc1565b3060009081526005602090815260408083209390935560099052205460ff16156114165730600090815260066020526040902054612d6c9084611bc1565b30600090815260066020526040902055505050565b600c54612d8e9083611c1c565b600c55600d54612d9e9082611bc1565b600d555050565b600060208083528351808285015260005b81811015612dd257858101830151858201604001528201612db6565b81811115612de4576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461102057600080fd5b60008060408385031215612e2257600080fd5b8235612e2d81612dfa565b946020939093013593505050565b600080600060608486031215612e5057600080fd5b8335612e5b81612dfa565b92506020840135612e6b81612dfa565b929592945050506040919091013590565b600060208284031215612e8e57600080fd5b5035919050565b600060208284031215612ea757600080fd5b8135610b6a81612dfa565b801515811461102057600080fd5b60008060408385031215612ed357600080fd5b823591506020830135612ee581612eb2565b809150509250929050565b600060208284031215612f0257600080fd5b8135610b6a81612eb2565b60008060408385031215612f2057600080fd5b8235612f2b81612dfa565b91506020830135612ee581612dfa565b803560ff81168114612f4c57600080fd5b919050565b600080600080600060a08688031215612f6957600080fd5b612f7286612f3b565b9450612f8060208701612f3b565b9350612f8e60408701612f3b565b9250612f9c60608701612f3b565b9150612faa60808701612f3b565b90509295509295909350565b600181811c90821680612fca57607f821691505b60208210811415612feb57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156130745761307461304c565b500390565b634e487b7160e01b600052603160045260246000fd5b60006000198214156130a3576130a361304c565b5060010190565b600181815b808511156130e55781600019048211156130cb576130cb61304c565b808516156130d857918102915b93841c93908002906130af565b509250929050565b6000826130fc57506001610a8c565b8161310957506000610a8c565b816001811461311f576002811461312957613145565b6001915050610a8c565b60ff84111561313a5761313a61304c565b50506001821b610a8c565b5060208310610133831016604e8410600b8410161715613168575081810a610a8c565b61317283836130aa565b80600019048211156131865761318661304c565b029392505050565b6000610b6a60ff8416836130ed565b60008160001904831182151516156131b7576131b761304c565b500290565b6000602082840312156131ce57600080fd5b8151610b6a81612eb2565b6000826131f657634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561320e5761320e61304c565b500190565b600060ff821660ff84168060ff038211156132305761323061304c565b019392505050565b60006020828403121561324a57600080fd5b8151610b6a81612dfa565b600081518084526020808501945080840160005b8381101561328e5781516001600160a01b031687529582019590820190600101613269565b509495945050505050565b85815284602082015260a0604082015260006132b860a0830186613255565b6001600160a01b0394909416606083015250608001529392505050565b6000806000606084860312156132ea57600080fd5b8351925060208401519150604084015190509250925092565b84815260806020820152600061331c6080830186613255565b6001600160a01b0394909416604083015250606001529291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092d85ec7efecba29862b28aea538dabd630f3ee0cfc55edce58f36dfb56b758964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000007e381a06b007cdb540242000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094f6e6520506561726c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000428ce942900000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __metacrypt_target (address): 0x3980A73f4159f867E6EEC7555D26622e53d356B9
Arg [1] : __metacrypt_name (string): One Pearl
Arg [2] : __metacrypt_symbol (string): (Δ)
Arg [3] : __metacrypt_decimals (uint8): 18
Arg [4] : __metacrypt_initial (uint256): 10000111101000000000000000000000
Arg [5] : __metacrypt_router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : __metacrypt_tax_reflection (uint8): 0
Arg [7] : __metacrypt_tax_wallet (uint8): 4
Arg [8] : __metacrypt_tax_burn (uint8): 0
Arg [9] : __metacrypt_tax_liquidity (uint8): 4
Arg [10] : __metacrypt_tax_buyback (uint8): 0
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000000000000000007e381a06b007cdb54024200000
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [12] : 4f6e6520506561726c0000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [14] : 28ce942900000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.