Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
5.656940720006438215 ETH
Eth Value
$18,859.09 (@ $3,333.80/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 993 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20411806 | 120 days ago | IN | 0 ETH | 0.00013831 | ||||
Approve | 20402010 | 121 days ago | IN | 0 ETH | 0.00005358 | ||||
Approve | 20148131 | 157 days ago | IN | 0 ETH | 0.0002065 | ||||
Approve | 19754273 | 212 days ago | IN | 0 ETH | 0.00036199 | ||||
Approve | 19754267 | 212 days ago | IN | 0 ETH | 0.00036226 | ||||
Approve | 19754265 | 212 days ago | IN | 0 ETH | 0.00034673 | ||||
Approve | 19748151 | 213 days ago | IN | 0 ETH | 0.00027929 | ||||
Approve | 19699763 | 219 days ago | IN | 0 ETH | 0.00032282 | ||||
Approve | 19026963 | 314 days ago | IN | 0 ETH | 0.00092076 | ||||
Approve | 18910690 | 330 days ago | IN | 0 ETH | 0.00023905 | ||||
Approve | 18910689 | 330 days ago | IN | 0 ETH | 0.00024597 | ||||
Approve | 18724867 | 356 days ago | IN | 0 ETH | 0.0023007 | ||||
Approve | 18670023 | 364 days ago | IN | 0 ETH | 0.00069792 | ||||
Approve | 18670020 | 364 days ago | IN | 0 ETH | 0.00119833 | ||||
Approve | 18504962 | 387 days ago | IN | 0 ETH | 0.00064317 | ||||
Approve | 18467851 | 392 days ago | IN | 0 ETH | 0.00066716 | ||||
Approve | 18397716 | 402 days ago | IN | 0 ETH | 0.00015843 | ||||
Approve | 18300917 | 416 days ago | IN | 0 ETH | 0.00040984 | ||||
Approve | 18134197 | 439 days ago | IN | 0 ETH | 0.00054571 | ||||
Approve | 17707678 | 499 days ago | IN | 0 ETH | 0.0006496 | ||||
Approve | 17241761 | 564 days ago | IN | 0 ETH | 0.00176045 | ||||
Approve | 17241755 | 564 days ago | IN | 0 ETH | 0.00276879 | ||||
Approve | 17235569 | 565 days ago | IN | 0 ETH | 0.00353511 | ||||
Approve | 17167783 | 575 days ago | IN | 0 ETH | 0.00354526 | ||||
Approve | 17137219 | 579 days ago | IN | 0 ETH | 0.00169177 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20402010 | 121 days ago | 0.03184445 ETH | ||||
20402010 | 121 days ago | 0.03184445 ETH | ||||
20148138 | 157 days ago | 0.00828044 ETH | ||||
20148138 | 157 days ago | 0.00828044 ETH | ||||
19699769 | 219 days ago | 0.00429743 ETH | ||||
19699769 | 219 days ago | 0.00429743 ETH | ||||
18467855 | 392 days ago | 0.00453347 ETH | ||||
18467855 | 392 days ago | 0.00453347 ETH | ||||
18300923 | 416 days ago | 0.05898518 ETH | ||||
18300923 | 416 days ago | 0.05898518 ETH | ||||
18134199 | 439 days ago | 0.00932621 ETH | ||||
18134199 | 439 days ago | 0.00932621 ETH | ||||
17707681 | 499 days ago | 0.00627791 ETH | ||||
17707681 | 499 days ago | 0.00627791 ETH | ||||
17521804 | 525 days ago | 0.00646366 ETH | ||||
17521804 | 525 days ago | 0.00646366 ETH | ||||
17391833 | 543 days ago | 0.00665775 ETH | ||||
17391833 | 543 days ago | 0.00665775 ETH | ||||
17383041 | 544 days ago | 0.02166977 ETH | ||||
17383041 | 544 days ago | 0.02166977 ETH | ||||
17376405 | 545 days ago | 0.01100695 ETH | ||||
17376405 | 545 days ago | 0.01100695 ETH | ||||
17315197 | 554 days ago | 0.02894051 ETH | ||||
17315197 | 554 days ago | 0.02894051 ETH | ||||
17253083 | 563 days ago | 0.01517531 ETH |
Loading...
Loading
Contract Name:
SERC20Token
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// https://t.me/serc20 // SPDX-License-Identifier: MIT pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; import "@serc-20/serc/SERC20.sol"; contract SERC20Token is SERC20 { using SafeMath for uint256; address public constant deadAddress = address(0xdead); bool private swapping; address public devWallet; uint256 public tokensForLiquidity; uint256 public tokensForDev; uint256 public swapTokensAtAmount; uint256 public percentForLPBurn = 25; // 25 = .25% bool public lpBurnEnabled = true; uint256 public lpBurnFrequency = 3600 seconds; uint256 public lastLpBurnTime; uint256 public launchBlock; uint256 public manualBurnFrequency = 30 minutes; uint256 public lastManualLpBurnTime; mapping(address => uint256) private holderLastTransferTimestamp; bool public transferDelayEnabled = true; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedFromMaxTx; mapping(address => bool) public marketPairs; event ExcludeFromFees(address indexed addr, bool isExcluded); event SetMarketPair(address indexed pair, bool indexed value); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event AutoNukeLP(); event ManualNukeLP(); event devWalletUpdated( address indexed newWallet, address indexed oldWallet ); constructor() SERC20( "sERC20 Token", "sERC20", 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 10, 10 ) { uint256 totalSupply = 1_000_000_000 * 1e18; swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet devWallet = address(owner()); uint256[] memory buyTaxes = new uint256[](2); // Dev Tax buyTaxes[0] = 8; // Liq Tax buyTaxes[1] = 2; uint256[] memory sellTaxes = new uint256[](2); // Dev Tax sellTaxes[0] = 8; // Liq Tax sellTaxes[1] = 2; _sercSetTaxes(buyTaxes, true); _sercSetTaxes(sellTaxes, false); excludeFromMaxTx(address(_sercRouter()), true); excludeFromMaxTx(_sercPair(), true); _setMarketPair(_sercPair(), true); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTx(owner(), true); excludeFromMaxTx(address(this), true); excludeFromMaxTx(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} // Override serc method function sercSetTradingEnabled() public virtual override onlyOwner { super.sercSetTradingEnabled(); lastLpBurnTime = block.timestamp; launchBlock = block.number; } function setMarketPair(address pair, bool value) public onlyOwner { require( pair != address(_sercPair()), "The pair cannot be removed from automatedMarketMakerPairs" ); _setMarketPair(pair, value); } function _setMarketPair(address pair, bool value) private { marketPairs[pair] = value; emit SetMarketPair(pair, value); } function excludeFromMaxTx(address addr, bool isExcluded) public onlyOwner { _isExcludedFromMaxTx[addr] = isExcluded; } function excludeFromFees(address addr, bool isExcluded) public onlyOwner { _isExcludedFromFees[addr] = isExcluded; emit ExcludeFromFees(addr, isExcluded); } function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } function setBuyTax(uint256 buyDevTax, uint256 buyLiqTax) external onlyOwner { uint256[] memory buyTaxes = new uint256[](2); buyTaxes[0] = buyDevTax; buyTaxes[1] = buyLiqTax; _sercSetTaxes(buyTaxes, true); } function setSellTax(uint256 sellDevTax, uint256 sellLiqTax) external onlyOwner { uint256[] memory sellTaxes = new uint256[](2); sellTaxes[0] = sellDevTax; sellTaxes[1] = sellLiqTax; _sercSetTaxes(sellTaxes, false); } function updateDevWallet(address newWallet) external onlyOwner { emit devWalletUpdated(newWallet, devWallet); devWallet = newWallet; } function isExcludedFromFees(address addr) public view returns (bool) { return _isExcludedFromFees[addr]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } bool usedBot = false; if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) ) { if (!_sercTradingEnabled()) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if (block.number <= launchBlock) { if (to != _sercPair() && to != address(_sercRouter())) { usedBot = true; } } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled) { if ( to != owner() && to != address(_sercRouter()) && to != _sercPair() ) { require( holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if (marketPairs[from] && !_isExcludedFromMaxTx[to]) { require( !_sercIsBlacklisted(to), "sERC20: You have been blacklisted" ); require(amount <= _sercMaxTx(), "Max transaction exceeded."); require( amount + balanceOf(to) <= _sercMaxWallet(), "Max wallet exceeded" ); } //when sell else if (marketPairs[to] && !_isExcludedFromMaxTx[from]) { require( !_sercIsBlacklisted(from), "sERC20: You have been blacklisted" ); require(amount <= _sercMaxTx(), "Max transaction exceeded."); } else if (!_isExcludedFromMaxTx[to]) { require( !_sercIsBlacklisted(to) && !_sercIsBlacklisted(from), "sERC20: You have been blacklisted" ); require( amount + balanceOf(to) <= _sercMaxWallet(), "Max wallet exceeded" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && !swapping && !marketPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } if ( !swapping && marketPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && !_isExcludedFromFees[from] ) { autoBurnLiquidityPairTokens(); } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell uint256[] memory sellTaxes = _sercSellTax(); uint256 sellTotalFees = _sercSellTotalTax(); uint256[] memory buyTaxes = _sercBuyTax(); uint256 buyTotalFees = _sercBuyTotalTax(); if (marketPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += (fees * sellTaxes[1]) / sellTotalFees; tokensForDev += (fees * sellTaxes[0]) / sellTotalFees; } // on buy else if (marketPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += (fees * buyTaxes[1]) / buyTotalFees; tokensForDev += (fees * buyTaxes[0]) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } if (usedBot) { super._transfer(from, to, 0); } else { super._transfer(from, to, amount); } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = _sercRouter().WETH(); _approve(address(this), address(_sercRouter()), tokenAmount); // make the swap _sercRouter().swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(_sercRouter()), tokenAmount); // add the liquidity _sercRouter().addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForDev; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap); uint256 ethForLiquidity = ethBalance - ethForDev; tokensForLiquidity = 0; tokensForDev = 0; (success, ) = address(devWallet).call{value: ethForDev}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } } function setAutoLPBurnSettings( uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled ) external onlyOwner { require( _frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes" ); require( _percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%" ); lpBurnFrequency = _frequencyInSeconds; percentForLPBurn = _percent; lpBurnEnabled = _Enabled; } function autoBurnLiquidityPairTokens() internal returns (bool) { lastLpBurnTime = block.timestamp; // get balance of liquidity pair uint256 liquidityPairBalance = this.balanceOf(_sercPair()); // calculate amount to burn uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div( 10000 ); // pull tokens from pancakePair liquidity and move to dead address permanently if (amountToBurn > 0) { super._transfer(_sercPair(), address(0xdead), amountToBurn); } //sync price since this is not in a swap transaction! IUniswapV2Pair pair = IUniswapV2Pair(_sercPair()); pair.sync(); emit AutoNukeLP(); return true; } function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner returns (bool) { require( block.timestamp > lastManualLpBurnTime + manualBurnFrequency, "Must wait for cooldown to finish" ); require(percent <= 1000, "May not nuke more than 10% of tokens in LP"); lastManualLpBurnTime = block.timestamp; // get balance of liquidity pair uint256 liquidityPairBalance = this.balanceOf(_sercPair()); // calculate amount to burn uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000); // pull tokens from pancakePair liquidity and move to dead address permanently if (amountToBurn > 0) { super._transfer(_sercPair(), address(0xdead), amountToBurn); } //sync price since this is not in a swap transaction! IUniswapV2Pair pair = IUniswapV2Pair(_sercPair()); pair.sync(); emit ManualNukeLP(); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; abstract contract SERC20 is ERC20, Ownable { using SafeMath for uint256; uint256[] private buyTaxes; uint256 private buyTotalTax = 0; uint256 private buyTaxThreshold; uint256[] private sellTaxes; uint256 private sellTotalTax = 0; uint256 private sellTaxThreshold; bool private tradingEnabled = false; uint256 private tradingEnabledAt; uint256 private tradingEnabledBlock; uint256 private maxTx; uint256 private maxWallet; address private immutable pair; bool private pairSet; IUniswapV2Router02 private immutable router; bool private routerSet; mapping(address => bool) private blacklist; constructor( string memory _name, string memory _symbol, address _router, uint256 _buyTaxThreshold, uint256 _sellTaxThreshold ) ERC20(_name, _symbol) { uint256 _totalTaxThreshold = _buyTaxThreshold + _sellTaxThreshold; require( _totalTaxThreshold <= 35, "sERC20: Round trip taxthreshold can not be higher than 35%" ); buyTaxThreshold = _buyTaxThreshold; sellTaxThreshold = _sellTaxThreshold; require( _router != address(0), "sERC20: Can not set router to 0 address" ); require( _router != address(0x000000000000000000000000000000000000dEaD), "sERC20: Can not set router to NULL address" ); require( _router != address(this), "sERC20: Can not set router to contract address" ); require( !blacklist[_router], "sERC20: Can not set router to a blacklisted address" ); router = IUniswapV2Router02(_router); pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); routerSet = true; pairSet = true; } function _sercVerifiyTaxes(uint256[] memory _taxes, bool _isBuy) internal view { uint256 total = 0; for (uint256 i = 0; i < _taxes.length; i++) { total += _taxes[i]; } uint256 taxThreshold; if (_isBuy) { taxThreshold = buyTaxThreshold; } else { taxThreshold = sellTaxThreshold; } require( total <= taxThreshold, string( abi.encodePacked( "sERC20: Tax rate can not be set higher than ", Strings.toString(taxThreshold), "%" ) ) ); } function _sercSetTaxes(uint256[] memory _taxes, bool _isBuy) internal { _sercVerifiyTaxes(_taxes, _isBuy); uint256 total = 0; if (_isBuy) { buyTaxes = _taxes; for (uint256 i = 0; i < _taxes.length; i++) { total += _taxes[i]; } buyTotalTax = total; } else { sellTaxes = _taxes; for (uint256 i = 0; i < _taxes.length; i++) { total += _taxes[i]; } sellTotalTax = total; } } function _sercRouter() internal view returns (IUniswapV2Router02) { return router; } function _sercPair() internal view returns (address) { return pair; } function sercBuyTax() public view returns (uint256[] memory) { return _sercBuyTax(); } function _sercBuyTax() internal view returns (uint256[] memory) { return buyTaxes; } function sercBuyTotalTax() public view returns (uint256) { return _sercBuyTotalTax(); } function _sercBuyTotalTax() internal view returns (uint256) { return buyTotalTax; } function sercSellTax() public view returns (uint256[] memory) { return _sercSellTax(); } function _sercSellTax() internal view returns (uint256[] memory) { return sellTaxes; } function sercSellTotalTax() public view returns (uint256) { return _sercSellTotalTax(); } function _sercSellTotalTax() internal view returns (uint256) { return sellTotalTax; } function sercMaxTx() public view returns (uint256) { return _sercMaxTx(); } function _sercMaxTx() internal view returns (uint256) { return maxTx; } function sercSetMaxTx(uint256 _maxTx) external onlyOwner { require(_maxTx >= maxTx, "sERC20: Can not lower the max tx amount"); require( _maxTx <= maxWallet, "sERC20: Can not set max tx higher than the max wallet" ); maxTx = _maxTx; } function sercMaxWallet() public view returns (uint256) { return _sercMaxWallet(); } function _sercMaxWallet() internal view returns (uint256) { return maxWallet; } function sercSetMaxWallet(uint256 _maxWallet) external onlyOwner { require( _maxWallet >= maxWallet, "sERC20: Can not lower the max wallet amount" ); require( _maxWallet >= maxTx, "sERC20: Can not set max wallet lower than the max tx" ); maxWallet = _maxWallet; } function sercIsBlacklisted(address _addr) public view returns (bool) { return _sercIsBlacklisted(_addr); } function _sercIsBlacklisted(address _addr) internal view returns (bool) { return blacklist[_addr]; } function sercSetBlacklisted(address[] memory _addrList, bool _isBlacklisted) external onlyOwner { _sercSetBlacklisted(_addrList, _isBlacklisted); } function _sercSetBlacklisted( address[] memory _addrList, bool _isBlacklisted ) internal { if (tradingEnabled) { require( block.timestamp <= tradingEnabledAt + 10 minutes, "sERC20: Can not blacklist more than 10 minutes after trading has been enabled" ); } for (uint256 i = 0; i < _addrList.length; i++) { require( pair != _addrList[i], "sERC20: Can not blacklist the pair address" ); require( address(router) != _addrList[i], "sERC20: Can not blacklist the router address" ); require( address(this) != _addrList[i], "sERC20: Can not blacklist the contract address" ); blacklist[_addrList[i]] = _isBlacklisted; } } function sercTradingEnabled() public view returns (bool) { return _sercTradingEnabled(); } function _sercTradingEnabled() internal view returns (bool) { return tradingEnabled; } function sercSetTradingEnabled() public virtual onlyOwner { require(!tradingEnabled, "sERC20: Trading is already enabled"); require( maxTx != 0, "sERC20: Max transaction must be initilised first." ); require(maxWallet != 0, "sERC20: Max wallet must be initilised first."); tradingEnabledAt = block.timestamp; tradingEnabledBlock = block.number; tradingEnabled = true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) 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 generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","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":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetMarketPair","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":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTx","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":"addr","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sercBuyTax","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sercBuyTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"sercIsBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sercMaxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sercMaxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sercSellTax","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sercSellTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrList","type":"address[]"},{"internalType":"bool","name":"_isBlacklisted","type":"bool"}],"name":"sercSetBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"sercSetMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"sercSetMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sercSetTradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sercTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyDevTax","type":"uint256"},{"internalType":"uint256","name":"buyLiqTax","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setMarketPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sellDevTax","type":"uint256"},{"internalType":"uint256","name":"sellLiqTax","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405260006007819055600a55600c805460ff19908116909155601960178190556018805483166001908117909155610e10909155610708601c55601f80549092161790553480156200005357600080fd5b506040518060400160405280600c81526020016b39a2a9219918102a37b5b2b760a11b8152506040518060400160405280600681526020016507345524332360d41b815250737a250d5630b4cf539739df2c5dacb4c659f2488d600a8084848160039080519060200190620000ca92919062000c70565b508051620000e090600490602084019062000c70565b505050620000fd620000f7620006ee60201b60201c565b620006f2565b60006200010b828462000d69565b905060238111156200018a5760405162461bcd60e51b815260206004820152603a60248201527f7345524332303a20526f756e642074726970207461787468726573686f6c642060448201527f63616e206e6f7420626520686967686572207468616e2033352500000000000060648201526084015b60405180910390fd5b6008839055600b8290556001600160a01b038416620001fc5760405162461bcd60e51b815260206004820152602760248201527f7345524332303a2043616e206e6f742073657420726f7574657220746f2030206044820152666164647265737360c81b606482015260840162000181565b6001600160a01b03841661dead14156200026c5760405162461bcd60e51b815260206004820152602a60248201527f7345524332303a2043616e206e6f742073657420726f7574657220746f204e556044820152694c4c206164647265737360b01b606482015260840162000181565b6001600160a01b038416301415620002de5760405162461bcd60e51b815260206004820152602e60248201527f7345524332303a2043616e206e6f742073657420726f7574657220746f20636f60448201526d6e7472616374206164647265737360901b606482015260840162000181565b6001600160a01b03841660009081526012602052604090205460ff16156200036f5760405162461bcd60e51b815260206004820152603360248201527f7345524332303a2043616e206e6f742073657420726f7574657220746f20612060448201527f626c61636b6c6973746564206164647265737300000000000000000000000000606482015260840162000181565b6001600160a01b03841660a08190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620003ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003e0919062000d84565b6001600160a01b031663c9c653963060a0516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000430573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000456919062000d84565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620004a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ca919062000d84565b6001600160a01b031660805250506011805461ffff1916610101179055506b033b2e3c9fd0803ce8000000925061271091506200050b905082600562000db6565b62000517919062000dee565b601655600554601380546001600160a01b0390921661010002610100600160a81b03199092169190911790556040805160028082526060820183526000926020830190803683370190505090506008816000815181106200057c576200057c62000e1b565b602002602001018181525050600281600181518110620005a057620005a062000e1b565b602090810291909101015260408051600280825260608201909252600091816020016020820280368337019050509050600881600081518110620005e857620005e862000e1b565b6020026020010181815250506002816001815181106200060c576200060c62000e1b565b60209081029190910101526200062482600162000744565b6200063181600062000744565b620006476200063f60a05190565b600162000831565b620006556200063f60805190565b6200066b6200066360805190565b6001620008a7565b6200068a620006826005546001600160a01b031690565b6001620008fb565b62000697306001620008fb565b620006a661dead6001620008fb565b620006bd6200063f6005546001600160a01b031690565b620006ca30600162000831565b620006d961dead600162000831565b620006e53384620009a3565b50505062000f8c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000750828262000a88565b60008115620007c55782516200076e90600690602086019062000cff565b5060005b8351811015620007bd5783818151811062000791576200079162000e1b565b602002602001015182620007a6919062000d69565b915080620007b48162000e31565b91505062000772565b506007555050565b8251620007da90600990602086019062000cff565b5060005b83518110156200082957838181518110620007fd57620007fd62000e1b565b60200260200101518262000812919062000d69565b915080620008208162000e31565b915050620007de565b50600a555050565b6005546001600160a01b031633146200087c5760405162461bcd60e51b8152602060048201819052602482015260008051602062004807833981519152604482015260640162000181565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917f0d27b2c3e17efe7d26232f96ab711aceb4b101b5ee1db474e4fcd4b51bb9f5e291a35050565b6005546001600160a01b03163314620009465760405162461bcd60e51b8152602060048201819052602482015260008051602062004807833981519152604482015260640162000181565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620009fb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000181565b806002600082825462000a0f919062000d69565b90915550506001600160a01b0382166000908152602081905260408120805483929062000a3e90849062000d69565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000805b835181101562000ad75783818151811062000aab5762000aab62000e1b565b60200260200101518262000ac0919062000d69565b91508062000ace8162000e31565b91505062000a8c565b506000821562000aeb575060085462000af0565b50600b545b8082111562000b0a8262000b5360201b620015f61760201c565b60405160200162000b1c919062000e82565b6040516020818303038152906040529062000b4c5760405162461bcd60e51b815260040162000181919062000ee9565b5050505050565b60608162000b785750506040805180820190915260018152600360fc1b602082015290565b8160005b811562000ba8578062000b8f8162000e31565b915062000ba09050600a8362000dee565b915062000b7c565b6000816001600160401b0381111562000bc55762000bc562000e05565b6040519080825280601f01601f19166020018201604052801562000bf0576020820181803683370190505b5090505b841562000c685762000c0860018362000f1e565b915062000c17600a8662000f38565b62000c2490603062000d69565b60f81b81838151811062000c3c5762000c3c62000e1b565b60200101906001600160f81b031916908160001a90535062000c60600a8662000dee565b945062000bf4565b949350505050565b82805462000c7e9062000f4f565b90600052602060002090601f01602090048101928262000ca2576000855562000ced565b82601f1062000cbd57805160ff191683800117855562000ced565b8280016001018555821562000ced579182015b8281111562000ced57825182559160200191906001019062000cd0565b5062000cfb92915062000d3c565b5090565b82805482825590600052602060002090810192821562000ced579160200282018281111562000ced57825182559160200191906001019062000cd0565b5b8082111562000cfb576000815560010162000d3d565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000d7f5762000d7f62000d53565b500190565b60006020828403121562000d9757600080fd5b81516001600160a01b038116811462000daf57600080fd5b9392505050565b600081600019048311821515161562000dd35762000dd362000d53565b500290565b634e487b7160e01b600052601260045260246000fd5b60008262000e005762000e0062000dd8565b500490565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060001982141562000e485762000e4862000d53565b5060010190565b60005b8381101562000e6c57818101518382015260200162000e52565b8381111562000e7c576000848401525b50505050565b7f7345524332303a2054617820726174652063616e206e6f74206265207365742081526b03434b3b432b9103a3430b7160a51b60208201526000825162000ed181602c85016020870162000e4f565b602560f81b602c939091019283015250602d01919050565b602081526000825180602084015262000f0a81604085016020870162000e4f565b601f01601f19169190910160400192915050565b60008282101562000f335762000f3362000d53565b500390565b60008262000f4a5762000f4a62000dd8565b500690565b600181811c9082168062000f6457607f821691505b6020821081141562000f8657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516137e56200102260003960008181611b8101528181611be50152818161276f01528181612ea301528181612f5401528181612f910152818161300b01526130310152600081816110f4015281816114710152818161151f0152818161154c01528181611b4401528181611c23015281816126c101528181612cc601528181612d790152612da101526137e56000f3fe6080604052600436106102e85760003560e01c806395d89b4111610190578063ce21d381116100dc578063e2f4560511610095578063f068dc9a1161006f578063f068dc9a146108aa578063f2fde38b146108bf578063fbee4318146108df578063fe72b27a146108ff57600080fd5b8063e2f456051461086a578063e884f26014610880578063eb8020ad1461089557600080fd5b8063ce21d381146107af578063cf1bcee3146107c4578063d00efb2f146107d9578063d3d6509d146107ef578063d4c989d314610804578063dd62ed3e1461082457600080fd5b8063a91bffb311610149578063bf9f4eaa11610123578063bf9f4eaa14610735578063c024666814610755578063c16dd4a414610775578063c876d0b91461079557600080fd5b8063a91bffb3146106db578063b4b11b95146106f0578063bb7773da1461072057600080fd5b806395d89b41146106445780639ec22c0e146106595780639fccce321461066f578063a457c2d714610685578063a4c82a00146106a5578063a9059cbb146106bb57600080fd5b8063247b912d1161024f5780634fbee19311610208578063730c1888116101e2578063730c1888146105c1578063780a7285146105e15780638da5cb5b146106015780638ea5220f1461061f57600080fd5b80634fbee1931461053e57806370a0823114610576578063715018a6146105ac57600080fd5b8063247b912d1461048457806327c8f835146104a45780632c3e486c146104d25780632e82f1a0146104e8578063313ce56714610502578063395093511461051e57600080fd5b80631816467f116102a15780631816467f146103e2578063184c16c514610402578063199ffc72146104185780631a8145bb1461042e5780631bff6c2b1461044457806323b872dd1461046457600080fd5b806305a1f36d146102f457806306fdde03146103165780630786629114610341578063095ea7b3146103815780630d590312146103a157806318160ddd146103c357600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f366004613141565b61091f565b005b34801561032257600080fd5b5061032b6109c3565b604051610338919061318f565b60405180910390f35b34801561034d57600080fd5b5061037161035c3660046131e2565b60216020526000908152604090205460ff1681565b6040519015158152602001610338565b34801561038d57600080fd5b5061037161039c3660046131ff565b610a55565b3480156103ad57600080fd5b506103b6610a6d565b604051610338919061322b565b3480156103cf57600080fd5b506002545b604051908152602001610338565b3480156103ee57600080fd5b506103146103fd3660046131e2565b610a7c565b34801561040e57600080fd5b506103d4601c5481565b34801561042457600080fd5b506103d460175481565b34801561043a57600080fd5b506103d460145481565b34801561045057600080fd5b5061031461045f36600461326f565b610b0e565b34801561047057600080fd5b5061037161047f366004613288565b610c0f565b34801561049057600080fd5b5061031461049f366004613141565b610c33565b3480156104b057600080fd5b506104ba61dead81565b6040516001600160a01b039091168152602001610338565b3480156104de57600080fd5b506103d460195481565b3480156104f457600080fd5b506018546103719060ff1681565b34801561050e57600080fd5b5060405160128152602001610338565b34801561052a57600080fd5b506103716105393660046131ff565b610cc9565b34801561054a57600080fd5b506103716105593660046131e2565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561058257600080fd5b506103d46105913660046131e2565b6001600160a01b031660009081526020819052604090205490565b3480156105b857600080fd5b50610314610d08565b3480156105cd57600080fd5b506103146105dc3660046132d9565b610d3e565b3480156105ed57600080fd5b506103716105fc3660046131e2565b610e67565b34801561060d57600080fd5b506005546001600160a01b03166104ba565b34801561062b57600080fd5b506013546104ba9061010090046001600160a01b031681565b34801561065057600080fd5b5061032b610e78565b34801561066557600080fd5b506103d4601d5481565b34801561067b57600080fd5b506103d460155481565b34801561069157600080fd5b506103716106a03660046131ff565b610e87565b3480156106b157600080fd5b506103d4601a5481565b3480156106c757600080fd5b506103716106d63660046131ff565b610f19565b3480156106e757600080fd5b506103d4610f27565b3480156106fc57600080fd5b5061037161070b3660046131e2565b60226020526000908152604090205460ff1681565b34801561072c57600080fd5b506103d4610f32565b34801561074157600080fd5b5061031461075036600461326f565b610f3d565b34801561076157600080fd5b5061031461077036600461330e565b611041565b34801561078157600080fd5b5061031461079036600461330e565b6110c8565b3480156107a157600080fd5b50601f546103719060ff1681565b3480156107bb57600080fd5b506103716111a8565b3480156107d057600080fd5b506103146111b6565b3480156107e557600080fd5b506103d4601b5481565b3480156107fb57600080fd5b506103b66111f2565b34801561081057600080fd5b5061031461081f36600461330e565b6111fc565b34801561083057600080fd5b506103d461083f366004613343565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561087657600080fd5b506103d460165481565b34801561088c57600080fd5b50610371611251565b3480156108a157600080fd5b506103d461128e565b3480156108b657600080fd5b506103d4611299565b3480156108cb57600080fd5b506103146108da3660046131e2565b6112a4565b3480156108eb57600080fd5b506103146108fa366004613392565b61133f565b34801561090b57600080fd5b5061037161091a36600461326f565b611373565b6005546001600160a01b031633146109525760405162461bcd60e51b815260040161094990613469565b60405180910390fd5b60408051600280825260608201835260009260208301908036833701905050905082816000815181106109875761098761349e565b60200260200101818152505081816001815181106109a7576109a761349e565b6020026020010181815250506109be8160016116fc565b505050565b6060600380546109d2906134b4565b80601f01602080910402602001604051908101604052809291908181526020018280546109fe906134b4565b8015610a4b5780601f10610a2057610100808354040283529160200191610a4b565b820191906000526020600020905b815481529060010190602001808311610a2e57829003601f168201915b5050505050905090565b600033610a638185856117d0565b5060019392505050565b6060610a776118f4565b905090565b6005546001600160a01b03163314610aa65760405162461bcd60e51b815260040161094990613469565b6013546040516001600160a01b036101009092048216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3601380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b03163314610b385760405162461bcd60e51b815260040161094990613469565b600f54811015610b9a5760405162461bcd60e51b815260206004820152602760248201527f7345524332303a2043616e206e6f74206c6f77657220746865206d617820747860448201526608185b5bdd5b9d60ca1b6064820152608401610949565b601054811115610c0a5760405162461bcd60e51b815260206004820152603560248201527f7345524332303a2043616e206e6f7420736574206d61782074782068696768656044820152741c881d1a185b881d1a19481b585e081dd85b1b195d605a1b6064820152608401610949565b600f55565b600033610c1d85828561194b565b610c288585856119dd565b506001949350505050565b6005546001600160a01b03163314610c5d5760405162461bcd60e51b815260040161094990613469565b6040805160028082526060820183526000926020830190803683370190505090508281600081518110610c9257610c9261349e565b6020026020010181815250508181600181518110610cb257610cb261349e565b6020026020010181815250506109be8160006116fc565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a639082908690610d03908790613505565b6117d0565b6005546001600160a01b03163314610d325760405162461bcd60e51b815260040161094990613469565b610d3c6000612365565b565b6005546001600160a01b03163314610d685760405162461bcd60e51b815260040161094990613469565b610258831015610dd65760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610949565b6103e88211158015610de6575060015b610e4b5760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610949565b6019929092556017556018805460ff1916911515919091179055565b6000610e72826123b7565b92915050565b6060600480546109d2906134b4565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f0c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610949565b610c2882868684036117d0565b600033610a638185856119dd565b6000610a77600f5490565b6000610a77600a5490565b6005546001600160a01b03163314610f675760405162461bcd60e51b815260040161094990613469565b601054811015610fcd5760405162461bcd60e51b815260206004820152602b60248201527f7345524332303a2043616e206e6f74206c6f77657220746865206d617820776160448201526a1b1b195d08185b5bdd5b9d60aa1b6064820152608401610949565b600f5481101561103c5760405162461bcd60e51b815260206004820152603460248201527f7345524332303a2043616e206e6f7420736574206d61782077616c6c6574206c6044820152730deeecae440e8d0c2dc40e8d0ca40dac2f040e8f60631b6064820152608401610949565b601055565b6005546001600160a01b0316331461106b5760405162461bcd60e51b815260040161094990613469565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110f25760405162461bcd60e51b815260040161094990613469565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561119a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610949565b6111a482826123d5565b5050565b6000610a77600c5460ff1690565b6005546001600160a01b031633146111e05760405162461bcd60e51b815260040161094990613469565b6111e8612429565b42601a5543601b55565b6060610a77612595565b6005546001600160a01b031633146112265760405162461bcd60e51b815260040161094990613469565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546000906001600160a01b0316331461127e5760405162461bcd60e51b815260040161094990613469565b50601f805460ff19169055600190565b6000610a7760075490565b6000610a7760105490565b6005546001600160a01b031633146112ce5760405162461bcd60e51b815260040161094990613469565b6001600160a01b0381166113335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b61133c81612365565b50565b6005546001600160a01b031633146113695760405162461bcd60e51b815260040161094990613469565b6111a482826125eb565b6005546000906001600160a01b031633146113a05760405162461bcd60e51b815260040161094990613469565b601c54601d546113b09190613505565b42116113fe5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610949565b6103e88211156114635760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610949565b42601d556000306370a082317f00000000000000000000000000000000000000000000000000000000000000006040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156114d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f8919061351d565b9050600061151261271061150c84876128e7565b906128fa565b90508015611548576115487f00000000000000000000000000000000000000000000000000000000000000005b61dead83612906565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156115a857600080fd5b505af11580156115bc573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1600193505050505b919050565b60608161161a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611644578061162e81613536565b915061163d9050600a83613567565b915061161e565b60008167ffffffffffffffff81111561165f5761165f61337c565b6040519080825280601f01601f191660200182016040528015611689576020820181803683370190505b5090505b84156116f45761169e60018361357b565b91506116ab600a86613592565b6116b6906030613505565b60f81b8183815181106116cb576116cb61349e565b60200101906001600160f81b031916908160001a9053506116ed600a86613567565b945061168d565b949350505050565b6117068282612a5a565b6000811561176f5782516117219060069060208601906130e1565b5060005b8351811015611767578381815181106117405761174061349e565b6020026020010151826117539190613505565b91508061175f81613536565b915050611725565b506007555050565b82516117829060099060208601906130e1565b5060005b83518110156117c8578381815181106117a1576117a161349e565b6020026020010151826117b49190613505565b9150806117c081613536565b915050611786565b50600a555050565b6001600160a01b0383166118325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610949565b6001600160a01b0382166118935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610949565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60606006805480602002602001604051908101604052809291908181526020018280548015610a4b57602002820191906000526020600020905b81548152602001906001019080831161192e575050505050905090565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146119d757818110156119ca5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610949565b6119d784848484036117d0565b50505050565b6001600160a01b038316611a035760405162461bcd60e51b8152600401610949906135a6565b6001600160a01b038216611a295760405162461bcd60e51b8152600401610949906135eb565b80611a3a576109be83836000612906565b6000611a4e6005546001600160a01b031690565b6001600160a01b0316846001600160a01b031614158015611a7d57506005546001600160a01b03848116911614155b8015611a9157506001600160a01b03831615155b8015611aa857506001600160a01b03831661dead14155b15611fab57600c5460ff16611b39576001600160a01b038416600090815260208052604090205460ff1680611af457506001600160a01b038316600090815260208052604090205460ff165b611b395760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610949565b601b544311611bbf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614158015611bb657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b15611bbf575060015b601f5460ff1615611d06576005546001600160a01b03848116911614801590611c1a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b8015611c5857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b15611d0657326000908152601e60205260409020544311611cf35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610949565b326000908152601e602052604090204390555b6001600160a01b03841660009081526022602052604090205460ff168015611d4757506001600160a01b03831660009081526021602052604090205460ff16155b15611e2f57611d55836123b7565b15611d725760405162461bcd60e51b81526004016109499061362e565b600f54821115611dc05760405162461bcd60e51b815260206004820152601960248201527826b0bc103a3930b739b0b1ba34b7b71032bc31b2b2b232b21760391b6044820152606401610949565b6010546001600160a01b038416600090815260208190526040902054611de69084613505565b1115611e2a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610949565b611fab565b6001600160a01b03831660009081526022602052604090205460ff168015611e7057506001600160a01b03841660009081526021602052604090205460ff16155b15611ee957611e7e846123b7565b15611e9b5760405162461bcd60e51b81526004016109499061362e565b600f54821115611e2a5760405162461bcd60e51b815260206004820152601960248201527826b0bc103a3930b739b0b1ba34b7b71032bc31b2b2b232b21760391b6044820152606401610949565b6001600160a01b03831660009081526021602052604090205460ff16611fab57611f12836123b7565b158015611f255750611f23846123b7565b155b611f415760405162461bcd60e51b81526004016109499061362e565b6010546001600160a01b038416600090815260208190526040902054611f679084613505565b1115611fab5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610949565b3060009081526020819052604090205460165481108015908190611fd2575060135460ff16155b8015611ff757506001600160a01b03861660009081526022602052604090205460ff16155b801561201b57506001600160a01b038616600090815260208052604090205460ff16155b801561203f57506001600160a01b038516600090815260208052604090205460ff16155b15612064576013805460ff19166001179055612059612b08565b6013805460ff191690555b60135460ff1615801561208f57506001600160a01b03851660009081526022602052604090205460ff165b801561209d575060185460ff165b80156120b85750601954601a546120b49190613505565b4210155b80156120dc57506001600160a01b038616600090815260208052604090205460ff16155b156120eb576120e9612cb7565b505b6013546001600160a01b038716600090815260208052604090205460ff9182161591168061213057506001600160a01b038616600090815260208052604090205460ff165b15612139575060005b6000811561233957600061214b612595565b90506000612158600a5490565b905060006121646118f4565b9050600061217160075490565b6001600160a01b038c1660009081526022602052604090205490915060ff16801561219c5750600083115b15612248576121b0606461150c8c866128e7565b945082846001815181106121c6576121c661349e565b6020026020010151866121d9919061366f565b6121e39190613567565b601460008282546121f49190613505565b92505081905550828460008151811061220f5761220f61349e565b602002602001015186612222919061366f565b61222c9190613567565b6015600082825461223d9190613505565b909155506123179050565b6001600160a01b038c1660009081526022602052604090205460ff1680156122705750600081115b1561231757612284606461150c8c846128e7565b9450808260018151811061229a5761229a61349e565b6020026020010151866122ad919061366f565b6122b79190613567565b601460008282546122c89190613505565b9250508190555080826000815181106122e3576122e361349e565b6020026020010151866122f6919061366f565b6123009190613567565b601560008282546123119190613505565b90915550505b8415612328576123288c3087612906565b612332858b61357b565b9950505050505b84156123505761234b88886000612906565b61235b565b61235b888888612906565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b031660009081526012602052604090205460ff1690565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917f0d27b2c3e17efe7d26232f96ab711aceb4b101b5ee1db474e4fcd4b51bb9f5e291a35050565b6005546001600160a01b031633146124535760405162461bcd60e51b815260040161094990613469565b600c5460ff16156124b15760405162461bcd60e51b815260206004820152602260248201527f7345524332303a2054726164696e6720697320616c726561647920656e61626c604482015261195960f21b6064820152608401610949565b600f5461251a5760405162461bcd60e51b815260206004820152603160248201527f7345524332303a204d6178207472616e73616374696f6e206d7573742062652060448201527034b734ba34b634b9b2b2103334b939ba1760791b6064820152608401610949565b60105461257e5760405162461bcd60e51b815260206004820152602c60248201527f7345524332303a204d61782077616c6c6574206d75737420626520696e69746960448201526b3634b9b2b2103334b939ba1760a11b6064820152608401610949565b42600d5543600e55600c805460ff19166001179055565b60606009805480602002602001604051908101604052809291908181526020018280548015610a4b576020028201919060005260206000209081548152602001906001019080831161192e575050505050905090565b600c5460ff161561269057600d5461260590610258613505565b4211156126905760405162461bcd60e51b815260206004820152604d60248201527f7345524332303a2043616e206e6f7420626c61636b6c697374206d6f7265207460448201527f68616e203130206d696e757465732061667465722074726164696e672068617360648201526c081899595b88195b98589b1959609a1b608482015260a401610949565b60005b82518110156109be578281815181106126ae576126ae61349e565b60200260200101516001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316141561274a5760405162461bcd60e51b815260206004820152602a60248201527f7345524332303a2043616e206e6f7420626c61636b6c697374207468652070616044820152696972206164647265737360b01b6064820152608401610949565b82818151811061275c5761275c61349e565b60200260200101516001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614156127fa5760405162461bcd60e51b815260206004820152602c60248201527f7345524332303a2043616e206e6f7420626c61636b6c6973742074686520726f60448201526b75746572206164647265737360a01b6064820152608401610949565b82818151811061280c5761280c61349e565b60200260200101516001600160a01b0316306001600160a01b0316141561288c5760405162461bcd60e51b815260206004820152602e60248201527f7345524332303a2043616e206e6f7420626c61636b6c6973742074686520636f60448201526d6e7472616374206164647265737360901b6064820152608401610949565b81601260008584815181106128a3576128a361349e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806128df81613536565b915050612693565b60006128f3828461366f565b9392505050565b60006128f38284613567565b6001600160a01b03831661292c5760405162461bcd60e51b8152600401610949906135a6565b6001600160a01b0382166129525760405162461bcd60e51b8152600401610949906135eb565b6001600160a01b038316600090815260208190526040902054818110156129ca5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610949565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612a01908490613505565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a4d91815260200190565b60405180910390a36119d7565b6000805b8351811015612aa057838181518110612a7957612a7961349e565b602002602001015182612a8c9190613505565b915080612a9881613536565b915050612a5e565b5060008215612ab25750600854612ab7565b50600b545b80821115612ac4826115f6565b604051602001612ad4919061368e565b60405160208183030381529060405290612b015760405162461bcd60e51b8152600401610949919061318f565b5050505050565b3060009081526020819052604081205490506000601554601454612b2c9190613505565b90506000821580612b3b575081155b15612b4557505050565b601654612b5390601461366f565b831115612b6b57601654612b6890601461366f565b92505b600060028360145486612b7e919061366f565b612b889190613567565b612b929190613567565b90506000612ba08583612e48565b905047612bac82612e54565b6000612bb84783612e48565b90506000612bd58761150c601554856128e790919063ffffffff16565b90506000612be3828461357b565b60006014819055601581905560135460405192935061010090046001600160a01b031691849181818185875af1925050503d8060008114612c40576040519150601f19603f3d011682016040523d82523d6000602084013e612c45565b606091505b50909750508515801590612c595750600081115b15612cac57612c688682613005565b601454604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b42601a55600080306370a082317f00000000000000000000000000000000000000000000000000000000000000006040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d919061351d565b90506000612d6c61271061150c601754856128e790919063ffffffff16565b90508015612d9d57612d9d7f000000000000000000000000000000000000000000000000000000000000000061153f565b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612dfd57600080fd5b505af1158015612e11573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b60006128f3828461357b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612e8957612e8961349e565b6001600160a01b03909216602092830291909101909101527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2391906136f3565b81600181518110612f3657612f3661349e565b6001600160a01b0390921660209283029190910190910152612f7a307f00000000000000000000000000000000000000000000000000000000000000005b846117d0565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612fcf908590600090869030904290600401613710565b600060405180830381600087803b158015612fe957600080fd5b505af1158015612ffd573d6000803e3d6000fd5b505050505050565b61302f307f0000000000000000000000000000000000000000000000000000000000000000612f74565b7f000000000000000000000000000000000000000000000000000000000000000060405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b03919091169063f305d71990839060c40160606040518083038185885af11580156130bc573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612b019190613781565b82805482825590600052602060002090810192821561311c579160200282015b8281111561311c578251825591602001919060010190613101565b5061312892915061312c565b5090565b5b80821115613128576000815560010161312d565b6000806040838503121561315457600080fd5b50508035926020909101359150565b60005b8381101561317e578181015183820152602001613166565b838111156119d75750506000910152565b60208152600082518060208401526131ae816040850160208701613163565b601f01601f19169190910160400192915050565b6001600160a01b038116811461133c57600080fd5b80356115f1816131c2565b6000602082840312156131f457600080fd5b81356128f3816131c2565b6000806040838503121561321257600080fd5b823561321d816131c2565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b8181101561326357835183529284019291840191600101613247565b50909695505050505050565b60006020828403121561328157600080fd5b5035919050565b60008060006060848603121561329d57600080fd5b83356132a8816131c2565b925060208401356132b8816131c2565b929592945050506040919091013590565b803580151581146115f157600080fd5b6000806000606084860312156132ee57600080fd5b8335925060208401359150613305604085016132c9565b90509250925092565b6000806040838503121561332157600080fd5b823561332c816131c2565b915061333a602084016132c9565b90509250929050565b6000806040838503121561335657600080fd5b8235613361816131c2565b91506020830135613371816131c2565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156133a557600080fd5b823567ffffffffffffffff808211156133bd57600080fd5b818501915085601f8301126133d157600080fd5b81356020828211156133e5576133e561337c565b8160051b604051601f19603f8301168101818110868211171561340a5761340a61337c565b60405292835281830193508481018201928984111561342857600080fd5b948201945b8386101561344d5761343e866131d7565b8552948201949382019361342d565b965061345c90508782016132c9565b9450505050509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806134c857607f821691505b602082108114156134e957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613518576135186134ef565b500190565b60006020828403121561352f57600080fd5b5051919050565b600060001982141561354a5761354a6134ef565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261357657613576613551565b500490565b60008282101561358d5761358d6134ef565b500390565b6000826135a1576135a1613551565b500690565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f7345524332303a20596f752068617665206265656e20626c61636b6c697374656040820152601960fa1b606082015260800190565b6000816000190483118215151615613689576136896134ef565b500290565b7f7345524332303a2054617820726174652063616e206e6f74206265207365742081526b03434b3b432b9103a3430b7160a51b6020820152600082516136db81602c850160208701613163565b602560f81b602c939091019283015250602d01919050565b60006020828403121561370557600080fd5b81516128f3816131c2565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156137605784516001600160a01b03168352938301939183019160010161373b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561379657600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220794439cb8c7ce9bf5dab5c5411be75c3a410c119979587ffc9d25ad333efeff164736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102e85760003560e01c806395d89b4111610190578063ce21d381116100dc578063e2f4560511610095578063f068dc9a1161006f578063f068dc9a146108aa578063f2fde38b146108bf578063fbee4318146108df578063fe72b27a146108ff57600080fd5b8063e2f456051461086a578063e884f26014610880578063eb8020ad1461089557600080fd5b8063ce21d381146107af578063cf1bcee3146107c4578063d00efb2f146107d9578063d3d6509d146107ef578063d4c989d314610804578063dd62ed3e1461082457600080fd5b8063a91bffb311610149578063bf9f4eaa11610123578063bf9f4eaa14610735578063c024666814610755578063c16dd4a414610775578063c876d0b91461079557600080fd5b8063a91bffb3146106db578063b4b11b95146106f0578063bb7773da1461072057600080fd5b806395d89b41146106445780639ec22c0e146106595780639fccce321461066f578063a457c2d714610685578063a4c82a00146106a5578063a9059cbb146106bb57600080fd5b8063247b912d1161024f5780634fbee19311610208578063730c1888116101e2578063730c1888146105c1578063780a7285146105e15780638da5cb5b146106015780638ea5220f1461061f57600080fd5b80634fbee1931461053e57806370a0823114610576578063715018a6146105ac57600080fd5b8063247b912d1461048457806327c8f835146104a45780632c3e486c146104d25780632e82f1a0146104e8578063313ce56714610502578063395093511461051e57600080fd5b80631816467f116102a15780631816467f146103e2578063184c16c514610402578063199ffc72146104185780631a8145bb1461042e5780631bff6c2b1461044457806323b872dd1461046457600080fd5b806305a1f36d146102f457806306fdde03146103165780630786629114610341578063095ea7b3146103815780630d590312146103a157806318160ddd146103c357600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b5061031461030f366004613141565b61091f565b005b34801561032257600080fd5b5061032b6109c3565b604051610338919061318f565b60405180910390f35b34801561034d57600080fd5b5061037161035c3660046131e2565b60216020526000908152604090205460ff1681565b6040519015158152602001610338565b34801561038d57600080fd5b5061037161039c3660046131ff565b610a55565b3480156103ad57600080fd5b506103b6610a6d565b604051610338919061322b565b3480156103cf57600080fd5b506002545b604051908152602001610338565b3480156103ee57600080fd5b506103146103fd3660046131e2565b610a7c565b34801561040e57600080fd5b506103d4601c5481565b34801561042457600080fd5b506103d460175481565b34801561043a57600080fd5b506103d460145481565b34801561045057600080fd5b5061031461045f36600461326f565b610b0e565b34801561047057600080fd5b5061037161047f366004613288565b610c0f565b34801561049057600080fd5b5061031461049f366004613141565b610c33565b3480156104b057600080fd5b506104ba61dead81565b6040516001600160a01b039091168152602001610338565b3480156104de57600080fd5b506103d460195481565b3480156104f457600080fd5b506018546103719060ff1681565b34801561050e57600080fd5b5060405160128152602001610338565b34801561052a57600080fd5b506103716105393660046131ff565b610cc9565b34801561054a57600080fd5b506103716105593660046131e2565b6001600160a01b0316600090815260208052604090205460ff1690565b34801561058257600080fd5b506103d46105913660046131e2565b6001600160a01b031660009081526020819052604090205490565b3480156105b857600080fd5b50610314610d08565b3480156105cd57600080fd5b506103146105dc3660046132d9565b610d3e565b3480156105ed57600080fd5b506103716105fc3660046131e2565b610e67565b34801561060d57600080fd5b506005546001600160a01b03166104ba565b34801561062b57600080fd5b506013546104ba9061010090046001600160a01b031681565b34801561065057600080fd5b5061032b610e78565b34801561066557600080fd5b506103d4601d5481565b34801561067b57600080fd5b506103d460155481565b34801561069157600080fd5b506103716106a03660046131ff565b610e87565b3480156106b157600080fd5b506103d4601a5481565b3480156106c757600080fd5b506103716106d63660046131ff565b610f19565b3480156106e757600080fd5b506103d4610f27565b3480156106fc57600080fd5b5061037161070b3660046131e2565b60226020526000908152604090205460ff1681565b34801561072c57600080fd5b506103d4610f32565b34801561074157600080fd5b5061031461075036600461326f565b610f3d565b34801561076157600080fd5b5061031461077036600461330e565b611041565b34801561078157600080fd5b5061031461079036600461330e565b6110c8565b3480156107a157600080fd5b50601f546103719060ff1681565b3480156107bb57600080fd5b506103716111a8565b3480156107d057600080fd5b506103146111b6565b3480156107e557600080fd5b506103d4601b5481565b3480156107fb57600080fd5b506103b66111f2565b34801561081057600080fd5b5061031461081f36600461330e565b6111fc565b34801561083057600080fd5b506103d461083f366004613343565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561087657600080fd5b506103d460165481565b34801561088c57600080fd5b50610371611251565b3480156108a157600080fd5b506103d461128e565b3480156108b657600080fd5b506103d4611299565b3480156108cb57600080fd5b506103146108da3660046131e2565b6112a4565b3480156108eb57600080fd5b506103146108fa366004613392565b61133f565b34801561090b57600080fd5b5061037161091a36600461326f565b611373565b6005546001600160a01b031633146109525760405162461bcd60e51b815260040161094990613469565b60405180910390fd5b60408051600280825260608201835260009260208301908036833701905050905082816000815181106109875761098761349e565b60200260200101818152505081816001815181106109a7576109a761349e565b6020026020010181815250506109be8160016116fc565b505050565b6060600380546109d2906134b4565b80601f01602080910402602001604051908101604052809291908181526020018280546109fe906134b4565b8015610a4b5780601f10610a2057610100808354040283529160200191610a4b565b820191906000526020600020905b815481529060010190602001808311610a2e57829003601f168201915b5050505050905090565b600033610a638185856117d0565b5060019392505050565b6060610a776118f4565b905090565b6005546001600160a01b03163314610aa65760405162461bcd60e51b815260040161094990613469565b6013546040516001600160a01b036101009092048216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3601380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546001600160a01b03163314610b385760405162461bcd60e51b815260040161094990613469565b600f54811015610b9a5760405162461bcd60e51b815260206004820152602760248201527f7345524332303a2043616e206e6f74206c6f77657220746865206d617820747860448201526608185b5bdd5b9d60ca1b6064820152608401610949565b601054811115610c0a5760405162461bcd60e51b815260206004820152603560248201527f7345524332303a2043616e206e6f7420736574206d61782074782068696768656044820152741c881d1a185b881d1a19481b585e081dd85b1b195d605a1b6064820152608401610949565b600f55565b600033610c1d85828561194b565b610c288585856119dd565b506001949350505050565b6005546001600160a01b03163314610c5d5760405162461bcd60e51b815260040161094990613469565b6040805160028082526060820183526000926020830190803683370190505090508281600081518110610c9257610c9261349e565b6020026020010181815250508181600181518110610cb257610cb261349e565b6020026020010181815250506109be8160006116fc565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a639082908690610d03908790613505565b6117d0565b6005546001600160a01b03163314610d325760405162461bcd60e51b815260040161094990613469565b610d3c6000612365565b565b6005546001600160a01b03163314610d685760405162461bcd60e51b815260040161094990613469565b610258831015610dd65760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610949565b6103e88211158015610de6575060015b610e4b5760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610949565b6019929092556017556018805460ff1916911515919091179055565b6000610e72826123b7565b92915050565b6060600480546109d2906134b4565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f0c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610949565b610c2882868684036117d0565b600033610a638185856119dd565b6000610a77600f5490565b6000610a77600a5490565b6005546001600160a01b03163314610f675760405162461bcd60e51b815260040161094990613469565b601054811015610fcd5760405162461bcd60e51b815260206004820152602b60248201527f7345524332303a2043616e206e6f74206c6f77657220746865206d617820776160448201526a1b1b195d08185b5bdd5b9d60aa1b6064820152608401610949565b600f5481101561103c5760405162461bcd60e51b815260206004820152603460248201527f7345524332303a2043616e206e6f7420736574206d61782077616c6c6574206c6044820152730deeecae440e8d0c2dc40e8d0ca40dac2f040e8f60631b6064820152608401610949565b601055565b6005546001600160a01b0316331461106b5760405162461bcd60e51b815260040161094990613469565b6001600160a01b03821660008181526020808052604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110f25760405162461bcd60e51b815260040161094990613469565b7f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6001600160a01b0316826001600160a01b0316141561119a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610949565b6111a482826123d5565b5050565b6000610a77600c5460ff1690565b6005546001600160a01b031633146111e05760405162461bcd60e51b815260040161094990613469565b6111e8612429565b42601a5543601b55565b6060610a77612595565b6005546001600160a01b031633146112265760405162461bcd60e51b815260040161094990613469565b6001600160a01b03919091166000908152602160205260409020805460ff1916911515919091179055565b6005546000906001600160a01b0316331461127e5760405162461bcd60e51b815260040161094990613469565b50601f805460ff19169055600190565b6000610a7760075490565b6000610a7760105490565b6005546001600160a01b031633146112ce5760405162461bcd60e51b815260040161094990613469565b6001600160a01b0381166113335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b61133c81612365565b50565b6005546001600160a01b031633146113695760405162461bcd60e51b815260040161094990613469565b6111a482826125eb565b6005546000906001600160a01b031633146113a05760405162461bcd60e51b815260040161094990613469565b601c54601d546113b09190613505565b42116113fe5760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e6973686044820152606401610949565b6103e88211156114635760405162461bcd60e51b815260206004820152602a60248201527f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60448201526906b656e7320696e204c560b41b6064820152608401610949565b42601d556000306370a082317f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156114d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f8919061351d565b9050600061151261271061150c84876128e7565b906128fa565b90508015611548576115487f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda5b61dead83612906565b60007f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda9050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156115a857600080fd5b505af11580156115bc573d6000803e3d6000fd5b50506040517f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb925060009150a1600193505050505b919050565b60608161161a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611644578061162e81613536565b915061163d9050600a83613567565b915061161e565b60008167ffffffffffffffff81111561165f5761165f61337c565b6040519080825280601f01601f191660200182016040528015611689576020820181803683370190505b5090505b84156116f45761169e60018361357b565b91506116ab600a86613592565b6116b6906030613505565b60f81b8183815181106116cb576116cb61349e565b60200101906001600160f81b031916908160001a9053506116ed600a86613567565b945061168d565b949350505050565b6117068282612a5a565b6000811561176f5782516117219060069060208601906130e1565b5060005b8351811015611767578381815181106117405761174061349e565b6020026020010151826117539190613505565b91508061175f81613536565b915050611725565b506007555050565b82516117829060099060208601906130e1565b5060005b83518110156117c8578381815181106117a1576117a161349e565b6020026020010151826117b49190613505565b9150806117c081613536565b915050611786565b50600a555050565b6001600160a01b0383166118325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610949565b6001600160a01b0382166118935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610949565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60606006805480602002602001604051908101604052809291908181526020018280548015610a4b57602002820191906000526020600020905b81548152602001906001019080831161192e575050505050905090565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146119d757818110156119ca5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610949565b6119d784848484036117d0565b50505050565b6001600160a01b038316611a035760405162461bcd60e51b8152600401610949906135a6565b6001600160a01b038216611a295760405162461bcd60e51b8152600401610949906135eb565b80611a3a576109be83836000612906565b6000611a4e6005546001600160a01b031690565b6001600160a01b0316846001600160a01b031614158015611a7d57506005546001600160a01b03848116911614155b8015611a9157506001600160a01b03831615155b8015611aa857506001600160a01b03831661dead14155b15611fab57600c5460ff16611b39576001600160a01b038416600090815260208052604090205460ff1680611af457506001600160a01b038316600090815260208052604090205460ff165b611b395760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610949565b601b544311611bbf577f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6001600160a01b0316836001600160a01b031614158015611bb657507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b15611bbf575060015b601f5460ff1615611d06576005546001600160a01b03848116911614801590611c1a57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b8015611c5857507f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6001600160a01b0316836001600160a01b031614155b15611d0657326000908152601e60205260409020544311611cf35760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610949565b326000908152601e602052604090204390555b6001600160a01b03841660009081526022602052604090205460ff168015611d4757506001600160a01b03831660009081526021602052604090205460ff16155b15611e2f57611d55836123b7565b15611d725760405162461bcd60e51b81526004016109499061362e565b600f54821115611dc05760405162461bcd60e51b815260206004820152601960248201527826b0bc103a3930b739b0b1ba34b7b71032bc31b2b2b232b21760391b6044820152606401610949565b6010546001600160a01b038416600090815260208190526040902054611de69084613505565b1115611e2a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610949565b611fab565b6001600160a01b03831660009081526022602052604090205460ff168015611e7057506001600160a01b03841660009081526021602052604090205460ff16155b15611ee957611e7e846123b7565b15611e9b5760405162461bcd60e51b81526004016109499061362e565b600f54821115611e2a5760405162461bcd60e51b815260206004820152601960248201527826b0bc103a3930b739b0b1ba34b7b71032bc31b2b2b232b21760391b6044820152606401610949565b6001600160a01b03831660009081526021602052604090205460ff16611fab57611f12836123b7565b158015611f255750611f23846123b7565b155b611f415760405162461bcd60e51b81526004016109499061362e565b6010546001600160a01b038416600090815260208190526040902054611f679084613505565b1115611fab5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610949565b3060009081526020819052604090205460165481108015908190611fd2575060135460ff16155b8015611ff757506001600160a01b03861660009081526022602052604090205460ff16155b801561201b57506001600160a01b038616600090815260208052604090205460ff16155b801561203f57506001600160a01b038516600090815260208052604090205460ff16155b15612064576013805460ff19166001179055612059612b08565b6013805460ff191690555b60135460ff1615801561208f57506001600160a01b03851660009081526022602052604090205460ff165b801561209d575060185460ff165b80156120b85750601954601a546120b49190613505565b4210155b80156120dc57506001600160a01b038616600090815260208052604090205460ff16155b156120eb576120e9612cb7565b505b6013546001600160a01b038716600090815260208052604090205460ff9182161591168061213057506001600160a01b038616600090815260208052604090205460ff165b15612139575060005b6000811561233957600061214b612595565b90506000612158600a5490565b905060006121646118f4565b9050600061217160075490565b6001600160a01b038c1660009081526022602052604090205490915060ff16801561219c5750600083115b15612248576121b0606461150c8c866128e7565b945082846001815181106121c6576121c661349e565b6020026020010151866121d9919061366f565b6121e39190613567565b601460008282546121f49190613505565b92505081905550828460008151811061220f5761220f61349e565b602002602001015186612222919061366f565b61222c9190613567565b6015600082825461223d9190613505565b909155506123179050565b6001600160a01b038c1660009081526022602052604090205460ff1680156122705750600081115b1561231757612284606461150c8c846128e7565b9450808260018151811061229a5761229a61349e565b6020026020010151866122ad919061366f565b6122b79190613567565b601460008282546122c89190613505565b9250508190555080826000815181106122e3576122e361349e565b6020026020010151866122f6919061366f565b6123009190613567565b601560008282546123119190613505565b90915550505b8415612328576123288c3087612906565b612332858b61357b565b9950505050505b84156123505761234b88886000612906565b61235b565b61235b888888612906565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b031660009081526012602052604090205460ff1690565b6001600160a01b038216600081815260226020526040808220805460ff191685151590811790915590519092917f0d27b2c3e17efe7d26232f96ab711aceb4b101b5ee1db474e4fcd4b51bb9f5e291a35050565b6005546001600160a01b031633146124535760405162461bcd60e51b815260040161094990613469565b600c5460ff16156124b15760405162461bcd60e51b815260206004820152602260248201527f7345524332303a2054726164696e6720697320616c726561647920656e61626c604482015261195960f21b6064820152608401610949565b600f5461251a5760405162461bcd60e51b815260206004820152603160248201527f7345524332303a204d6178207472616e73616374696f6e206d7573742062652060448201527034b734ba34b634b9b2b2103334b939ba1760791b6064820152608401610949565b60105461257e5760405162461bcd60e51b815260206004820152602c60248201527f7345524332303a204d61782077616c6c6574206d75737420626520696e69746960448201526b3634b9b2b2103334b939ba1760a11b6064820152608401610949565b42600d5543600e55600c805460ff19166001179055565b60606009805480602002602001604051908101604052809291908181526020018280548015610a4b576020028201919060005260206000209081548152602001906001019080831161192e575050505050905090565b600c5460ff161561269057600d5461260590610258613505565b4211156126905760405162461bcd60e51b815260206004820152604d60248201527f7345524332303a2043616e206e6f7420626c61636b6c697374206d6f7265207460448201527f68616e203130206d696e757465732061667465722074726164696e672068617360648201526c081899595b88195b98589b1959609a1b608482015260a401610949565b60005b82518110156109be578281815181106126ae576126ae61349e565b60200260200101516001600160a01b03167f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6001600160a01b0316141561274a5760405162461bcd60e51b815260206004820152602a60248201527f7345524332303a2043616e206e6f7420626c61636b6c697374207468652070616044820152696972206164647265737360b01b6064820152608401610949565b82818151811061275c5761275c61349e565b60200260200101516001600160a01b03167f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031614156127fa5760405162461bcd60e51b815260206004820152602c60248201527f7345524332303a2043616e206e6f7420626c61636b6c6973742074686520726f60448201526b75746572206164647265737360a01b6064820152608401610949565b82818151811061280c5761280c61349e565b60200260200101516001600160a01b0316306001600160a01b0316141561288c5760405162461bcd60e51b815260206004820152602e60248201527f7345524332303a2043616e206e6f7420626c61636b6c6973742074686520636f60448201526d6e7472616374206164647265737360901b6064820152608401610949565b81601260008584815181106128a3576128a361349e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806128df81613536565b915050612693565b60006128f3828461366f565b9392505050565b60006128f38284613567565b6001600160a01b03831661292c5760405162461bcd60e51b8152600401610949906135a6565b6001600160a01b0382166129525760405162461bcd60e51b8152600401610949906135eb565b6001600160a01b038316600090815260208190526040902054818110156129ca5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610949565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612a01908490613505565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a4d91815260200190565b60405180910390a36119d7565b6000805b8351811015612aa057838181518110612a7957612a7961349e565b602002602001015182612a8c9190613505565b915080612a9881613536565b915050612a5e565b5060008215612ab25750600854612ab7565b50600b545b80821115612ac4826115f6565b604051602001612ad4919061368e565b60405160208183030381529060405290612b015760405162461bcd60e51b8152600401610949919061318f565b5050505050565b3060009081526020819052604081205490506000601554601454612b2c9190613505565b90506000821580612b3b575081155b15612b4557505050565b601654612b5390601461366f565b831115612b6b57601654612b6890601461366f565b92505b600060028360145486612b7e919061366f565b612b889190613567565b612b929190613567565b90506000612ba08583612e48565b905047612bac82612e54565b6000612bb84783612e48565b90506000612bd58761150c601554856128e790919063ffffffff16565b90506000612be3828461357b565b60006014819055601581905560135460405192935061010090046001600160a01b031691849181818185875af1925050503d8060008114612c40576040519150601f19603f3d011682016040523d82523d6000602084013e612c45565b606091505b50909750508515801590612c595750600081115b15612cac57612c688682613005565b601454604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b42601a55600080306370a082317f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d919061351d565b90506000612d6c61271061150c601754856128e790919063ffffffff16565b90508015612d9d57612d9d7f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda61153f565b60007f000000000000000000000000c9e40519127a9f922de52d147d0374c8f4e07fda9050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612dfd57600080fd5b505af1158015612e11573d6000803e3d6000fd5b50506040517f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d925060009150a16001935050505090565b60006128f3828461357b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612e8957612e8961349e565b6001600160a01b03909216602092830291909101909101527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2391906136f3565b81600181518110612f3657612f3661349e565b6001600160a01b0390921660209283029190910190910152612f7a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d5b846117d0565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612fcf908590600090869030904290600401613710565b600060405180830381600087803b158015612fe957600080fd5b505af1158015612ffd573d6000803e3d6000fd5b505050505050565b61302f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d612f74565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d60405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b03919091169063f305d71990839060c40160606040518083038185885af11580156130bc573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612b019190613781565b82805482825590600052602060002090810192821561311c579160200282015b8281111561311c578251825591602001919060010190613101565b5061312892915061312c565b5090565b5b80821115613128576000815560010161312d565b6000806040838503121561315457600080fd5b50508035926020909101359150565b60005b8381101561317e578181015183820152602001613166565b838111156119d75750506000910152565b60208152600082518060208401526131ae816040850160208701613163565b601f01601f19169190910160400192915050565b6001600160a01b038116811461133c57600080fd5b80356115f1816131c2565b6000602082840312156131f457600080fd5b81356128f3816131c2565b6000806040838503121561321257600080fd5b823561321d816131c2565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b8181101561326357835183529284019291840191600101613247565b50909695505050505050565b60006020828403121561328157600080fd5b5035919050565b60008060006060848603121561329d57600080fd5b83356132a8816131c2565b925060208401356132b8816131c2565b929592945050506040919091013590565b803580151581146115f157600080fd5b6000806000606084860312156132ee57600080fd5b8335925060208401359150613305604085016132c9565b90509250925092565b6000806040838503121561332157600080fd5b823561332c816131c2565b915061333a602084016132c9565b90509250929050565b6000806040838503121561335657600080fd5b8235613361816131c2565b91506020830135613371816131c2565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156133a557600080fd5b823567ffffffffffffffff808211156133bd57600080fd5b818501915085601f8301126133d157600080fd5b81356020828211156133e5576133e561337c565b8160051b604051601f19603f8301168101818110868211171561340a5761340a61337c565b60405292835281830193508481018201928984111561342857600080fd5b948201945b8386101561344d5761343e866131d7565b8552948201949382019361342d565b965061345c90508782016132c9565b9450505050509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806134c857607f821691505b602082108114156134e957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613518576135186134ef565b500190565b60006020828403121561352f57600080fd5b5051919050565b600060001982141561354a5761354a6134ef565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261357657613576613551565b500490565b60008282101561358d5761358d6134ef565b500390565b6000826135a1576135a1613551565b500690565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f7345524332303a20596f752068617665206265656e20626c61636b6c697374656040820152601960fa1b606082015260800190565b6000816000190483118215151615613689576136896134ef565b500290565b7f7345524332303a2054617820726174652063616e206e6f74206265207365742081526b03434b3b432b9103a3430b7160a51b6020820152600082516136db81602c850160208701613163565b602560f81b602c939091019283015250602d01919050565b60006020828403121561370557600080fd5b81516128f3816131c2565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156137605784516001600160a01b03168352938301939183019160010161373b565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561379657600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220794439cb8c7ce9bf5dab5c5411be75c3a410c119979587ffc9d25ad333efeff164736f6c634300080a0033
Loading...
Loading
Loading...
Loading
OVERVIEW
sERC20 is a new token standard for the Ethereum blockchain. With built measures to stop token creators from maliciously changing tax rates, blacklisting contracts or pair addresses and so much more. Implement the sERC20 library to showcase your intent of legitimacy.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,334.68 | 5.6569 | $18,864.1 |
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.