Token migration announcement. Dubbz token contract has migrated to a new address.
ERC-20
Overview
Max Total Supply
10,000,000 Dubbz
Holders
6,289 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
144.891508829429858695 DubbzValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dubbz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import '../common/Ownable.sol'; import '../common/ERC20.sol'; import '../common/IDexRouter.sol'; import '../common/TokenHandler.sol'; import '../common/DividendTracker.sol'; import '../common/IDexFactory.sol'; import '../common/ILpPair.sol'; import '../common/IERC20.sol'; import '../common/Context.sol'; import '../common/EnumerableSet.sol'; contract Dubbz is ERC20, Ownable { uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWallet; IDexRouter public immutable dexRouter; address public immutable lpPair; address public immutable lpPairEth; bool public lpToEth; IERC20 public immutable STABLECOIN; bool private swapping; uint256 public swapTokensAtAmount; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; // must be used with Stablecoin TokenHandler private immutable tokenHandler; DividendTracker public immutable dividendTracker; address public projectAddress; address public operationsAddress; address public futureOwnerAddress; bool public projectGetsTokens; uint256 public tradingActiveBlock = 0; // 0 means trading is not active mapping (address => bool) public restrictedWallets; uint256 public blockForPenaltyEnd; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public buyLiquidityFee; uint256 public buyProjectFee; uint256 public buyOperationsFee; uint256 public sellTotalFees; uint256 public sellProjectFee; uint256 public sellLiquidityFee; uint256 public sellOperationsFee; uint256 constant FEE_DIVISOR = 10000; uint256 public tokensForProject; uint256 public tokensForOperations; uint256 public tokensForLiquidity; mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public _isExcludedMaxTransactionAmount; mapping (address => bool) public automatedMarketMakerPairs; mapping (address => bool) public addressVerified; address private verificationAddress; bool private verificationRequired; // Events event VestingTokens(address indexed wallet, uint256 amount); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event EnabledTrading(); event RemovedLimits(); event ExcludeFromFees(address indexed account, bool isExcluded); event UpdatedMaxBuyAmount(uint256 newAmount); event UpdatedMaxSellAmount(uint256 newAmount); event UpdatedMaxWalletAmount(uint256 newAmount); event UpdatedBuyFee(uint256 newAmount); event UpdatedSellFee(uint256 newAmount); event UpdatedProjectAddress(address indexed newWallet); event UpdatedLiquidityAddress(address indexed newWallet); event UpdatedOperationsAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); event CaughtEarlyBuyer(address sniper); event TransferForeignToken(address token, uint256 amount); event IncludeInDividends(address indexed wallet); event ExcludeFromDividends(address indexed wallet); constructor(bool _lpIsEth) ERC20("Dubbz", "Dubbz") { lpToEth = _lpIsEth; address stablecoinAddress; address _dexRouter; // automatically detect router/desired stablecoin if(block.chainid == 1){ stablecoinAddress = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; // USDC _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2 } else if(block.chainid == 5){ stablecoinAddress = 0x07865c6E87B9F70255377e024ace6630C1Eaa37F; // Görli Testnet USDC _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2 } else if(block.chainid == 56){ stablecoinAddress = 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56; // BUSD _dexRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // BNB Chain: PCS V2 } else if(block.chainid == 97){ stablecoinAddress = 0x78867BbEeF44f2326bF8DDd1941a4439382EF2A7; // BSC Testnet BUSD _dexRouter = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; // BNB Chain: PCS V2 } else if(block.chainid == 137){ stablecoinAddress = 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174; // USDC _dexRouter = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff; // Polygon: Quickswap } else if(block.chainid == 80001){ stablecoinAddress = 0x0FA8781a83E46826621b3BC094Ea2A0212e71B23; // Mumbai USDC _dexRouter = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff; // Mumbai Polygon: Quickswap } else { revert("Chain not configured"); } dividendTracker = new DividendTracker(stablecoinAddress); // stablecoin is what is distributed from dividend tracker STABLECOIN = IERC20(stablecoinAddress); require(STABLECOIN.decimals() > 0 , "Incorrect liquidity token"); address newOwner = msg.sender; // can leave alone if owner is deployer. dexRouter = IDexRouter(_dexRouter); // create pair lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), address(STABLECOIN)); setAutomatedMarketMakerPair(address(lpPair), true); lpPairEth = IDexFactory(dexRouter.factory()).createPair(address(this), dexRouter.WETH()); setAutomatedMarketMakerPair(address(lpPairEth), true); uint256 totalSupply = 10 * 1e6 * 1e18; maxBuyAmount = totalSupply * 25 / 10000; // 0.25% maxSellAmount = totalSupply * 25 / 10000; // 0.25% maxWallet = totalSupply * 5 / 1000; // 0.5% swapTokensAtAmount = totalSupply * 1 / 10000; // 0.01% tokenHandler = new TokenHandler(); buyProjectFee = 0; buyLiquidityFee = 400; buyOperationsFee = 300; buyTotalFees = buyProjectFee + buyLiquidityFee + buyOperationsFee; sellProjectFee = 0; sellLiquidityFee = 100; sellOperationsFee = 600; sellTotalFees = sellProjectFee + sellLiquidityFee + sellOperationsFee; // update these! projectAddress = address(newOwner); futureOwnerAddress = address(newOwner); operationsAddress = address(newOwner); _excludeFromMaxTransaction(newOwner, true); _excludeFromMaxTransaction(futureOwnerAddress, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(0xdead), true); _excludeFromMaxTransaction(address(projectAddress), true); _excludeFromMaxTransaction(address(operationsAddress), true); _excludeFromMaxTransaction(address(dexRouter), true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(newOwner); dividendTracker.excludeFromDividends(address(dexRouter)); dividendTracker.excludeFromDividends(address(0xdead)); dividendTracker.excludeFromDividends(address(futureOwnerAddress)); dividendTracker.excludeFromDividends(lpPair); dividendTracker.excludeFromDividends(lpPairEth); excludeFromFees(newOwner, true); excludeFromFees(futureOwnerAddress, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(address(projectAddress), true); excludeFromFees(address(operationsAddress), true); excludeFromFees(address(dexRouter), true); _createInitialSupply(address(newOwner), totalSupply); transferOwnership(newOwner); } receive() external payable {} // Owner Functions function setVerificationRules(address _verificationAddress, bool _verificationRequired) external onlyOwner { require(_verificationAddress != address(0), "invalid address"); verificationAddress = _verificationAddress; verificationRequired = _verificationRequired; } function updateLpToEth(bool _lpToEth) external onlyOwner { if(_lpToEth){ require(balanceOf(address(lpPairEth))>0, "Must have tokens in ETH pair to set as default LP pair"); } else { require(balanceOf(address(lpPair))>0, "Must have tokens in STABLECOIN pair to set as default LP pair"); } lpToEth = _lpToEth; } function enableTrading(uint256 blocksForPenalty) external onlyOwner { require(tradingActiveBlock == 0, "Trading is already active, cannot relaunch."); require(blocksForPenalty <= 10, "Cannot make penalty blocks more than 10"); tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty; emit EnabledTrading(); } function pauseTrading() external onlyOwner { require(tradingActiveBlock > 0, "Cannot pause until token has launched"); require(tradingActive, "Trading is already paused"); tradingActive = false; } function unpauseTrading() external onlyOwner { require(tradingActiveBlock > 0, "Cannot unpause until token has launched"); require(!tradingActive, "Trading is already unpaused"); tradingActive = true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner { transferDelayEnabled = false; } function manageRestrictedWallets(address[] calldata wallets, bool restricted) external onlyOwner { for(uint256 i = 0; i < wallets.length; i++){ restrictedWallets[wallets[i]] = restricted; } } function removeLimits() external onlyOwner { limitsInEffect = false; maxBuyAmount = totalSupply(); maxSellAmount = totalSupply(); transferDelayEnabled = false; emit RemovedLimits(); } function updateMaxBuyAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max buy amount lower than 0.1%"); maxBuyAmount = newNum * (10**18); emit UpdatedMaxBuyAmount(maxBuyAmount); } function updateMaxSellAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max sell amount lower than 0.1%"); maxSellAmount = newNum * (10**18); emit UpdatedMaxSellAmount(maxSellAmount); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= (totalSupply() * 1 / 100) / (10 ** decimals()), "Cannot set max sell amount lower than 1%"); maxWallet = newNum * (10 ** decimals()); emit UpdatedMaxWalletAmount(maxWallet); } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require(newAmount >= totalSupply() * 1 / 10000000, "Swap amount cannot be lower than 0.00001% total supply."); require(newAmount <= totalSupply() * 1 / 1000, "Swap amount cannot be higher than 0.1% total supply."); swapTokensAtAmount = newAmount; } function transferForeignToken(address _token, address _to) external onlyOwner returns (bool _sent) { require(_token != address(0), "_token address cannot be 0"); require(_token != address(this) || !tradingActive, "Can't withdraw native tokens while trading is active"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); _sent = IERC20(_token).transfer(_to, _contractBalance); emit TransferForeignToken(_token, _contractBalance); } function setProjectAddress(address _projectAddress) external onlyOwner { require(_projectAddress != address(0), "address cannot be 0"); projectAddress = payable(_projectAddress); emit UpdatedProjectAddress(_projectAddress); } function setOperationsAddress(address _operationsAddress) external onlyOwner { require(_operationsAddress != address(0), "address cannot be 0"); operationsAddress = payable(_operationsAddress); emit UpdatedOperationsAddress(_operationsAddress); } function forceSwapBack(bool inEth) external onlyOwner { require(balanceOf(address(this)) >= swapTokensAtAmount, "Can only swap when token amount is at or higher than restriction"); swapping = true; if(inEth){ swapBackEth(); } else { swapBack(); } swapping = false; emit OwnerForcedSwapBack(block.timestamp); } function airdropToWallets(address[] memory wallets, uint256[] memory amountsInTokens) external onlyOwner { require(wallets.length == amountsInTokens.length, "arrays must be the same length"); require(wallets.length < 200, "Can only airdrop 200 wallets per txn due to gas limits"); for(uint256 i = 0; i < wallets.length; i++){ address wallet = wallets[i]; uint256 amount = amountsInTokens[i]; super._transfer(msg.sender, wallet, amount); } } function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner { if(!isEx){ require(updAds != lpPair, "Cannot remove uniswap pair from max txn"); } _isExcludedMaxTransactionAmount[updAds] = isEx; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != lpPair || value, "The pair cannot be removed from automatedMarketMakerPairs"); automatedMarketMakerPairs[pair] = value; _excludeFromMaxTransaction(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyFees(uint256 _projectFee, uint256 _liquidityFee, uint256 _operationsFee) external onlyOwner { buyProjectFee = _projectFee; buyLiquidityFee = _liquidityFee; buyOperationsFee = _operationsFee; buyTotalFees = buyProjectFee + buyLiquidityFee + buyOperationsFee; require(buyTotalFees <= 800, "Must keep fees at 8% or less"); emit UpdatedBuyFee(buyTotalFees); } function updateSellFees(uint256 _projectFee, uint256 _liquidityFee, uint256 _operationsFee) external onlyOwner { sellProjectFee = _projectFee; sellLiquidityFee = _liquidityFee; sellOperationsFee = _operationsFee; sellTotalFees = sellProjectFee + sellLiquidityFee + sellOperationsFee; require(sellTotalFees <= 1400, "Must keep fees at 14% or less"); emit UpdatedSellFee(sellTotalFees); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function setProjectGetsTokens(bool getsTokens) external onlyOwner { projectGetsTokens = getsTokens; } // excludes wallets and contracts from dividends (such as CEX hotwallets, etc.) function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); emit ExcludeFromDividends(account); } // removes exclusion on wallets and contracts from dividends (such as CEX hotwallets, etc.) function includeInDividends(address account) external onlyOwner { dividendTracker.includeInDividends(account); emit IncludeInDividends(account); } // external functions function claim() external { distributeDividends(); dividendTracker.processAccount(payable(msg.sender), false); } function distributeDividends() public { dividendTracker.distributeTokenDividends(); } function verificationToBuy(uint8 _v, bytes32 _r, bytes32 _s) public { // anti-bot / snipe method to restrict buyers at launch. require(tradingActive, "trading not active"); bytes memory prefix = "\x19Ethereum Signed Message:\n32"; bytes32 hash = keccak256(abi.encodePacked(address(this), _msgSender())); bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, hash)); address signer = ecrecover(prefixedHash, _v, _r, _s); if (signer == verificationAddress) { addressVerified[_msgSender()] = true; } } // private / internal functions 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"); // transfer of 0 is allowed, but triggers no logic. In case of staking where a staking pool is paying out 0 rewards. if(amount == 0){ super._transfer(from, to, 0); return; } if(_isExcludedFromFees[from] || _isExcludedFromFees[to]){ dividendTracker.distributeTokenDividends(); super._transfer(from, to, amount); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); return; } if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } if(!earlyBuyPenaltyInEffect() && blockForPenaltyEnd > 0){ require(!restrictedWallets[from] || to == owner() || to == address(0xdead), "Bots cannot transfer tokens in or out except to owner or dead address."); } if(limitsInEffect){ if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){ // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != address(dexRouter) && to != address(lpPair)){ require(_holderLastTransferTimestamp[tx.origin] + 4 <= block.number, "_transfer:: Transfer Delay enabled. Only one purchase per 3 blocks allowed."); _holderLastTransferTimestamp[tx.origin] = block.number; } } //on buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { if (verificationRequired) { require(addressVerified[to] == true,"Verify you are human first"); } require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy."); require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } //on sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= maxSellAmount, "Sell transfer amount exceeds the max sell."); } else if (!_isExcludedMaxTransactionAmount[to]){ require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if(canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to]) { swapping = true; if(lpToEth){ swapBackEth(); } else { swapBack(); } swapping = false; } bool takeFee = true; // 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){ // bot/sniper penalty. if(earlyBuyPenaltyInEffect() && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && buyTotalFees > 0){ if(!restrictedWallets[to]){ restrictedWallets[to] = true; } fees = amount * buyTotalFees / FEE_DIVISOR; tokensForProject += fees * buyProjectFee / buyTotalFees; tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForOperations += fees * buyOperationsFee / buyTotalFees; } // on sell else if (automatedMarketMakerPairs[to] && sellTotalFees > 0){ fees = amount * sellTotalFees / FEE_DIVISOR; tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForProject += fees * sellProjectFee / sellTotalFees; tokensForOperations += fees * sellOperationsFee / sellTotalFees; } // on buy else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount * buyTotalFees / FEE_DIVISOR; tokensForProject += fees * buyProjectFee / buyTotalFees; tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForOperations += fees * buyOperationsFee / buyTotalFees; } if(fees > 0){ super._transfer(from, address(this), fees); } amount -= fees; } dividendTracker.distributeTokenDividends(); super._transfer(from, to, amount); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); } // if LP pair in use is STABLECOIN, this function will be used to handle fee distribution. function swapTokensForSTABLECOIN(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = address(STABLECOIN); _approve(address(this), address(dexRouter), tokenAmount); dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount, 0, path, address(tokenHandler), block.timestamp); } function swapBack() private { if(projectGetsTokens && tokensForProject > 0 && balanceOf(address(this)) >= tokensForProject) { super._transfer(address(this), address(projectAddress), tokensForProject); tokensForProject = 0; } uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForProject + tokensForOperations + tokensForLiquidity; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmount * 60){ contractBalance = swapTokensAtAmount * 60; } if(tokensForLiquidity > 0){ uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap; super._transfer(address(this), lpPair, liquidityTokens); try ILpPair(lpPair).sync(){} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForLiquidity; } swapTokensForSTABLECOIN(contractBalance); tokenHandler.sendTokenToOwner(address(STABLECOIN)); uint256 stablecoinBalance = STABLECOIN.balanceOf(address(this)); uint256 stablecoinForOperations = stablecoinBalance * tokensForOperations / totalTokensToSwap; tokensForProject = 0; tokensForOperations = 0; tokensForLiquidity = 0; if(stablecoinForOperations > 0){ STABLECOIN.transfer(operationsAddress, stablecoinForOperations); } if(STABLECOIN.balanceOf(address(this)) > 0){ STABLECOIN.transfer(projectAddress, STABLECOIN.balanceOf(address(this))); } } // if LP pair in use is ETH, this function will be used to handle fee distribution. function swapBackEth() private { if(projectGetsTokens && tokensForProject > 0 && balanceOf(address(this)) >= tokensForProject) { super._transfer(address(this), address(projectAddress), tokensForProject); tokensForProject = 0; } bool success; uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForProject + tokensForOperations + tokensForLiquidity; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmount * 60){ contractBalance = swapTokensAtAmount * 60; } if(tokensForLiquidity > 0){ uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap; super._transfer(address(this), lpPairEth, liquidityTokens); try ILpPair(lpPairEth).sync(){} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForLiquidity; } swapTokensForEth(contractBalance); uint256 ethBalance = address(this).balance; uint256 ethForOperations = ethBalance * tokensForOperations / totalTokensToSwap; tokensForProject = 0; tokensForOperations = 0; tokensForLiquidity = 0; if(ethForOperations > 0){ (success, ) = operationsAddress.call{value: ethForOperations}(""); } if(address(this).balance > 0){ (success, ) = projectAddress.call{value: address(this).balance}(""); } } 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] = dexRouter.WETH(); _approve(address(this), address(dexRouter), tokenAmount); // make the swap dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount, 0, path, address(this), block.timestamp); } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmount[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } //views function earlyBuyPenaltyInEffect() private view returns (bool){ return block.number < blockForPenaltyEnd; } function getBlockNumber() external view returns (uint256){ return block.number; } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.holderBalance(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import './Ownable.sol'; import './IERC20.sol'; contract TokenHandler is Ownable { function sendTokenToOwner(address token) external onlyOwner { if(IERC20(token).balanceOf(address(this)) > 0){ IERC20(token).transfer(owner(), IERC20(token).balanceOf(address(this))); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // Gas optimization: this is cheadar 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import './Context.sol'; contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface ILpPair { function sync() external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens(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 swapExactTokensForTokensSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); 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 getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library EnumerableSet { struct Set { bytes32[] _values; mapping(bytes32 => uint256) _indexes; } function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); set._indexes[value] = set._values.length; return true; } else { return false; } } function _remove(Set storage set, bytes32 value) private returns (bool) { uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; set._values[toDeleteIndex] = lastValue; set._indexes[lastValue] = valueIndex; } set._values.pop(); delete set._indexes[value]; return true; } else { return false; } } function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } function _length(Set storage set) private view returns (uint256) { return set._values.length; } function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // AddressSet struct AddressSet { Set _inner; } function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import './IERC20.sol'; import './Context.sol'; contract ERC20 is Context, IERC20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _createInitialSupply(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } 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); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import './DividendPayingToken.sol'; contract DividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public immutable minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event IncludeInDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor(address _token) { claimWait = 1200; minimumTokenBalanceForDividends = 1; token = _token; } struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(address key) private view returns (uint) { return tokenHoldersMap.values[key]; } function getIndexOfKey(address key) private view returns (int) { if(!tokenHoldersMap.inserted[key]) { return -1; } return int(tokenHoldersMap.indexOf[key]); } function getKeyAtIndex(uint index) private view returns (address) { return tokenHoldersMap.keys[index]; } function size() private view returns (uint) { return tokenHoldersMap.keys.length; } function set(address key, uint val) private { if (tokenHoldersMap.inserted[key]) { tokenHoldersMap.values[key] = val; } else { tokenHoldersMap.inserted[key] = true; tokenHoldersMap.values[key] = val; tokenHoldersMap.indexOf[key] = tokenHoldersMap.keys.length; tokenHoldersMap.keys.push(key); } } function remove(address key) private { if (!tokenHoldersMap.inserted[key]) { return; } delete tokenHoldersMap.inserted[key]; delete tokenHoldersMap.values[key]; uint index = tokenHoldersMap.indexOf[key]; uint lastIndex = tokenHoldersMap.keys.length - 1; address lastKey = tokenHoldersMap.keys[lastIndex]; tokenHoldersMap.indexOf[lastKey] = index; delete tokenHoldersMap.indexOf[key]; tokenHoldersMap.keys[index] = lastKey; tokenHoldersMap.keys.pop(); } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); remove(account); emit ExcludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; emit IncludeInDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 1200 && newClaimWait <= 86400); require(newClaimWait != claimWait); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); set(account, newBalance); } else { _setBalance(account, 0); remove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import './DividendPayingTokenInterface.sol'; import './DividendPayingTokenOptionalInterface.sol'; import './Ownable.sol'; import './SafeMath.sol'; import './SafeMathUint.sol'; import './SafeMathInt.sol'; import './ERC20.sol'; contract DividendPayingToken is DividendPayingTokenInterface, DividendPayingTokenOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; address public token; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; uint256 public totalDividendsDistributed; uint256 public totalDividendsWaitingToSend; /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(false); // } function distributeTokenDividends() public { if(totalBalance > 0){ uint256 tokensToAdd; uint256 balance = IERC20(token).balanceOf(address(this)); if(totalDividendsWaitingToSend < balance){ tokensToAdd = balance - totalDividendsWaitingToSend; } else { tokensToAdd = 0; } if (tokensToAdd > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (tokensToAdd).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, tokensToAdd); totalDividendsDistributed = totalDividendsDistributed.add(tokensToAdd); totalDividendsWaitingToSend = totalDividendsWaitingToSend.add(tokensToAdd); } } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); if(totalDividendsWaitingToSend >= _withdrawableDividend){ totalDividendsWaitingToSend -= _withdrawableDividend; } else { totalDividendsWaitingToSend = 0; } emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(token).transfer(user, _withdrawableDividend); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that increases tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _increase(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that reduces an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _reduce(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bool","name":"_lpIsEth","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniper","type":"address"}],"name":"CaughtEarlyBuyer","type":"event"},{"anonymous":false,"inputs":[],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeInDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedBuyFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedLiquidityAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedOperationsAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedProjectAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedSellFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"VestingTokens","type":"event"},{"inputs":[],"name":"STABLECOIN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressVerified","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInTokens","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockForPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyProjectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocksForPenalty","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"inEth","type":"bool"}],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"futureOwnerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPairEth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"bool","name":"restricted","type":"bool"}],"name":"manageRestrictedWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"projectAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectGetsTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"restrictedWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellProjectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsAddress","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_projectAddress","type":"address"}],"name":"setProjectAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"getsTokens","type":"bool"}],"name":"setProjectGetsTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_verificationAddress","type":"address"},{"internalType":"bool","name":"_verificationRequired","type":"bool"}],"name":"setVerificationRules","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForProject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_lpToEth","type":"bool"}],"name":"updateLpToEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"verificationToBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610140604052600c805460ff191660019081179091556000600f556012805462ffffff191690911790553480156200003657600080fd5b506040516200885e3803806200885e833981016040819052620000599162001051565b604080518082018252600580825264223ab1313d60d91b602080840182905284518086019095529184529083015290600362000096838262001121565b506004620000a5828262001121565b5050506000620000ba62000bf760201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000906000805160206200883e833981519152908290a3506009805460ff19168215151790556000804660010362000144575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489050737a250d5630b4cf539739df2c5dacb4c659f2488d620002bf565b466005036200018057507307865c6e87b9f70255377e024ace6630c1eaa37f9050737a250d5630b4cf539739df2c5dacb4c659f2488d620002bf565b46603803620001bc575073e9e7cea3dedca5984780bafc599bd69add087d5690507310ed43c718714eb63d5aa57b78b54704e256024e620002bf565b46606103620001f857507378867bbeef44f2326bf8ddd1941a4439382ef2a7905073d99d1c33f9fc3444f8101754abc46c52416550d1620002bf565b46608903620002345750732791bca1f2de4661ed88a30c99a7a9449aa84174905073a5e0829caced8ffdd4de3c43696c57f7d7a678ff620002bf565b466201388103620002725750730fa8781a83e46826621b3bc094ea2a0212e71b23905073a5e0829caced8ffdd4de3c43696c57f7d7a678ff620002bf565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b81604051620002ce9062001035565b6001600160a01b039091168152602001604051809103906000f080158015620002fb573d6000803e3d6000fd5b506001600160a01b0390811661012052821660e08190526040805163313ce56760e01b815290516000929163313ce5679160048083019260209291908290030181865afa15801562000351573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003779190620011ed565b60ff1611620003c95760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374206c697175696469747920746f6b656e000000000000006044820152606401620002b6565b6001600160a01b03811660808190526040805163c45a015560e01b8152905133929163c45a01559160048083019260209291908290030181865afa15801562000416573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043c919062001212565b60e0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156200048e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004b4919062001212565b6001600160a01b031660a0819052620004cf90600162000bfb565b6080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000510573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000536919062001212565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000586573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005ac919062001212565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620005fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000620919062001212565b6001600160a01b031660c08190526200063b90600162000bfb565b6a084595161401484a0000006127106200065782601962001253565b62000663919062001273565b6006556127106200067682601962001253565b62000682919062001273565b6007556103e86200069582600562001253565b620006a1919062001273565b600855612710620006b482600162001253565b620006c0919062001273565b600a55604051620006d19062001043565b604051809103906000f080158015620006ee573d6000803e3d6000fd5b506001600160a01b03166101005260006015819055610190601481905561012c60168190559162000720919062001296565b6200072c919062001296565b6013556000601881905560646019819055610258601a8190559162000752919062001296565b6200075e919062001296565b601755600c8054610100600160a81b0319166101006001600160a01b03851690810291909117909155600e80546001600160a01b03199081168317909155600d80549091169091179055620007b582600162000d46565b600e54620007ce906001600160a01b0316600162000d46565b620007db30600162000d46565b620007ea61dead600162000d46565b600c54620008089061010090046001600160a01b0316600162000d46565b600d5462000821906001600160a01b0316600162000d46565b6080516200083190600162000d46565b6101205160405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b1580156200087957600080fd5b505af11580156200088e573d6000803e3d6000fd5b50506101205160405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b158015620008d957600080fd5b505af1158015620008ee573d6000803e3d6000fd5b50506101205160405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b1580156200093b57600080fd5b505af115801562000950573d6000803e3d6000fd5b50506101205160805160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200099f57600080fd5b505af1158015620009b4573d6000803e3d6000fd5b50506101205160405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801562000a0157600080fd5b505af115801562000a16573d6000803e3d6000fd5b505061012051600e5460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000a6557600080fd5b505af115801562000a7a573d6000803e3d6000fd5b50506101205160a05160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000ac957600080fd5b505af115801562000ade573d6000803e3d6000fd5b50506101205160c05160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000b2d57600080fd5b505af115801562000b42573d6000803e3d6000fd5b5050505062000b5982600162000da960201b60201c565b600e5462000b72906001600160a01b0316600162000da9565b62000b7f30600162000da9565b62000b8e61dead600162000da9565b600c5462000bac9061010090046001600160a01b0316600162000da9565b600d5462000bc5906001600160a01b0316600162000da9565b60805162000bd590600162000da9565b62000be1828262000e53565b62000bec8262000f38565b5050505050620012ac565b3390565b6005546001600160a01b0316331462000c465760405162461bcd60e51b815260206004820181905260248201526000805160206200881e8339815191526044820152606401620002b6565b60a0516001600160a01b0316826001600160a01b031614158062000c675750805b62000cdb5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401620002b6565b6001600160a01b03821660009081526020805260409020805460ff191682151517905562000d0a828262000d46565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6005546001600160a01b0316331462000df45760405162461bcd60e51b815260206004820181905260248201526000805160206200881e8339815191526044820152606401620002b6565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000eab5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002b6565b806002600082825462000ebf919062001296565b90915550506001600160a01b0382166000908152602081905260408120805483929062000eee90849062001296565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b0316331462000f835760405162461bcd60e51b815260206004820181905260248201526000805160206200881e8339815191526044820152606401620002b6565b6001600160a01b03811662000fea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620002b6565b6005546040516001600160a01b038084169216906000805160206200883e83398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6118ec8062006a5c83390190565b6104d6806200834883390190565b6000602082840312156200106457600080fd5b815180151581146200107557600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620010a757607f821691505b602082108103620010c857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200111c57600081815260208120601f850160051c81016020861015620010f75750805b601f850160051c820191505b81811015620011185782815560010162001103565b5050505b505050565b81516001600160401b038111156200113d576200113d6200107c565b62001155816200114e845462001092565b84620010ce565b602080601f8311600181146200118d5760008415620011745750858301515b600019600386901b1c1916600185901b17855562001118565b600085815260208120601f198616915b82811015620011be578886015182559484019460019091019084016200119d565b5085821015620011dd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200120057600080fd5b815160ff811681146200107557600080fd5b6000602082840312156200122557600080fd5b81516001600160a01b03811681146200107557600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200126d576200126d6200123d565b92915050565b6000826200129157634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200126d576200126d6200123d565b60805160a05160c05160e05161010051610120516156416200141b600039600081816106c501528181610fdf0152818161165e0152818161172c015281816119d401528181611a5001528181611ace01528181611bcf0152818161256d015281816126840152818161276b015281816128f301528181612f430152818161301501528181613d2901528181613da701528181613e3e015281816148e10152818161495f01526149f60152600081816137db0152614dd6015260008181610ad3015281816137b30152818161384e0152818161391f015281816139a801528181613a410152614d0e015260008181610b1c01528181612b9f01528181613446015261346d0152600081816107b801528181611cd10152818161245201528181612c3b015281816136e30152818161370a015261414101526000818161052f0152818161410401528181614b4e01528181614c0701528181614c4301528181614d660152614da201526156416000f3fe6080604052600436106104cf5760003560e01c80638b49e08111610276578063c876d0b91161014f578063e98030c7116100c1578063f2fde38b11610085578063f2fde38b14610f3a578063f637434214610f5a578063f8b45b0514610f70578063fb002c9714610f86578063fce0f92814610f9c578063fecb4d7b14610fbc57600080fd5b8063e98030c714610e9e578063ea4cfe1214610ebe578063ee40166e14610ede578063f076e53514610ef4578063f11a24d314610f2457600080fd5b8063dd62ed3e11610113578063dd62ed3e14610dec578063e2f4560514610e32578063e7841ec014610e48578063e7dd050b14610e5d578063e8338a1c14610e73578063e884f26014610e8957600080fd5b8063c876d0b914610d5c578063d064e53f14610d76578063d257b34f14610d96578063d85ba06314610db6578063dc3f0d0f14610dcc57600080fd5b8063a62068ce116101e8578063b62496f5116101ac578063b62496f514610c8e578063bbc0c74214610cbd578063c024666814610cdc578063c0f306ef14610cfc578063c17b5b8c14610d1c578063c18bc19514610d3c57600080fd5b8063a62068ce14610bb3578063a8b9d24014610bc9578063a9059cbb14610be9578063ac8e332814610c09578063ad56c13c14610c2957600080fd5b806395d89b411161023a57806395d89b4114610af557806396adebb314610b0a5780639a7a23d614610b3e5780639e46fddb14610b5e578063a26579ad14610b7e578063a457c2d714610b9357600080fd5b80638b49e08114610a495780638da5cb5b14610a6957806390b89c9b14610a8757806391a9869f14610aa157806393a3977614610ac157600080fd5b8063456068d2116103a85780636a486a8e1161031a578063751039fc116102de578063751039fc1461099e5780637571336a146109b35780638095d564146109d357806382aa7c68146109f35780638366e79a14610a1357806388e765ff14610a3357600080fd5b80636a486a8e1461091e5780636ddd17131461093457806370a0823114610954578063715018a61461097457806371778e7d1461098957600080fd5b80634fbee1931161036c5780634fbee1931461085457806355462c4e1461088d5780635a139dd4146108bd57806364b0f653146108d357806366d602ae146108e85780636843cd84146108fe57600080fd5b8063456068d2146107da578063499b8394146107ef5780634a62bb651461080f5780634e71d92d146108295780634f77f6c01461083e57600080fd5b8063293787d31161044157806331e79db01161040557806331e79db014610718578063323401ed14610738578063395093511461074e5780633cf96af11461076e57806342cbb15c14610793578063452ed4f1146107a657600080fd5b8063293787d3146106735780632be32b61146106935780632c1f5216146106b357806330bb4cff146106e7578063313ce567146106fc57600080fd5b806310d5de531161049357806310d5de53146105ae57806318160ddd146105de5780631a8145bb146105fd5780631b1b6f74146106135780632307b4411461063357806323b872dd1461065357600080fd5b806303c83302146104db57806306fdde03146104f25780630758d9241461051d578063095ea7b3146105695780631031e36e1461059957600080fd5b366104d657005b600080fd5b3480156104e757600080fd5b506104f0610fdd565b005b3480156104fe57600080fd5b50610507611052565b6040516105149190614e24565b60405180910390f35b34801561052957600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610514565b34801561057557600080fd5b50610589610584366004614e6c565b6110e4565b6040519015158152602001610514565b3480156105a557600080fd5b506104f06110fb565b3480156105ba57600080fd5b506105896105c9366004614e98565b601f6020526000908152604090205460ff1681565b3480156105ea57600080fd5b506002545b604051908152602001610514565b34801561060957600080fd5b506105ef601d5481565b34801561061f57600080fd5b506104f061062e366004614eca565b6111f2565b34801561063f57600080fd5b506104f061064e366004614fbd565b61130a565b34801561065f57600080fd5b5061058961066e36600461507f565b611462565b34801561067f57600080fd5b506104f061068e366004614eca565b61150c565b34801561069f57600080fd5b506104f06106ae3660046150c0565b611554565b3480156106bf57600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b3480156106f357600080fd5b506105ef61165a565b34801561070857600080fd5b5060405160128152602001610514565b34801561072457600080fd5b506104f0610733366004614e98565b6116e3565b34801561074457600080fd5b506105ef60185481565b34801561075a57600080fd5b50610589610769366004614e6c565b6117bf565b34801561077a57600080fd5b50600c546105519061010090046001600160a01b031681565b34801561079f57600080fd5b50436105ef565b3480156107b257600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b3480156107e657600080fd5b506104f06117fb565b3480156107fb57600080fd5b506104f061080a366004614e98565b6118f0565b34801561081b57600080fd5b506012546105899060ff1681565b34801561083557600080fd5b506104f06119b0565b34801561084a57600080fd5b506105ef601a5481565b34801561086057600080fd5b5061058961086f366004614e98565b6001600160a01b03166000908152601e602052604090205460ff1690565b34801561089957600080fd5b506105896108a8366004614e98565b60216020526000908152604090205460ff1681565b3480156108c957600080fd5b506105ef60165481565b3480156108df57600080fd5b506105ef611a4c565b3480156108f457600080fd5b506105ef60075481565b34801561090a57600080fd5b506105ef610919366004614e98565b611aac565b34801561092a57600080fd5b506105ef60175481565b34801561094057600080fd5b506012546105899062010000900460ff1681565b34801561096057600080fd5b506105ef61096f366004614e98565b611b3c565b34801561098057600080fd5b506104f0611b57565b34801561099557600080fd5b506105ef611bcb565b3480156109aa57600080fd5b506104f0611c2b565b3480156109bf57600080fd5b506104f06109ce3660046150d9565b611ca0565b3480156109df57600080fd5b506104f06109ee366004615112565b611d8b565b3480156109ff57600080fd5b506104f0610a0e3660046150c0565b611e6f565b348015610a1f57600080fd5b50610589610a2e36600461513e565b611faf565b348015610a3f57600080fd5b506105ef60065481565b348015610a5557600080fd5b506104f0610a6436600461516c565b6121e9565b348015610a7557600080fd5b506005546001600160a01b0316610551565b348015610a9357600080fd5b506009546105899060ff1681565b348015610aad57600080fd5b506104f0610abc3660046150d9565b612378565b348015610acd57600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b348015610b0157600080fd5b50610507612417565b348015610b1657600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b348015610b4a57600080fd5b506104f0610b593660046150d9565b612426565b348015610b6a57600080fd5b50600e54610551906001600160a01b031681565b348015610b8a57600080fd5b506105ef612569565b348015610b9f57600080fd5b50610589610bae366004614e6c565b6125c9565b348015610bbf57600080fd5b506105ef60115481565b348015610bd557600080fd5b506105ef610be4366004614e98565b612662565b348015610bf557600080fd5b50610589610c04366004614e6c565b6126b5565b348015610c1557600080fd5b506104f0610c243660046151a7565b6126c2565b348015610c3557600080fd5b50610c49610c44366004614e98565b61275d565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610514565b348015610c9a57600080fd5b50610589610ca9366004614e98565b602080526000908152604090205460ff1681565b348015610cc957600080fd5b5060125461058990610100900460ff1681565b348015610ce857600080fd5b506104f0610cf73660046150d9565b612821565b348015610d0857600080fd5b506104f0610d17366004614e98565b6128aa565b348015610d2857600080fd5b506104f0610d37366004615112565b612986565b348015610d4857600080fd5b506104f0610d573660046150c0565b612a5d565b348015610d6857600080fd5b50600c546105899060ff1681565b348015610d8257600080fd5b506104f0610d91366004614eca565b612b68565b348015610da257600080fd5b506104f0610db13660046150c0565b612ce5565b348015610dc257600080fd5b506105ef60135481565b348015610dd857600080fd5b506104f0610de73660046150c0565b612e38565b348015610df857600080fd5b506105ef610e0736600461513e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610e3e57600080fd5b506105ef600a5481565b348015610e5457600080fd5b506105ef612f3f565b348015610e6957600080fd5b506105ef60155481565b348015610e7f57600080fd5b506105ef601b5481565b348015610e9557600080fd5b506104f0612f9f565b348015610eaa57600080fd5b506104f0610eb93660046150c0565b612fd5565b348015610eca57600080fd5b50600d54610551906001600160a01b031681565b348015610eea57600080fd5b506105ef600f5481565b348015610f0057600080fd5b50610589610f0f366004614e98565b60106020526000908152604090205460ff1681565b348015610f3057600080fd5b506105ef60145481565b348015610f4657600080fd5b506104f0610f55366004614e98565b61307c565b348015610f6657600080fd5b506105ef60195481565b348015610f7c57600080fd5b506105ef60085481565b348015610f9257600080fd5b506105ef601c5481565b348015610fa857600080fd5b506104f0610fb7366004614e98565b613167565b348015610fc857600080fd5b50600e5461058990600160a01b900460ff1681565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561103857600080fd5b505af115801561104c573d6000803e3d6000fd5b50505050565b6060600380546110619061522d565b80601f016020809104026020016040519081016040528092919081815260200182805461108d9061522d565b80156110da5780601f106110af576101008083540402835291602001916110da565b820191906000526020600020905b8154815290600101906020018083116110bd57829003601f168201915b5050505050905090565b60006110f133848461322f565b5060015b92915050565b6005546001600160a01b0316331461112e5760405162461bcd60e51b815260040161112590615267565b60405180910390fd5b6000600f541161118e5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420706175736520756e74696c20746f6b656e20686173206c61756044820152641b98da195960da1b6064820152608401611125565b601254610100900460ff166111e55760405162461bcd60e51b815260206004820152601960248201527f54726164696e6720697320616c726561647920706175736564000000000000006044820152606401611125565b6012805461ff0019169055565b6005546001600160a01b0316331461121c5760405162461bcd60e51b815260040161112590615267565b600a5461122830611b3c565b101561129e576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401611125565b6009805461ff00191661010017905580156112c0576112bb613353565b6112c8565b6112c86135f2565b6009805461ff00191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a150565b6005546001600160a01b031633146113345760405162461bcd60e51b815260040161112590615267565b80518251146113855760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401611125565b60c88251106113f55760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401611125565b60005b825181101561145d5760008382815181106114155761141561529c565b6020026020010151905060008383815181106114335761143361529c565b60200260200101519050611448338383613b2e565b50508080611455906152c8565b9150506113f8565b505050565b600061146f848484613c83565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156114f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401611125565b611501853385840361322f565b506001949350505050565b6005546001600160a01b031633146115365760405162461bcd60e51b815260040161112590615267565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b0316331461157e5760405162461bcd60e51b815260040161112590615267565b670de0b6b3a76400006103e861159360025490565b61159e9060016152e1565b6115a891906152f8565b6115b291906152f8565b8110156116135760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401611125565b61162581670de0b6b3a76400006152e1565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020016112ff565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de919061531a565b905090565b6005546001600160a01b0316331461170d5760405162461bcd60e51b815260040161112590615267565b60405163031e79db60e41b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000016906331e79db090602401600060405180830381600087803b15801561177057600080fd5b505af1158015611784573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916110f19185906117f6908690615333565b61322f565b6005546001600160a01b031633146118255760405162461bcd60e51b815260040161112590615267565b6000600f54116118875760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420756e706175736520756e74696c20746f6b656e20686173206c604482015266185d5b98da195960ca1b6064820152608401611125565b601254610100900460ff16156118df5760405162461bcd60e51b815260206004820152601b60248201527f54726164696e6720697320616c726561647920756e70617573656400000000006044820152606401611125565b6012805461ff001916610100179055565b6005546001600160a01b0316331461191a5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0381166119665760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401611125565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6119b8610fdd565b60405163bc4c4b3760e01b8152336004820152600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063bc4c4b37906044016020604051808303816000875af1158015611a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a499190615346565b50565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b60405163156dbbf560e31b81526001600160a01b0382811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063ab6ddfa8906024015b602060405180830381865afa158015611b18573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f5919061531a565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611b815760405162461bcd60e51b815260040161112590615267565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad7a672f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b6005546001600160a01b03163314611c555760405162461bcd60e51b815260040161112590615267565b6012805460ff19169055600254600655600254600755600c805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b03163314611cca5760405162461bcd60e51b815260040161112590615267565b80611d60577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603611d605760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401611125565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611db55760405162461bcd60e51b815260040161112590615267565b60158390556014829055601681905580611dcf8385615333565b611dd99190615333565b60138190556103201015611e2f5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203825206f72206c657373000000006044820152606401611125565b7f03cd3090e7c409e4a7ffd2d90ff610979f4a94a87a512188b7b615671bfb772f601354604051611e6291815260200190565b60405180910390a1505050565b6005546001600160a01b03163314611e995760405162461bcd60e51b815260040161112590615267565b600f5415611efd5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401611125565b600a811115611f5e5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f72652060448201526607468616e2031360cc1b6064820152608401611125565b6012805462ffff0019166201010017905543600f819055611f80908290615333565b6011556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6005546000906001600160a01b03163314611fdc5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0383166120325760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401611125565b6001600160a01b038316301415806120525750601254610100900460ff16155b6120bb5760405162461bcd60e51b815260206004820152603460248201527f43616e2774207769746864726177206e617469766520746f6b656e73207768696044820152736c652074726164696e672069732061637469766560601b6064820152608401611125565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612126919061531a565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190615346565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b601254610100900460ff166122355760405162461bcd60e51b815260206004820152601260248201527174726164696e67206e6f742061637469766560701b6044820152606401611125565b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152600030336040516bffffffffffffffffffffffff19606093841b811660208301529190921b166034820152604801604051602081830303815290604052805190602001209050600082826040516020016122c4929190615363565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa15801561232f573d6000803e3d6000fd5b5050604051601f1901516022549092506001600160a01b0390811690831603905061236f57336000908152602160205260409020805460ff191660011790555b50505050505050565b6005546001600160a01b031633146123a25760405162461bcd60e51b815260040161112590615267565b6001600160a01b0382166123ea5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401611125565b60228054911515600160a01b026001600160a81b03199092166001600160a01b0390931692909217179055565b6060600480546110619061522d565b6005546001600160a01b031633146124505760405162461bcd60e51b815260040161112590615267565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614158061248e5750805b6125005760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401611125565b6001600160a01b03821660009081526020805260409020805460ff191682151517905561252d8282614a94565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561264b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611125565b612658338585840361322f565b5060019392505050565b6040516302a2e74960e61b81526001600160a01b0382811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063a8b9d24090602401611afb565b60006110f1338484613c83565b6005546001600160a01b031633146126ec5760405162461bcd60e51b815260040161112590615267565b60005b8281101561104c57816010600086868581811061270e5761270e61529c565b90506020020160208101906127239190614e98565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580612755816152c8565b9150506126ef565b6000806000806000806000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b81526004016127c491906001600160a01b0391909116815260200190565b61010060405180830381865afa1580156127e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128069190615385565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0316331461284b5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146128d45760405162461bcd60e51b815260040161112590615267565b60405163c0f306ef60e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c0f306ef90602401600060405180830381600087803b15801561293757600080fd5b505af115801561294b573d6000803e3d6000fd5b50506040516001600160a01b03841692507f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329150600090a250565b6005546001600160a01b031633146129b05760405162461bcd60e51b815260040161112590615267565b60188390556019829055601a819055806129ca8385615333565b6129d49190615333565b60178190556105781015612a2a5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313425206f72206c6573730000006044820152606401611125565b7f274faecd49018fb411281f27986b6b4acc86e5db4100735531acd18b7b6d5f93601754604051611e6291815260200190565b6005546001600160a01b03163314612a875760405162461bcd60e51b815260040161112590615267565b612a936012600a6154d3565b6064612a9e60025490565b612aa99060016152e1565b612ab391906152f8565b612abd91906152f8565b811015612b1d5760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015267207468616e20312560c01b6064820152608401611125565b612b296012600a6154d3565b612b3390826152e1565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc906020016112ff565b6005546001600160a01b03163314612b925760405162461bcd60e51b815260040161112590615267565b8015612c34576000612bc37f0000000000000000000000000000000000000000000000000000000000000000611b3c565b11612c2f5760405162461bcd60e51b815260206004820152603660248201527f4d757374206861766520746f6b656e7320696e20455448207061697220746f2060448201527539b2ba1030b9903232b330bab63a102628103830b4b960511b6064820152608401611125565b612cd2565b6000612c5f7f0000000000000000000000000000000000000000000000000000000000000000611b3c565b11612cd25760405162461bcd60e51b815260206004820152603d60248201527f4d757374206861766520746f6b656e7320696e20535441424c45434f494e207060448201527f61697220746f207365742061732064656661756c74204c5020706169720000006064820152608401611125565b6009805460ff1916911515919091179055565b6005546001600160a01b03163314612d0f5760405162461bcd60e51b815260040161112590615267565b62989680612d1c60025490565b612d279060016152e1565b612d3191906152f8565b811015612da65760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401611125565b6103e8612db260025490565b612dbd9060016152e1565b612dc791906152f8565b811115612e335760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401611125565b600a55565b6005546001600160a01b03163314612e625760405162461bcd60e51b815260040161112590615267565b670de0b6b3a76400006103e8612e7760025490565b612e829060016152e1565b612e8c91906152f8565b612e9691906152f8565b811015612ef85760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401611125565b612f0a81670de0b6b3a76400006152e1565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e906020016112ff565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e7841ec06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b6005546001600160a01b03163314612fc95760405162461bcd60e51b815260040161112590615267565b600c805460ff19169055565b6005546001600160a01b03163314612fff5760405162461bcd60e51b815260040161112590615267565b60405163e98030c760e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e98030c790602401600060405180830381600087803b15801561306157600080fd5b505af1158015613075573d6000803e3d6000fd5b5050505050565b6005546001600160a01b031633146130a65760405162461bcd60e51b815260040161112590615267565b6001600160a01b03811661310b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611125565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146131915760405162461bcd60e51b815260040161112590615267565b6001600160a01b0381166131dd5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401611125565b600c8054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f6344ef2de2b47918cc1f04a3854354565f2e61a050d077e52287a28504cd203290600090a250565b6001600160a01b0383166132915760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611125565b6001600160a01b0382166132f25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611125565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600e54600160a01b900460ff16801561336e57506000601b54115b80156133845750601b5461338130611b3c565b10155b156133b1576133ab30600c60019054906101000a90046001600160a01b0316601b54613b2e565b6000601b555b6000806133bd30611b3c565b90506000601d54601c54601b546133d49190615333565b6133de9190615333565b90508115806133eb575080155b156133f557505050565b600a5461340390603c6152e1565b82111561341b57600a5461341890603c6152e1565b91505b601d54156134f657600081601d548461343491906152e1565b61343e91906152f8565b905061346b307f000000000000000000000000000000000000000000000000000000000000000083613b2e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156134c657600080fd5b505af19250505080156134d7575060015b506134e281846154e2565b9250601d54826134f291906154e2565b9150505b6134ff82614af7565b601c544790600090839061351390846152e1565b61351d91906152f8565b6000601b819055601c819055601d559050801561358c57600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114613581576040519150601f19603f3d011682016040523d82523d6000602084013e613586565b606091505b50909550505b471561307557600c546040516101009091046001600160a01b0316904790600081818185875af1925050503d80600081146135e3576040519150601f19603f3d011682016040523d82523d6000602084013e6135e8565b606091505b5050505050505050565b600e54600160a01b900460ff16801561360d57506000601b54115b80156136235750601b5461362030611b3c565b10155b156136505761364a30600c60019054906101000a90046001600160a01b0316601b54613b2e565b6000601b555b600061365b30611b3c565b90506000601d54601c54601b546136729190615333565b61367c9190615333565b9050811580613689575080155b15613692575050565b600a546136a090603c6152e1565b8211156136b857600a546136b590603c6152e1565b91505b601d541561379357600081601d54846136d191906152e1565b6136db91906152f8565b9050613708307f000000000000000000000000000000000000000000000000000000000000000083613b2e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561376357600080fd5b505af1925050508015613774575060015b5061377f81846154e2565b9250601d548261378f91906154e2565b9150505b61379c82614cb7565b6040516304fa881160e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016906313ea204490602401600060405180830381600087803b15801561381f57600080fd5b505af1158015613833573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa15801561389e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c2919061531a565b9050600082601c54836138d591906152e1565b6138df91906152f8565b6000601b819055601c819055601d559050801561399057600d5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016020604051808303816000875af115801561396a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061398e9190615346565b505b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156139f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a1b919061531a565b111561104c57600c546040516370a0823160e01b81523060048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263a9059cbb926101009091049091169083906370a0823190602401602060405180830381865afa158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf919061531a565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015613b0a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130759190615346565b6001600160a01b038316613b545760405162461bcd60e51b8152600401611125906154f5565b6001600160a01b038216613b7a5760405162461bcd60e51b81526004016111259061553a565b6001600160a01b03831660009081526020819052604090205481811015613bf25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611125565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290613c29908490615333565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613c7591815260200190565b60405180910390a350505050565b6001600160a01b038316613ca95760405162461bcd60e51b8152600401611125906154f5565b6001600160a01b038216613ccf5760405162461bcd60e51b81526004016111259061553a565b80600003613ce35761145d83836000613b2e565b6001600160a01b0383166000908152601e602052604090205460ff1680613d2257506001600160a01b0382166000908152601e602052604090205460ff165b15613ecf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613d8257600080fd5b505af1158015613d96573d6000803e3d6000fd5b50505050613da5838383613b2e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e30443bc84613dde86611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613e2457600080fd5b505af1158015613e38573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e30443bc83613e7585611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613ebb57600080fd5b505af115801561236f573d6000803e3d6000fd5b601254610100900460ff16613f62576001600160a01b0383166000908152601e602052604090205460ff1680613f1d57506001600160a01b0382166000908152601e602052604090205460ff165b613f625760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401611125565b6011544310158015613f7657506000601154115b15614046576001600160a01b03831660009081526010602052604090205460ff161580613fb057506005546001600160a01b038381169116145b80613fc557506001600160a01b03821661dead145b6140465760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401611125565b60125460ff16156144de576005546001600160a01b0384811691161480159061407d57506005546001600160a01b03838116911614155b801561409157506001600160a01b03821615155b80156140a857506001600160a01b03821661dead14155b80156140cd57506001600160a01b0383166000908152601e602052604090205460ff16155b80156140f257506001600160a01b0382166000908152601e602052604090205460ff16155b156144de57600c5460ff1615614234577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415801561417657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b1561423457326000908152600b60205260409020544390614198906004615333565b11156142215760405162461bcd60e51b815260206004820152604c60248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e6520707572636861736520706572203320626c6f60648201526b31b5b99030b63637bbb2b21760a11b608482015260a401611125565b326000908152600b602052604090204390555b6001600160a01b038316600090815260208052604090205460ff16801561427457506001600160a01b0382166000908152601f602052604090205460ff16155b156143ba57602254600160a01b900460ff16156142f8576001600160a01b03821660009081526021602052604090205460ff1615156001146142f85760405162461bcd60e51b815260206004820152601a60248201527f56657269667920796f75206172652068756d616e2066697273740000000000006044820152606401611125565b60065481111561435b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401611125565b60085461436783611b3c565b6143719083615333565b11156143b55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401611125565b6144de565b6001600160a01b038216600090815260208052604090205460ff1680156143fa57506001600160a01b0383166000908152601f602052604090205460ff16155b15614464576007548111156143b55760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401611125565b6001600160a01b0382166000908152601f602052604090205460ff166144de5760085461449083611b3c565b61449a9083615333565b11156144de5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401611125565b60006144e930611b3c565b600a5490915081108015908190614508575060125462010000900460ff165b801561451c5750600954610100900460ff16155b801561453f57506001600160a01b038416600090815260208052604090205460ff165b1561457e576009805461ff001981166101001790915560ff161561456a57614565613353565b614572565b6145726135f2565b6009805461ff00191690555b6001600160a01b0385166000908152601e602052604090205460019060ff16806145c057506001600160a01b0385166000908152601e602052604090205460ff165b156145c9575060005b600081156148df57601154431080156145f957506001600160a01b038716600090815260208052604090205460ff165b801561461d57506001600160a01b038616600090815260208052604090205460ff16155b801561462b57506000601354115b15614728576001600160a01b03861660009081526010602052604090205460ff16614674576001600160a01b0386166000908152601060205260409020805460ff191660011790555b6127106013548661468591906152e1565b61468f91906152f8565b9050601354601554826146a291906152e1565b6146ac91906152f8565b601b60008282546146bd9190615333565b90915550506013546014546146d290836152e1565b6146dc91906152f8565b601d60008282546146ed9190615333565b909155505060135460165461470290836152e1565b61470c91906152f8565b601c600082825461471d9190615333565b909155506148c19050565b6001600160a01b038616600090815260208052604090205460ff16801561475157506000601754115b156147e4576127106017548661476791906152e1565b61477191906152f8565b90506017546019548261478491906152e1565b61478e91906152f8565b601d600082825461479f9190615333565b90915550506017546018546147b490836152e1565b6147be91906152f8565b601b60008282546147cf9190615333565b9091555050601754601a5461470290836152e1565b6001600160a01b038716600090815260208052604090205460ff16801561480d57506000601354115b156148c1576127106013548661482391906152e1565b61482d91906152f8565b90506013546015548261484091906152e1565b61484a91906152f8565b601b600082825461485b9190615333565b909155505060135460145461487090836152e1565b61487a91906152f8565b601d600082825461488b9190615333565b90915550506013546016546148a090836152e1565b6148aa91906152f8565b601c60008282546148bb9190615333565b90915550505b80156148d2576148d2873083613b2e565b6148dc81866154e2565b94505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561493a57600080fd5b505af115801561494e573d6000803e3d6000fd5b5050505061495d878787613b2e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e30443bc886149968a611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156149dc57600080fd5b505af11580156149f0573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e30443bc87614a2d89611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015614a7357600080fd5b505af1158015614a87573d6000803e3d6000fd5b5050505050505050505050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614b2c57614b2c61529c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bce919061557d565b81600181518110614be157614be161529c565b60200260200101906001600160a01b031690816001600160a01b031681525050614c2c307f00000000000000000000000000000000000000000000000000000000000000008461322f565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790614c8190859060009086903090429060040161559a565b600060405180830381600087803b158015614c9b57600080fd5b505af1158015614caf573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614cec57614cec61529c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110614d4057614d4061529c565b60200260200101906001600160a01b031690816001600160a01b031681525050614d8b307f00000000000000000000000000000000000000000000000000000000000000008461322f565b604051635c11d79560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690635c11d79590614c8190859060009086907f000000000000000000000000000000000000000000000000000000000000000090429060040161559a565b60005b83811015614e1b578181015183820152602001614e03565b50506000910152565b6020815260008251806020840152614e43816040850160208701614e00565b601f01601f19169190910160400192915050565b6001600160a01b0381168114611a4957600080fd5b60008060408385031215614e7f57600080fd5b8235614e8a81614e57565b946020939093013593505050565b600060208284031215614eaa57600080fd5b8135614eb581614e57565b9392505050565b8015158114611a4957600080fd5b600060208284031215614edc57600080fd5b8135614eb581614ebc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614f2657614f26614ee7565b604052919050565b600067ffffffffffffffff821115614f4857614f48614ee7565b5060051b60200190565b600082601f830112614f6357600080fd5b81356020614f78614f7383614f2e565b614efd565b82815260059290921b84018101918181019086841115614f9757600080fd5b8286015b84811015614fb25780358352918301918301614f9b565b509695505050505050565b60008060408385031215614fd057600080fd5b823567ffffffffffffffff80821115614fe857600080fd5b818501915085601f830112614ffc57600080fd5b8135602061500c614f7383614f2e565b82815260059290921b8401810191818101908984111561502b57600080fd5b948201945b8386101561505257853561504381614e57565b82529482019490820190615030565b9650508601359250508082111561506857600080fd5b5061507585828601614f52565b9150509250929050565b60008060006060848603121561509457600080fd5b833561509f81614e57565b925060208401356150af81614e57565b929592945050506040919091013590565b6000602082840312156150d257600080fd5b5035919050565b600080604083850312156150ec57600080fd5b82356150f781614e57565b9150602083013561510781614ebc565b809150509250929050565b60008060006060848603121561512757600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561515157600080fd5b823561515c81614e57565b9150602083013561510781614e57565b60008060006060848603121561518157600080fd5b833560ff8116811461519257600080fd5b95602085013595506040909401359392505050565b6000806000604084860312156151bc57600080fd5b833567ffffffffffffffff808211156151d457600080fd5b818601915086601f8301126151e857600080fd5b8135818111156151f757600080fd5b8760208260051b850101111561520c57600080fd5b6020928301955093505084013561522281614ebc565b809150509250925092565b600181811c9082168061524157607f821691505b60208210810361526157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016152da576152da6152b2565b5060010190565b80820281158282048414176110f5576110f56152b2565b60008261531557634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561532c57600080fd5b5051919050565b808201808211156110f5576110f56152b2565b60006020828403121561535857600080fd5b8151614eb581614ebc565b60008351615375818460208801614e00565b9190910191825250602001919050565b600080600080600080600080610100898b0312156153a257600080fd5b88516153ad81614e57565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600181815b8085111561542a578160001904821115615410576154106152b2565b8085161561541d57918102915b93841c93908002906153f4565b509250929050565b600082615441575060016110f5565b8161544e575060006110f5565b8160018114615464576002811461546e5761548a565b60019150506110f5565b60ff84111561547f5761547f6152b2565b50506001821b6110f5565b5060208310610133831016604e8410600b84101617156154ad575081810a6110f5565b6154b783836153ef565b80600019048211156154cb576154cb6152b2565b029392505050565b6000614eb560ff841683615432565b818103818111156110f5576110f56152b2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60006020828403121561558f57600080fd5b8151614eb581614e57565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156155ea5784516001600160a01b0316835293830193918301916001016155c5565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220aa185cc4e80d98da6e2b4e80d8b26f1e9fa114742b54283dfdfde37d902cb03064736f6c6343000811003360a060405234801561001057600080fd5b506040516118ec3803806118ec83398101604081905261002f916100a0565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506104b06010556001608052600280546001600160a01b0319166001600160a01b03929092169190911790556100d0565b6000602082840312156100b257600080fd5b81516001600160a01b03811681146100c957600080fd5b9392505050565b6080516117fa6100f2600039600081816104510152610a5001526117fa6000f3fe6080604052600436106101c65760003560e01c8063aafd847a116100f7578063e30443bc11610095578063f2fde38b11610064578063f2fde38b146104fe578063fbcbc0f11461051e578063fc0c546a14610583578063ffb2c479146105a357600080fd5b8063e30443bc14610493578063e7841ec0146104b3578063e98030c7146104c8578063f2e65d6f146104e857600080fd5b8063b5131291116100d1578063b51312911461040a578063bc4c4b371461041f578063be10b6141461043f578063c0f306ef1461047357600080fd5b8063aafd847a14610391578063ab6ddfa8146103c7578063ad7a672f146103f457600080fd5b80636a4740021161016457806385a6b3ae1161013e57806385a6b3ae146103095780638da5cb5b1461031f57806391b89fba14610351578063a8b9d2401461037157600080fd5b80636a474002146102c95780636f2789ec146102de578063715018a6146102f457600080fd5b806327ce0147116101a057806327ce0147146102335780633009a6091461025357806331e79db0146102695780634e7b827f1461028957600080fd5b806303c83302146101da57806309bbedde146101e2578063226cfa3d1461020657600080fd5b366101d5576101d3600080fd5b005b600080fd5b6101d3600080fd5b3480156101ee57600080fd5b506009545b6040519081526020015b60405180910390f35b34801561021257600080fd5b506101f3610221366004611560565b600f6020526000908152604090205481565b34801561023f57600080fd5b506101f361024e366004611560565b6105e0565b34801561025f57600080fd5b506101f3600d5481565b34801561027557600080fd5b506101d3610284366004611560565b610643565b34801561029557600080fd5b506102b96102a4366004611560565b600e6020526000908152604090205460ff1681565b60405190151581526020016101fd565b3480156102d557600080fd5b506101d36106e4565b3480156102ea57600080fd5b506101f360105481565b34801561030057600080fd5b506101d36106f0565b34801561031557600080fd5b506101f360075481565b34801561032b57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101fd565b34801561035d57600080fd5b506101f361036c366004611560565b610764565b34801561037d57600080fd5b506101f361038c366004611560565b61076b565b34801561039d57600080fd5b506101f36103ac366004611560565b6001600160a01b031660009081526004602052604090205490565b3480156103d357600080fd5b506101f36103e2366004611560565b60056020526000908152604090205481565b34801561040057600080fd5b506101f360065481565b34801561041657600080fd5b506101d3610797565b34801561042b57600080fd5b506102b961043a36600461158b565b6108c0565b34801561044b57600080fd5b506101f37f000000000000000000000000000000000000000000000000000000000000000081565b34801561047f57600080fd5b506101d361048e366004611560565b61096c565b34801561049f57600080fd5b506101d36104ae3660046115c4565b610a04565b3480156104bf57600080fd5b50600d546101f3565b3480156104d457600080fd5b506101d36104e33660046115f0565b610ab2565b3480156104f457600080fd5b506101f360085481565b34801561050a57600080fd5b506101d3610519366004611560565b610b3b565b34801561052a57600080fd5b5061053e610539366004611560565b610c25565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016101fd565b34801561058f57600080fd5b50600254610339906001600160a01b031681565b3480156105af57600080fd5b506105c36105be3660046115f0565b610d0c565b604080519384526020840192909252908201526060016101fd565b565b6001600160a01b0381166000908152600360209081526040808320546005909252822054600154600160801b926106339261062e92610628916106239190610e29565b610eb2565b90610ec2565b610f00565b61063d919061161f565b92915050565b6000546001600160a01b031633146106765760405162461bcd60e51b815260040161066d90611641565b60405180910390fd5b6001600160a01b0381166000908152600e60205260408120805460ff191660011790556106a4908290610f13565b6106ad81610fac565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6106ed336110df565b50565b6000546001600160a01b0316331461071a5760405162461bcd60e51b815260040161066d90611641565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061063d825b6001600160a01b03811660009081526004602052604081205461063d90610791846105e0565b90611275565b600654156105de576002546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156107ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108109190611676565b905080600854101561083057600854610829908261168f565b9150610835565b600091505b81156108bc576006546108639061085084600160801b610e29565b61085a919061161f565b600154906112b7565b60015560405182815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26007546108a890836112b7565b6007556008546108b890836112b7565b6008555b5050565b600080546001600160a01b031633146108eb5760405162461bcd60e51b815260040161066d90611641565b60006108f6846110df565b90508015610962576001600160a01b0384166000818152600f6020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906109509085815260200190565b60405180910390a3600191505061063d565b5060009392505050565b6000546001600160a01b031633146109965760405162461bcd60e51b815260040161066d90611641565b6001600160a01b0381166000908152600e602052604090205460ff166109bb57600080fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b6000546001600160a01b03163314610a2e5760405162461bcd60e51b815260040161066d90611641565b6001600160a01b0382166000908152600e602052604090205460ff166108bc577f00000000000000000000000000000000000000000000000000000000000000008110610a8e57610a7f8282610f13565b610a898282611316565b610aa2565b610a99826000610f13565b610aa282610fac565b610aad8260016108c0565b505050565b6000546001600160a01b03163314610adc5760405162461bcd60e51b815260040161066d90611641565b6104b08110158015610af15750620151808111155b610afa57600080fd5b6010548103610b0857600080fd5b60105460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601055565b6000546001600160a01b03163314610b655760405162461bcd60e51b815260040161066d90611641565b6001600160a01b038116610bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066d565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b806000808080808080610c37886113d4565b9650600019955060008712610c9957600d54871115610c6557600d54610c5e908890611419565b9550610c99565b600d5460095460009110610c7a576000610c89565b600d54600954610c8991611275565b9050610c958882610ec2565b9650505b610ca28861076b565b9450610cad886105e0565b6001600160a01b0389166000908152600f6020526040902054909450925082610cd7576000610ce5565b601054610ce59084906112b7565b9150428211610cf5576000610cff565b610cff8242611275565b9050919395975091939597565b60095460009081908190808203610d2e575050600d5460009250829150610e22565b600d546000805a90506000805b8984108015610d4957508582105b15610e115784610d58816116a2565b60095490965086109050610d6b57600094505b600060096000018681548110610d8357610d836116bb565b60009182526020808320909101546001600160a01b0316808352600f909152604090912054909150610db490611456565b15610dd757610dc48160016108c0565b15610dd75781610dd3816116a2565b9250505b82610de1816116a2565b93505060005a905080851115610e0857610e05610dfe8683611275565b87906112b7565b95505b9350610d3b9050565b600d85905590975095509193505050505b9193909250565b600082600003610e3b5750600061063d565b6000610e4783856116d1565b905082610e54858361161f565b14610eab5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161066d565b9392505050565b6000818181121561063d57600080fd5b600080610ecf83856116e8565b905060008312158015610ee25750838112155b80610ef75750600083128015610ef757508381125b610eab57600080fd5b600080821215610f0f57600080fd5b5090565b6001600160a01b038216600090815260056020526040902080549082905580821115610f6f576000610f458383611275565b9050610f51848261147d565b8060066000828254610f639190611710565b90915550610aad915050565b80821015610aad576000610f838284611275565b9050610f8f84826114d7565b8060066000828254610fa1919061168f565b909155505050505050565b6001600160a01b0381166000908152600c602052604090205460ff16610fcf5750565b6001600160a01b0381166000908152600c60209081526040808320805460ff19169055600a8252808320839055600b9091528120546009549091906110169060019061168f565b9050600060096000018281548110611030576110306116bb565b60009182526020808320909101546001600160a01b03908116808452600b909252604080842087905590871683528220919091556009805491925082918590811061107d5761107d6116bb565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560098054806110b7576110b7611723565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6000806110eb8361076b565b9050801561126c576001600160a01b03831660009081526004602052604090205461111690826112b7565b6001600160a01b038416600090815260046020526040902055600854811161115557806008600082825461114a919061168f565b9091555061115b9050565b60006008555b826001600160a01b03167fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d8260405161119691815260200190565b60405180910390a260025460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af11580156111f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112169190611739565b905080611265576001600160a01b0384166000908152600460205260409020546112409083611275565b6001600160a01b03909416600090815260046020526040812094909455509192915050565b5092915050565b50600092915050565b6000610eab83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611511565b6000806112c48385611710565b905083811015610eab5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161066d565b6001600160a01b0382166000908152600c602052604090205460ff1615611354576001600160a01b03919091166000908152600a6020526040902055565b6001600160a01b0382166000818152600c60209081526040808320805460ff19166001908117909155600a835281842086905560098054600b909452918420839055820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b03191690911790555050565b6001600160a01b0381166000908152600c602052604081205460ff166113fd5750600019919050565b506001600160a01b03166000908152600b602052604090205490565b6000806114268385611756565b9050600083121580156114395750838113155b80610ef75750600083128015610ef75750838113610eab57600080fd5b60004282111561146857506000919050565b6010546114754284611275565b101592915050565b6114b761149861062383600154610e2990919063ffffffff16565b6001600160a01b03841660009081526003602052604090205490611419565b6001600160a01b0390921660009081526003602052604090209190915550565b6114b76114f261062383600154610e2990919063ffffffff16565b6001600160a01b03841660009081526003602052604090205490610ec2565b600081848411156115355760405162461bcd60e51b815260040161066d9190611776565b506000611542848661168f565b95945050505050565b6001600160a01b03811681146106ed57600080fd5b60006020828403121561157257600080fd5b8135610eab8161154b565b80151581146106ed57600080fd5b6000806040838503121561159e57600080fd5b82356115a98161154b565b915060208301356115b98161157d565b809150509250929050565b600080604083850312156115d757600080fd5b82356115e28161154b565b946020939093013593505050565b60006020828403121561160257600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b60008261163c57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561168857600080fd5b5051919050565b8181038181111561063d5761063d611609565b6000600182016116b4576116b4611609565b5060010190565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761063d5761063d611609565b808201828112600083128015821682158216171561170857611708611609565b505092915050565b8082018082111561063d5761063d611609565b634e487b7160e01b600052603160045260246000fd5b60006020828403121561174b57600080fd5b8151610eab8161157d565b818103600083128015838313168383128216171561126557611265611609565b600060208083528351808285015260005b818110156117a357858101830151858201604001528201611787565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220912d2763fc7806f35fdaaaf4830cc8c0eb550bce81033644bd090bcf535f35c964736f6c63430008110033608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610475806100616000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806313ea204414610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b1461008d575b600080fd5b61006461005f36600461039f565b6100a0565b005b610064610241565b600054604080516001600160a01b039092168252519081900360200190f35b61006461009b36600461039f565b6102b5565b6000546001600160a01b031633146100d35760405162461bcd60e51b81526004016100ca906103cf565b60405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561011a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013e9190610404565b111561023e57806001600160a01b031663a9059cbb6101656000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa1580156101a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101cd9190610404565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610218573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023c919061041d565b505b50565b6000546001600160a01b0316331461026b5760405162461bcd60e51b81526004016100ca906103cf565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146102df5760405162461bcd60e51b81526004016100ca906103cf565b6001600160a01b0381166103445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ca565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000602082840312156103b157600080fd5b81356001600160a01b03811681146103c857600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561041657600080fd5b5051919050565b60006020828403121561042f57600080fd5b815180151581146103c857600080fdfea26469706673582212202b4c9d2a4801e12af373feb48112bdc2e07b26fcf47d1e876a95a78dbb6f47f364736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x6080604052600436106104cf5760003560e01c80638b49e08111610276578063c876d0b91161014f578063e98030c7116100c1578063f2fde38b11610085578063f2fde38b14610f3a578063f637434214610f5a578063f8b45b0514610f70578063fb002c9714610f86578063fce0f92814610f9c578063fecb4d7b14610fbc57600080fd5b8063e98030c714610e9e578063ea4cfe1214610ebe578063ee40166e14610ede578063f076e53514610ef4578063f11a24d314610f2457600080fd5b8063dd62ed3e11610113578063dd62ed3e14610dec578063e2f4560514610e32578063e7841ec014610e48578063e7dd050b14610e5d578063e8338a1c14610e73578063e884f26014610e8957600080fd5b8063c876d0b914610d5c578063d064e53f14610d76578063d257b34f14610d96578063d85ba06314610db6578063dc3f0d0f14610dcc57600080fd5b8063a62068ce116101e8578063b62496f5116101ac578063b62496f514610c8e578063bbc0c74214610cbd578063c024666814610cdc578063c0f306ef14610cfc578063c17b5b8c14610d1c578063c18bc19514610d3c57600080fd5b8063a62068ce14610bb3578063a8b9d24014610bc9578063a9059cbb14610be9578063ac8e332814610c09578063ad56c13c14610c2957600080fd5b806395d89b411161023a57806395d89b4114610af557806396adebb314610b0a5780639a7a23d614610b3e5780639e46fddb14610b5e578063a26579ad14610b7e578063a457c2d714610b9357600080fd5b80638b49e08114610a495780638da5cb5b14610a6957806390b89c9b14610a8757806391a9869f14610aa157806393a3977614610ac157600080fd5b8063456068d2116103a85780636a486a8e1161031a578063751039fc116102de578063751039fc1461099e5780637571336a146109b35780638095d564146109d357806382aa7c68146109f35780638366e79a14610a1357806388e765ff14610a3357600080fd5b80636a486a8e1461091e5780636ddd17131461093457806370a0823114610954578063715018a61461097457806371778e7d1461098957600080fd5b80634fbee1931161036c5780634fbee1931461085457806355462c4e1461088d5780635a139dd4146108bd57806364b0f653146108d357806366d602ae146108e85780636843cd84146108fe57600080fd5b8063456068d2146107da578063499b8394146107ef5780634a62bb651461080f5780634e71d92d146108295780634f77f6c01461083e57600080fd5b8063293787d31161044157806331e79db01161040557806331e79db014610718578063323401ed14610738578063395093511461074e5780633cf96af11461076e57806342cbb15c14610793578063452ed4f1146107a657600080fd5b8063293787d3146106735780632be32b61146106935780632c1f5216146106b357806330bb4cff146106e7578063313ce567146106fc57600080fd5b806310d5de531161049357806310d5de53146105ae57806318160ddd146105de5780631a8145bb146105fd5780631b1b6f74146106135780632307b4411461063357806323b872dd1461065357600080fd5b806303c83302146104db57806306fdde03146104f25780630758d9241461051d578063095ea7b3146105695780631031e36e1461059957600080fd5b366104d657005b600080fd5b3480156104e757600080fd5b506104f0610fdd565b005b3480156104fe57600080fd5b50610507611052565b6040516105149190614e24565b60405180910390f35b34801561052957600080fd5b506105517f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610514565b34801561057557600080fd5b50610589610584366004614e6c565b6110e4565b6040519015158152602001610514565b3480156105a557600080fd5b506104f06110fb565b3480156105ba57600080fd5b506105896105c9366004614e98565b601f6020526000908152604090205460ff1681565b3480156105ea57600080fd5b506002545b604051908152602001610514565b34801561060957600080fd5b506105ef601d5481565b34801561061f57600080fd5b506104f061062e366004614eca565b6111f2565b34801561063f57600080fd5b506104f061064e366004614fbd565b61130a565b34801561065f57600080fd5b5061058961066e36600461507f565b611462565b34801561067f57600080fd5b506104f061068e366004614eca565b61150c565b34801561069f57600080fd5b506104f06106ae3660046150c0565b611554565b3480156106bf57600080fd5b506105517f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b04181565b3480156106f357600080fd5b506105ef61165a565b34801561070857600080fd5b5060405160128152602001610514565b34801561072457600080fd5b506104f0610733366004614e98565b6116e3565b34801561074457600080fd5b506105ef60185481565b34801561075a57600080fd5b50610589610769366004614e6c565b6117bf565b34801561077a57600080fd5b50600c546105519061010090046001600160a01b031681565b34801561079f57600080fd5b50436105ef565b3480156107b257600080fd5b506105517f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae81565b3480156107e657600080fd5b506104f06117fb565b3480156107fb57600080fd5b506104f061080a366004614e98565b6118f0565b34801561081b57600080fd5b506012546105899060ff1681565b34801561083557600080fd5b506104f06119b0565b34801561084a57600080fd5b506105ef601a5481565b34801561086057600080fd5b5061058961086f366004614e98565b6001600160a01b03166000908152601e602052604090205460ff1690565b34801561089957600080fd5b506105896108a8366004614e98565b60216020526000908152604090205460ff1681565b3480156108c957600080fd5b506105ef60165481565b3480156108df57600080fd5b506105ef611a4c565b3480156108f457600080fd5b506105ef60075481565b34801561090a57600080fd5b506105ef610919366004614e98565b611aac565b34801561092a57600080fd5b506105ef60175481565b34801561094057600080fd5b506012546105899062010000900460ff1681565b34801561096057600080fd5b506105ef61096f366004614e98565b611b3c565b34801561098057600080fd5b506104f0611b57565b34801561099557600080fd5b506105ef611bcb565b3480156109aa57600080fd5b506104f0611c2b565b3480156109bf57600080fd5b506104f06109ce3660046150d9565b611ca0565b3480156109df57600080fd5b506104f06109ee366004615112565b611d8b565b3480156109ff57600080fd5b506104f0610a0e3660046150c0565b611e6f565b348015610a1f57600080fd5b50610589610a2e36600461513e565b611faf565b348015610a3f57600080fd5b506105ef60065481565b348015610a5557600080fd5b506104f0610a6436600461516c565b6121e9565b348015610a7557600080fd5b506005546001600160a01b0316610551565b348015610a9357600080fd5b506009546105899060ff1681565b348015610aad57600080fd5b506104f0610abc3660046150d9565b612378565b348015610acd57600080fd5b506105517f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b348015610b0157600080fd5b50610507612417565b348015610b1657600080fd5b506105517f000000000000000000000000063e913f23d2314d75962871b10eecf48c53904681565b348015610b4a57600080fd5b506104f0610b593660046150d9565b612426565b348015610b6a57600080fd5b50600e54610551906001600160a01b031681565b348015610b8a57600080fd5b506105ef612569565b348015610b9f57600080fd5b50610589610bae366004614e6c565b6125c9565b348015610bbf57600080fd5b506105ef60115481565b348015610bd557600080fd5b506105ef610be4366004614e98565b612662565b348015610bf557600080fd5b50610589610c04366004614e6c565b6126b5565b348015610c1557600080fd5b506104f0610c243660046151a7565b6126c2565b348015610c3557600080fd5b50610c49610c44366004614e98565b61275d565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610514565b348015610c9a57600080fd5b50610589610ca9366004614e98565b602080526000908152604090205460ff1681565b348015610cc957600080fd5b5060125461058990610100900460ff1681565b348015610ce857600080fd5b506104f0610cf73660046150d9565b612821565b348015610d0857600080fd5b506104f0610d17366004614e98565b6128aa565b348015610d2857600080fd5b506104f0610d37366004615112565b612986565b348015610d4857600080fd5b506104f0610d573660046150c0565b612a5d565b348015610d6857600080fd5b50600c546105899060ff1681565b348015610d8257600080fd5b506104f0610d91366004614eca565b612b68565b348015610da257600080fd5b506104f0610db13660046150c0565b612ce5565b348015610dc257600080fd5b506105ef60135481565b348015610dd857600080fd5b506104f0610de73660046150c0565b612e38565b348015610df857600080fd5b506105ef610e0736600461513e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610e3e57600080fd5b506105ef600a5481565b348015610e5457600080fd5b506105ef612f3f565b348015610e6957600080fd5b506105ef60155481565b348015610e7f57600080fd5b506105ef601b5481565b348015610e9557600080fd5b506104f0612f9f565b348015610eaa57600080fd5b506104f0610eb93660046150c0565b612fd5565b348015610eca57600080fd5b50600d54610551906001600160a01b031681565b348015610eea57600080fd5b506105ef600f5481565b348015610f0057600080fd5b50610589610f0f366004614e98565b60106020526000908152604090205460ff1681565b348015610f3057600080fd5b506105ef60145481565b348015610f4657600080fd5b506104f0610f55366004614e98565b61307c565b348015610f6657600080fd5b506105ef60195481565b348015610f7c57600080fd5b506105ef60085481565b348015610f9257600080fd5b506105ef601c5481565b348015610fa857600080fd5b506104f0610fb7366004614e98565b613167565b348015610fc857600080fd5b50600e5461058990600160a01b900460ff1681565b7f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561103857600080fd5b505af115801561104c573d6000803e3d6000fd5b50505050565b6060600380546110619061522d565b80601f016020809104026020016040519081016040528092919081815260200182805461108d9061522d565b80156110da5780601f106110af576101008083540402835291602001916110da565b820191906000526020600020905b8154815290600101906020018083116110bd57829003601f168201915b5050505050905090565b60006110f133848461322f565b5060015b92915050565b6005546001600160a01b0316331461112e5760405162461bcd60e51b815260040161112590615267565b60405180910390fd5b6000600f541161118e5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420706175736520756e74696c20746f6b656e20686173206c61756044820152641b98da195960da1b6064820152608401611125565b601254610100900460ff166111e55760405162461bcd60e51b815260206004820152601960248201527f54726164696e6720697320616c726561647920706175736564000000000000006044820152606401611125565b6012805461ff0019169055565b6005546001600160a01b0316331461121c5760405162461bcd60e51b815260040161112590615267565b600a5461122830611b3c565b101561129e576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401611125565b6009805461ff00191661010017905580156112c0576112bb613353565b6112c8565b6112c86135f2565b6009805461ff00191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a150565b6005546001600160a01b031633146113345760405162461bcd60e51b815260040161112590615267565b80518251146113855760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401611125565b60c88251106113f55760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203230302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401611125565b60005b825181101561145d5760008382815181106114155761141561529c565b6020026020010151905060008383815181106114335761143361529c565b60200260200101519050611448338383613b2e565b50508080611455906152c8565b9150506113f8565b505050565b600061146f848484613c83565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156114f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401611125565b611501853385840361322f565b506001949350505050565b6005546001600160a01b031633146115365760405162461bcd60e51b815260040161112590615267565b600e8054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b0316331461157e5760405162461bcd60e51b815260040161112590615267565b670de0b6b3a76400006103e861159360025490565b61159e9060016152e1565b6115a891906152f8565b6115b291906152f8565b8110156116135760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e312560b81b6064820152608401611125565b61162581670de0b6b3a76400006152e1565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020016112ff565b60007f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b03166385a6b3ae6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116de919061531a565b905090565b6005546001600160a01b0316331461170d5760405162461bcd60e51b815260040161112590615267565b60405163031e79db60e41b81526001600160a01b0382811660048301527f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b04116906331e79db090602401600060405180830381600087803b15801561177057600080fd5b505af1158015611784573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916110f19185906117f6908690615333565b61322f565b6005546001600160a01b031633146118255760405162461bcd60e51b815260040161112590615267565b6000600f54116118875760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420756e706175736520756e74696c20746f6b656e20686173206c604482015266185d5b98da195960ca1b6064820152608401611125565b601254610100900460ff16156118df5760405162461bcd60e51b815260206004820152601b60248201527f54726164696e6720697320616c726561647920756e70617573656400000000006044820152606401611125565b6012805461ff001916610100179055565b6005546001600160a01b0316331461191a5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0381166119665760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401611125565b600d80546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b6119b8610fdd565b60405163bc4c4b3760e01b8152336004820152600060248201527f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b03169063bc4c4b37906044016020604051808303816000875af1158015611a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a499190615346565b50565b60007f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b03166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b60405163156dbbf560e31b81526001600160a01b0382811660048301526000917f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0419091169063ab6ddfa8906024015b602060405180830381865afa158015611b18573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f5919061531a565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b03163314611b815760405162461bcd60e51b815260040161112590615267565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60007f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663ad7a672f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b6005546001600160a01b03163314611c555760405162461bcd60e51b815260040161112590615267565b6012805460ff19169055600254600655600254600755600c805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b03163314611cca5760405162461bcd60e51b815260040161112590615267565b80611d60577f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae6001600160a01b0316826001600160a01b031603611d605760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401611125565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611db55760405162461bcd60e51b815260040161112590615267565b60158390556014829055601681905580611dcf8385615333565b611dd99190615333565b60138190556103201015611e2f5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203825206f72206c657373000000006044820152606401611125565b7f03cd3090e7c409e4a7ffd2d90ff610979f4a94a87a512188b7b615671bfb772f601354604051611e6291815260200190565b60405180910390a1505050565b6005546001600160a01b03163314611e995760405162461bcd60e51b815260040161112590615267565b600f5415611efd5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401611125565b600a811115611f5e5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f72652060448201526607468616e2031360cc1b6064820152608401611125565b6012805462ffff0019166201010017905543600f819055611f80908290615333565b6011556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6005546000906001600160a01b03163314611fdc5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0383166120325760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401611125565b6001600160a01b038316301415806120525750601254610100900460ff16155b6120bb5760405162461bcd60e51b815260206004820152603460248201527f43616e2774207769746864726177206e617469766520746f6b656e73207768696044820152736c652074726164696e672069732061637469766560601b6064820152608401611125565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612126919061531a565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190615346565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b601254610100900460ff166122355760405162461bcd60e51b815260206004820152601260248201527174726164696e67206e6f742061637469766560701b6044820152606401611125565b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152600030336040516bffffffffffffffffffffffff19606093841b811660208301529190921b166034820152604801604051602081830303815290604052805190602001209050600082826040516020016122c4929190615363565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa15801561232f573d6000803e3d6000fd5b5050604051601f1901516022549092506001600160a01b0390811690831603905061236f57336000908152602160205260409020805460ff191660011790555b50505050505050565b6005546001600160a01b031633146123a25760405162461bcd60e51b815260040161112590615267565b6001600160a01b0382166123ea5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401611125565b60228054911515600160a01b026001600160a81b03199092166001600160a01b0390931692909217179055565b6060600480546110619061522d565b6005546001600160a01b031633146124505760405162461bcd60e51b815260040161112590615267565b7f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae6001600160a01b0316826001600160a01b031614158061248e5750805b6125005760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401611125565b6001600160a01b03821660009081526020805260409020805460ff191682151517905561252d8282614a94565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60007f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b0316636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561264b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401611125565b612658338585840361322f565b5060019392505050565b6040516302a2e74960e61b81526001600160a01b0382811660048301526000917f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0419091169063a8b9d24090602401611afb565b60006110f1338484613c83565b6005546001600160a01b031633146126ec5760405162461bcd60e51b815260040161112590615267565b60005b8281101561104c57816010600086868581811061270e5761270e61529c565b90506020020160208101906127239190614e98565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580612755816152c8565b9150506126ef565b6000806000806000806000807f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663fbcbc0f18a6040518263ffffffff1660e01b81526004016127c491906001600160a01b0391909116815260200190565b61010060405180830381865afa1580156127e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128069190615385565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0316331461284b5760405162461bcd60e51b815260040161112590615267565b6001600160a01b0382166000818152601e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146128d45760405162461bcd60e51b815260040161112590615267565b60405163c0f306ef60e01b81526001600160a01b0382811660048301527f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b041169063c0f306ef90602401600060405180830381600087803b15801561293757600080fd5b505af115801561294b573d6000803e3d6000fd5b50506040516001600160a01b03841692507f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329150600090a250565b6005546001600160a01b031633146129b05760405162461bcd60e51b815260040161112590615267565b60188390556019829055601a819055806129ca8385615333565b6129d49190615333565b60178190556105781015612a2a5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313425206f72206c6573730000006044820152606401611125565b7f274faecd49018fb411281f27986b6b4acc86e5db4100735531acd18b7b6d5f93601754604051611e6291815260200190565b6005546001600160a01b03163314612a875760405162461bcd60e51b815260040161112590615267565b612a936012600a6154d3565b6064612a9e60025490565b612aa99060016152e1565b612ab391906152f8565b612abd91906152f8565b811015612b1d5760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015267207468616e20312560c01b6064820152608401611125565b612b296012600a6154d3565b612b3390826152e1565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc906020016112ff565b6005546001600160a01b03163314612b925760405162461bcd60e51b815260040161112590615267565b8015612c34576000612bc37f000000000000000000000000063e913f23d2314d75962871b10eecf48c539046611b3c565b11612c2f5760405162461bcd60e51b815260206004820152603660248201527f4d757374206861766520746f6b656e7320696e20455448207061697220746f2060448201527539b2ba1030b9903232b330bab63a102628103830b4b960511b6064820152608401611125565b612cd2565b6000612c5f7f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae611b3c565b11612cd25760405162461bcd60e51b815260206004820152603d60248201527f4d757374206861766520746f6b656e7320696e20535441424c45434f494e207060448201527f61697220746f207365742061732064656661756c74204c5020706169720000006064820152608401611125565b6009805460ff1916911515919091179055565b6005546001600160a01b03163314612d0f5760405162461bcd60e51b815260040161112590615267565b62989680612d1c60025490565b612d279060016152e1565b612d3191906152f8565b811015612da65760405162461bcd60e51b815260206004820152603760248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e30303030312520746f74616c20737570706c792e0000000000000000006064820152608401611125565b6103e8612db260025490565b612dbd9060016152e1565b612dc791906152f8565b811115612e335760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401611125565b600a55565b6005546001600160a01b03163314612e625760405162461bcd60e51b815260040161112590615267565b670de0b6b3a76400006103e8612e7760025490565b612e829060016152e1565b612e8c91906152f8565b612e9691906152f8565b811015612ef85760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e312560b01b6064820152608401611125565b612f0a81670de0b6b3a76400006152e1565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e906020016112ff565b60007f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663e7841ec06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ba573d6000803e3d6000fd5b6005546001600160a01b03163314612fc95760405162461bcd60e51b815260040161112590615267565b600c805460ff19169055565b6005546001600160a01b03163314612fff5760405162461bcd60e51b815260040161112590615267565b60405163e98030c760e01b8152600481018290527f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b03169063e98030c790602401600060405180830381600087803b15801561306157600080fd5b505af1158015613075573d6000803e3d6000fd5b5050505050565b6005546001600160a01b031633146130a65760405162461bcd60e51b815260040161112590615267565b6001600160a01b03811661310b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611125565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146131915760405162461bcd60e51b815260040161112590615267565b6001600160a01b0381166131dd5760405162461bcd60e51b81526020600482015260136024820152720616464726573732063616e6e6f74206265203606c1b6044820152606401611125565b600c8054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f6344ef2de2b47918cc1f04a3854354565f2e61a050d077e52287a28504cd203290600090a250565b6001600160a01b0383166132915760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401611125565b6001600160a01b0382166132f25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401611125565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600e54600160a01b900460ff16801561336e57506000601b54115b80156133845750601b5461338130611b3c565b10155b156133b1576133ab30600c60019054906101000a90046001600160a01b0316601b54613b2e565b6000601b555b6000806133bd30611b3c565b90506000601d54601c54601b546133d49190615333565b6133de9190615333565b90508115806133eb575080155b156133f557505050565b600a5461340390603c6152e1565b82111561341b57600a5461341890603c6152e1565b91505b601d54156134f657600081601d548461343491906152e1565b61343e91906152f8565b905061346b307f000000000000000000000000063e913f23d2314d75962871b10eecf48c53904683613b2e565b7f000000000000000000000000063e913f23d2314d75962871b10eecf48c5390466001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156134c657600080fd5b505af19250505080156134d7575060015b506134e281846154e2565b9250601d54826134f291906154e2565b9150505b6134ff82614af7565b601c544790600090839061351390846152e1565b61351d91906152f8565b6000601b819055601c819055601d559050801561358c57600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114613581576040519150601f19603f3d011682016040523d82523d6000602084013e613586565b606091505b50909550505b471561307557600c546040516101009091046001600160a01b0316904790600081818185875af1925050503d80600081146135e3576040519150601f19603f3d011682016040523d82523d6000602084013e6135e8565b606091505b5050505050505050565b600e54600160a01b900460ff16801561360d57506000601b54115b80156136235750601b5461362030611b3c565b10155b156136505761364a30600c60019054906101000a90046001600160a01b0316601b54613b2e565b6000601b555b600061365b30611b3c565b90506000601d54601c54601b546136729190615333565b61367c9190615333565b9050811580613689575080155b15613692575050565b600a546136a090603c6152e1565b8211156136b857600a546136b590603c6152e1565b91505b601d541561379357600081601d54846136d191906152e1565b6136db91906152f8565b9050613708307f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae83613b2e565b7f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae6001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561376357600080fd5b505af1925050508015613774575060015b5061377f81846154e2565b9250601d548261378f91906154e2565b9150505b61379c82614cb7565b6040516304fa881160e21b81526001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48811660048301527f00000000000000000000000099e2a8f693d1e35068ec97045adc587c9f71b59416906313ea204490602401600060405180830381600087803b15801561381f57600080fd5b505af1158015613833573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b031691506370a0823190602401602060405180830381865afa15801561389e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c2919061531a565b9050600082601c54836138d591906152e1565b6138df91906152f8565b6000601b819055601c819055601d559050801561399057600d5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390527f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489091169063a9059cbb906044016020604051808303816000875af115801561396a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061398e9190615346565b505b6040516370a0823160e01b81523060048201526000907f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316906370a0823190602401602060405180830381865afa1580156139f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a1b919061531a565b111561104c57600c546040516370a0823160e01b81523060048201526001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881169263a9059cbb926101009091049091169083906370a0823190602401602060405180830381865afa158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abf919061531a565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015613b0a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130759190615346565b6001600160a01b038316613b545760405162461bcd60e51b8152600401611125906154f5565b6001600160a01b038216613b7a5760405162461bcd60e51b81526004016111259061553a565b6001600160a01b03831660009081526020819052604090205481811015613bf25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401611125565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290613c29908490615333565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613c7591815260200190565b60405180910390a350505050565b6001600160a01b038316613ca95760405162461bcd60e51b8152600401611125906154f5565b6001600160a01b038216613ccf5760405162461bcd60e51b81526004016111259061553a565b80600003613ce35761145d83836000613b2e565b6001600160a01b0383166000908152601e602052604090205460ff1680613d2257506001600160a01b0382166000908152601e602052604090205460ff165b15613ecf577f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613d8257600080fd5b505af1158015613d96573d6000803e3d6000fd5b50505050613da5838383613b2e565b7f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663e30443bc84613dde86611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613e2457600080fd5b505af1158015613e38573d6000803e3d6000fd5b505050507f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663e30443bc83613e7585611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015613ebb57600080fd5b505af115801561236f573d6000803e3d6000fd5b601254610100900460ff16613f62576001600160a01b0383166000908152601e602052604090205460ff1680613f1d57506001600160a01b0382166000908152601e602052604090205460ff165b613f625760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401611125565b6011544310158015613f7657506000601154115b15614046576001600160a01b03831660009081526010602052604090205460ff161580613fb057506005546001600160a01b038381169116145b80613fc557506001600160a01b03821661dead145b6140465760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401611125565b60125460ff16156144de576005546001600160a01b0384811691161480159061407d57506005546001600160a01b03838116911614155b801561409157506001600160a01b03821615155b80156140a857506001600160a01b03821661dead14155b80156140cd57506001600160a01b0383166000908152601e602052604090205460ff16155b80156140f257506001600160a01b0382166000908152601e602052604090205460ff16155b156144de57600c5460ff1615614234577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b03161415801561417657507f000000000000000000000000417a43500ee930e5b9d844e7c55510251be16cae6001600160a01b0316826001600160a01b031614155b1561423457326000908152600b60205260409020544390614198906004615333565b11156142215760405162461bcd60e51b815260206004820152604c60248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e6520707572636861736520706572203320626c6f60648201526b31b5b99030b63637bbb2b21760a11b608482015260a401611125565b326000908152600b602052604090204390555b6001600160a01b038316600090815260208052604090205460ff16801561427457506001600160a01b0382166000908152601f602052604090205460ff16155b156143ba57602254600160a01b900460ff16156142f8576001600160a01b03821660009081526021602052604090205460ff1615156001146142f85760405162461bcd60e51b815260206004820152601a60248201527f56657269667920796f75206172652068756d616e2066697273740000000000006044820152606401611125565b60065481111561435b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401611125565b60085461436783611b3c565b6143719083615333565b11156143b55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401611125565b6144de565b6001600160a01b038216600090815260208052604090205460ff1680156143fa57506001600160a01b0383166000908152601f602052604090205460ff16155b15614464576007548111156143b55760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401611125565b6001600160a01b0382166000908152601f602052604090205460ff166144de5760085461449083611b3c565b61449a9083615333565b11156144de5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401611125565b60006144e930611b3c565b600a5490915081108015908190614508575060125462010000900460ff165b801561451c5750600954610100900460ff16155b801561453f57506001600160a01b038416600090815260208052604090205460ff165b1561457e576009805461ff001981166101001790915560ff161561456a57614565613353565b614572565b6145726135f2565b6009805461ff00191690555b6001600160a01b0385166000908152601e602052604090205460019060ff16806145c057506001600160a01b0385166000908152601e602052604090205460ff165b156145c9575060005b600081156148df57601154431080156145f957506001600160a01b038716600090815260208052604090205460ff165b801561461d57506001600160a01b038616600090815260208052604090205460ff16155b801561462b57506000601354115b15614728576001600160a01b03861660009081526010602052604090205460ff16614674576001600160a01b0386166000908152601060205260409020805460ff191660011790555b6127106013548661468591906152e1565b61468f91906152f8565b9050601354601554826146a291906152e1565b6146ac91906152f8565b601b60008282546146bd9190615333565b90915550506013546014546146d290836152e1565b6146dc91906152f8565b601d60008282546146ed9190615333565b909155505060135460165461470290836152e1565b61470c91906152f8565b601c600082825461471d9190615333565b909155506148c19050565b6001600160a01b038616600090815260208052604090205460ff16801561475157506000601754115b156147e4576127106017548661476791906152e1565b61477191906152f8565b90506017546019548261478491906152e1565b61478e91906152f8565b601d600082825461479f9190615333565b90915550506017546018546147b490836152e1565b6147be91906152f8565b601b60008282546147cf9190615333565b9091555050601754601a5461470290836152e1565b6001600160a01b038716600090815260208052604090205460ff16801561480d57506000601354115b156148c1576127106013548661482391906152e1565b61482d91906152f8565b90506013546015548261484091906152e1565b61484a91906152f8565b601b600082825461485b9190615333565b909155505060135460145461487090836152e1565b61487a91906152f8565b601d600082825461488b9190615333565b90915550506013546016546148a090836152e1565b6148aa91906152f8565b601c60008282546148bb9190615333565b90915550505b80156148d2576148d2873083613b2e565b6148dc81866154e2565b94505b7f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663b51312916040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561493a57600080fd5b505af115801561494e573d6000803e3d6000fd5b5050505061495d878787613b2e565b7f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663e30443bc886149968a611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156149dc57600080fd5b505af11580156149f0573d6000803e3d6000fd5b505050507f0000000000000000000000005499710e7176836f9712d6465a9547c2d150b0416001600160a01b031663e30443bc87614a2d89611b3c565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015614a7357600080fd5b505af1158015614a87573d6000803e3d6000fd5b5050505050505050505050565b6001600160a01b0382166000818152601f6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614b2c57614b2c61529c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bce919061557d565b81600181518110614be157614be161529c565b60200260200101906001600160a01b031690816001600160a01b031681525050614c2c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461322f565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790614c8190859060009086903090429060040161559a565b600060405180830381600087803b158015614c9b57600080fd5b505af1158015614caf573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110614cec57614cec61529c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881600181518110614d4057614d4061529c565b60200260200101906001600160a01b031690816001600160a01b031681525050614d8b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461322f565b604051635c11d79560e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1690635c11d79590614c8190859060009086907f00000000000000000000000099e2a8f693d1e35068ec97045adc587c9f71b59490429060040161559a565b60005b83811015614e1b578181015183820152602001614e03565b50506000910152565b6020815260008251806020840152614e43816040850160208701614e00565b601f01601f19169190910160400192915050565b6001600160a01b0381168114611a4957600080fd5b60008060408385031215614e7f57600080fd5b8235614e8a81614e57565b946020939093013593505050565b600060208284031215614eaa57600080fd5b8135614eb581614e57565b9392505050565b8015158114611a4957600080fd5b600060208284031215614edc57600080fd5b8135614eb581614ebc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614f2657614f26614ee7565b604052919050565b600067ffffffffffffffff821115614f4857614f48614ee7565b5060051b60200190565b600082601f830112614f6357600080fd5b81356020614f78614f7383614f2e565b614efd565b82815260059290921b84018101918181019086841115614f9757600080fd5b8286015b84811015614fb25780358352918301918301614f9b565b509695505050505050565b60008060408385031215614fd057600080fd5b823567ffffffffffffffff80821115614fe857600080fd5b818501915085601f830112614ffc57600080fd5b8135602061500c614f7383614f2e565b82815260059290921b8401810191818101908984111561502b57600080fd5b948201945b8386101561505257853561504381614e57565b82529482019490820190615030565b9650508601359250508082111561506857600080fd5b5061507585828601614f52565b9150509250929050565b60008060006060848603121561509457600080fd5b833561509f81614e57565b925060208401356150af81614e57565b929592945050506040919091013590565b6000602082840312156150d257600080fd5b5035919050565b600080604083850312156150ec57600080fd5b82356150f781614e57565b9150602083013561510781614ebc565b809150509250929050565b60008060006060848603121561512757600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561515157600080fd5b823561515c81614e57565b9150602083013561510781614e57565b60008060006060848603121561518157600080fd5b833560ff8116811461519257600080fd5b95602085013595506040909401359392505050565b6000806000604084860312156151bc57600080fd5b833567ffffffffffffffff808211156151d457600080fd5b818601915086601f8301126151e857600080fd5b8135818111156151f757600080fd5b8760208260051b850101111561520c57600080fd5b6020928301955093505084013561522281614ebc565b809150509250925092565b600181811c9082168061524157607f821691505b60208210810361526157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016152da576152da6152b2565b5060010190565b80820281158282048414176110f5576110f56152b2565b60008261531557634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561532c57600080fd5b5051919050565b808201808211156110f5576110f56152b2565b60006020828403121561535857600080fd5b8151614eb581614ebc565b60008351615375818460208801614e00565b9190910191825250602001919050565b600080600080600080600080610100898b0312156153a257600080fd5b88516153ad81614e57565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600181815b8085111561542a578160001904821115615410576154106152b2565b8085161561541d57918102915b93841c93908002906153f4565b509250929050565b600082615441575060016110f5565b8161544e575060006110f5565b8160018114615464576002811461546e5761548a565b60019150506110f5565b60ff84111561547f5761547f6152b2565b50506001821b6110f5565b5060208310610133831016604e8410600b84101617156154ad575081810a6110f5565b6154b783836153ef565b80600019048211156154cb576154cb6152b2565b029392505050565b6000614eb560ff841683615432565b818103818111156110f5576110f56152b2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60006020828403121561558f57600080fd5b8151614eb581614e57565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156155ea5784516001600160a01b0316835293830193918301916001016155c5565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220aa185cc4e80d98da6e2b4e80d8b26f1e9fa114742b54283dfdfde37d902cb03064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _lpIsEth (bool): True
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.